How do I get around this.  The drive /dev/sdf has bad sectors.

Label: Store_01  uuid: ae612523-63cf-4860-a2cb-83a26d907e43
    Total devices 5 FS bytes used 7.51TiB
    devid    1 size 0.00 used 77.00GiB path /dev/sdf
    devid    3 size 1.82TiB used 1.41TiB path /dev/sdd
    devid    4 size 2.73TiB used 2.32TiB path /dev/sda
    devid    5 size 2.73TiB used 2.32TiB path /dev/sdb
    devid    6 size 1.82TiB used 1.41TiB path /dev/sdc

Btrfs v3.12
Data, RAID0: total=1.86TiB, used=1.85TiB
Data, single: total=5.65TiB, used=5.64TiB
System, RAID1: total=32.00MiB, used=732.00KiB
Metadata, RAID1: total=10.00GiB, used=8.69GiB

btrfs device delete /dev/sdf /mnt/Store
ERROR: error removing the device '/dev/sdf' - Input/output error

I've tried rebalancing as much of the data off the drive I can.  But
there's still bits in that 77GB that's good data.

Is there a way of having btrfs skip around the input/output error and
then force the drive to remove?
--
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

Reply via email to