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

Extending file system after enlarging a logical volume



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlfyvooACgkQlNlJzOkJmTcX4ACcCD/QlTflgyvQv1dQ/NAKdYHT
CZkAn039JkY+ZoJeOxi1QQre8gx7xRqI
=E0Wk
-----END PGP SIGNATURE-----


Reply to: