recovering data from raid1 hdd
by inferus-vir from LinuxQuestions.org on (#53JV0)
I had a brown-out last night, and one of my nas devices now insists on re-initializing the drives.
I turned it off, removed the drives and plugged one of them into a centos 8 box. Searching several website forums i've done the following w/ no success:
Code:[root@localhost ~]# cat /proc/mdstat
Personalities :
md123 : inactive sdb4[0](S)
530128 blocks super 1.0
md124 : inactive sdb3[0](S)
3897063620 blocks super 1.0
md125 : inactive sdb2[0](S)
530124 blocks super 1.0
md126 : inactive sdb5[0](S)
8353780 blocks super 1.0
md127 : inactive sdb1[0](S)
530108 blocks super 1.0
unused devices: <none>Code:[root@localhost ~]# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x7acfd53c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 976773119 974673920 464.8G 8e Linux LVM
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 2AAC6116-4065-49CA-A881-E74C5ED85122
Device Start End Sectors Size Type
/dev/sdb1 40 1060289 1060250 517.7M Microsoft basic data
/dev/sdb2 1060296 2120579 1060284 517.7M Microsoft basic data
/dev/sdb3 2120584 7796248109 7794127526 3.6T Microsoft basic data
/dev/sdb4 7796248112 7797308399 1060288 517.7M Microsoft basic data
/dev/sdb5 7797308408 7814015999 16707592 8G Microsoft basic data
Disk /dev/mapper/cl-root: 50 GiB, 53687091200 bytes, 104857600 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
Disk /dev/mapper/cl-swap: 3.9 GiB, 4160749568 bytes, 8126464 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
Disk /dev/mapper/cl-home: 410.9 GiB, 441182060544 bytes, 861683712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesCode:[root@localhost ~]# mount -o ro -t ext3 /dev/sdb3 /mount/qnap/
mount: /mount/qnap: /dev/sdb3 already mounted or mount point busy.I'm a very basic linux user, so rather lost here.
I *really* need to pull the data off this drive; any help appreciated.


I turned it off, removed the drives and plugged one of them into a centos 8 box. Searching several website forums i've done the following w/ no success:
Code:[root@localhost ~]# cat /proc/mdstat
Personalities :
md123 : inactive sdb4[0](S)
530128 blocks super 1.0
md124 : inactive sdb3[0](S)
3897063620 blocks super 1.0
md125 : inactive sdb2[0](S)
530124 blocks super 1.0
md126 : inactive sdb5[0](S)
8353780 blocks super 1.0
md127 : inactive sdb1[0](S)
530108 blocks super 1.0
unused devices: <none>Code:[root@localhost ~]# fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: 0x7acfd53c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 976773119 974673920 464.8G 8e Linux LVM
Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 2AAC6116-4065-49CA-A881-E74C5ED85122
Device Start End Sectors Size Type
/dev/sdb1 40 1060289 1060250 517.7M Microsoft basic data
/dev/sdb2 1060296 2120579 1060284 517.7M Microsoft basic data
/dev/sdb3 2120584 7796248109 7794127526 3.6T Microsoft basic data
/dev/sdb4 7796248112 7797308399 1060288 517.7M Microsoft basic data
/dev/sdb5 7797308408 7814015999 16707592 8G Microsoft basic data
Disk /dev/mapper/cl-root: 50 GiB, 53687091200 bytes, 104857600 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
Disk /dev/mapper/cl-swap: 3.9 GiB, 4160749568 bytes, 8126464 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
Disk /dev/mapper/cl-home: 410.9 GiB, 441182060544 bytes, 861683712 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytesCode:[root@localhost ~]# mount -o ro -t ext3 /dev/sdb3 /mount/qnap/
mount: /mount/qnap: /dev/sdb3 already mounted or mount point busy.I'm a very basic linux user, so rather lost here.
I *really* need to pull the data off this drive; any help appreciated.