FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Tue Nov 24, 2020 08:51



Post new topic Reply to topic  [ 3 posts ] 
NTFS signature is missing. 
Author Message

Joined: Mon Aug 12, 2013 23:52
Posts: 2
Post NTFS signature is missing.
I am having issues mounting a 3 TB drive via ntfs-3g. The drive is fine and it auto mounts without issue on a Ubuntu Desktop. When trying to mount it on my CentOS servers (5.x and 6.4) (I first use tgtd) I run into the following issues.

root@mybox:[~] # ntfs-3g -o ro /dev/sde1 /tmp/a/
NTFS signature is missing.
Failed to mount '/dev/sde1': Invalid argument
The device '/dev/sde1' 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?

Here is a little information encase any of it helps;

iscsi: registered transport (bnx2i)
iscsi: registered transport (be2iscsi)
scsi8 : iSCSI Initiator over TCP/IP
scsi 8:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5
scsi 8:0:0:0: Attached scsi generic sg4 type 12
scsi 8:0:0:1: Direct-Access WD My Book 1140 1019 PQ: 0 ANSI: 5
sd 8:0:0:1: Attached scsi generic sg5 type 0
sd 8:0:0:1: [sde] 5860466688 512-byte logical blocks: (3.00 TB/2.72 TiB)
sd 8:0:0:1: [sde] Write Protect is off
sd 8:0:0:1: [sde] Mode Sense: 49 00 00 08
sd 8:0:0:1: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sde: sde1
sd 8:0:0:1: [sde] Attached SCSI disk
fuse init (API version 7.13)

root@mybox:[~] # fdisk -l /dev/sde1

Disk /dev/sde1: 375.1 GB, 375069736960 bytes
255 heads, 63 sectors/track, 45599 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe5e5e5e5

root@mybox:[~] # fdisk -l /dev/sde

Disk /dev/sde: 3000.6 GB, 3000558944256 bytes
255 heads, 63 sectors/track, 364797 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00028375

Device Boot Start End Blocks Id System
/dev/sde1 1 45600 366279040 7 HPFS/NTFS

Any advice would be greatly appreciated.


Mon Aug 12, 2013 23:55
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: NTFS signature is missing.
Hi,

Quote:
I am having issues mounting a 3 TB drive via ntfs-3g. The drive is fine and it auto mounts without issue on a Ubuntu Desktop. When trying to mount it on my CentOS servers (5.x and 6.4) (I first use tgtd) I run into the following issues.

3TB disks generally use 4K sectors. What is the ntfs-3g version you are using on CentOS ? Versions older than 2012 ones were buggy for 4K sectors disks.
Quote:
sd 8:0:0:1: [sde] 5860466688 512-byte logical blocks: (3.00 TB/2.72 TiB)

This is unusual (5860466688 does not hold on 32 bits). What kind of partitioning are you using (GPT ?), is this supported by CentOS ?
Quote:
Disk /dev/sde1: 375.1 GB, 375069736960 bytes
255 heads, 63 sectors/track, 45599 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

The partition is probably formatted for 512 bytes per sector, this would be inefficient for a 4K sectored disk, even though it may appear to be ok on Ubuntu. How did you format this partition ?

Check your drive specifications for sector size, and whether the partitioning used is supported by CentOS.

Regards

Jean-Pierre


Tue Aug 13, 2013 10:48
Profile

Joined: Mon Aug 12, 2013 23:52
Posts: 2
Post Re: NTFS signature is missing. (RESOLVED)
I did a some research and testing. I found that it's my kernel version, CentOS 5.x uses 2.6.18 and below, but at least Linux Kernel 2.6.32 (I tested on 2.6.32) or maybe even works with 2.6.31 is needed to support drives with 4k sectors. I tried it on two CentOS 6 machines using ntfs-3g and it worked without any hiccups.


Wed Aug 14, 2013 00:22
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 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.