Jizhong_Wang@whirlpool.com
2004-Jun-21 10:39 UTC
[Ocfs2-users] Can't mount ocfs2, lastest build
All, I svn the lastest build Revision 1156 on my Redhat Enterprise Linux 3 and built it as following svn checkout http://oss.oracle.com/projects/ocfs2/src/trunk/ /root/ocfs2 cd /root/ocfs2 ./autogen.sh make rhel3_rpm cd /usr/src/redhat/RPMS/i686 rpm -Uhv --force ocfs2-2.4.21-EL-smp-1.9.93-1.i686.rpm load_ocfs2 mkfs.ocfs2 -F -b 4 -C -g 11 -u 208 -L ohome -m /mnt/ocfs2 -p 0755 /dev/sda1 No errors until I try to mount it, it always gave me followings, [root@adcdba2t]# mount -t ocfs2 /dev/sda1 /mnt/ocfs2 mount: wrong fs type, bad option, bad superblock on /dev/sda1, or too many mounted file systems I confirmed that the newest ocfs2.o has been loaded. what else did I do wrong? thanks Jizhong Wang Database Administrator Whirlpool Corporation 269-923-3695 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20040621/7dd81c9c/attachment.htm
Hi, Sorry about that. This is because the on-disk format changed, and though I had sent a note about this to ocfs2-devel, I hadn't sent it to ocfs2-users. I'm reposting it there now. It has directions on what to do (you need to pick up the ocfs-tools trunk and use the ocfs2/ tools). Thanks! -kurt On Mon, Jun 21, 2004 at 11:39:53AM -0400, Jizhong_Wang@whirlpool.com wrote:> All, > > I svn the lastest build Revision 1156 on my Redhat Enterprise Linux 3 and > built it as following > > svn checkout http://oss.oracle.com/projects/ocfs2/src/trunk/ /root/ocfs2 > cd /root/ocfs2 > ./autogen.sh > make rhel3_rpm > cd /usr/src/redhat/RPMS/i686 > rpm -Uhv --force ocfs2-2.4.21-EL-smp-1.9.93-1.i686.rpm > load_ocfs2 > mkfs.ocfs2 -F -b 4 -C -g 11 -u 208 -L ohome -m /mnt/ocfs2 -p 0755 > /dev/sda1 > > No errors until I try to mount it, it always gave me followings, > > [root@adcdba2t]# mount -t ocfs2 /dev/sda1 /mnt/ocfs2 > mount: wrong fs type, bad option, bad superblock on /dev/sda1, > or too many mounted file systems > > > I confirmed that the newest ocfs2.o has been loaded. what else did I do > wrong? thanks > > > Jizhong Wang > Database Administrator > Whirlpool Corporation > 269-923-3695> _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users