ext4 external drive error check

Discussion in 'Linux' started by kumaramy, Mar 24, 2019.

  1. kumaramy

    kumaramy MDL Member

    Feb 16, 2013
    225
    10
    10
    Hello.

    My seagate backup plus 1TB external hard drive is beeping after every 15 seconds randomly no pattern.
    It has ext4 format. So, I tried to check for errors if that is the cause of the beep. And here are the results:

    please let me know if this output suggests that my hard drive has filesystem error and fixed it?
    Thanks


    Disk /dev/sdb: 1000.2 GB, 1000204885504 bytes, 1953525167 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 33553920 bytes


    [root@localhost ~]# e2fsck -v /dev/sdb
    e2fsck 1.42.9 (28-Dec-2013)
    /dev/sdb contains a file system with errors, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information

    165074 inodes used (0.27%, out of 61054976)
    454 non-contiguous files (0.3%)
    152 non-contiguous directories (0.1%)
    # of inodes with ind/dind/tind blocks: 0/0/0
    Extent depth histogram: 164757/309
    55512984 blocks used (22.73%, out of 244190645)
    0 bad blocks
    4 large files

    144423 regular files
    20642 directories
    0 character device files
    0 block device files
    0 fifos
    0 links
    0 symbolic links (0 fast symbolic links)
    0 sockets
    ------------
    165065 files
    [root@localhost ~]#
     
  2. windsman

    windsman MDL Expert

    Jan 11, 2010
    1,382
    1,145
    60
    Sound like a USB power issue, plug your seagate in a powered usb port or if you have powered hub, plug-it.

    windsman.
     
  3. TigTex

    TigTex MDL Member

    Oct 5, 2009
    170
    143
    10
    I would also recommend that you install smartmontools and check the SMART status for that drive. Make sure that "reallocated sector count" "current pending sector count" and "uncorrectable sector count" is 0. If it's not, backup your data as soon as possible
     
  4. kumaramy

    kumaramy MDL Member

    Feb 16, 2013
    225
    10
    10
     

    Attached Files:

  5. kumaramy

    kumaramy MDL Member

    Feb 16, 2013
    225
    10
    10

    2019-03-25_20-49-34.jpg
     
  6. TigTex

    TigTex MDL Member

    Oct 5, 2009
    170
    143
    10
    Everything looks ok. The sounds that you might be hearing is most probably the heads parking. Look at "load unload cycle". It's at 4959. Wait for that sound and see if the number increases by 1. If it does, don't worry unless you are having more problems.
    Those 2.5" hdd's are designed to park the read/write heads when idle to reduce power usage and avoid potencial damage to the disk surface in case of a fall or impact. Your disk is designed for 600 000 load/unload cicles.
     
  7. kumaramy

    kumaramy MDL Member

    Feb 16, 2013
    225
    10
    10
    Thanks.
     
  8. thexchange

    thexchange MDL Novice

    Aug 10, 2017
    3
    1
    0
    Your "Command Timeout" is extremely high, indicating some connection or power issue between computer and disk. It is very likely the USB port on either the drive or the computer, or the USB cable itself is faulty, and that beeping sound you hear is the drive resetting itself. This SMART value usually goes together with "End to End Error" but yours looks normal, along with the rest of your stats. Keep monitoring the drive for a few days, swap out the cable/port, and see if the problem remains. Good luck.