potential file-system bug, unison locking issue over ext4

Ahmed Kamal email.ahmedkamal at googlemail.com
Wed Aug 5 13:54:14 UTC 2009


Hi,
I'm probably hitting some bug in F11. I've created the lcktest directory,
and "date > lcktest/date-file" to create a simple file inside. Repeated this
on a ext3 and a ext4 file-system. Now, this works fine on ext3,  but fails
on ext4. I tried the same setup on another F11 machine that was upgraded
from F10 and hit the same locking bug.

The behaviour is below, and a full 'strace -f' in case of ext4 is at
http://www.fpaste.org/sZXa/


********** On a EXT3 file-system

[me at matrix ~]$ unison -ui text -batch unitest/ ssh://dev@cairo//tmp/unitest/
Contacting server...
Connected [////tmp/unitest -> //matrix//home/me/unitest]
Looking for changes
  Waiting for changes from server
Reconciling changes
Nothing to do: replicas have not changed since last sync.
[me at matrix ~]$

*********** Changing to EXT4 file-system

[me at matrix tmp]$ unison -ui text -batch unitest/ ssh://dev@cairo
//tmp/unitest/
Contacting server...
Connected [////tmp/unitest -> //matrix//tmp/unitest]
Looking for changes
Fatal error: Warning: the archives are locked.
If no other instance of unison is running, the locks should be removed.
The file /home/me/.unison/lk0548d63e56f1eba992c46c641772d4a0 on host matrix
should be deleted
Please delete lock files as appropriate and try again.
[me at matrix tmp]$ ls -la /home/me/.unison/lk0548d63e56f1eba992c46c641772d4a0
ls: cannot access /home/me/.unison/lk0548d63e56f1eba992c46c641772d4a0: No
such file or directory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090805/351c194d/attachment.htm>


More information about the fedora-devel-list mailing list