Jump to content

Hello There,

I'm using Raspberry Pi 4 (4GB) for my lan NAS.

 

I have installed the 2 newly purchased Seagate Expansion Drives (1TB).

 

I'm using mdadm it starts resync of drives but when it reaches to 5-6% the one of the drives fails and the details shows sdb1 is faulty.

 

can i use the drive after formatting or else any other options are there which can i use without purchasing a new drive.



 

Spoiler

 

pi@raspberrypi:~ $ sudo mdadm -Q -D /dev/md0
/dev/md0:
           Version : 1.2
     Creation Time : Wed Aug  5 13:21:21 2020
        Raid Level : raid1
        Array Size : 976627712 (931.38 GiB 1000.07 GB)
     Used Dev Size : 976627712 (931.38 GiB 1000.07 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Thu Aug  6 08:02:34 2020
             State : active, degraded, recovering
    Active Devices : 1
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 1

Consistency Policy : bitmap

    Rebuild Status : 0% complete

              Name : raspberrypi:0  (local to host raspberrypi)
              UUID : 85683fd0:7fdefe56:f392823b:6f003853
            Events : 8423

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       2       8       17        1      spare rebuilding   /dev/sdb1
pi@raspberrypi:~ $  Active Devices : 1
-bash: Active: command not found
pi@raspberrypi:~ $    Working Devices : 2
-bash: Working: command not found
pi@raspberrypi:~ $     Failed Devices : 0
-bash: Failed: command not found
pi@raspberrypi:~ $ sudo mdadm --detail --scan /dev/md0
ARRAY /dev/md0 metadata=1.2 spares=1 name=raspberrypi:0 UUID=85683fd0:7fdefe56:f392823b:6f003853
pi@raspberrypi:~ $ mdadm -r /dev/md0 detached
mdadm: error opening /dev/md0: Permission denied
pi@raspberrypi:~ $ sudo mdadm -r /dev/md0 detached
pi@raspberrypi:~ $ sudo mdadm --detail --scan /dev/md0
ARRAY /dev/md0 metadata=1.2 name=raspberrypi:0 UUID=85683fd0:7fdefe56:f392823b:6f003853
pi@raspberrypi:~ $ sudo mdadm -Q -D /dev/md0
/dev/md0:
           Version : 1.2
     Creation Time : Wed Aug  5 13:21:21 2020
        Raid Level : raid1
        Array Size : 976627712 (931.38 GiB 1000.07 GB)
     Used Dev Size : 976627712 (931.38 GiB 1000.07 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Thu Aug  6 08:09:14 2020
             State : clean, degraded
    Active Devices : 1
   Working Devices : 1
    Failed Devices : 1
     Spare Devices : 0

Consistency Policy : bitmap

              Name : raspberrypi:0  (local to host raspberrypi)
              UUID : 85683fd0:7fdefe56:f392823b:6f003853
            Events : 8467

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       -       0        0        1      removed

       2       8       17        -      faulty   /dev/sdb1

 

 

Thanks in advance 

CPU - AMD FX 8350 @ 6.5?? Ghz, GPU - nVidia GeForce GTX 750 ti, Storage - Internal SSD - ScanDisk SSD Plus 120 GB External HDDs- Seagate 1 TB slim, Seagate 2 TB Desktop Backup +, PSU - Corsair CS 650 m, Ram - Corsair vengeance 8 GB @ unknown OC speed. MoBo - MSI 970 Gaming.

Link to comment
https://linustechtips.com/topic/1231129-linux-raid-issue/
Share on other sites

Link to post
Share on other sites

Return the drive/get it replaced. Maybe try it on its own somewhere else first, could also be a power supply problem. A Pi4 will probably not be able to properly power 2 spinning drives without an additional power supply/circuitry.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
https://linustechtips.com/topic/1231129-linux-raid-issue/#findComment-13895506
Share on other sites

Link to post
Share on other sites

On 8/6/2020 at 2:09 PM, Kilrah said:

Return the drive/get it replaced. Maybe try it on its own somewhere else first, could also be a power supply problem. A Pi4 will probably not be able to properly power 2 spinning drives without an additional power supply/circuitry.

thank you brother i'll try with external power supply.

CPU - AMD FX 8350 @ 6.5?? Ghz, GPU - nVidia GeForce GTX 750 ti, Storage - Internal SSD - ScanDisk SSD Plus 120 GB External HDDs- Seagate 1 TB slim, Seagate 2 TB Desktop Backup +, PSU - Corsair CS 650 m, Ram - Corsair vengeance 8 GB @ unknown OC speed. MoBo - MSI 970 Gaming.

Link to comment
https://linustechtips.com/topic/1231129-linux-raid-issue/#findComment-13899405
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×