Re: Moving Xen LV to image and mounting the image.

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

 



Looks like you are doing it correctly, but you would have to mount the copied image via loopback, because it is a file now and not a device.

 brassow

On Nov 14, 2008, at 8:53 AM, Chris Edwards wrote:

Hello All!

I have been trying to solve a problem. In my current scenario I created on our SAN multiple volume groups with a single logical volume on each taking the entire groups space. I realized that I made a mistake and did not leave room for doing snapshots. Now I am moving each of the LV's to a new single large logical group and leaving space for snap shots. So then I realized that I could do a "dd" to an image file (example: "dd if=/dev/VolGroup00/LogVol00 of=/ root/wdcdns1.img"). I was wondering if there was a way to mount this image file? I can't seem to mount it no matter what I do. Am I doing this correctly?

Thanks for any help!

---

Chris Edwards


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux