Solaris Volume Manager (SVM) Local File Systems Fails to Mount at Boot When metadb/replicas Configured on iSCSI or Fabric Attached LUNs (Doc ID 1364635.1)

Last updated on NOVEMBER 24, 2016

Applies to:

Solstice DiskSuite Software - Version 4.2 and later
Sun Solaris Volume Manager (SVM) - Version 11.9.0 and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on x86 (32-bit)

Symptoms

Solaris Volume Manger (SVM) local filesystems may not mount at boot when SVM state database replicas (metadb) are placed on iscsi LUNs or other fabric attached LUNs.

At boot, md devices are not available and as a result, fs-local moves into maintenance as mountall fails

Bootlog shows:


Reading ZFS config: done.
Mounting ZFS filesystems: (10/10)

WARNING - Unable to repair one or more filesystems.
Run fsck manually (fsck filesystem...).

checking ufs filesystems

/dev/md/rdsk/d100: No such file or directory
fsck: could not stat /dev/md/rdsk/d100: No such file or directory
/dev/md/rdsk/d110: No such file or directory
fsckall failed with exit code 1.

mount: /dev/md/dsk/d100 or /zones/ssdb0280v01, no such file or directory
mount: /dev/md/dsk/d110 or /zones/data/ssdb0280v01/var, no such file or directory

svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Aug 12 12:52:09 svc.startd[9]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Aug 12 12:52:09 svc.startd[9]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

NOTICE: iscsi session(5) iqn.1992-08.com.netapp:ondb-2a online

console login:root
password:

$ df -h
Filesystem             size   used  avail capacity  Mounted on
rpool/ROOT/zfsroot     8.0G   4.2G   3.8G    53%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    69G   1.3M    69G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
fd                       0K     0K     0K     0%    /dev/fd
rpool/ROOT/zfsroot/var
                       8.0G   494M   7.5G     7%    /var
swap                   6.0G     0K   6.0G     0%    /tmp
swap                    69G     8K    69G     1%    /var/run
rpool/appstat          2.0G   1.8M   2.0G     1%    /apps/stats
rpool/home             2.0G   784M   1.2G    39%    /home
rpool                  274G    97K   241G     1%    /rpool
rpool/backuplog         10G   727K  10.0G     1%    /usr/openv/netbackup/logs
rpool/varcrash         8.0G   2.1G   5.9G    26%    /var/crash


As seen above SVM local filesystems are not available !!!

Note : This document is applicable only for LUNs under SVM configuration and when the state database replicas placed on an iscsi or fabric-attached LUNs.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms