Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #173165
| From | Tilo Werner <tilo@moosbee.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Extending file system after enlarging a logical volume |
| Date | 2016-10-03 22:50 +0200 |
| Message-ID | <soilr-1hL-9@gated-at.bofh.it> (permalink) |
| References | <soi26-1b8-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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 >
Back to linux.debian.user | Previous | Next — Previous 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