• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5503
  • Last Modified:

unable to mount file systems at reboot

added file systems zone1 and zone2 to vfstab and mounted successfully

root@felix: /export/zone1> more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/zvol/dsk/zfspool/swap      -       -       swap    -       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
/dev/dsk/c1t1d0s0       /dev/rdsk/c1t1d0s0      /export/zone1   ufs     -       yes     -
/dev/dsk/c1t1d0s1       /dev/rdsk/c1t1d0s1      /export/zone2   ufs     -       yes     -
root@felix: /export/zone1>


when server rebooted the new entries in vfstab seemed to trigger problem (see below)

Rebooting with command: boot
Boot device: disk:a  File and args:
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
Hostname: felix
/dev/rdsk/c1t1d0s0 is clean
/dev/rdsk/c1t1d0s1 is clean
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Mounting ZFS filesystems: (5/5)
Apr 22 10:09:57 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Apr 22 10:09:57 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
felix console login:




root@felix: /var/svc/log> tail "system-filesystem-local:default.log"
mount: Nonexistent mount point: /export/zone1
mount: Nonexistent mount point: /export/zone2
WARNING: /sbin/mountall -l failed: exit status 1
[ Apr 21 14:37:08 Method "start" exited with status 95 ]
[ Apr 22 10:09:40 Enabled. ]
[ Apr 22 10:09:56 Executing start method ("/lib/svc/method/fs-local") ]
mount: Nonexistent mount point: /export/zone1
mount: Nonexistent mount point: /export/zone2
WARNING: /sbin/mountall -l failed: exit status 1
[ Apr 22 10:09:57 Method "start" exited with status 95 ]
root@felix: /var/svc/log>


at this stage however I can now mount file systems at command line

root@felix: /> df -k
Filesystem            kbytes    used   avail capacity  Mounted on
zfspool/ROOT/s10s_u6wos_07b
                     70189056 4621265 63468532     7%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 1643856     256 1643600     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                     68089798 4621265 63468532     7%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                     68089798 4621265 63468532     7%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
swap                 1643600       0 1643600     0%    /tmp
swap                 1643616      16 1643600     1%    /var/run
zfspool/export       70189056      22 63468532     1%    /export
zfspool/export/home  70189056     519 63468532     1%    /export/home
zfspool              70189056      94 63468532     1%    /zfspool
root@felix: /> mount /export/zone1
root@felix: /> mount /export/zone2
root@felix: /> df -k
Filesystem            kbytes    used   avail capacity  Mounted on
zfspool/ROOT/s10s_u6wos_07b
                     70189056 4621265 63468594     7%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 1643216     256 1642960     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
sharefs                    0       0       0     0%    /etc/dfs/sharetab
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                     68089859 4621265 63468594     7%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                     68089859 4621265 63468594     7%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                         0       0       0     0%    /dev/fd
swap                 1642960       0 1642960     0%    /tmp
swap                 1642976      16 1642960     1%    /var/run
zfspool/export       70189056      22 63468594     1%    /export
zfspool/export/home  70189056     519 63468594     1%    /export/home
zfspool              70189056      94 63468594     1%    /zfspool
/dev/dsk/c1t1d0s0    1020815  497924  461643    52%    /export/zone1
/dev/dsk/c1t1d0s1    1020815  497924  461643    52%    /export/zone2
root@felix: />




 
0
jgourlay
Asked:
jgourlay
  • 4
  • 3
1 Solution
 
omarfaridCommented:
the df command shows that they are mounted, it could be that these are old messages
0
 
jgourlayAuthor Commented:
the problem is that these new file systems are not mounted after reboot despite being in vfstab
0
 
omarfaridCommented:
but what is th/e output of df -k you showed before? do you have an old copy of vfstab file that you can compare with
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jgourlayAuthor Commented:
the 1st df is after filesystem have been added to vfstab and mounted at command line.

everything seems to be ok with these filesystems as I have been using them.

when I reboot with these entries in vfstab the problem I reported occurs however if I remove entries I get a clean reboot
0
 
omarfaridCommented:
The problem is in the syntax, please change to

/dev/dsk/c1t1d0s0       /dev/rdsk/c1t1d0s0      /export/zone1   ufs     2       yes     -
/dev/dsk/c1t1d0s1       /dev/rdsk/c1t1d0s1      /export/zone2   ufs     2       yes     -
0
 
jgourlayAuthor Commented:
changed vfstab - reboot still failing

Rebooting with command: boot
Boot device: disk:a  File and args:
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hardware watchdog enabled
Hostname: felix
/dev/rdsk/c1t1d0s0 is clean
/dev/rdsk/c1t1d0s1 is clean
svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Mounting ZFS filesystems: (5/5)
Apr 22 14:46:02 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Apr 22 14:46:02 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)

felix console login: root
Password:
Last login: Wed Apr 22 14:41:28 on console
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
root@felix: /> more /etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/zvol/dsk/zfspool/swap      -       -       swap    -       no      -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
swap    -       /tmp    tmpfs   -       yes     -
/dev/dsk/c1t1d0s0       /dev/rdsk/c1t1d0s0      /export/zone1   ufs     2       yes     -
/dev/dsk/c1t1d0s1       /dev/rdsk/c1t1d0s1      /export/zone2   ufs     2       yes     -
root@felix: />
0
 
omarfaridCommented:
do you get any error message in /var/adm/messages
0
 
nyaarCommented:
I've a question for you.

 The FS you're trying to mount are not on ZFS, are they? Because if they are, you should not add them to the /etc/vfstab, or you'll get boot errors....
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now