Re: unexpected raid1 behavior?

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

 



On Sun, Nov 29, 2009 at 4:28 PM, Jean-Philippe Robichaud
<jean.philippe.robichaud@xxxxxxxxx> wrote:
>
> On Sunday 29 November 2009 07:42:56 Sander wrote:
> > Hello Jean-Philippe,
> >
> > Jean-Philippe Robichaud wrote (ao):
> > > Is there a place in /sys or /proc where I could perhaps get 'stats'
> > > about the btrfs volume?
> >
> > I think btrfs-show should help you there.
> >
> >       With kind regards, Sander
> >
> Sure: here it goes:
>
> # sudo btrfs-show
> failed to read /dev/sr0
>
> Label: none  uuid: fb9270b4-8779-489f-a599-eaab299d4633
>        Total devices 2 FS bytes used 78.98GB
>        devid    1 size 341.69GB used 146.03GB path /dev/sda5
>        devid    2 size 341.69GB used 146.01GB path /dev/sdb5
>

I'm not sure I actually understand how to read this.The size of each
device make sense (341GB) as it is the size of both partitions.  Now
the FS-bytes-used also make sense as it is about the size of data that
I've copied, but the per-device used space seems strange to me and the
output of "df -h" is also hard to interpret:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5             684G   79G  605G  12% /btrfs

I would have understood if the "Used" field would have been 160GB or
if "Avail" would have dropped to 520GB.

I guess that I'll come to a point where Used will be 340GB and Avail
will also be 340GB but I'll be getting No Space Left On Device errors?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux