[Ocfs2-users] git checkout on an ocfs2 filesystem

Joel Becker Joel.Becker at oracle.com
Mon Aug 31 12:16:36 PDT 2009


On Sun, Aug 30, 2009 at 08:19:08PM -0500, Nathaniel Griswold wrote:
> Has anyone here had problems with git checkouts on ocfs2?

	Oh, boy, this is wacky.

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

	I got it on this particular file myself.  I was using
2.6.18-128.el5 on a ppc64.  1.4.2 of ocfs2 as well.
	Can you file a bug at http://oss.oracle.com/bugzilla?  Include
all the info you have in your emails.  Thanks!

Joel



-- 

"This is the end, beautiful friend.
 This is the end, my only friend the end
 Of our elaborate plans, the end
 Of everything that stands, the end
 No safety or surprise, the end
 I'll never look into your eyes again."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-users mailing list