[CentOS-virt] Mounting LVM contained ntfs systems.

Sat Feb 20 21:04:18 UTC 2010
Christopher G. Stach II <cgs at ldsys.net>

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

-- 
Christopher G. Stach II
http://ldsys.net/~cgs/