You are not logged in.
Pages: 1
I'm trying to reduce the size of my logical volume.
I closely followed the instruction of the arch wiki.
I have already tried several things but think it comes down to one problem.
Lvm does seem to report the wrong file system size.
(I have already resize the file system with resize2fs)
lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
test GaiaVolGroup -wi-a----- <10.92t
sudo lvresize -L -500M GaiaVolGroup/test
File system ext4 found on GaiaVolGroup/test.
File system size (9.00 TiB) is larger than the requested size (937.57 GiB).
File system reduce is required (see resize2fs or --resizefs.)
"requested size" in the response is completely of.
It get even more strange when i try to explicitly set the size:
sudo lvresize -L 9T GaiaVolGroup/test
File system ext4 found on GaiaVolGroup/test.
File system size (9.00 TiB) is larger than the requested size (1.00 TiB).
File system reduce is required (see resize2fs or --resizefs.)
I don't know what the problem is?
and i can't find an answer
Last edited by mentalAdventurer (2024-01-09 20:25:23)
Offline
There's a bug in LVM, it's fixed upstream https://lore.kernel.org/linux-lvm/32B54 … et.io/T/#t
As a workaround, add --fs ignore option. (You must shrink the filesystem yourself first)
Offline
There's a bug in LVM, it's fixed upstream https://lore.kernel.org/linux-lvm/32B54 … et.io/T/#t
As a workaround, add --fs ignore option. (You must shrink the filesystem yourself first)
That did it!
Words cannot express my gratitude.
Offline
Pages: 1