Re: resize an lv

2020-03-18 Thread Markus Schönhaber
18.03.20, 11:34 CET, François Patte: > I need to extend my /home directory which is a logical volume. > I read that I can use lvextend without unmounting the /home partition. > But what about resize2fs that I must use after lvextend? Yes, you can expand the size of a mounted ext-FS with resize2fs

Re: resize

2018-09-19 Thread Chris Murphy
On Tue, Sep 18, 2018, 8:09 AM Patrick Dupre wrote: > Hello, > > Did I made a mistake? > This what did: > > umount -l /home > There is no need to umount when growing ext4. Only for shrinking must it be unmounted. XFS can only be grown,.no shrink. And growing can only be done while mounted. Btr

Re: resize

2018-09-18 Thread Patrick Dupre
40 Dunkerque, France === > Sent: Tuesday, September 18, 2018 at 5:16 PM > From: "Roger Heflin" > To: "Community support for Fedora users" > Subject: Re: resize > > Did you rerun the resize2fs after the reboot/lvmresize/fsc

Re: resize

2018-09-18 Thread Patrick Dupre
:02 PM > From: "Patrick Dupre" > To: users@lists.fedoraproject.org > Cc: users@lists.fedoraproject.org > Subject: Re: resize > > I am not sure about the +100. > > However, I rebooted without mounting /home > and I used lvm manager to do the resize. > > It

Re: resize

2018-09-18 Thread François Patte
Le 18/09/2018 à 16:24, Patrick Dupre a écrit : > I also get: > > Logical volume is not mounted but is in use. Please close all applications > using this device (eg iscsi) > > How can I close all applications using the device ? lsof | grep /home -- François Patte UFR de mathématiques et inform

Re: resize

2018-09-18 Thread Roger Heflin
ale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > ======= > > > > Sent: Tuesday, September 18, 2018 at 4:40 PM > > From: "

Re: resize

2018-09-18 Thread Patrick Dupre
189A, avenue Maurice Schumann | | 59140 Dunkerque, France === > Sent: Tuesday, September 18, 2018 at 4:40 PM > From: "Michael Cronenworth" > To: users@lists.fedoraproject.org > Subject:

Re: resize

2018-09-18 Thread Roger Heflin
-l does not umount a filesystem if files are open on it. Not sure -l should ever be used, one needs to determine what is using the filesystem and a normal umount needs to be done. So even though it does not show in df and /proc/mounts the filesystem is still mounted which is why resize2fs says i

Re: resize

2018-09-18 Thread Michael Cronenworth
On 9/18/18 9:03 AM, Patrick Dupre wrote: New size given (2419 extents) not larger than existing size (15500 extents) This is an important error message. It means the resize operation was not performed due to the parameters you specified. I think what you meant to run was with a '+' sign to i

Re: resize

2018-09-18 Thread Patrick Dupre
I also get: Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi) How can I close all applications using the device ? === Patrick DUPRÉ | |

Re: Resize of LVM PV

2010-02-27 Thread Frederick Abrams
Hi, I was afraid someone was going to say that but i was hoping for a more safer method. I think i will take another backup of all my data 1st then do the below suggestion of deleting the /dev/sda2. Thanks Fred On 02/27/2010 09:31 PM, Roberto Ragusa wrote: Frederick Abrams wrote:

Re: Resize of LVM PV

2010-02-27 Thread Roberto Ragusa
Frederick Abrams wrote: > 1) Rebooted with Fedora 12 in Rescue mode > 2) e2fsck /dev/mapper/vg_fa-lv_root > 3) resize2fs /dev/mapper/vg_fa-lv_root 275G > 4) lvresize -L 250G /dev/vg_fa-lv_root Hmmm, 275G filesystem inside a 250G lv??? You should have done the reverse... Danger. > 5) pvresize --s