-
Resize Xen Loop Disk Image
Here are the steps for increasing the size of a loop filesystem :
1. Stop the virtual server that is using the loop filesystem. (xm shutdown Vps_Name)
2. Add some extra space to your loop filesystem file
# dd if=/dev/zero bs=1024k count=92160 >> loop_image_fileThis adds 90GB to the end of a file called loop_image_file (make sure to use the append output redirector >> not a single >, otherwise you’ll have an empty 90GB file!)
3. Force a check on the resized/increased filesystem
# e2fsck -f loop_image_file4. Resize the filesystem within the loop filesystem file
# resize2fs loop_image_file5. Start the virtual server again.
How to boot guest machine in single mode or other run levels Mysql Database Replication Master-Slave
Resize Xen Loop Disk Image
Recent Posts
Categories
Archives
Comments are currently closed.