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

Re: Signs of hard drive failure?



Lots cut

On 22/10/19 6:16 pm, Ken Heard wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

      0  Not_testing
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
delay.

My comments: is that what is supposed to happen?  I have not done
/dev/sdb yet.


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


Hi Ken,

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







Regards, Ken


-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQR9YFyM2lJAhDprmoOU2UnM6QmZNwUCXa661QAKCRCU2UnM6QmZ
NwZmAJ4t7kXxc6Nz6JoQr2nh80tIFmE7vQCfb6uYQCSNV9+G7q+CKn9VTqMI9ec=
=WZPP
-----END PGP SIGNATURE-----

--
Puritanism: The haunting fear that someone, somewhere may be happy.


Reply to: