Michael,

If you don't call "zpool export -f tank" it should work.
However, it would be necessary to understand why you are using the above 
command after creation of the zpool.

Can you avoid exporting after the creation ?

Regards,
Sanjeev


Michael Goff 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
>   


-- 
Solaris Revenue Products Engineering,
India Engineering Center,
Sun Microsystems India Pvt Ltd.
Tel:    x27521 +91 80 669 27521

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

Reply via email to