Re: Monitoring for disk failures

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

 





Without actually trying it here... I believe by default that'd update
only when there was an I/O error.

Did you try btrfs filesystem show --all-devices?  That scans differently.

 That will show missing with its own probes but kernel does not
 know that disk is missing.

If that doesn't work try btrfs device scan first as that updates the in-
kernel list, then filesystem show.

 Nope. Scan does not remove the old (missing disk) entries,
 I am writing patch(es)..

Alternatively, monitor the kernel log
for output as the scanned devices show up there.

 Thats the best choice as of now OR btrfs fi show -d will
 show missing

Thanks, Anand
--
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