On Sat, 11 Jan 2014 19:48:55 +0100 Szalma László <dblaci@xxxxxxxxx> wrote: > 2014-01-11 18:10 keltezéssel, MegaBrutal írta: > > How can I shrink the FS to the correct size right now, ensuring that I > > really shrink it to the exact LV size? > > btrfs fi re 10G /dev/mapper/vg-lv > lvresize -L 10G vg/lv That's setting yourself up for a failure if these tools happen to disagree on what "G" means (GB vs GiB). Maybe that's what happened here with the thread starter's FS? To be completely safe, I would recommend to resize the FS in two steps, leaving some safety margin to the partition resize first: btrfs fi re 8G /dev/mapper/vg-lv lvresize -L 10G vg/lv btrfs fi re max /dev/mapper/vg-lv -- With respect, Roman
Attachment:
signature.asc
Description: PGP signature
