Re: Unable to delete device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2019/11/10 上午9:14, Alex Powell wrote:
> Hi all,
> I had a disk fail on my BTRFS RAID5 array. It is still mounting but
> there are bad sectors which will switch the array to read only mode
> when used.

Nope, regular sector shouldn't cause RO mount.

Dmesg please for the RO (transaction abort).

> 
> I used "btrfs device delete /dev/sdd /mnt/data" to remove it from the
> array. However it seems that it is only partially removing it from the
> array and when it gets to the bad sectors it fails.
> 
> localhost ~ # btrfs device delete /dev/sdd /mnt/data
> ERROR: error removing device '/dev/sdd': Input/output error

This is another different problem.
Dmesg please.

This can be caused by bad sector + failed to rebuild data.
Please keep in mind RAID5 of btrfs can't handle write hole yet, thus
it's not ensured to tolerant one corrupted disk.

Thanks,
Qu
> 
> What is best practice for removing the drive from the array in this situation?
> 
> Kind Regards,
> Alex Powell
> 

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux