I have a slimmed down install on on_b61 and sometimes when the box is rebooted
it fails to automatically remount the pool. Most cases if I login and run
"zfs mount -a" it will mount. Some cases I have to reboot again. Can
someone provide some insight as to what may be going on here?
truss captures the following when it fails
412: brk(0x0808D000) = 0
412: brk(0x0809D000) = 0
412: brk(0x080AD000) = 0
412: brk(0x080BD000) = 0
412: open("/dev/zfs", O_RDWR) = 3
412: fstat64(3, 0x08047BA0) = 0
412: d=0x04480000 i=95420420 m=0020666 l=1 u=0 g=3 rdev=0x02D800
00
412: at = Nov 15 06:17:13 PST 2007 [ 1195136233 ]
412: mt = Nov 15 06:17:13 PST 2007 [ 1195136233 ]
412: ct = Nov 15 06:17:13 PST 2007 [ 1195136233 ]
412: bsz=8192 blks=0 fs=devfs
412: stat64("/dev/pts/0", 0x08047CB0) = 0
412: d=0x044C0000 i=447105886 m=0020620 l=1 u=0 g=0 rdev=0x00600
000
412: at = Nov 15 06:17:32 PST 2007 [ 1195136252 ]
412: mt = Nov 15 06:17:32 PST 2007 [ 1195136252 ]
412: ct = Nov 15 06:17:32 PST 2007 [ 1195136252 ]
412: bsz=8192 blks=0 fs=dev
412: open("/etc/mnttab", O_RDONLY) = 4
412: fstat64(4, 0x08047B60) = 0
412: d=0x04580001 i=2 m=0100444 l=2 u=0 g=0 sz=651
412: at = Nov 15 06:17:38 PST 2007 [ 1195136258 ]
412: mt = Nov 15 06:17:38 PST 2007 [ 1195136258 ]
412: ct = Nov 15 06:17:04 PST 2007 [ 1195136224 ]
412: bsz=512 blks=2 fs=mntfs
412: open("/etc/dfs/sharetab", O_RDONLY) Err#2 ENOENT
412: open("/etc/mnttab", O_RDONLY) = 5
412: fstat64(5, 0x08047B80) = 0
412: d=0x04580001 i=2 m=0100444 l=3 u=0 g=0 sz=651
412: at = Nov 15 06:17:38 PST 2007 [ 1195136258 ]
412: mt = Nov 15 06:17:38 PST 2007 [ 1195136258 ]
412: ct = Nov 15 06:17:04 PST 2007 [ 1195136224 ]
412: bsz=512 blks=2 fs=mntfs
412: sysconfig(_CONFIG_PAGESIZE) = 4096
412: ioctl(3, ZFS_IOC_POOL_CONFIGS, 0x08046DA4) = 0
412: llseek(5, 0, SEEK_CUR) = 0
412: close(5) = 0
412: close(3) = 0
412: llseek(4, 0, SEEK_CUR) = 0
412: close(4) = 0
412: _exit(0)
Looking at the ioctl call in libzfs_configs.c i think "412: ioctl(3,
ZFS_IOC_POOL_CONFIGS, 0x08046DA4) = 0" is matching the section of code
below.
245 for (;;) {
246 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_POOL_STATS,
247 &zc) == 0) {
248 /*
249 * The real error is returned in the zc_cookie field.
250 */
251 error = zc.zc_cookie;
252 break;
253 }
This message posted from opensolaris.org