Re: Understanding DF, etc.

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

 



Le dimanche 15 mai 2011 Ã 19:28 +0200, Helmut Hullen a Ãcrit :
> shows that that device with brutto 150 GByte is nearly full with its
> 78 GByte (or 73 GByte) data because it uses this kind of RAID1? 

No. Here's the current situation on same machine :

# btrfs fi df /
Data: total=85.01GB, used=84.56GB
System, DUP: total=8.00MB, used=16.00KB
System: total=4.00MB, used=0.00
Metadata, DUP: total=1.75GB, used=1.01GB
Metadata: total=8.00MB, used=0.00

As far as I understood, only metadata (not data) are DUPed, and the DATA
zone is allocated as needed by 1GB chunks. So I currently use 84.5 GB
and the system has thus allocated 85 GB of filesystem DATA space. When
they get full, the system will allocate 1 more GB, etc. Until the device
itself gets full, of course.

You notice here that there's no indication about the device actual size
(this df gives developper-useful data, not sysadmin-useful data ;-)) but
this file system resides in : 

# mount
/dev/mapper/VG1-TETHYS on / type btrfs
(rw,relatime,subvol=UBUNTU,compress=zlib)
[...]

# lvs VG1/TETHYS
  LV     VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  TETHYS VG1  -wi-ao 145,66g



--
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