Hallo, Hugo, Du meintest am 15.05.11: >>>>> # btrfs fi df / >>>>> Data: total=74.01GB, used=72.77GB >>>>> System, DUP: total=8.00MB, used=16.00KB >>>>> System: total=4.00MB, used=0.00 >>>>> Metadata, DUP: total=1.75GB, used=657.48MB >>>>> Metadata: total=8.00MB, used=0.00 >> I don't know what's the meaning of the type "DUP" (instead of >> "RAID0" or "RAID1" in my example). > DUP is a form of RAID-1 for single disks. Like RAID-1, it stores > two copies of the data, but where RAID-1 guarantees that the two > copies will be on different devices, DUP stores both copies on the > same device. btrfs uses DUP by default for metadata on single-device > filesystems, so that if part of the FS metadata is damaged (by, say, > unrecoverable bad blocks), there's still a good copy. > If you add another disk to the filesystem and balance, the DUP > chunks are automatically converted to RAID-1. Sounds very interesting! In this special case: does that mean that > root@tethys:~# df -t btrfs > Sys. de fichiers 1K-blocs Utilisé Dispo. Uti% Monté > sur /dev/mapper/VG1-TETHYS > 152735744 78383976 71999272 53% / > /dev/mapper/VG1-TETHYS > 152735744 78383976 71999272 53% /tmp 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? Viele Gruesse! Helmut -- 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
