I've been reading a lot about btrfs. The problem is it's difficult to find current information. A patch to fix the raid5 "hole" was implemented in Linux 4.1 and since I'm using 4.4, I assume I should be able to use btrfs raid5.
One issue I'm having is understanding the terms: metadata (mkfs.btrfs -m) vs. data (mkfs.btrfs -d).
I know I'm using the correct disk devices:
Here's the command I really thought would work: sudo mkfs.btrfs -f raid5 /dev/sda /dev/sdb /dev/sdc Results:
The last command I issued apparently separated metadata from data across the pool in some way:
So it looks like I setup the metadata as raid1 and the data as raid5? I'm not happy about the "Incompat features: raid56." I'm also not sure how my 6TB is configured, in fact I can't even see anywhere close to 6TB of NAS storage. I see 3.12 Gigs, not (1.82TiB x 3 = 5.46TiB).
Please advise.
One issue I'm having is understanding the terms: metadata (mkfs.btrfs -m) vs. data (mkfs.btrfs -d).
I know I'm using the correct disk devices:
Code:
mark@Ubuntu-Server:~$ sudo btrfs filesystem show Label: none uuid: 3e3ba67b-65cc-4956-bded-500c89323570 Total devices 3 FS bytes used 112.00KiB devid 1 size 1.82TiB used 2.00GiB path /dev/sda devid 2 size 1.82TiB used 1.01GiB path /dev/sdb devid 3 size 1.82TiB used 2.01GiB path /dev/sdc
Code:
btrfs-progs v4.4 Failed to check size for 'raid5': No such file or directory
Code:
mark@Ubuntu-Server:~$ sudo mkfs.btrfs -f -m raid1 -d raid5 /dev/sda /dev/sdb /dev/sdc btrfs-progs v4.4 See http://btrfs.wiki.kernel.org for more information. Label: (null) UUID: 3e3ba67b-65cc-4956-bded-500c89323570 Node size: 16384 Sector size: 4096 Filesystem size: 5.46TiB Block group profiles: Data: RAID5 2.01GiB Metadata: RAID1 1.01GiB System: RAID1 12.00MiB SSD detected: no Incompat features: extref, raid56, skinny-metadata Number of devices: 3 Devices: ID SIZE PATH 1 1.82TiB /dev/sda 2 1.82TiB /dev/sdb 3 1.82TiB /dev/sdc
Please advise.
Comment