> I've narrowed down my 'problem of with the changes
> Venk suggested the zone never boots' to the
> following:
> 
> root at mltproc1:~# zfs set
> mountpoint=/common_pool0/common_zone/root/personal_poo
> l0/personal personal_pool0/personal
> 
> I am pretty sure this is not the right way to make
> the second pool available to the zone, but without it
> being a dataset in the zonecfg, I'm not sure how to
> correctly make it available. Any pointers on how to
> set this up properly?

Using an lofs, and setting my mountpoint outside of (rather than within) the 
named zone's root, I was able to make the second zfs visible to the zone, 
however I'm still getting the original problem (unable to unmount, with busy).

I have a handful of different resource groups set up the same way, and my 
current log entry is against a different one from 'common_shares' that I've 
been having trouble with (backup1_rg), so going to give, first the zone's xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE zone PUBLIC "-//Sun Microsystems Inc//DTD Zones//EN" 
"file:///usr/share/lib/xml/dtd/zonecfg.dtd.1">
<!--
    DO NOT EDIT THIS FILE.  Use zonecfg(1M) instead.
-->
<zone name="backup1" zonepath="/backup_zpool0/backup1_zone" autoboot="false" 
brand="ipkg">
  <filesystem special="/backup1_storage0/storage" 
directory="/backup1_storage0/storage" type="lofs"/>
</zone>

And then what I did to get in the /var/adm/messages log:

Dec  7 18:07:06 mltstore1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] 
launching method <gds_svc_stop> for resource <backup1_zone>, resource group 
<backup1_rg>, node <mltstore1>, timeout <300> seconds
Dec  7 18:07:06 mltstore1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] 
method <hafoip_monitor_stop> completed successfully for resource 
<backup1_lhname>, resource group <backup1_rg>, node <mltstore1>, time used: 0% 
of timeout <300 seconds>
Dec  7 18:07:06 mltstore1 SC[SUNWsczone.stop_sczbt]:backup1_rg:backup1_zone: 
[ID 326363 daemon.notice] Function: stop_sczbt - Logical interface ipmp0:1 
placed into the global zone
Dec  7 18:07:14 mltstore1 Cluster.RGM.fed: [ID 605976 daemon.notice] SCSLM zone 
<backup1> down
Dec  7 18:07:15 mltstore1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] 
method <gds_svc_stop> completed successfully for resource <backup1_zone>, 
resource group <backup1_rg>, node <mltstore1>, time used: 2% of timeout <300 
seconds>
Dec  7 18:07:15 mltstore1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] 
launching method <hafoip_stop> for resource <backup1_lhname>, resource group 
<backup1_rg>, node <mltstore1>, timeout <300> seconds
Dec  7 18:07:15 mltstore1 SC[SUNWsczone.stop_sczbt]:backup1_rg:backup1_zone: 
[ID 567783 daemon.notice] stop_command rc<0> - en_US.UTF-8: unknown locale
Dec  7 18:07:15 mltstore1 last message repeated 3 times
Dec  7 18:07:15 mltstore1 SC[SUNWsczone.stop_sczbt]:backup1_rg:backup1_zone: 
[ID 567783 daemon.notice] stop_command rc<0> - Shutdown started.    Mon Dec  7 
18:07:06 EST 2009
Dec  7 18:07:15 mltstore1 SC[SUNWsczone.stop_sczbt]:backup1_rg:backup1_zone: 
[ID 567783 daemon.notice] stop_command rc<0> - Changing to init state 0 - 
please wait
Dec  7 18:07:15 mltstore1 ip: [ID 678092 kern.notice] TCP_IOC_ABORT_CONN: local 
= 192.168.011.010:0, remote = 000.000.000.000:0, start = -2, end = 6
Dec  7 18:07:15 mltstore1 ip: [ID 302654 kern.notice] TCP_IOC_ABORT_CONN: 
aborted 0 connection 
Dec  7 18:07:15 mltstore1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] 
method <hafoip_stop> completed successfully for resource <backup1_lhname>, 
resource group <backup1_rg>, node <mltstore1>, time used: 0% of timeout <300 
seconds>
Dec  7 18:07:15 mltstore1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] 
launching method <hastorageplus_postnet_stop> for resource <backup1_storage>, 
resource group <backup1_rg>, node <mltstore1>, timeout <1800> seconds
Dec  7 18:07:16 mltstore1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] 
method <hastorageplus_postnet_stop> completed successfully for resource 
<backup1_storage>, resource group <backup1_rg>, node <mltstore1>, time used: 0% 
of timeout <1800 seconds>
Dec  7 18:07:16 mltstore1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] 
launching method <hastorageplus_postnet_stop> for resource <backup1_rpool>, 
resource group <backup1_rg>, node <mltstore1>, timeout <1800> seconds
Dec  7 18:07:17 mltstore1 
SC[,SUNW.HAStoragePlus:8,backup1_rg,backup1_rpool,hastorageplus_postnet_stop]: 
[ID 471757 daemon.error] cannot unmount '/backup_zpool0/backup1_zone/root' : 
Device busy
Dec  7 18:07:17 mltstore1 
SC[,SUNW.HAStoragePlus:8,backup1_rg,backup1_rpool,hastorageplus_postnet_stop]: 
[ID 356473 daemon.error] Failed to export :backup_zpool0
-- 
This message posted from opensolaris.org

Reply via email to