Dan,
Tried export data after beadm umount, but on reboot zpool data is simply
not imported at all...
So exporting data before reboot dosen;t appear to help..
thanks
Matt
On 06/01/11 01:35, Daniel Carosone wrote:
On Tue, May 31, 2011 at 05:32:47PM +0100, Matt Keenan wrote:
Jim,
Thanks for the response, I've nearly got it working, coming up against a
hostid issue.
Here's the steps I'm going through :
- At end of auto-install, on the client just installed before I manually
reboot I do the following :
$ beadm mount solaris /a
$ zpool export data
$ zpool import -R /a -N -o cachefile=/a/etc/zfs/zpool.cache data
$ beadm umount solaris
$ reboot
- Before rebooting I check /a/etc/zfs/zpool.cache and it does contain
references to "data".
- On reboot, the automatic import of data is attempted however following
message is displayed :
WARNING: pool 'data' could not be loaded as it was last accessed by
another system (host: ai-client hostid: 0x87a4a4). See
http://www.sun.com/msg/ZFS-8000-EY.
- Host id on booted client is :
$ hostid
000c32eb
As I don't control the import command on boot i cannot simply add a "-f"
to force the import, any ideas on what else I can do here ?
Can you simply export the pool again before rebooting, but after the
cachefile in /a has been unmounted?
--
Dan.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss