OCFS2 Mount by Label Support
521348Jul 5 2006 — edited Jan 17 2007I have a x86_64 red hat Rel 4 update 3 Installation where I am trying to get OCFS2 working. It is mostly working but I am unable to get it to mount by Label.
I keep getting the error "No Such partition" and was wondering if any one has run into this before or if there is a mistake on what I am doing.
Here is the exact commands and errors I would get:
[root@xxxxxx 10.2.0.1]# uname -a
Linux xxxxxx .xxxxxx .xxxxxx 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 16:59:36 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
[root@xxxxxx 10.2.0.1]# df -k /ocfs*
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb 15728640 401024 15327616 3% /ocfs1
/dev/sdc 15728640 400896 15327744 3% /ocfs2
/dev/sdj 20971520 532224 20439296 3% /ocfs3
[root@xxxxxx 10.2.0.1]# mounted.ocfs2 -d
Device FS UUID Label
/dev/sdb ocfs2 76504271-6be6-4c3d-adfc-6aed537d3135 ClusterFiles
/dev/sdc ocfs2 46f87ea8-0994-4341-afcb-ad4cabbeecb8 OraDumps
/dev/sdj ocfs2 e49af5ca-5bdb-4436-a120-640e9febe4b6 DiskShare
[root@xxxxxx 10.2.0.1]# umount /ocfs3
[root@xxxxxx 10.2.0.1]# mount -L "DiskShare" /ocfs3
mount: no such partition found
[root@xxxxxx 10.2.0.1]# mount /ocfs3
[root@xxxxxx 10.2.0.1]# df -k /ocfs*
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb 15728640 401024 15327616 3% /ocfs1
/dev/sdc 15728640 400896 15327744 3% /ocfs2
/dev/sdj 20971520 532224 20439296 3% /ocfs3