Hello, I want my USB storage(NTFS format) NTFS mount use NTFS-3g for my embedded linux system but now failed like below.
* Kernel Version : 2.6.14.7
#define CONFIG_FUSE_FS 1
* NTFS-3g : ntfs-3g_ntfsprogs-2012.1.15.gz
cross compiled and libraries and binaries copy to my embedded system.
================================================
#fdisk -l
Disk /dev/mtdblock0: 527 MB, 527958016 bytes
255 heads, 63 sectors/track, 64 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/sda: 4001 MB, 4001366016 bytes
214 heads, 32 sectors/track, 1141 cylinders
Units = cylinders of 6848 * 512 = 3506176 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1142 3907567+ 7 HPFS/NTFS
================================================
#ntfs-3g --help
ntfs-3g 2012.1.15 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2011 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>
Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).
Example: ntfs-3g /dev/sda1 /mnt/windows
News, support and information:
http://tuxera.com================================================
#mount -t ntfs-3g /mnt/sda1 /mnt/usb
mount: mounting /mnt/sda1 on /mnt/usb failed: No such device
#ntfs-3g /dev/sda1 /mnt/usb
Index block size 0 is invalid.
Failed to mount '/dev/sda1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
================================================
#ntfsfix /dev/sda1
Failed to determine whether /dev/sda1 is mounted: No such file or directory
Mounting volume... Index block size 0 is invalid.
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
Index block size 0 is invalid.
Remount failed: Input/output error