Re: resize

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

 



Did you rerun the resize2fs after the reboot/lvmresize/fsck?
On Tue, Sep 18, 2018 at 10:03 AM Patrick Dupre <pdupre@xxxxxxx> wrote:
>
> I am not sure about the +100.
>
> However, I rebooted without mounting /home
> and I used lvm manager to do the resize.
>
> It seems OK, except that
> 1) it shows "none" for the file system (lvm manager)
> 2) the size shown by lvm manager is 35 Go
>
> lvdisplay:
>   LV Path                /dev/VolGrpUsr_DK0/home
>   LV Name                home
>   VG Name                VolGrpUsr_DK0
>   LV UUID                c1ldKF-UhPF-ctLD-Gc4e-qiOS-hp1v-GYWAJ8
>   LV Write Access        read/write
>   LV Creation host, time localhost, 2013-03-01 23:59:33 +0100
>   LV Status              available
>   # open                 0
>   LV Size                35.00 GiB
>   Current LE             17919
>   Segments               2
>   Allocation             inherit
>   Read ahead sectors     auto
>   - currently set to     256
>   Block device           253:9
>
> and
> fsck /dev/VolGrpUsr_DK0/home
> fsck from util-linux 2.30.2
> e2fsck 1.43.4 (31-Jan-2017)
> /dev/mapper/VolGrpUsr_DK0-home: clean, 113656/1984512 files, 13995312/15872000 blocks
>
> but
> mount /home
> shows a wrong size:
> /dev/mapper/VolGrpUsr_DK0-home       31177950 27424574   2157984  93% /home
>
> ie the old size.
>
> How can I fix this issue ?
>
> Thank.
>
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale           | |
>  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: "Michael Cronenworth" <mike@xxxxxxxxxx>
> > To: users@xxxxxxxxxxxxxxxxxxxxxxx
> > Subject: Re: resize
> >
> > 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 indicate you want to allocate more.
> >
> > lvextend -l+100%FREE /dev/VolGrpUsr_DK0/home
> >
> >
> > Without the '+' sign the command was trying to resize to the number of free extents (2419). Be careful to make sure your command arguments are correct. Incorrectly resizing a filesystem could cause you to lose your data. Do you have backups of your /home data?
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> >
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux