[00:16:34] *** ghostpl_ has joined #openindiana[00:25:42] *** ghostpl_ has quit IRC[00:47:55] *** Kelzier has quit IRC[01:42:30] *** InTheWings has quit IRC[01:48:38] *** BobLu has joined #openindiana[01:57:00] *** FlibberTGibbet has quit IRC[02:00:33] *** heyun has joined #openindiana[02:02:52] *** CVLTCMK0 has joined #openindiana[02:10:07] *** merzo has quit IRC[02:10:49] *** ghostpl_ has joined #openindiana[02:15:17] *** ghostpl_ has quit IRC[03:11:04] *** alanc has quit IRC[03:11:30] *** phil__ has joined #openindiana[03:14:10] *** _Tenchi_ has quit IRC[03:22:02] *** phil__ is now known as _Tenchi_[03:25:36] *** alanc has joined #openindiana[03:25:36] *** ChanServ sets mode: +o alanc[03:26:10] *** ancoron has joined #openindiana[03:30:25] *** ancoron_ has quit IRC[03:49:29] *** sac has joined #openindiana[03:59:36] *** ghostpl_ has joined #openindiana[04:04:26] *** ghostpl_ has quit IRC[04:12:28] *** sac has quit IRC[04:18:21] *** sac has joined #openindiana[04:27:46] *** sac has quit IRC[04:38:11] *** sac has joined #openindiana[04:42:19] *** sac has quit IRC[04:55:29] *** Seony has joined #openindiana[05:48:22] *** ghostpl_ has joined #openindiana[05:52:45] *** ghostpl_ has quit IRC[05:55:03] *** phobos has joined #openindiana[06:32:44] *** ghostpl_ has joined #openindiana[06:39:26] *** phobos has quit IRC[06:46:22] *** magyar has quit IRC[06:53:22] *** rfm has quit IRC[07:25:36] *** tsoome has quit IRC[07:31:15] *** Seony has quit IRC[07:35:30] *** alendelon has joined #openindiana[07:52:44] *** Bastian82 has joined #openindiana[07:55:17] *** cyberspace- has quit IRC[08:03:27] *** tsoome has joined #openindiana[08:14:12] *** ancoron_ has joined #openindiana[08:16:02] *** Bdragon has quit IRC[08:16:37] *** ancoron has quit IRC[08:18:41] *** Bdragon has joined #openindiana[08:27:10] *** Worsoe has joined #openindiana[08:34:27] *** Bastian82 has quit IRC[09:25:09] *** alcir has joined #openindiana[09:32:17] *** Seemone has joined #openindiana[09:39:42] *** merzo has joined #openindiana[09:47:58] *** merzo has quit IRC[10:11:38] *** CustosLimen has joined #openindiana[10:38:05] *** InTheWings has joined #openindiana[10:48:48] *** Seemone has quit IRC[10:50:47] *** merzo has joined #openindiana[10:57:32] *** Vutral has quit IRC[11:13:05] *** Vutral has joined #openindiana[11:27:27] *** Seemone has joined #openindiana[11:41:10] *** leoric has joined #openindiana[11:56:19] *** heyun has quit IRC[12:25:42] *** leoric has quit IRC[13:29:18] *** rathmuller2 has quit IRC[13:31:04] *** rathmuller2 has joined #openindiana[13:35:37] *** CVLTCMK0 has quit IRC[13:43:06] *** BobLu has quit IRC[15:13:52] *** tsoome has quit IRC[15:29:37] *** alendelon has quit IRC[15:31:51] *** rfm has joined #openindiana[15:37:01] *** magyar has joined #openindiana[15:37:01] *** magyar has joined #openindiana[15:38:20] *** headw01 has joined #openindiana[15:38:41] *** headw01 has quit IRC[15:39:00] *** headw01 has joined #openindiana[15:39:53] *** Worsoe has quit IRC[15:41:29] *** MarcelT has quit IRC[15:46:17] *** MarcelT has joined #openindiana[16:07:21] *** tsoome has joined #openindiana[16:15:58] *** patdk-lap has quit IRC[16:28:41] *** alendelon has joined #openindiana[16:53:16] *** ghostpl_ has quit IRC[17:10:33] *** rfm has quit IRC[17:44:24] *** CustosLimen has quit IRC[17:45:24] *** alcir has quit IRC[17:51:12] *** icecream_ has joined #openindiana[17:51:43] *** icecream has quit IRC[17:53:46] *** ghostpl_ has joined #openindiana[17:58:34] *** ghostpl_ has quit IRC[18:13:34] *** Seemone has quit IRC[18:33:52] *** leoric has joined #openindiana[18:54:49] *** ghostpl_ has joined #openindiana[19:02:14] *** ghostpl_ has quit IRC[19:04:35] *** alesales has joined #openindiana[19:09:58] *** merzo has quit IRC[19:19:17] *** CustosLimen has joined #openindiana[19:21:59] *** Kelzier has joined #openindiana[19:27:20] *** freakazoid0223 has joined #openindiana[19:29:07] *** freakazoid0223 has left #openindiana[19:42:24] *** alesales has quit IRC[19:57:25] *** alesales has joined #openindiana[19:58:20] *** ghostpl_ has joined #openindiana[20:03:09] *** alesales has quit IRC[20:05:43] *** ghostpl_ has quit IRC[20:15:31] *** SonikkuAmerica has joined #openindiana[20:33:12] *** Bastian82 has joined #openindiana[20:44:21] *** basic6 has joined #openindiana[20:45:38] *** freakazoid0223 has joined #openindiana[20:52:25] *** SonikkuAmerica has quit IRC[21:16:54] *** SonikkuAmerica has joined #openindiana[21:20:49] *** leoric has quit IRC[21:37:58] <DrLou> ok, how to debug svc filesystem/local within a zone?[21:38:17] <DrLou> finally got an errant zone running again, but not all FSes are mounting[21:38:23] *** Kelzier has quit IRC[21:38:57] <DrLou> all ZFS datasets are mountpoint=legacy[21:39:32] *** Kelzier has joined #openindiana[21:41:19] *** XenophonF has left #openindiana[21:49:51] *** ghostpl_ has joined #openindiana[21:56:53] *** ghostpl_ has quit IRC[22:04:30] <tomww> what does zfs mount -a[22:04:54] <DrLou> reports its failure, but log is not terribly useful[22:05:24] <tomww> so the crazy thing is, mountpoint is legacy but still cant mount.[22:05:36] <DrLou> calling svcadm from GZ reports it cannot access the svc repository - guess that part makes sense[22:05:44] <tomww> does a path in /etc/vfstab eventually match soem ZFS filesystem names=[22:06:17] <tomww> yes, svcadm can only be run from inside the zone to get the correct paths to the database.[22:06:22] <DrLou> yes, have verified that the type=zfs FSes are all ‘legacy’[22:06:56] <tomww> well, could you verify that on the global zone, that there no mount is happening with a mountpoint which has the name of the NGZ zone path in it?[22:07:04] <DrLou> ( oh, thought we could use the -z switch - anyway, that’s a topic for later! )[22:07:24] <tomww> (I never use svcadm from the GZ, so I just don't know)[22:10:20] <tomww> e.g. zonadm list -v shows as path: /zoneshome/thenameofzone .... grep "thenameofzone" /etc/mnttab[22:10:35] <DrLou> caontents of /etc/vfstab look pretty reasonable.[22:12:04] <DrLou> OK, this is helping...[22:12:20] <DrLou> there are weird (overlapping) entries in mnttab[22:13:59] <tomww> you have filesystems on the global zone which are intended to appear in the non-global-zone?[22:14:20] <DrLou> a few, all set to lofs[22:14:44] <tomww> okay, lofs is used to map e.g. devices into the NGZ, so that is most times okay.[22:15:14] <tomww> but as well hanging lofs mount could lead to zone boot failures ..[22:15:58] <DrLou> to dx this, I’m taking the approach of removing the FS definitions in zone config, then replacing one by one.[22:16:07] <DrLou> ( seems tedious )[22:16:15] <tomww> <!-- --> to commet out[22:16:54] <DrLou> y[22:19:40] <DrLou> … building a better understanding of zone FS layout/architecture here… (!)[22:20:02] <DrLou> should I expect the zone’s ZBE to be mounted, even with the zone halted?[22:20:42] <DrLou> and all _parents_ of all ZFS FSes must be mounted pre-zone-boot, one presumes?[22:22:26] <tomww> I think only those filesystems which make up the zone root filesystem itself should be mounted.[22:22:58] <tomww> everything else which is e.g. a "zoned" ZFS filesystem in the zones config xml is mounted once the zone is prepared for boot.[22:23:06] <DrLou> you mean ‘already mounted before zone boot’ (?)[22:23:10] *** SonikkuAmerica has quit IRC[22:23:19] <DrLou> as is true in this case.[22:24:33] <tomww> only the filesystem recorded in the zone config.xml as zonepath="/zonesrootfs/thenameofzone" I believe is needed mounted.[22:24:50] <tomww> everything else might only disturb the boot process, as it could be the wrong mount order[22:25:10] <DrLou> just meant the parents onto which ZFS mounts will be ‘grafted’ at boot time...[22:25:24] <DrLou> I think I’ve tested that these parents must be mounted in advance[22:25:36] <DrLou> in any case, you’ve put me on the right path![22:25:38] <tomww> I configure zfs filesystems on the global zone, then I use the zoned property, then configure the filesystem into the zone config (I believe)[22:26:28] <tomww> (the laste line only if you configur additonal filesystems for the zone, zoned enables configuration for the filesystmes including creating new sub-filesystems inside the zone)[22:26:29] <DrLou> yes, I’ve been doing roughly that. Plus mountpoint=legacy[22:26:42] <tomww> hm. lemme check what I have[22:27:14] <DrLou> well, one of these FSes has a dir in it already - so that alone could be the prob...[22:27:49] *** rfm has joined #openindiana[22:28:59] <tomww> Aha, I did it this way: the zfs filesystem is shared across several zones,[22:29:28] <tomww> <filesystem special="/pool/zonessharedfs/thenameofzone" directory="/pool/zonessharedfs/thenameofzone" type="lofs">[22:29:43] <DrLou> yes, I am doing a lot of that as well[22:30:08] <tomww> so that filesystem is already mounted on the global zone. the NGZ can then slurp that in by using lofs. mountpoint is set to /pool/zonessharedfs/thenameofzone[22:30:29] <tomww> mountpoints need to be empty, yes.[22:30:42] <DrLou> but am also doing a lot of ‘sharing’(poor term) of the ZFS parent(s) of the ZFS children I am mounting in discreet zones[22:31:27] <DrLou> duh. that was ‘discrete’, btw…[22:31:34] <tomww> all filesystems which are shared with "zoned" set to no/off[22:32:16] <tomww> so you need the filesystems mounted somewhere outside the zones (mountpoint=/only/for/heling/out/) and the zones use[22:32:41] <tomww> <filesystem special="/only/for/heling/out/" directory="/this/inside/the/zone" type="lofs">[22:34:13] <tomww> for instance, I share the studio compile that way: global zone /opt/studio and all NGZ can lofs that directory with <filesystem special="/opt/studio" directory="/opt/studio" type="lofs">[22:34:49] * tomww has to leave now, whish you good success with debugging[22:34:52] <DrLou> I do precisely that - for similar reasons - with other custom builds[22:35:03] <DrLou> Many thanks for the brainstorming![22:35:18] <DrLou> on correct path, if a bit swervy…[22:37:03] <tomww> :)[22:37:19] <DrLou> mnttab _within_ NGZ shows all the type=zfs mounts there, in places expected…[22:37:36] <DrLou> so issues must be in properties of LOFSes[22:47:18] <DrLou> and how can a zlogin as root have insufficient privileges to zfs mount?[23:16:29] *** freakazoid0223 has left #openindiana[23:23:45] *** alendelon has quit IRC[23:41:21] *** ghostpl_ has joined #openindiana[23:49:01] *** ghostpl_ has quit IRC