potential file-system bug, unison locking issue over ext4

Eric Sandeen sandeen at redhat.com
Wed Aug 5 15:13:17 UTC 2009


Ahmed Kamal wrote:
> 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/
> 

If you think it's a bug, please file one against the kernel in bugzilla,
you can assign it to me.  It'd be helpful if you could explain what the
test is trying to do, and what might make it fail this way.

Thanks,
-Eric

> ********** 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
> 




More information about the fedora-devel-list mailing list