Changes between Initial Version and Version 1 of ManageFileSystemImages

Show
Ignore:
Timestamp:
08/21/08 15:25:10 (15 months ago)
Author:
KevinLai
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ManageFileSystemImages

    v1 v1  
     1= Changing File System Size = 
     2 
     3The default file system size for host accounts is 1GB, of which about 500MB is initially free. For users who require more, use procedure below to change the size of the file system for one host account. All commands must be executed as root. In this example, the user's account name is alice and the new file system size is 2GB. 
     4 
     5{{{ 
     6$ xm destroy alice 
     7$ /bin/cp -a /home/alice/default.ext3 /home/alice/new.ext3 
     8$ dd if=/dev/null of=/home/alice/new.ext3 bs=1M seek=1999 count=1 
     9$ e2fsck -f /home/alice/new.ext3 
     10$ resize2fs /home/alice/new.ext3 
     11$ mv /home/alice/default.ext3 /tmp/alice.ext3 
     12$ mv /home/alice/new.ext3 /home/alice/default.ext3 
     13$ xm create /var/lib/tycoon/aucd/Xen2/accounts/alice.conf 
     14}}}