Hi,
I've had BTRFS filesystem with two 1Tb drives (sdb1 & sdc1), data
raid0 & metadata raid1. I need to replace one drive with 2Tb drive, so
I've done `btrfs dev add /dev/sdd /mnt/xxx` and now trying to do
`btrfs dev del /dev/sdc1 /mnt/xxx` which fails due to `ERROR: error
removing device '/dev/sdc1': No space left on device`. Right now FS
looks like:
$ sudo btrfs fi show /mnt/xxx
Label: none uuid: 8a65465d-1a8c-4f80-abc6-c818c38567c3
Total devices 3 FS bytes used 1.80TiB
devid 1 size 931.51GiB used 931.51GiB path /dev/sdc1
devid 2 size 931.51GiB used 931.51GiB path /dev/sdb1
devid 3 size 1.82TiB used 0.00B path /dev/sdd1
$ sudo btrfs device usage /mnt/xxx/
/dev/sdb1, ID: 2
Device size: 931.51GiB
Device slack: 0.00B
Data,RAID0: 928.48GiB
Metadata,RAID1: 3.00GiB
System,RAID1: 32.00MiB
Unallocated: 1.01MiB
/dev/sdc1, ID: 1
Device size: 931.51GiB
Device slack: 3.50KiB
Data,RAID0: 928.48GiB
Metadata,RAID1: 3.00GiB
System,RAID1: 32.00MiB
Unallocated: 1.00MiB
/dev/sdd1, ID: 3
Device size: 1.82TiB
Device slack: 0.00B
Unallocated: 1.82TiB
As far as I understand, no data is allocated on `/dev/sdc1`, so it
should be no space for metadata, but I don't really understand how can
I balance only metadata:
$btrfs fi balance start -musage=1 -dusage=0 /mnt/torrents/
--
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