Richard Bollinger
2007-Aug-20 12:10 UTC
[Ocfs2-users] Recreated FS - getting "no free slots available" message when trying to mount
Had to recreate one of eight OCFS2 filesystems normally mounted by six identical servers running Slackware 11.0 + open-iscsi + ocfs2-tools. Used this command: mkfs.ocfs2 -L je111 -N 6 /dev/sde1 Now, when I attempt to mount the new file system, I get this (from dmesg): OCFS2 Node Manager 1.3.3 OCFS2 DLM 1.3.3 OCFS2 DLMFS 1.3.3 OCFS2 User DLM kernel interface loaded ocfs2_dlm: Nodes in domain ("E8739DF804DF48A693DC984C96AD63E6"): 2 OCFS2 1.3.3 ocfs2_dlm: Nodes in domain ("51D68831F9E44A9FAC939AA8A45A48F3"): 2 (3443,1):ocfs2_find_slot:255 ERROR: no free slots available! (3443,1):ocfs2_mount_volume:1090 ERROR: status = -22 ocfs2: Unmounting device (8,65) on (node 2) No problems mounting and umounting several previously created FSs with prior generation of ocfs2-tools. Normal dmesg excerpt: ocfs2_dlm: Nodes in domain ("9A383D91EC2149E5AF519FBE871852C7"): 2 kjournald starting. Commit interval 5 seconds ocfs2: Mounting device (8,81) on (node 2, slot 0) with ordered data mode. Various kernels tried including 2.6.20.13, 2.6.20.15, 2.6.21.5, 2.6.21.7 The 2.6.20 kernels had this patch applied: http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/backports/2.6.20/ocfs2_2.6.20_fixes-20070502-1.patch The 2.6.21 kernels had this patch applied: http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/backports/2.6.21/ocfs2_2.6.21_fixes-20070502-1.patch Any clues or hints what to try next? I even went so far as to dd </dev/zero >/dev/sde1 to wipe out the 1.8tb partition before rerunning the mkfs.ocfs2 command. Thanks, Rich B
Sunil Mushran
2007-Aug-20 23:32 UTC
[Ocfs2-users] Recreated FS - getting "no free slots available" message when trying to mount
Do: # debugfs.ocfs2 -R "stats" /dev/sdX Ensure the Number of Slots is what it is supposed to be. Also, do: # debugfs.ocfs2 -R "ls -l //" /dev/sdX Ensure you see the journals for all the above slots. On Mon, Aug 20, 2007 at 03:10:50PM -0400, Richard Bollinger wrote:> Had to recreate one of eight OCFS2 filesystems normally mounted by six > identical servers running Slackware 11.0 + open-iscsi + ocfs2-tools. > Used this command: > mkfs.ocfs2 -L je111 -N 6 /dev/sde1 > > Now, when I attempt to mount the new file system, I get this (from dmesg): > > OCFS2 Node Manager 1.3.3 > OCFS2 DLM 1.3.3 > OCFS2 DLMFS 1.3.3 > OCFS2 User DLM kernel interface loaded > ocfs2_dlm: Nodes in domain ("E8739DF804DF48A693DC984C96AD63E6"): 2 > OCFS2 1.3.3 > ocfs2_dlm: Nodes in domain ("51D68831F9E44A9FAC939AA8A45A48F3"): 2 > (3443,1):ocfs2_find_slot:255 ERROR: no free slots available! > (3443,1):ocfs2_mount_volume:1090 ERROR: status = -22 > ocfs2: Unmounting device (8,65) on (node 2) > > No problems mounting and umounting several previously created FSs with > prior generation of ocfs2-tools. Normal dmesg excerpt: > > ocfs2_dlm: Nodes in domain ("9A383D91EC2149E5AF519FBE871852C7"): 2 > kjournald starting. Commit interval 5 seconds > ocfs2: Mounting device (8,81) on (node 2, slot 0) with ordered data mode. > > Various kernels tried including 2.6.20.13, 2.6.20.15, 2.6.21.5, 2.6.21.7 > > The 2.6.20 kernels had this patch applied: > http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/backports/2.6.20/ocfs2_2.6.20_fixes-20070502-1.patch > > The 2.6.21 kernels had this patch applied: > http://www.kernel.org/pub/linux/kernel/people/mfasheh/ocfs2/backports/2.6.21/ocfs2_2.6.21_fixes-20070502-1.patch > > Any clues or hints what to try next? > > I even went so far as to dd </dev/zero >/dev/sde1 to wipe out the > 1.8tb partition before rerunning the mkfs.ocfs2 command. > > Thanks, Rich B > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users
Richard Bollinger
2007-Aug-21 03:49 UTC
[Ocfs2-users] Recreated FS - getting "no free slots available" message when trying to mount
On 8/21/07, Sunil Mushran <Sunil.Mushran@oracle.com> wrote:> Do: > # debugfs.ocfs2 -R "stats" /dev/sdX > Ensure the Number of Slots is what it is supposed to be.# debugfs.ocfs2 -R "stats" /dev/sde1 Revision: 0.90 Mount Count: 0 Max Mount Count: 20 State: 0 Errors: 0 Check Interval: 0 Last Check: Mon Aug 20 15:42:45 2007 Creator OS: 0 Feature Compat: 1 BackupSuper Feature Incompat: 0 None Feature RO compat: 0 None Root Blknum: 33 System Dir Blknum: 34 First Cluster Group Blknum: 16 Block Size Bits: 12 Cluster Size Bits: 16 Max Node Slots: 6 Label: je111 UUID: 8E7583C03D1E4D5DA87F76A1D9B8F4B7 Inode: 2 Mode: 00 Generation: 1855991134 (0x6ea02d5e) FS Generation: 1855991134 (0x6ea02d5e) Type: Unknown Attr: 0x0 Flags: Valid System Superblock User: 0 (root) Group: 0 (root) Size: 0 Links: 0 Clusters: 28674016 ctime: 0x46c9eeb5 -- Mon Aug 20 15:42:45 2007 atime: 0x0 -- Wed Dec 31 19:00:00 1969 mtime: 0x46c9eeb5 -- Mon Aug 20 15:42:45 2007 dtime: 0x0 -- Wed Dec 31 19:00:00 1969 ctime_nsec: 0x00000000 -- 0 atime_nsec: 0x00000000 -- 0 mtime_nsec: 0x00000000 -- 0 Last Extblk: 0 Sub Alloc Slot: Global Sub Alloc Bit: 65535> Also, do: > # debugfs.ocfs2 -R "ls -l //" /dev/sdX > Ensure you see the journals for all the above slots.# debugfs.ocfs2 -R "ls -l //" /dev/sde1 34 drwxr-xr-x 8 0 0 4096 20-Aug-2007 15:42 . 34 drwxr-xr-x 8 0 0 4096 20-Aug-2007 15:42 .. 35 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 bad_blocks 36 -rw-r--r-- 1 0 0 851968 20-Aug-2007 15:42 global_inode_alloc 37 -rw-r--r-- 1 0 0 65536 20-Aug-2007 15:42 slot_map 38 -rw-r--r-- 1 0 0 1048576 20-Aug-2007 15:42 heartbeat 39 -rw-r--r-- 1 0 0 1879180312576 20-Aug-2007 15:42 global_bitmap 40 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0000 41 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0001 42 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0002 43 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0003 44 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0004 45 drwxr-xr-x 2 0 0 4096 20-Aug-2007 15:42 orphan_dir:0005 46 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0000 47 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0001 48 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0002 49 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0003 50 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0004 51 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 extent_alloc:0005 52 -rw-r--r-- 1 0 0 4194304 20-Aug-2007 15:42 inode_alloc:0000 53 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 inode_alloc:0001 54 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 inode_alloc:0002 55 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 inode_alloc:0003 56 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 inode_alloc:0004 57 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 inode_alloc:0005 58 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0000 59 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0001 60 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0002 61 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0003 62 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0004 63 -rw-r--r-- 1 0 0 268435456 20-Aug-2007 15:43 journal:0005 64 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0000 65 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0001 66 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0002 67 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0003 68 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0004 69 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 local_alloc:0005 70 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0000 71 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0001 72 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0002 73 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0003 74 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0004 75 -rw-r--r-- 1 0 0 0 20-Aug-2007 15:42 truncate_log:0005
Sunil Mushran
2007-Aug-22 15:09 UTC
[Ocfs2-users] Recreated FS - getting "no free slots available" message when trying to mount
Can you use the packages provided on oss.oracle.com. The issue is strange and I would like to rule out a build error. On Wed, Aug 22, 2007 at 02:49:38PM -0400, Richard Bollinger wrote:> On 8/22/07, Sunil Mushran <Sunil.Mushran@oracle.com> wrote: > > Which mkfs.ocfs2 are you using? Actually the toolset looks suspect. > > For starters, debugfs.ocfs2 should not be showing more than 6 slots. > > 2047 slots is a bit much. Also, the slots are initialized to 255 > > (OCFS2_INVALID_NODE). The kernel module is behaving correctly. > > > > Was the tools rpm built by Oracle or someone else? > > Tools built from source: > http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.2/ocfs2-tools-1.2.6.tar.gz > > ./configure --prefix=/usr > make > make install > > # gcc --version > gcc (GCC) 3.4.6 > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users