Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173162
| From | Ken Heard <kenslists@teksavvy.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Extending file system after enlarging a logical volume |
| Date | 2016-10-03 22:30 +0200 |
| Message-ID | <soi26-1b8-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
-----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-----
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Extending file system after enlarging a logical volume Ken Heard <kenslists@teksavvy.com> - 2016-10-03 22:30 +0200 Re: Extending file system after enlarging a logical volume <tomas@tuxteam.de> - 2016-10-03 22:40 +0200 Re: Extending file system after enlarging a logical volume Tilo Werner <tilo@moosbee.de> - 2016-10-03 22:50 +0200
csiph-web