Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

One, i set up a raid 1 and then used lvm for the partitions. Maybe the other way round. i'm very confused now.

I need to recover the data from the one disk, unfortunately one disk is dead.
i remember that i've made 2 Volume Groups, one for tmp stuff and a main one.
which i can see by: vgscan

Reading all physical volumes.
This may take a while...
Couldn't find device with uuid F8k01X-dpGV-evK5-ldaK-31EA-IWwo-15KlY2.
Found volume group "vg_tmp" using metadata type lvm2
Found volume group "vg_main" using metadata type lvm2"

and fdisk -l
returns:

Disk /dev/sdf: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c7a36

Device Boot Start End Blocks Id System
/dev/sdf1 * 1 13 96256 fd Linux raid autodetect
Partition 1 does not end on cylinder boundary.
/dev/sdf2 13 30402 244100097 5 Extended
/dev/sdf5 13 75 498688 82 Linux swap / Solaris
/dev/sdf6 75 106 248832 8e Linux LVM
/dev/sdf7 106 30402 243350528 fd Linux raid autodetect

and this:

Disk /dev/md0: 98 MB, 98553856 bytes
2 heads, 4 sectors/track, 24061 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 249.2 GB, 249189752832 bytes
2 heads, 4 sectors/track, 60837342 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/dm-0: 80.0 GB, 79997960192 bytes
255 heads, 63 sectors/track, 9725 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 80.0 GB, 79997960192 bytes
255 heads, 63 sectors/track, 9725 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 40.0 GB, 39996882944 bytes
255 heads, 63 sectors/track, 4862 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 49.2 GB, 49194991616 bytes
255 heads, 63 sectors/track, 5980 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table

i need to copy some files out of dm0 dm1 dm2 dm3

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.