Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #215337

Re: Signs of hard drive failure?

From elvis <elvis@dogonfire.com>
Newsgroups linux.debian.user
Subject Re: Signs of hard drive failure?
Date 2019-10-22 11:30 +0200
Message-ID <yTYEi-6lu-13@gated-at.bofh.it> (permalink)
References <yTzmx-75Q-7@gated-at.bofh.it> <yTG4F-2V8-3@gated-at.bofh.it> <yTYkV-6ea-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Signs of hard drive failure? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-10-21 15:40 +0200
  Re: Signs of hard drive failure? Renato Gallo <renato@aster-lab.com> - 2019-10-22 11:10 +0200
  Re: Signs of hard drive failure? elvis <elvis@dogonfire.com> - 2019-10-22 11:30 +0200
    Re: Signs of hard drive failure? David Wright <deblis@lionunicorn.co.uk> - 2019-10-22 17:00 +0200
      Re: Signs of hard drive failure? elvis <elvis@dogonfire.com> - 2019-10-22 23:20 +0200
        Re: Signs of hard drive failure? Christopher David Howie <me@chrishowie.com> - 2019-10-23 01:00 +0200
  Re: Signs of hard drive failure? Christopher David Howie <me@chrishowie.com> - 2019-10-22 19:40 +0200
  Re: Signs of hard drive failure? Bob Weber <bobrweber@gmail.com> - 2019-10-22 21:20 +0200

csiph-web