Matt,
Can''t see anything wrong with that procedure. However, could the
problem be that
you''re trying to mount on /home which is usually used by the
automounter?
e.g.
$ grep home /etc/auto_master
/home auto_home -nobrowse
Maybe you need to deconfigure this from your automounter or change your
mountpoint.
cheers,
--justin
> I have about a dozen two disk systems that were all setup the same using a
combination of SVM and ZFS.
>
> s0 = / SMV Mirror
> s1 = swap
> s3 = /tmp
> s4 = metadb
> s5 = zfs mirror
>
> The system does boot, but once it gets to zfs, zfs fails and all subsequent
services fail as well (including ssh)
>
> /home,/tmp, and /data are on the zfs mirror. /var is on it''s own
UFS/SVM mirror as well as root and swap.
>
> I included the errors I am getting as well as the exact commands I used to
build both the SVM and ZFS mirrors. (All of which appeared to work flawlessly)
>
> I am guessing there is just something really simple that needs to be set.
>
> Any Ideas?
>
> --Errors--
> vfcufs01# cat /var/svc/log/system-filesystem-local:default.log
>
> [ Mar 16 11:02:58 Rereading configuration. ]
>
> [ Mar 16 11:03:37 Executing start method
("/lib/svc/method/fs-local") ]
>
> bootadm: no matching entry found: Solaris_reboot_transient
>
> [ Mar 16 11:03:37 Method "start" exited with status 0 ]
>
> [ Mar 16 13:25:58 Executing start method
("/lib/svc/method/fs-local") ]
>
> bootadm: no matching entry found: Solaris_reboot_transient
>
> [ Mar 16 13:25:58 Method "start" exited with status 0 ]
>
> [ Mar 20 15:26:32 Executing start method
("/lib/svc/method/fs-local") ]
>
> bootadm: no matching entry found: Solaris_reboot_transient
>
> WARNING: /usr/sbin/zfs mount -a failed: exit status 1
>
> [ Mar 20 15:26:32 Method "start" exited with status 95 ]
>
> [ Mar 21 08:27:37 Leaving maintenance because disable requested. ]
>
> [ Mar 21 08:27:37 Disabled. ]
>
> [ Mar 21 08:32:22 Executing start method
("/lib/svc/method/fs-local") ]
>
> bootadm: no matching entry found: Solaris_reboot_transient
>
> WARNING: /usr/sbin/zfs mount -a failed: exit status 1
>
> [ Mar 21 08:32:23 Method "start" exited with status 95 ]
>
> [ Mar 21 08:50:20 Leaving maintenance because disable requested. ]
>
> [ Mar 21 08:50:20 Disabled. ]
>
> [ Mar 21 08:55:07 Executing start method
("/lib/svc/method/fs-local") ]
>
> bootadm: no matching entry found: Solaris_reboot_transient
>
> WARNING: /usr/sbin/zfs mount -a failed: exit status 1
>
> [ Mar 21 08:55:07 Method "start" exited with status 95 ]
>
> --Commands Run to make SVM and ZFS mirror---
> prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2
>
>
>
>
>
> installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0t1d0s0
>
>
>
> metadb -a -f -c 2 c0t0d0s4 c0t1d0s4
>
>
>
> metainit -f d10 1 1 c0t0d0s0
>
> metainit -f d11 1 1 c0t0d0s1
>
> metainit -f d13 1 1 c0t0d0s3
>
>
>
> metainit -f d20 1 1 c0t1d0s0
>
> metainit -f d21 1 1 c0t1d0s1
>
> metainit -f d23 1 1 c0t1d0s3
>
>
>
> metainit d0 -m d10
>
> metainit d1 -m d11
>
> metainit d3 -m d13
>
>
>
> metaroot d0
>
>
>
> Update /etc/vfstab so that the swap partition points to the d1 just as root
was modified by the last command to point to d0
>
> Swap line in vfstab should look like this
>
> /dev/md/dsk/d1 - - swap - no -
>
>
>
>
>
> lockfs -fa
>
> Reboot
>
> After reboot?
>
> metattach d0 d20
>
> metattach d1 d21
>
> metattach d3 d23
>
>
>
>
>
> Then do this to check the status of the mirroring
>
> metastat | grep "%"
>
> Wait until the syncs are complete
>
>
>
>
>
> zpool create zpool mirror c0t0d0s5 c0t1d0s5
>
>
>
> Create the filesystem
>
>
>
> umount /home
>
> umount /tmp
>
> rm -rf /data
>
> rm -rf /home
>
> rm -rf /tmp
>
> zfs create zpool/data
>
> zfs create zpool/home
>
> zfs create zpool/tmp
>
> sleep 10
>
>
>
>
>
> Make the directory for the mountpoint
>
>
>
>
>
> mkdir /data
>
> mkdir /home
>
> mkdir /tmp
>
>
>
>
>
> Make the mountpoint
>
>
>
> zfs set mountpoint=/data zpool/data
>
> zfs set mountpoint=/home zpool/home
>
> zfs set mountpoint=/tmp zpool/tmp
>
>
>
>
>
> Now you should have the regular roots for these
>
>
>
> Turn ZFS compression on
>
>
>
> zfs set compression=on zpool/data
>
> zfs set compression=on zpool/home
>
> zfs set compression=on zpool/tmp
>
>
>
> Set the quotas
>
> zfs set quota=4G zpool/home
> zfs set quota=1G zpool/tmp
>
>
> This message posted from opensolaris.org
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss