Re: F32 Upgrade error: more space needed on the / filesystem... --live-root ?

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

 



On 2020-05-18 06:38, Samuel Sieb wrote:
> On 5/17/20 1:40 PM, Mike Wright wrote:
>> On 5/16/20 12:54 PM, Samuel Sieb wrote:
>>> On 5/16/20 9:29 AM, Barry Scott wrote:
>>>>> On 5 May 2020, at 03:57, Ed Greshko <ed.greshko@xxxxxxxxxxx <mailto:ed.greshko@xxxxxxxxxxx>> wrote:
>>>>>
>>>>> FWIW, I generally use lvresize and only on unmounted file-systems.
>>>>> I'm pretty much sure that is what the warning is trying to tell you.
>>>>> Having an active filesystem during a resize operation sounds dangerous to me.
>>>>>
>>>>> (I've not used LV's much recently)
>>>>
>>>> I use "lvresize -L+${size}G --resizefs ${name}" often and its very safe to do on a live file system.
>>>
>>> To shrink or grow?  And which filesystem?
>>
>> -L is the option, the + following says increase.  I believe the lvresize and lvextend commands are filesystem agnostic.
>>
>> I, too, use these commands on mounted filesystems and have never had a bad experience ( knock on wood ;)
>
> Ok, growing is fine, but the OP needed to shrink one as well which can't be done live.
>

Frankly, I don't know why this tread is being revived.  It has already been shown how the OP can accomplish
what he wants after booting from a LIVE image.

Anyway, if one tries to shrink a mounted filesystem they are presented with this....

[root@f32k2 ~]# lvresize -r -L -1G /dev/fedora_f32k2/home
Do you want to unmount "/home" ? [Y|n] n
fsadm: Cannot proceed with mounted filesystem "/home".
  /usr/sbin/fsadm failed: 1
  Filesystem resize failed.

And unmouting a filesystem that happens to be in use may result in "problems".


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
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