View Single Post
  #1   (View Single Post)  
Old 18th August 2014
Smith Smith is offline
Port Guard
 
Join Date: Apr 2012
Posts: 14
Unhappy NTFS on OpenBSD, "Invalid argument"

What I have is a genuinely NTFS formatted 4TB drive. (The drive was formatted in Windows 8, fwiw). It's an external USB drive (Western Digital).

What I would like to do is to mount it and access it from OpenBSD. (Yes, I realize it's only 'read only' and this is not a problem!)

What happens is that I get "invalid argument" when I try to mount it using mount_ntfs. I have tried formatting it a few different ways and still the same result. What am I missing? I am still very much an openbsd beginner/ hobbyist..

Code:
hostname [~] # dmesg
[ tail end of dmesg ]
umass0 at uhub0 port 5 configuration 1 interface 0 "Western Digital My Book 1230" rev 2.10/10.50 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd0 at scsibus2 targ 1 lun 0: <WD, My Book 1230, 1050> SCSI4 0/direct fixed
sd0: 3815415MB, 4096 bytes/sector, 976746240 sectors
ses0 at scsibus2 targ 1 lun 1: <WD, SES Device, 1050> SCSI4 13/enclosure services fixed
ses0: unable to read enclosure configuration
hostname [~] # disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: My Book 1230    
duid: 0000000000000000
flags:
bytes/sector: 4096
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 60799
total sectors: 976746240
boundstart: 0
boundend: 976746240
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:        976746240                0  unused                   
  i:        976735872               63    NTFS                   
hostname [~] # mount /dev/sd0i /mnt/ntfs
mount_ntfs: /dev/sd0i on /mnt/ntfs: Invalid argument

Last edited by Smith; 18th August 2014 at 03:34 PM.
Reply With Quote