NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

teknik_kim's avatar
teknik_kim
Aspirant
Apr 12, 2017

Mounting ReadyNas Duo hardrive in Linux

Hi

 

First, I previously wrote a message about the subject yesterday, but it was deleted without warning(?). Let me know if I did something wrong.

 

My problem is that I have done something stupid, i.e. deleted a share which have/had a lot of my files stored. I quickly noticed my error and shut the system down (I didn't know if pulling the power would make it worse, so I didn't). The disk (2TB seagate) is still showing full, but it's content is not accessible.

I am then trying to mount the drive using a USB to SATA converter connected to a Raspberry Pi running Debian Linux (fully updated).

How do I proceed to mount the drive? Do I need to use "mdadm"? The drive shows up as "Linux raid" (but isn't used in a RAID configuration with another drive.

 

I have read other posts about the same topic, but they mainly focus on "real" RAID setups.

 

"Fdisk -l" produces:

...

Disklabel type: dos
Disk identifier: 0x000ef41d

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 2335937 2333890 1.1G e W95 FAT16 (LBA)
/dev/mmcblk0p2 2335938 15353855 13017918 6.2G 5 Extended
/dev/mmcblk0p5 2342912 2408445 65534 32M 83 Linux
/dev/mmcblk0p6 2408448 2537471 129024 63M c W95 FAT32 (LBA)
/dev/mmcblk0p7 2539520 15353855 12814336 6.1G 83 Linux

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb68ba78e

Device Boot Start End Sectors Size Id Type
/dev/sda1 32 4096031 4096000 2G fd Linux raid autodetect
/dev/sda2 4096032 5144607 1048576 512M fd Linux raid autodetect
/dev/sda3 5144608 3907012815 3901868208 1.8T fd Linux raid autodetect

 

-Kim

3 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    Which Duo did you have?

    The Duo v1 (runs RAIDiator 4) or the Duo v2 (runs RAIDiator 5.3.x)?

    The Duo v2 used mdadm RAID.

     

    Looks like you have the v2 from that output I think.


    You could do e.g.

    # mdadm -E /dev/sda1

    That should confirm that it has mdadm RAID on it. 

     

    Then if that comes up fine you could try it for the data volume partition /dev/sda3

     

    We use lvm2 on top of mdadm RAID on the v2 for the data volume.

    • teknik_kim's avatar
      teknik_kim
      Aspirant

      Hi

       

      The Readynas has the P/N "RND2150 v2" and currently running RAIDiator v4.1.14.

      How do I proceed from here?

       

      For SDA1:

      sudo mdadm -E /dev/sda1
      /dev/sda1:
      Magic : a92b4efc
      Version : 0.90.03
      UUID : 4cb96944:540a0970:46397774:3b8d0e93
      Creation Time : Sat Sep 8 07:57:35 2012
      Raid Level : raid1
      Used Dev Size : 2047936 (2000.27 MiB 2097.09 MB)
      Array Size : 2047936 (2000.27 MiB 2097.09 MB)
      Raid Devices : 2
      Total Devices : 1
      Preferred Minor : 0

      Update Time : Tue Apr 11 09:00:18 2017
      State : clean
      Active Devices : 1
      Working Devices : 1
      Failed Devices : 1
      Spare Devices : 0
      Checksum : 75474814 - expected a5becfe4
      Events : 8326807715577856

       

      Number Major Minor RaidDevice State
      this 0 22 1 0 active sync

      0 0 22 1 0 active sync
      1 1 0 0 1 faulty removed

       

      For SDA3:

      sudo mdadm -E /dev/sda3
      /dev/sda3:
      Magic : a92b4efc
      Version : 0.90.03
      UUID : 5ead1689:4c81f367:0690040a:6c3f6572
      Creation Time : Wed Apr 25 08:11:56 2012
      Raid Level : raid0
      Raid Devices : 1
      Total Devices : 1
      Preferred Minor : 2

      Update Time : Wed Apr 25 08:11:56 2012
      State : active
      Active Devices : 1
      Working Devices : 1
      Failed Devices : 0
      Spare Devices : 0
      Checksum : daa24aa5 - expected dbe20aa4
      Events : 4294967296

      Chunk Size : 4096K

      Number Major Minor RaidDevice State
      this 0 22 3 0 active sync

      0 0 22 3 0 active sync

       

       

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More