Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-06-01 Thread Matt Keenan
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

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-31 Thread Daniel Carosone
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 th

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-31 Thread Matt Keenan
I've written a possible solution using svc-system-config SMF where on first boot it will import -f a specified list of pools, and it does work, I was hoping to find a cleaner solution via zpool.cache... but if there's no way to achieve it I guess I'll have to stick with the other solution. I

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-31 Thread Jim Klimov
Actually if you need beadm to "know" about the data pool, it might be beneficial to mix both approaches - yours with bemount, and init-script to enforce the pool import on that first boot... HTH, //Jim Klimov ___ zfs-discuss mailing list zfs-discuss

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-31 Thread Jim Klimov
in /boot/solaris/bootenv.rc ?) - Original Message - From: Matt Keenan Date: Tuesday, May 31, 2011 21:02 Subject: Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE To: j...@cos.ru Cc: zfs-discuss@opensolaris.org > Jim, > > Thanks for the respo

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-31 Thread Matt Keenan
your new rpools hierarchy and not under "/a/mypool" again ;) And if your AI setup does not use the data pool, you might be better off not using altroot at all, maybe... - Original Message - From: Matt Keenan Date: Friday, May 27, 2011 13:25 Subject: [zfs-discuss] Ensure Newl

Re: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-27 Thread Jim Klimov
etter off not using altroot at all, maybe... - Original Message - From: Matt Keenan Date: Friday, May 27, 2011 13:25 Subject: [zfs-discuss] Ensure Newly created pool is imported automatically in new BE To: zfs-discuss@opensolaris.org > Hi, > > Trying to ensure a newly created da

[zfs-discuss] Ensure Newly created pool is imported automatically in new BE

2011-05-27 Thread Matt Keenan
Hi, Trying to ensure a newly created data pool gets import on boot into a new BE. Scenario : Just completed a AI install, and on the client before I reboot I want to create a data pool, and have this pool automatically imported on boot into the newly installed AI Boot Env. Trying to us