btrfs filesystem show _exact_ freaking size?

2014-11-18 Thread Robert White
Howdy, How does one get the exact size (in blocks preferably, but bytes okay) of the filesystem inside a partition? I know how to get the partition size, but that's not useful when shrinking a partition... So, for example, you successfully do btrfs filesystem resize -32G /dev/sdz2 now

Re: btrfs filesystem show _exact_ freaking size?

2014-11-18 Thread Hugo Mills
On Tue, Nov 18, 2014 at 02:39:48AM -0800, Robert White wrote: Howdy, How does one get the exact size (in blocks preferably, but bytes okay) of the filesystem inside a partition? I know how to get the partition size, but that's not useful when shrinking a partition... So, for example, you

Re: btrfs filesystem show _exact_ freaking size?

2014-11-18 Thread Gabriel de Perthuis
Le 18/11/2014 11:39, Robert White a écrit : Howdy, How does one get the exact size (in blocks preferably, but bytes okay) of the filesystem inside a partition? I know how to get the partition size, but that's not useful when shrinking a partition... dev_item.total_bytes in

Re: btrfs filesystem show _exact_ freaking size?

2014-11-18 Thread Duncan
Robert White posted on Tue, 18 Nov 2014 02:39:48 -0800 as excerpted: How does one get the exact size (in blocks preferably, but bytes okay) of the filesystem inside a partition? I know how to get the partition size, but that's not useful when shrinking a partition... There needs to be an