Nathaniel Griswold
2009-Aug-31 01:19 UTC
[Ocfs2-users] git checkout on an ocfs2 filesystem
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
Nathaniel Griswold
2009-Aug-31 01:21 UTC
[Ocfs2-users] git checkout on an ocfs2 filesystem
Sorry, this is on rhel5.3 / 2.6.18-128.4.1.el5 / ocfs2-2.6.18-128.4.1.el5-1.4.2-2.el5 -nate
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
On Mon, Aug 31, 2009 at 12:16:36PM -0700, Joel Becker wrote:> Can you file a bug at http://oss.oracle.com/bugzilla? Include > all the info you have in your emails. Thanks!Filed as bug 1165. http://oss.oracle.com/bugzilla/show_bug.cgi?id=1165 Joel -- "Egotist: a person more interested in himself than in me." - Ambrose Bierce Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127