You are not logged in.
Pages: 1
The USB HDD is connected through USB 2.0, and is formatted as NTFS.
If I copy files to it from my ext4 partition in linux, I get write speed of ~1 - 2MB/s
But If inside this linux I run a vbox machine with windows XP64 and then copy the same files, I get 4-8MB/s
Why is that?
Offline
NTFS
Install ntfs-3g. Mount partition as type "ntfs-3g", with mount option "noatime", and definitely without the mount option "sync" (use "flush" instead, if that works).
Offline
How can I automate it? FSTAB is out of the question because it is an external I only occasionally mount with spaceFM, which does all the mounting work automatically.
Last edited by Lockheed (2012-05-05 17:42:14)
Offline
This udev rule is an option. You can edit it to change the mountpoint,... obviously.
Burninate!
Offline
Fantastic. My transfers went from 1MB/s to 27-30MB/s.
However, when I try to unmount the drive after copying files, I get this:
Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address (polkit-error-quark, 0)
Error unmounting /dev/sdb1: GDBus.Error:org.freedesktop.UDisks2.Error.NotAuthorizedCanObtain: Not authorized to perform operationOffline
Using the udev rule, you will then need root permissions to unmount. Or maybe you do not have ConsoleKit setup properly?
Offline
Using the udev rule, you will then need root permissions to unmount. Or maybe you do not have ConsoleKit setup properly?
Hmm, There is not much in Wiki on this. It mostly covers hibernation, which I have working fine already.
Is there a way to allow a user unmonut devices mounted with udev rule?
Offline
I do this with my USB-2tb drive:
(/etc/fstab:)
/dev/sdd1 /mnt/wing ntfs-3g defaults,noauto,nofail 0 0And it would let me mount i manually when i actually need it, and umount it (though with sudo-rights),
you could make your own script doing the mounting/unmounting, or just manually tab-type it as i do.
Though that route might not be for everyone ![]()
Last edited by PReP (2012-05-07 14:46:23)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
Is there a way to allow a user unmonut devices mounted with udev rule?
The "users" option?
man mount:
If any user should be able to unmount, then use users instead of user in the fstab line.
Offline
Is there a way to allow a user unmonut devices mounted with udev rule?
You could try this rule but it relies on pmount:
https://wiki.archlinux.org/index.php/Ud … n-mounting
Also you didn't specify how you were unmounting. Is it through the command line or a file manager?
Offline
I tried doing
ACTION=="add", ENV{mount_options}="noatime,users,exec"
in the rule, but it didn't solve the problem.
I am unmounting it from within spaceFM file manager.
Offline
I think spaceFM uses udisks (at least for now), right? You could use something like udiskie or devmon to mount it. It should allow user unmounting then.
Offline
Pages: 1