Hello all,
I've been having some trouble with USB drives in the last few months. When
copying files onto a device, the copy appears to be instantaneous, but is
clearly buffered by the kernel. If I unmount the drive, all appears well, but
then removing the device results in corruption.
In
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 12/02/2011 11:48 AM, Paul Gideon Dann wrote:
Hello all,
I've been having some trouble with USB drives in the last few
months. When copying files onto a device, the copy appears to be
instantaneous, but is clearly buffered by the kernel.
On Friday 02 Dec 2011 11:54:45 Timothy Redaelli wrote:
Hi,
by default linux mounts the devices with the async option.
You can mount using the sync option, so you are sure that the I/O is
made synchronously.
Just remember: In case of media with limited number of write cycles
(e.g. some flash
The 02/12/11, Paul Gideon Dann wrote:
On Friday 02 Dec 2011 11:54:45 Timothy Redaelli wrote:
Hi,
by default linux mounts the devices with the async option.
You can mount using the sync option, so you are sure that the I/O is
made synchronously.
Just remember: In case of media with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On 12/02/2011 11:58 AM, Paul Gideon Dann wrote:
On Friday 02 Dec 2011 11:54:45 Timothy Redaelli wrote:
Hi, by default linux mounts the devices with the async option.
You can mount using the sync option, so you are sure that the I/O
is made
On Friday 02 Dec 2011 12:03:52 Nicolas Sebrecht wrote:
No. udev is basically for devices discovery and naming them in /dev.
Hehe; oh yeah, of course.
Before trying any sync mount option, try to manually sync disks with the
sync command to check if it fixes you issue.
Yeah, everything's fine
The 02/12/11, Paul Gideon Dann wrote:
On Friday 02 Dec 2011 12:03:52 Nicolas Sebrecht wrote:
Before trying any sync mount option, try to manually sync disks with the
sync command to check if it fixes you issue.
Didn't remember you already told it works with sync in your first mail,
sorry.
On Friday 02 Dec 2011 14:37:59 Nicolas Sebrecht wrote:
How do you umount the USB device?
I've done it both from KDE and the command line, but I don't think that really
matters. It's the fact that large files appear to be copied instantly that is
frustrating.
Paul
On Friday 02 Dec 2011 12:09:59 Timothy Redaelli wrote:
You can try to edit the udev mount options:
# echo 'ACTION==add, ENV{mount_options}=sync'
/etc/udev.d/rules.d/99-mount-options.rules
Then you must reload udev rules:
# udevadm control --reload-rules
This seems like the right thing
On Fri, Dec 2, 2011 at 2:44 PM, Paul Gideon Dann pdgid...@gmail.com wrote:
On Friday 02 Dec 2011 14:37:59 Nicolas Sebrecht wrote:
How do you umount the USB device?
I've done it both from KDE and the command line, but I don't think that really
matters. It's the fact that large files appear to
The 02/12/11, Karol Blazewicz wrote:
On Fri, Dec 2, 2011 at 2:44 PM, Paul Gideon Dann pdgid...@gmail.com wrote:
On Friday 02 Dec 2011 14:37:59 Nicolas Sebrecht wrote:
How do you umount the USB device?
I've done it both from KDE and the command line, but I don't think that
really
Paul Gideon Dann (2011-12-02 13:51):
On Friday 02 Dec 2011 12:09:59 Timothy Redaelli wrote:
You can try to edit the udev mount options:
# echo 'ACTION==add, ENV{mount_options}=sync'
/etc/udev.d/rules.d/99-mount-options.rules
Then you must reload udev rules:
# udevadm control
On Friday 02 Dec 2011 16:31:47 Rogutės Sparnuotos wrote:
There can't be any corruption after a successful unmount.
1. Run sudo umount /path/to/mounted/dir; echo returncode=$?
2. If you see 'returncode=0' on the last line, continue with 3.
3. Remove your USB drive.
4. Attach your USB drive.
Paul Gideon Dann (2011-12-02 14:44):
On Friday 02 Dec 2011 16:31:47 Rogutės Sparnuotos wrote:
There can't be any corruption after a successful unmount.
1. Run sudo umount /path/to/mounted/dir; echo returncode=$?
2. If you see 'returncode=0' on the last line, continue with 3.
3. Remove
On Friday 02 Dec 2011 17:03:12 Rogutės Sparnuotos wrote:
Yes, copying with midnight commander or with cp returns immediately [*]. I
copy files from different directories, run umount and then wait for it
to return. Yet I mount my phone with 'sync', because transferring is very
slow and I want
The 02/12/11, Paul Gideon Dann wrote:
On Friday 02 Dec 2011 17:03:12 Rogutės Sparnuotos wrote:
Yes, copying with midnight commander or with cp returns immediately [*]. I
copy files from different directories, run umount and then wait for it
to return. Yet I mount my phone with 'sync',
Just FYI - Scripts updated to:
(1) provide a -f | --force option to the fduparch.sh (wrapper) script to
ignore the md5sum directory check and force a scan of all package and
duplicate directories. (by default if dir md5sums are unchanged, duplicate
scanning is skipped)
(2) provide automatic
Hi all,
I know systemd and lightdm are not exactly kosher on ArchLinux, but any
help would be welcome.
So, I just noticed that OpenGL is using llvmpipe on my laptop, and then
I found out that the /dev/dri/card0 node doesn't have the proper ACL set
to allow access to my user. Also my user is not
On Fri, Dec 2, 2011 at 7:38 PM, Damjan gdam...@gmail.com wrote:
Hi all,
I know systemd and lightdm are not exactly kosher on ArchLinux, but any
help would be welcome.
So, I just noticed that OpenGL is using llvmpipe on my laptop, and then
I found out that the /dev/dri/card0 node doesn't have
With systemd running, it's responsible for setting the ACLs on the devices.
Try systemd-loginctl list-sessions and systemd-loginctl
show-session X (with X=session number). Your X11 session should be
active.
Thanks for the hint.
it didn't return any session, so in `/etc/pam.d/lightdm` I
I start using testing again a couple of days ago and now on every boot i
get this error msg:
localhost udevd[313]: specified group 'realtime' unknown
realtime group does not exist in my computer
Any idea ?
Thanks
Ignacio
On Fri, 2 Dec 2011 16:56:35 -0600
Ignacio Galmarino igalmar...@gmail.com wrote:
I start using testing again a couple of days ago and now on every boot i
get this error msg:
localhost udevd[313]: specified group 'realtime' unknown
realtime group does not exist in my computer
Any idea ?
Yes, it already is. https://bugs.kde.org/show_bug.cgi?id=273792
I find this really annoying. The solutions I've found is to use devmon
(https://aur.archlinux.org/packages.php?ID=45842) instead of KDE's
automounting system, and configured it to mount FAT32 with flush option.
This completely
I start using testing again a couple of days ago and now on every boot i
get this error msg:
localhost udevd[313]: specified group 'realtime' unknown
realtime group does not exist in my computer
Any idea ?
Thanks
Ignacio
FS#26343?
Yes, thanks !
On Fri, 02 Dec 2011 18:58:44 +0800, Paul Gideon Dann pdgid...@gmail.com
wrote:
On Friday 02 Dec 2011 11:54:45 Timothy Redaelli wrote:
Hi,
by default linux mounts the devices with the async option.
You can mount using the sync option, so you are sure that the I/O is
made synchronously.
Just
25 matches
Mail list logo