[CentOS-virt] Mounting LVM contained ntfs systems.

Ben M. centos at rivint.com
Sat Feb 20 21:27:13 UTC 2010

I dd'd the LV from a snapshot to an empty LV on a different VG with 
identical extents like this:

dd if=/dev/vgsnapshotsource/win2k8-snapshot of=/dev/vgtarget/win2k8-target

I'm a little confused by what you mean by "partition" and disk in this 
context. There is the LV container created, a partition, but also a 
volume and presented as a "disk" to the Windows vm.

Then inside that LV, W2k8 is installed, and that partitioned inside that 
LV two logical drives which were then formatted NTFS by the W2k8 

So, I dd'd the LV "partition" but wasn't I also dd'd Window's 
"perception" of its disk?

Christopher G. Stach II wrote:
> ----- "Ben M." <centos at rivint.com> wrote:
>> If I try to mount the LV:
>> ~~~~~~~~~~~~~
>> [root at vm1 ~]# mount -t ntfs /dev/thisvg00/thisw2kwe-b4change
>> /mnt/ntfs
>> NTFS signature is missing.
>> Failed to mount '/dev/mapper/serv1vg00-w2kwe--b4cert': Invalid
>> argument
>> The device '/dev/mapper/serv1vg00-w2kwe--b4cert' doesn't seem to have
>> a 
>> valid NTFS.
>> Maybe the wrong device is used? Or the whole disk instead of a
>> partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
> Did you dd the disk or the partition? If you did the whole disk (verify with fdisk or something), you can use kpartx to add the LV as a disk and then mount the partitions that are created.

More information about the CentOS-virt mailing list