On Sat, Mar 26, 2016 at 6:15 AM, John Marrett <jo...@zioncluster.ca> wrote: > Chris, > >> Post 'btrfs fi usage' for the fileystem. That may give some insight >> what's expected to be on all the missing drives. > > Here's the information, I believe that the missing we see in most > entries is the failed and absent drive, only the unallocated shows two > missing entries, the 2.73 TB is the missing but empty device. I don't > know if there's a way to prove it however. > > ubuntu@btrfs-recovery:~$ sudo btrfs fi usage /mnt > Overall: > Device size: 15.45TiB > Device allocated: 12.12TiB > Device unallocated: 3.33TiB > Device missing: 5.46TiB > Used: 10.93TiB > Free (estimated): 2.25TiB (min: 2.25TiB) > Data ratio: 2.00 > Metadata ratio: 2.00 > Global reserve: 512.00MiB (used: 0.00B) > > Data,RAID1: Size:6.04TiB, Used:5.46TiB > /dev/sda 2.61TiB > /dev/sdb 1.71TiB > /dev/sdc 1.72TiB > /dev/sdd 1.72TiB > /dev/sdf 1.71TiB > missing 2.61TiB > > Metadata,RAID1: Size:14.00GiB, Used:11.59GiB > /dev/sda 8.00GiB > /dev/sdb 2.00GiB > /dev/sdc 3.00GiB > /dev/sdd 4.00GiB > /dev/sdf 3.00GiB > missing 8.00GiB > > System,RAID1: Size:32.00MiB, Used:880.00KiB > /dev/sda 32.00MiB > missing 32.00MiB > > Unallocated: > /dev/sda 111.49GiB > /dev/sdb 98.02GiB > /dev/sdc 98.02GiB > /dev/sdd 98.02GiB > /dev/sdf 98.02GiB > missing 111.49GiB > missing 2.73TiB > > I tried to remove missing, first remove missing only removes the > 2.73TiB missing entry seen above. All the other missing entries > remain.
Well off hand it seems like the missing 2.73TB has nothing on it at all, and doesn't need to be counted as missing. The other missing is counted, and should have all of its data replicated elsewhere. But then you're running into csum errors. So something still isn't right, we just don't understand what it is. > I can't "replace", it's not a valid command on my btrfs tools version; > I upgraded btrfs this morning in order to have the btrfs fi usage > command. Btrfs replace has been around for a while. 'man btrfs replace' the command takes the form 'btrfs replace start' plus three required pieces of information. You should be able to infer the missing devid using 'btrfs show' looks like it's 6. > ubuntu@btrfs-recovery:~$ sudo btrfs version > btrfs-progs v4.0 > ubuntu@btrfs-recovery:~$ dpkg -l | grep btrfs > ii btrfs-tools 4.0-2 > amd64 Checksumming Copy on Write Filesystem utilities I would use something newer, but btrfs replace is in 4.0. But I also don't see in this thread what kernel version you're using. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html