Hello Systems, Thursday, July 19, 2007, 9:02:06 AM, you wrote:
RPSASPSP> Hi, RPSASPSP> I have a question concerning booting Solaris (SPARC/X64) with some ZFS RPSASPSP> storage pools/datasets created and mounted. RPSASPSP> Where from Solaris/ZFS knows which storage pools/datasets should be RPSASPSP> mounted after reboot??? RPSASPSP> ZFS is not using at all /etc/vfstab configuration file (I exclude here RPSASPSP> case where we set mountpoint=legacy). RPSASPSP> My understanding is that ZFS kernel modules are writing some information RPSASPSP> about mounting state of storage pools/datasets to disks just before RPSASPSP> unloading (of ZFS kernel modules). When Solaris boots, it is loading ZFS RPSASPSP> kernel modules. These kernel modules are checking all disks devices in RPSASPSP> /dev, /devices directories for possibility of performing silent 'zpool RPSASPSP> import -a'. RPSASPSP> Anybody could confirm/deny above statements??? Every time you create new pool or import one ine a system, without -R option, the pool name/id and its devices are written to a binary file /etc/zfs/zpool.cache Now when zfs modules are being initialized that file is checked and loaded, then zfs tries to import all pools which are in that file. Devices which were put there are meant to speed up import - unless anything changed with disks you will not have to scann all disks in a system to import those pools. Then check /lib/svc/method/fs-local and at the end you'll find 'zfs mount -a' command. -- Best regards, Robert mailto:[EMAIL PROTECTED] http://milek.blogspot.com _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss