* Ian Collins (ian at ianshome.com) wrote:
> I've hit another LU problem (b49->b54). When booting the new BE, I get
> a number of SMF errors, topped out with:
>
> system/filesystem/local:default
>
> failing with a fatal error.
>
> >From /var/svc/log/system-filesystem-local:
>
> [ Dec 22 08:19:46 Executing start method ("/lib/svc/method/fs-local") ]
> WARNING: /usr/sbin/zfs mount -a failed: exit status 1
> [ Dec 22 08:19:47 Method "start" exited with status 95 ]
>
> The system has one ZFS pool but doesn't have any zones. None of the ZFS
> mount points are in the new /etc/vfstab, so I assumed the earlier
> problems with LU causing problems with ZFS mounts had been fixed.
If the mountpoints still exist, it doesn't matter if they are listed in
vfstab or not.
I run something like the following after the upgrade finishes and before
I luactivate/reboot on systems that have zfs filesystems.
lumount <be_name> /a
hprint=y
zfs list -o mountpoint | sort -r | while read m; do
case $m in
/*)
if [ -d /a$m ]; then
if [ "$hprint" = "y" ]; then
echo -n "LU/ZFS clean:"
hprint=n
fi
rmdir /a$m
echo -n " $m"
fi
;;
*)
;;
esac
done
if [ "$hprint" = "n" ]; then
echo " done"
fi
luumount <be_name>
Cheers,
--
Glenn Lagasse
KISS/Approachability
Sun Microsystems, Inc.
x21293, 781-442-1293