Re: How to get the devid of a missing device

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

 



On Monday, April 27, 2015 12:48:07 PM Anand Jain wrote:
> On 04/27/2015 02:39 AM, Wolfgang Mader wrote:
> > Hello,
> > 
> > I have a raid10 with one device missing. I would like to use btrfs replace
> > to replace it. However, I am unsure on how to obtain the devid of the
> > missing device. Having the filesystem mounted in degraded mode under mnt,
> > btrfs fs
>   At the user end there is no way. unless you want to use gdb and dump
>   the fs_uuids and check.
> 
>   Submitted these patches as of now to obtain from the logs. Will
>   help in the situation when device is missing at the time of mount.
> 
> Btrfs: check error before reporting missing device and add uuid
> Btrfs: log when missing device is created
> 
>   For long term we have sysfs interface, patches are in the ML if you
>   want to tests.
> 
> Good luck.
> 
> Anand

Great. Thank you for patching this in.

Best,
Ẃolfgang

> 
> 
> --
> 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

--
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




[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