V
V
Vladimir2011-08-16 15:46:45
linux
Vladimir, 2011-08-16 15:46:45

Data recovery from software RAID-1

Please describe the method of recovering information from software RAID-1, which was compiled under Debian Squeeze.

At the moment, the system boots only in single-user mode, and half of the basic system utilities are corrupted (sh, ls, etc.).

How can I mount this RAID array under a Live CD and store the information safely?

Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lesha_penguin, 2011-08-16
@koef

First question:
You have trouble with the raid or with the file system. or with a swap that the devil pulled you to do on a software raid?
Technique:
1) You boot from live cd
2) you look smartly if one of the disks is damaged.
3) using fdisk to see what raid partitions you have
4) through mdadm --assemble you assemble the raid with your hands
5) look at swearing in dmesg
6) cat /proc/mdstat look at the state of the raid. as well as the recovery process
7) By the way, if your raid is a simple mirror, then you can mount a separate raid partition just like a file system.

I
ivlis, 2011-08-16
@ivlis

I would like to expand on the previous comment:
1.5) dd BOTH disks somewhere safe.
1.6) You try to mount the images like regular partitions. If you just have file systems there, then as usual, if LVM, then you need to google
1.7) You try to copy the information

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question