Comment 2 for bug 751720

Revision history for this message
Valentin Quequet (valentin-quequet) wrote :

Hello,

In fact, NTFS-3G doesn't function at all, and the kernel NTFS driver takes over if I'm not clear about the driver to use (ntfs-3g/ntfs-fuse).

Here follows a few attempts to mount my NTFS partition :
(I used NBD client/server in order to preserve my data, but I would have got the same result on the real partition.)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1 -o nosilent,debug
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1 -o nosilent,debug,force
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1 -o nosilent,debug,hello
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1 -o debug
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1 -odebug
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# ntfsmount /dev/nbd1 /mnt/nbd1
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)

root@valentin-laptop:~# mount -t ntfs-fuse /dev/nbd1 /mnt/nbd1 ; echo RESULT=$?
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)
RESULT=1

root@valentin-laptop:~# ntfsresize --info /dev/nbd1
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/nbd1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 9536999936 bytes (9537 MB)
Current device size: 9536999424 bytes (9537 MB)
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 6283 MB (65.9%)
Collecting resizing constraints ...
You might resize at 6282199040 bytes or 6283 MB (freeing 3254 MB).
Please make a test run using both the -n and -s options before real resizing!
root@valentin-laptop:~#

root@valentin-laptop:~# ntfsresize --verbose --info /dev/nbd1
ntfsresize v2.0.0 (libntfs 10:0:0)
Device name : /dev/nbd1
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 9536999936 bytes (9537 MB)
Current device size: 9536999424 bytes (9537 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 6283 MB (65.9%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
$MFT : 1 MB 0
Multi-Record : 1193 MB 360
$MFTMirr : 4769 MB 1
Sparse : 1042 MB 40
Ordinary : 7223 MB 448
You might resize at 6282199040 bytes or 6283 MB (freeing 3254 MB).
Please make a test run using both the -n and -s options before real resizing!
root@valentin-laptop:~#

root@valentin-laptop:~# ntfslabel --verbose /dev/nbd1
DATA_EXCHANGE
root@valentin-laptop:~#

root@valentin-laptop:~# ntfsls --verbose /dev/nbd1
$RECYCLE.BIN
apt_conf_d.tar.gz
Compte_E-Bay_MAJ-01.7z
Compte_PayPal.7z
Dossier_Pratiques_Modernes
Dossier_Pratiques_Modernes_2
Dossier_Pratiques_Modernes_4
DVB-T.txt
DVD
ECHANGE
Emploi_All
FIND-_.err
FIND-_.err.bak
FIND-_.out
FIND-_.out.bak
firefox
FL0000
FORTUNES
JACKY
kFreeBSD
OpenSimulator
Optio_M90_M900
Optio_M90_M900.tar
PASSWD
System Volume Information
TNT_II
UNIGINE_HEAVEN
root@valentin-laptop:~#

root@valentin-laptop:~# ntfsfix /dev/nbd1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
NTFS volume version is 3.1.
NTFS partition /dev/nbd1 was processed successfully.
root@valentin-laptop:~# ntfsfix /dev/nbd1
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
NTFS volume version is 3.1.
NTFS partition /dev/nbd1 was processed successfully.
root@valentin-laptop:~#

root@valentin-laptop:~# mount -t ntfs-kuse /dev/nbd1 /mnt/nbd1 ; echo RESULT=$?
mount: unknown filesystem type 'ntfs-kuse'
RESULT=32
root@valentin-laptop:~# mount -t ntfs-fuse /dev/nbd1 /mnt/nbd1 ; echo RESULT=$?
Volume is scheduled for check.
Please boot into Windows TWICE, or use the 'force' option.
NOTE: If you had not scheduled check and last time accessed this volume
using ntfsmount and shutdown system properly, then init scripts in your
distribution are broken. Please report to your distribution developers
(NOT to us!) that init scripts kill ntfsmount or mount.ntfs-fuse during
shutdown instead of proper umount.
Mount failed.
RESULT=1
root@valentin-laptop:~# mount -t ntfs-fuse /dev/nbd1 /mnt/nbd1 -o force ; echo RESULT=$?
WARNING: Dirty volume mount was forced by the 'force' mount option.
fuse_mount failed.
Unmounting /dev/nbd1 (DATA_EXCHANGE)
RESULT=1
root@valentin-laptop:~#