Linux Raid Reconstr...
 
Notifications
Clear all

Linux Raid Reconstruction

19 Posts
2 Users
0 Likes
3,620 Views
OM602
(@om602)
Posts: 14
Active Member
Topic starter
 

[email protected]/mnt/ewf# mmls ewf1
DOS Partition Table
Offset Sector 0
Units are in 512-byte sectors

Slot Start End Length Description
000 Meta 0000000000 0000000000 0000000001 Primary Table (#0)
001 ------- 0000000000 0000002047 0000002048 Unallocated
002 000000 0000002048 0033556480 0033554433 Linux RAID (0xfd)
003 ------- 0033556481 0033558527 0000002047 Unallocated
004 000001 0033558528 0034607104 0001048577 Linux RAID (0xfd)
005 ------- 0034607105 0034609151 0000002047 Unallocated
006 000002 0034609152 0454039552 0419430401 Linux RAID (0xfd)
007 ------- 0454039553 0454043647 0000004095 Unallocated
008 Meta 0454041600 3907029167 3452987568 Win95 Extended (0x0f)
009 Meta 0454041600 0454041600 0000000001 Extended Table (#1)
010 001000 0454043648 3907027120 3452983473 Linux RAID (0xfd)
011 ------- 3907027121 3907029167 0000002047 Unallocated

 
Posted : 02/02/2017 3:44 pm
thefuf
(@thefuf)
Posts: 262
Reputable Member
 

losetup -r -o $((454043648*512)) /dev/loop4 1.1.dd
file -s /dev/loop4
mdadm --examine /dev/loop4

Does it contain a RAID superblock?

If yes, run "mdadm -IR /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop4" to start the arrays.

 
Posted : 02/02/2017 3:48 pm
OM602
(@om602)
Posts: 14
Active Member
Topic starter
 

File -s

/dev/loop4 Linux Software RAID version 1.2 (1) UUID=20571a2915919e519e436079b39eba68 name=rescue3 level=1 disks=2


MDADM
[email protected]/mnt/ewf# mdadm --examine /dev/loop4
/dev/loop4
Magic a92b4efc
Version 1.2
Feature Map 0x0
Array UUID 20571a2915919e519e436079b39eba68
Name rescue3
Creation Time Wed Nov 4 111535 2015
Raid Level raid1
Raid Devices 2

Avail Dev Size 3452721329 (1646.39 GiB 1767.79 GB)
Array Size 1726360512 (1646.39 GiB 1767.79 GB)
Used Dev Size 3452721024 (1646.39 GiB 1767.79 GB)
Data Offset 262144 sectors
Super Offset 8 sectors
Unused Space before=262064 sectors, after=2352 sectors
State clean
Device UUID bd4f30d5d04e68cc38da6d3278295bbc

Update Time Tue Oct 18 040939 2016
Checksum 76ad4038 - correct
Events 290

Device Role Active device 1
Array State AA ('A' == active, '.' == missing, 'R' == replacing)

 
Posted : 02/02/2017 4:32 pm
OM602
(@om602)
Posts: 14
Active Member
Topic starter
 

I managed to get what I needed
Adjust config-file /etc/mdadm/mdadm.conf
Put DEVICE /dev/loop* in config file

Scan for RAID-sets mdadm –assemble –scan
Run it MDADM –run /dev/md125
Mount /dev/md125 /mnt

Not sure about that extended partition, but I got the DB's from the third one.

 
Posted : 03/02/2017 3:25 pm
Page 2 / 2
Share:
Share to...