Hi Mike,
   
  After rebooting a UNIX machine (HP-UX/Linux/Solaris), it will mount (or 
import) only the file systems which are mounted (or imported) before the reboot.
   
  In your case the zfs file system tank/data is exported(or unmounted) before 
reboot.Thats the reason why the zpool is not imported automatically after 
reboot.
   
  This is neither a problem nor a bug. ZFS developers designed the import and 
export command like this.
   
  Not only ZFS, no file system will mount all the available file systems. Any 
UNIX machine will mount only the file systems which are mounted before reboot.
    -Masthan  D

Michael Goff <[EMAIL PROTECTED]> wrote:

  Hi,

When jumpstarting s10x_u4_fcs onto a machine, I have a postinstall script which 
does:

zpool create tank c1d0s7 c2d0s7 c3d0s7 c4d0s7
zfs create tank/data
zfs set mountpoint=/data tank/data
zpool export -f tank

When jumpstart finishes and the node reboots, the pool is not imported 
automatically. I have to do:

zpool import tank

for it to show up. Then on subsequent reboots it imports and mounts 
automatically. What I can I do to get it to mount automatically the first time? 
When I didn't have the zpool export I would get an message that I needed to use 
zpool import -f because it wasn't exported properly from another machine. So it 
looks like the state of the pool created during the jumpstart install was lost.

BTW, I love using zfs commands to manage filesystems. They are so easy and 
intuitive!

thanks,
Mike


This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to