Re: Signs of hard drive failure?
On 22/10/19 6:16 pm, Ken Heard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute
My comments: is that what is supposed to happen? I have not done
"elvis" in an earlier post asked me if I had "tried e2fsck to check
the filesystem first?" According to 'man e2fsk' I have to run that
command on an unmounted device. If the devices in question, /dev/sda
and /dev/sdb, comprise the RAID 1, how can I unmount them and still
use the computer to run those commands?
You run e2fsck on the partition. So if your raid is sdb and sda then
your raid device is /dev/md127 or /dev/kensarray/bigdisk or something
like that. Then your partition is on top of that.
Hopefully you have your partition mounted on /mnt/allmydata for example
and you just umount it and run e2fsck on whatever the block device is.
If you have boot and root on raid, I would boot with a recovery USB
like sysrescue and then run the tests offline. It should assemble your
raid automatically to save stuffing around as well.
Also make sure you are using the right filesystem checker, I have just
assumed you are using ext4
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
Puritanism: The haunting fear that someone, somewhere may be happy.