[Ocfs2-users] git checkout on an ocfs2 filesystem

Nathaniel Griswold griswold at cs.wisc.edu
Sun Aug 30 18:19:08 PDT 2009


Hi,

Has anyone here had problems with git checkouts on ocfs2?

On a freshly created filesystem, i'm getting a bunch of weird errors
as below, but only if i mount the filesystem on multiple nodes:

[root at node-2 tmp]# mkfs.ocfs2 -L "testvol" /dev/sdm
[root at node-2 tmp]# mount /dev/sdm /tmp/m
[root at node-1 tmp]# mount /dev/sdm /tmp/m
[root at node-1 tmp]# cd m
[root at node-1 m]# git clone git://git.kernel.org/pub/scm/git/git.git

Initialized empty Git repository in /tmp/m/git/.git/
remote: Counting objects: 104239, done.
remote: Compressing objects: 100% (29045/29045), done.
remote: Total 104239 (delta 75710), reused 101527 (delta 73491)
Receiving objects: 100% (104239/104239), 25.43 MiB | 1299 KiB/s, done.
Resolving deltas: 100% (75710/75710), done.
error: git checkout-index: unable to create file
contrib/remotes2config.sh (File exists)
error: git checkout-index: unable to create file
t/t4013/diff.diff_--dirstat_master~1_master~2 (File exists)
error: git checkout-index: unable to create file
t/t6015-rev-list-show-all-parents.sh (File exists)
Checking out files: 100% (1706/1706), done.
[root at node-1 m]# cd git
[root at node-1 git]# git checkout contrib/remotes2config.sh
[root at node-1 git]# cat contrib/remotes2config.sh
#!/bin/sh
...

??

-nate



More information about the Ocfs2-users mailing list