Francois Goudal
2008-Oct-16 15:00 UTC
[zfs-discuss] ZFS pool not imported on boot on Solaris Xen PV DomU
Hi, I am trying a setup with a Linux Xen Dom0 on which runs an OpenSolaris 2008.05 DomU. I have 8 hard disk partitions that I exported to the DomU (they are visible as c4d[1-8]p0) I have created a raidz2 pool on these virtual disks. Now, if I shutdown the system and I start it again, the pool is not automatically imported during the boot. If I type zpool status, I can''t see it, so I do a zfs import and I see that there is my pool that I can import, so I import it and it works. But I wonder why it isn''t imported automatically. How is managed the pool import during bootup ? Does solaris try to import every single pool that''s available, or does it read some list from a file somewhere (possibly the boot_archive) ? -- This message posted from opensolaris.org
Richard Elling
2008-Oct-16 17:26 UTC
[zfs-discuss] ZFS pool not imported on boot on Solaris Xen PV DomU
Francois Goudal wrote:> Hi, > I am trying a setup with a Linux Xen Dom0 on which runs an OpenSolaris 2008.05 DomU. > I have 8 hard disk partitions that I exported to the DomU (they are visible as c4d[1-8]p0) > I have created a raidz2 pool on these virtual disks. > Now, if I shutdown the system and I start it again, the pool is not automatically imported during the boot. > If I type zpool status, I can''t see it, so I do a zfs import and I see that there is my pool that I can import, so I import it and it works. > But I wonder why it isn''t imported automatically. How is managed the pool import during bootup ? Does solaris try to import every single pool that''s available, or does it read some list from a file somewhere (possibly the boot_archive) ? >The file is /etc/zfs/zpool.cache Unfortunately, it is not human readable, but "zdb -C" can be used to examine its contents. -- richard