I am attempting to resize a ploop file system but receive an error. Here is the command and the output:
This is while the container is down: root@cluster-01:/var/log# vzctl set 15000 --diskspace 5G --save Opening delta /vz/private/15000/root.hdd/root.hdd Adding delta dev=/dev/ploop30850 img=/vz/private/15000/root.hdd/root.hdd (rw) Mounting /dev/ploop30850p1 at /vz/private/15000/root.hdd/root.hdd.mnt fstype=ext4 data='balloon_ino=12,' dumpe2fs 1.42.5 (29-Jul-2012) resize2fs 1.42.5 (29-Jul-2012) The containing partition (or device) is only 1048315 (4k) blocks. You requested a new size of 1309696 blocks. Error in run_prg_rc (util.c:284): Command /sbin/resize2fs -p /dev/ploop30850p1 5238784k exited with code 1 Unmounting file system at /vz/private/15000/root.hdd/root.hdd.mnt Unmounting device /dev/ploop30850 Failed to resize image: Error in run_prg_rc (util.c:284): Command /sbin/resize2fs -p /dev/ploop30850p1 5238784k exited with code 1 [26] Error: failed to apply some parameters, not saving configuration file! This is while the container is started: root@cluster-01:/var/log# vzctl set 15000 --diskspace 5G --save dumpe2fs 1.42.5 (29-Jul-2012) resize2fs 1.42.5 (29-Jul-2012) The containing partition (or device) is only 1048315 (4k) blocks. You requested a new size of 1309696 blocks. Error in run_prg_rc (util.c:284): Command /sbin/resize2fs -p /dev/ploop30850p1 5238784k exited with code 1 Failed to resize image: Error in run_prg_rc (util.c:284): Command /sbin/resize2fs -p /dev/ploop30850p1 5238784k exited with code 1 [26] Error: failed to apply some parameters, not saving configuration file! When I first tried to resize the ploop device, I used the information on this site: http://openvz.org/Ploop/readme This site instructed me to resize/balloon the file system ploop grow -s 10g -d /dev/ploop38961 Not sure how to undo the damage I've done. I did the same resize on another container without any issues using vzctl. Not sure what is special about this container. Any help is appreciated. Thanks, Axton Grams
_______________________________________________ Users mailing list Users@openvz.org https://lists.openvz.org/mailman/listinfo/users