This is a very old release. Use a more recent 1.2 release. 1.2.5 is the
latest and we have modules for 2.6.9-22.
Secondly, as you device is only 1G, you may want to tune down the
clustersize to 4K.
# mkfs.ocfs2 -b 4K -C 4K -L label /dev/sdb1
If that does not work, strace it.
# strace -ff -o /tmp/mm mkfs.ocfs2 -b 4K -C 4K -L label /dev/sdb1
File a bugzilla with all the information (strace log), version numbers
and the output of /proc/partions.
? ? wrote:> Hi,
>
> I deployed
> ocfs2-2.6.9-22.EL-1.0.7-1.i686.rpm
> ocfs2-tools-1.0.3-1.i386.rpm
> ocfs2console-1.0.3-1.i386.rpm
> this noon.
>
> After apply the node configuration, I can not format shared disk using
> command:
> mkfs.ocfs2 -b 4K -C 32K -L oradatafile /dev/sdb1
>
> There are some error :
> mkfs.ocfs2 1.0.3
> *mkfs.ocfs2: Could not open device /dev/sdb1: No such file or directory*
>
> Check O2CB:
> # /etc/init.d/o2cb status
> Module "configfs": Loaded
> Filesystem "configfs": Mounted
> Module "ocfs2_nodemanager": Loaded
> Module "ocfs2_dlm": Loaded
> Module "ocfs2_dlmfs": Loaded
> Filesystem "ocfs2_dlmfs": Mounted
> Checking cluster ocfs2: Online
> Checking heartbeat: Not active
>
> But, using command:
> # fdisk ?l
>
> Disk /dev/sda: 36.7 GB, 36748945408 bytes
> 255 heads, 63 sectors/track, 4467 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sda1 * 1 13 104391 83 Linux
> /dev/sda2 14 4467 35776755 8e Linux LVM
>
> Disk /dev/sdb: 320.0 GB, 320072933376 bytes
> 255 heads, 63 sectors/track, 38913 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdb1 1 123 987966 83 Linux
> /dev/sdb2 124 6203 48837600 83 Linux
> /dev/sdb3 6204 12283 48837600 83 Linux
> /dev/sdb4 12284 24442 97667167+ 83 Linux
>
>
> Seems that /dev/sdb1 exists there.
>
> *Why I can not format this shared disk*? Please help me.
>
> Thanks
> -Doris
>
> ------------------------------------------------------------------------
> ????????3.5G???20M??? <http://cn.mail.yahoo.com>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs2-users mailing list
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users