[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LVM PV in regular file, can i access it?


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?


Reply to: