From owner-freebsd-questions@freebsd.org Sun Apr 15 15:18:59 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67827F9AFDF for ; Sun, 15 Apr 2018 15:18:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1DF48262A for ; Sun, 15 Apr 2018 15:18:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.30.67]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPA (Nemesis) id 0MUPVW-1eyHUn0gFO-00Qzz2; Sun, 15 Apr 2018 17:18:51 +0200 Date: Sun, 15 Apr 2018 17:18:51 +0200 From: Polytropon To: Ernie Luzar Cc: "freebsd-questions@freebsd.org" Subject: Re: Help mounting USB NTFS HD Message-Id: <20180415171851.add2965a.freebsd@edvax.de> In-Reply-To: <5AD35C67.9030208@gmail.com> References: <5AD35C67.9030208@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rTnDAvmcmm5egsk2G6TDW+EGXIs210j89kKVMA7CViGyRLeFkqy Dc5PUSmJvipIDBgrlgO+nMPtNCqyZxVg+XMkbU8x59F4nnJ7qzl+/7YBethXZ3eHOTPGPfP vR8/VPtfN5fM6Ryi43SE1tPi9KyC09l6mJJG4TOSIc4Ukms7RbvRdaLVRrL8sMhw6A8mXG6 OW1DYtcrFrth9XUdhiMnA== X-UI-Out-Filterresults: notjunk:1;V01:K0:aYasfwk/ETo=:HHqoDM6X709qYD+l14zAT2 3ZeEGlqdfMNzkWveSmVf0cI02b5P13VZ7a636w0LQ6VQjedBFQp/LrBsRnLSVlHZpb/uhddtt oXSRmiSn57fV3NApwxZ9ZDbZBWRQrBl5NCuUNhnFmhMcxY70OD8JC558z0vOdKpi2n6Rf+7vs vd3WI2y1DKpxT6AbwJjHEOKHkwlJFXr/V20ILTliy26+w+MYMlCaF7H9dd0FZ4AsxmC+JhBc0 O4a6FukXtwHs7+UX77wteFZ0qYaYk2g26REoem2gRqYa29Q1Jeu6v8bgonYrxG0Y/NSLiOzK7 nJv21sQG/dOKypDF7PPsGwXyuovm3oCQ0pgrKls57tilFzWGQI49wI4mF0+G8RFPXaNKPwTyH nYBYoGaaIwvPhXbAy070laStUGqGCCokxCcYOB06vr+kKd08aa3d+6y29Fxh0Uy0dnokf5X2J +luj0TUPtk8D3ICglmmQTxBOOQ2cthGoHK3IHuoMUdzZzLursjjs9SlgNDtiKBqVEl3lQIyEf qCTsCaoI8GtOl+irSi/O3IQ4ybuHjLNPKzfSw0IegtlBIzyxg4jVbWgX6+BZ6FRs0dL3G83rZ GYgX8wrFOp3iF1NDzKpbw1l/tCBM6UhpJQjin2TTOPUBzKWi7IAdQC1Ue2+DDJuSthRwN8w/E E9n2Z/gUaZ2DY4VacMOkc/8JEg93xOn9GuvBRC7H+QaFt/CyjTL9j/xEDcfEzKFmeoRJIHxdS Lf2iDTmvrCU7Q7LjHvI6GTHoORhnNoSICbcKK91DHpwaIwfh01d65CAhY5Y= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 15:18:59 -0000 On Sun, 15 Apr 2018 10:06:31 -0400, Ernie Luzar wrote: > ******************* trying to mount usb ntfs HD *************** > > FreeBSD 11.1-RELEASE-p8 > pkg install fusefs-ntfs > > HD is 1tb usb external HD formated using win10 as ntfs. > Works without problems on win10 > HD has small triangle circuit board USB adapter connected to the HD sata > ports. > > > Get these console messages after plugging into FreeBSD PC usb port. > > /root >ugen0.2: at usbus0 > umass0 on uhub2 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x8000 > umass0:4:0: Attached to scbus4 > da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 > da0: Fixed Direct Access SPC-4 SCSI device > da0: Serial Number 5A3747523953484653 > da0: 400.000MB/s transfers > da0: 953837MB (244182272 4096 byte sectors) > da0: quirks=0x2 > ses1 at umass-sim0 bus 0 scbus4 target 0 lun 1 > ses1: Fixed Enclosure Services SPC-4 SCSI device > ses1: Serial Number 5A3747523953484653 > ses1: 400.000MB/s transfers > ses1: SCSI-3 ENC Device Looks good so far. > /root >ls /dev | grep da0 > da0 > da0s1 To be expected. > /root >gpart show /dev/da0 > => 63 244182209 da0 MBR (931G) > 63 1985 - free - (7.8M) > 2048 244169887 1 ntfs (931G) > 244171935 10337 - free - (40M) > > /root >ntfsinfo -m -v /dev/da0s1 > Volume Information > Name of device: /dev/da0s1 > Device state: 11 > Volume Name: new 1tb > Volume State: 91 > Volume Flags: 0x0000 > Volume Version: 3.1 > Sector Size: 4096 > Cluster Size: 4096 > Index Block Size: 4096 > Volume Size in Clusters: 244169886 > MFT Information > MFT Record Size: 4096 > MFT Zone Multiplier: 0 > MFT Data Position: 24 > MFT Zone Start: 0 > MFT Zone End: 30521238 > MFT Zone Position: 3 > Current Position in First Data Zone: 30521238 > Current Position in Second Data Zone: 0 > Allocated clusters 256 (0.0%) > LCN of Data Attribute for FILE_MFT: 3 > FILE_MFTMirr Size: 4 > LCN of Data Attribute for File_MFTMirr: 81389962 > Size of Attribute Definition Table: 2560 > Number of Attached Extent Inodes: 0 > FILE_Bitmap Information > FILE_Bitmap MFT Record Number: 6 > State of FILE_Bitmap Inode: 80 > Length of Attribute List: 0 > Number of Attached Extent Inodes: 0 > FILE_Bitmap Data Attribute Information > Decompressed Runlist: not done yet > Base Inode: 6 > Attribute Types: not done yet > Attribute Name Length: 0 > Attribute State: 3 > Attribute Allocated Size: 30523392 > Attribute Data Size: 30521240 > Attribute Initialized Size: 30521240 > Attribute Compressed Size: 0 > Compression Block Size: 0 > Compression Block Size Bits: 0 > Compression Block Clusters: 0 > Free Clusters: 244117193 (100.0%) > > Up to this point everything looks good. The win10 ntfs HD is recognized > as ntfs. Correct. > But mounting it gives errors > > /root >ntfs-3g /dev/da0s1 /mnt > fuse: failed to open fuse device: No such file or directory > > /root >mount -t ntfs-3g /dev/da0s1 /mnt > mount: /dev/da0s1: Operation not supported by device > > /root >ntfsfix /dev/da0s1 > Mounting volume... OK > Processing of $MFT and $MFTMirr completed successfully. > Checking the alternate boot sector... FAILED > Error: Failed to fix the alternate boot sector > > Question: Can ntfs-3g mount USB connected external HD? Yes, it can. Examine the error message closely: "failed to open fuse device". Do you have fuse_enable="YES" in /boot/loader.conf - or kldload'ed the corresponding module? I think this is what's missing. By the way, your first mount attempt should (for diagnostic purposes) always be read-only: # ntfs-3g -r /dev/da0s1 /mnt For reading files, this is sufficient anyway. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...