[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extending file system after enlarging a logical volume



Next time try using lvresize -r -L $NewSize $LV works for ext* and
enlarging.

Regards,
Tilo

Am 03.10.2016 um 22:24 schrieb Ken Heard:
> In my jessie box I need to increase the non-encrypted root partition
> (/) size from 14G to 19G.  I was able successfully to increase the
> logical volume (and decrease the space available in the volume group
> accordingly) but am not sure how to do the next step.
> 
> The following command produced the result shown.
> 
> root@BDS:~# fsadm resize /dev/BDS1/root
> resize2fs 1.42.12 (29-Aug-2014)
> Filesystem at /dev/mapper/BDS1-root is mounted on /; on-line resizing
> required
> old_desc_blocks = 1, new_desc_blocks = 2
> resize2fs: Read-only file system While checking for on-line resizing
> support
> fsadm: Resize ext4 failed
> 
> Does the phrase "on-line resizing required" mean that I have to
> unmount /dev/BDS1/root, then run the fsadm command and finally remount
> /dev/BDS1/root?  Is unmounting the basic partition (/) safe while
> presumably some of the files there are being used by the computer?
> 
> I think I read somewhere that to resize an ext4 partition did not
> require unmounting it.  Perhaps it it is required.
> 
> Regards, Ken Heard
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: