Skip to main content
6 events
when toggle format what by license comment
Feb 2, 2018 at 6:53 comment added mjturner Ah yes - I had forgotten that resize2fs doesn’t support online shrinking. There are ways to work around it but they are risky - see this answer.
Feb 2, 2018 at 1:55 comment added Masud Shaik @mjturner I tried to resize the /dev/xvda1, Got the message "resize2fs 1.42.13 (17-May-2015) Filesystem at /dev/xvda1 is mounted on /; on-line resizing required resize2fs: On-line shrinking not supported "
Feb 1, 2018 at 10:41 comment added mjturner @MasudShaik As the filesytem is on the partition, you need to use /dev/xvda1 and not /dev/xvda when calling resize2fs. Can you try that and let us know the results.
Jan 31, 2018 at 23:42 comment added Masud Shaik I tried to run "resize2fs /dev/xvda 2G" but got the error message " esize2fs 1.42.13 (17-May-2015) resize2fs: Device or resource busy while trying to open /dev/xvda Couldn't find valid filesystem superblock."
Jan 31, 2018 at 16:03 history edited Garstlig CC BY-SA 3.0
added 59 characters in body
Jan 31, 2018 at 15:57 history answered Garstlig CC BY-SA 3.0