Have have a recently upgraded (to Solaris 11.1) test system that fails to mount its filesystems on boot. Running zfs mount -a results in the odd error #zfs mount -a internal error Invalid argument truss shows the last call as ioctl(3, ZFS_IOC_OBJECT_STATS, 0xF706BBB0) The system boots up fine in the original BE. The root (only) pool in a single drive. Any ideas? -- Ian.
Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
2012-Oct-31 10:35 UTC
[zfs-discuss] Strange mount -a problem in Solaris 11.1
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of Ian Collins > > Have have a recently upgraded (to Solaris 11.1) test system that fails > to mount its filesystems on boot. > > Running zfs mount -a results in the odd error > > #zfs mount -a > internal error > Invalid argument > > truss shows the last call as > > ioctl(3, ZFS_IOC_OBJECT_STATS, 0xF706BBB0) > > The system boots up fine in the original BE. The root (only) pool in a > single drive. > > Any ideas?devfsadm -Cv rm /etc/zfs/zpool.cache init 6
On 10/31/12 23:35, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote:>> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- >> bounces at opensolaris.org] On Behalf Of Ian Collins >> >> Have have a recently upgraded (to Solaris 11.1) test system that fails >> to mount its filesystems on boot. >> >> Running zfs mount -a results in the odd error >> >> #zfs mount -a >> internal error >> Invalid argument >> >> truss shows the last call as >> >> ioctl(3, ZFS_IOC_OBJECT_STATS, 0xF706BBB0) >> >> The system boots up fine in the original BE. The root (only) pool in a >> single drive. >> >> Any ideas? > devfsadm -Cv > rm /etc/zfs/zpool.cache > init 6 >That was a big enough stick to fix it. Nasty bug none the less. -- Ian.
Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
2012-Nov-01 13:50 UTC
[zfs-discuss] Strange mount -a problem in Solaris 11.1
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at opensolaris.org] On Behalf Of Ian Collins > > >> ioctl(3, ZFS_IOC_OBJECT_STATS, 0xF706BBB0) > >> > >> The system boots up fine in the original BE. The root (only) pool in a > >> single drive. > >> > >> Any ideas? > > devfsadm -Cv > > rm /etc/zfs/zpool.cache > > init 6 > > > > That was a big enough stick to fix it. Nasty bug none the less.I wonder what caused it? The ioctl error suggests inability to access some device. Hence the devfsadm and rm zpool.cache. Force the system to search for devices anew. What did you upgrade from? Perhaps in your old system, you had pools made of c0t0d0 and so forth, while in sol 11, the devices all became multipath? If so, I would expect the upgrader to be smart enough to do the devfsadm for you, and rebuild the zpool.cache. Anyway, glad you got out of the woods.