LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   LVM issues (https://www.linuxquestions.org/questions/linux-general-1/lvm-issues-364633/)

ping_wing 09-18-2005 05:09 PM

LVM issues
 
Hi.

I have raid-1 (mirror) which contains LVM .

After my system crashed I made dd if=/dev/md1 of=md1.img


since my /dev/md1 is damaged for now, only backup i have is in that file.
is there possible to mount lvm volumes from that file directly, without haveing to write it to physical disk?

and if I want to write it to physical disk is 'dd if=md1.img of=/dev/md1' ok?

thanks..

ping_wing 09-18-2005 05:19 PM

o and raid itself is running (degraded and with 1 disk only but running).
just filesystem on /dev/md1 is messed up.

ping_wing 09-18-2005 05:21 PM

when i made dd if=/dev/md1 of=md1.img it completed with an hour (120GB).
now 'dd if=md1.img of=/dev/md1' is still running after 2 hours....


All times are GMT -5. The time now is 12:14 AM.