[Ocfs2-users] Can not format shared disk

=?gb2312?q?=DC=E7=20=C2=ED?= doris_hf at yahoo.com.cn
Fri May 4 17:49:24 PDT 2007


  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 ¨Cl
   
  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¸½¼þ£¡ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20070505/18137d9a/attachment.html


More information about the Ocfs2-users mailing list