> After a pool is created, zfs got mounted?
yes, when you create a pool, the zfs filesystem within it is mounted.   
(Each pool will have a top level filesystem created for it when the  
pool is created, then you can use that and also create as many new  
filesystems within it as you like)


> Where does Solaris find zfs mount at boot?
ZFS keeps its record of what pools are on the system in /etc/zfs/ 
zpool.cache.  That's the file that gets read at boot


> How to I tell the system not to mount certain zfs at boot?
you can set the 'canmount' property to 'off' for whatever filesystem  
you do not want mounted:

Check out the zfs man pages for more filesystem properties stuff:
http://docs.sun.com/app/docs/doc/819-2240/6n4htdnpr?a=view

"
canmount=on | off

     If this property is set to ?off?, the file system cannot be  
mounted, and is ignored by ?zfs mount -a?. This is similar to setting  
the ?mountpoint? property to ?none?, except that the dataset still has  
a normal ?mountpoint? property which can be inherited. This allows  
datasets to be used solely as a mechanism to inherit properties. One  
use case is to have two logically separate datasets have the same  
mountpoint, so that the children of both datasets appear in the same  
directory, but may have different inherited characteristics. The  
default value is ?on?.

     This property is not inherited.
"


Noel

On Dec 14, 2006, at 6:06 AM, storage-disk wrote:

> Hi all,
>
> I hope that I this is not the old thread.
>
> I'd like to know how zfs get mounted. After a pool is created, zfs  
> got mounted? Where is the record? Which file got written?
>
> Traditional /etc/vfstab will mount all entries in that file. Where  
> does Solaris find zfs mount at boot?
>
> How to I tell the system not to mount certain zfs at boot?
>
> Thank you.
> Giang
> --
> This messages posted from opensolaris.org
> _______________________________________________
> zfs-code mailing list
> zfs-code at opensolaris.org
> http://opensolaris.org/mailman/listinfo/zfs-code


Reply via email to