FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Tue Aug 11, 2020 09:16



Post new topic Reply to topic  [ 2 posts ] 
failed to mount an NTFS virtual block 
Author Message

Joined: Fri Feb 10, 2017 12:09
Posts: 1
Post failed to mount an NTFS virtual block
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!


Fri Feb 10, 2017 12:16
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: failed to mount an NTFS virtual block
Hi

[Duplicating my reply to post duplicated on "ntfs-3g-devel", please only post here]

What is the device path which represents your ntfs partition :
/dev/centos7/test-pure-ntfs
or /dev/mapper/centos7-test--pure--ntfs
or /dev/mapper/centos7-test--pure--ntfs1 ?

Please post the outputs of (as root) :
Code:
dd if=/dev/DEVICE count=1 | od -t x1 | head -n 1

replacing DEVICE by centos7/test-pure-ntfs etc.

Regards

Jean-Pierre


Fri Feb 10, 2017 14:42
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.