Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
givré, some feedback
Code:
user@linux:~$ pmount -d /dev/sdh1
resolved /dev/sdh1 to device /dev/sdh1
mount point to be used: /media/sdh1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount/_dev_sdh1
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:113
find_sysfs_device: checking whether /dev/sdh1 is on /sys/block/sdh (8:112)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/sdh1 matches partition 8:112
find_sysfs_device: checking whether device /dev/sdh1 matches partition 8:113
find_sysfs_device: -> partition matches, belongs to block device /sys/block/sdh
device_removable: corresponding block device for /dev/sdh1 is /sys/block/sdh
get_blockdev_attr: value of /sys/block/sdh/removable == 0
find_bus_ancestry: device 4:0:0:0 (path /sys/devices/pci0000:00/0000:00:13.3/usb 4/4-8/4-8:1.0/host4/target4:0:0/4:0:0:0, bus scsi) does not match, trying parent
find_bus_ancestry: device target4:0:0 (path /sys/devices/pci0000:00/0000:00:13.3 /usb4/4-8/4-8:1.0/host4/target4:0:0, bus ) does not match, trying parent
find_bus_ancestry: device host4 (path /sys/devices/pci0000:00/0000:00:13.3/usb4/ 4-8/4-8:1.0/host4, bus ) does not match, trying parent
find_bus_ancestry: device 4-8:1.0 (path /sys/devices/pci0000:00/0000:00:13.3/usb 4/4-8/4-8:1.0, bus usb) matches query, success
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdh1'
spawn(): /sbin/cryptsetup terminated with status 255
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
mount point directory locked
Filesystem: 'udf'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,a sync,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8' '/dev/sdh1' '/medi a/sdh1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'udf'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,a sync,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/sdh1' '/media/sdh1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'iso9660'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,us er,async,atime,noexec,uid=1000,gid=1000,iocharset=utf8' '/dev/sdh1' '/media/sdh1 '
spawn(): /bin/mount terminated with status 32
Filesystem: 'iso9660'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,us er,async,atime,noexec,uid=1000,gid=1000' '/dev/sdh1' '/media/sdh1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'vfat'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user, quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=u tf8' '/dev/sdh1' '/media/sdh1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'vfat'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user, quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/sdh1 ' '/media/sdh1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'ntfs-3g'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'silent,async,at ime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8' '/dev/sdh1' '/media/sdh1'
spawn(): /bin/mount terminated with status 5
Filesystem: 'ntfs-3g'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'silent,async,at ime,noexec,uid=1000,gid=1000,umask=007' '/dev/sdh1' '/media/sdh1'
spawn(): /bin/mount terminated with status 5
Filesystem: 'ntfs'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs' '-o' 'nosuid,nodev,user, async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/sdh1' '/med ia/sdh1'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked
Don't have any more time for this today, hope this helps you.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Mine:
Code:
:~$ pmount -d /dev/sda1
resolved /dev/sda1 to device /dev/sda1
mount point to be used: /media/sda1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount/_dev_sda1
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:1
find_sysfs_device: checking whether /dev/sda1 is on /sys/block/sda (8:0)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/sda1 matches partition 8:0
find_sysfs_device: checking whether device /dev/sda1 matches partition 8:1
find_sysfs_device: -> partition matches, belongs to block device /sys/block/sda
device_removable: corresponding block device for /dev/sda1 is /sys/block/sda
get_blockdev_attr: value of /sys/block/sda/removable == 0
find_bus_ancestry: device 0:0:0:0 (path /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/host0/target0:0:0/0:0:0:0, bus scsi) does not match, trying parent
find_bus_ancestry: device target0:0:0 (path /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/host0/target0:0:0, bus ) does not match, trying parent
find_bus_ancestry: device host0 (path /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0/host0, bus ) does not match, trying parent
find_bus_ancestry: device 5-2:1.0 (path /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-2/5-2:1.0, bus usb) matches query, success
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sda1'
spawn(): /sbin/cryptsetup terminated with status 255
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
mount point directory locked
Filesystem: 'udf'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'udf'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'iso9660'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,iocharset=utf8' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'iso9660'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'vfat'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'vfat'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 32
Filesystem: 'ntfs-3g'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'silent,async,atime,noexec,uid=1000,gid=1000,umask=007,iocharset=utf8' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 5
Filesystem: 'ntfs-3g'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'silent,async,atime,noexec,uid=1000,gid=1000,umask=007' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 5
Filesystem: 'ntfs'
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/sda1' '/media/sda1'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
@domino
maybe you brought me luck :p
i tried to fix the partition with this in windows:
"chkdsk /f",
and solved it. it seems that the problem was caused by error of volume index. the driver is not perfect now.:roll:
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Yea, tht usually happens when there is some bad sector or volume index. i once made the mistake and hit the restart button instead of the shutdown button. I decided to boot to dapper without running chkdsk and the internal ntfs drives wouldn't mount. I has to run chkdsk /f to solve the problem.
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
ok guys, thank you so much.
This will be more complicated that what i was thinking :smile: , i just look at the code of gnome-volume-manager, and it appears that it check the type of fs before calling pmount. We can force pmount to use ntfs-3g instead of ntfs, but that's not what i planned, we will no more be able to use pmount with the ntfs driver. What do you think guys?
Also we have an other problem, and more complicated, since the system see all ntfs partition as /dev/fuse, pumount dev/sd* will not work. We can use the mount point instead, but since the only thing pass to the pumount function is device, it will need a bit of work.
But all that will lead to nothing if we don't resolve the first error.
If you could try one more thing, that's could be great. Try to mount it exactly like pmount do (check media sda1 fisrt)
Code:
sudo mount -t ntfs-3g -o silent,async,atime,noexec,uid=1000,gid=1000,umask=007 /dev/sda1 /media/sda1
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
Originally Posted by
superiori
@domino
maybe you brought me luck :p
i tried to fix the partition with this in windows:
"chkdsk /f",
and solved it. it seems that the problem was caused by error of volume index. the driver is not perfect now.:roll:
Yeah this driver is not perfect, but what happens to you is not an known issue, you should contact the developpers to warm them : http://www.linux-ntfs.org/content/view/20/39/
Also did you set correctly your locale? It appears that it is quite important if you don't want to have bad surprise.
Anyway, i'm happy that you manage to resolve your error with chkdsk =D>
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Feedback, sucess with those arguments that you suggested givré (but I mounted the drive to my "External" folder).
Code:
user@linux:~$ sudo mount -t ntfs-3g -o silent,async,atime,noexec,uid=1000,gid=1000,umask=007 /dev/sdh1 /media/External
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Confirm it works here too givré. i decied t mount to sda1 since Poka64 did the "xternal". I have r-w access and drive icon on the desktop. yayea!!
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
Quote:
We can force pmount to use ntfs-3g instead of ntfs, but that's not what i planned, we will no more be able to use pmount with the ntfs driver. What do you think guys?
I thought about this for a few minutes and I think I have no problem getting rid of the ntfs driver. Others may object, but I have no problem with it.
I just have a few question:
1. is there any negative affect with fstab that mounts internal drives with ntfs?
2. is the a backdoor in case we want to revert back to the original pmount/ntfs?
3. can you make full read-write drivers for hfsplus? just kidding.. but seriously.. :-\"
Re: HOWTO: NTFS with read/write support using ntfs-3g (easy method)
The preferred choice would be to choose between the regular ntfs and the 3g one when you mount :)