From: x. <hua...@fo...> - 2017-02-10 10:14:35
|
hi, my steps are: 1, lvcreate, make a lv, named test-pure-ntfs, vg is centos7(consisted of sdb); 2, virsh attach-disk, attach test-pure-ntfs to an VM(Windows-Server2008R2x64); 3, make this new disk online and format it(MBR+NTFS); 4, then this disk can rw normally within VM; 5, ntfs-3g, mount test-pure-ntfs on a existed path(/mnt/ntfs/), but failed! so, why? do not ntfs-3g support my case? ==========here are parts of my actions========== [root@localhost mnt]# mount -t ntfs-3g /dev/centos7/test-pure-ntfs /mnt/ntfs/ NTFS signature is missing. Failed to mount '/dev/mapper/centos7-test--pure--ntfs': invalid parameter The device '/dev/mapper/centos7-test--pure--ntfs' 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? [root@localhost mnt]# fdisk -l |grep NTFS |grep pure /dev/mapper/centos7-test--pure--ntfs1 2048 104853503 52425728 7 HPFS/NTFS/exFAT [root@localhost mnt]# lsblk |grep pure └─centos7-test--pure--ntfs 253:4 0 50G 0 lvm [root@localhost mnt]# lvscan |grep pure ACTIVE '/dev/centos7/test-pure-ntfs' [50.00 GiB] inherit [root@localhost mnt]# ntfs-3g /dev/centos7/test-pure-ntfs /mnt/ntfs/ <try again, equals to mount~~~ above> NTFS signature is missing. Failed to mount '/dev/mapper/centos7-test--pure--ntfs': invalid parameter The device '/dev/mapper/centos7-test--pure--ntfs' 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? thanks for anyone who check this email :) regards! |