Re: Mounting LVM contained ntfs systems.

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

 



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 
installation.

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@xxxxxxxxxx> wrote:
> 
>> If I try to mount the LV:
>>
>> ~~~~~~~~~~~~~
>> [root@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.
> 

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux