On 5/4/20 7:10 PM, linux guy wrote:
# lvreduce -L 6G /dev/mapper/fedora_localhost--live-home WARNING: Reducing active and open logical volume to 6.00 GiB. THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce fedora_localhost-live/home? [y/n]: Is lvreduce smart, ie does it know not to touch existing data ? Is there a way to do this with parted ?
Reducing an LV is fraught with risk. You must first reduce the size of the filesystem. Only then is it safe to reduce the size of the LV. If you don't shrink the filesystem first when you shrink the LV it will truncate the filesystem which is full. Now the fs is irreparably hosed.
The error you got is because the VG (volume group) that contains your LVs has no more extents to allocate.
In your situation the easiest and safest method is to create another PV (physical volume) then add it the the VG that contains your LVs. Once you do that there will be more available extents and you can proceed with the lvextend/lvresize.
_______________________________________________ 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