Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
11 января 2017 г. 21:08:15 CET, Dan McDonaldпишет: > >> On Jan 11, 2017, at 2:57 PM, Linda Kateley >wrote: >> >> If I remember right, zone create automatically create a mount using >lofi.. I used to add additional ones. > >Not true except for LX zones (which lofs mount things into /native) and >Joyent-brand zones on SmartOS. There's talk about us doing something >like Joyent-brand zones (lofs-mount /usr, /bin, /sbin), but we've too >much to do right now to make that happen. > >Dan > >___ >OmniOS-discuss mailing list >OmniOS-discuss@lists.omniti.com >http://lists.omniti.com/mailman/listinfo/omnios-discuss I'm sure one can set up the mounts to effect of old-day sparse-root zones. Problem comes when you try to upgrade it or just add packages, and tools do not expect such setup anymore. Jim -- Typos courtesy of K-9 Mail on my Samsung Android ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
> On Jan 11, 2017, at 2:57 PM, Linda Kateleywrote: > > If I remember right, zone create automatically create a mount using lofi.. I > used to add additional ones. Not true except for LX zones (which lofs mount things into /native) and Joyent-brand zones on SmartOS. There's talk about us doing something like Joyent-brand zones (lofs-mount /usr, /bin, /sbin), but we've too much to do right now to make that happen. Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
If I remember right, zone create automatically create a mount using lofi.. I used to add additional ones. If you google old preso's of mine called "zany for zones" I used to show examples. On 1/10/17 8:05 PM, Mini Trader wrote: Any examples on what needs to be done to make this work with LOFS? On Tue, Jan 10, 2017 at 7:19 PM Dan McDonald> wrote: > On Jan 10, 2017, at 6:49 PM, Mini Trader > wrote: > > Currently the UID Mapping between the host (OmniOS) and my zone (Linux) is based purely on UID. Obviously the UID's on my Linux zone are going to be very different from my OmniOS setup. > > Is there any NFS4 IDMAPD concept available here? e.g. nobody/nogroup for unrecognized users and groups or mapping from a numerical id to user? http://illumos.org/man/1m/idmap Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
Hi, "Mini Trader"írta 2017-01-10 18:49-kor: > Currently the UID Mapping between the host (OmniOS) and my zone (Linux) is > based purely on UID. Obviously the UID's on my Linux zone are going to be > very different from my OmniOS setup. > > Is there any NFS4 IDMAPD concept available here? e.g. nobody/nogroup for > unrecognized users and groups or mapping from a numerical id to user? I think, the power of lofs, that it doesn't do translations, etc. like nfs does. This behaviour doesn't depend on if the zone is an lx zone, or a solarish one. If you have a dataset what you want to use in multiple zones at the same time, then it's your responsibility to keep the same uid set in all of them. And that's also not an impossible thing: you can use yp or ldap for this purpose. Whatever is your favourite. Cheers, Gyu ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
Oh shoot... I honestly don't know about lofs. Sorry, Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
Any examples on what needs to be done to make this work with LOFS? On Tue, Jan 10, 2017 at 7:19 PM Dan McDonaldwrote: > > > > On Jan 10, 2017, at 6:49 PM, Mini Trader > wrote: > > > > > > Currently the UID Mapping between the host (OmniOS) and my zone (Linux) > is based purely on UID. Obviously the UID's on my Linux zone are going to > be very different from my OmniOS setup. > > > > > > Is there any NFS4 IDMAPD concept available here? e.g. nobody/nogroup > for unrecognized users and groups or mapping from a numerical id to user? > > > > http://illumos.org/man/1m/idmap > > > > Dan > > > > ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] LX Zones and UID Mapping on LOFS Mounts
> On Jan 10, 2017, at 6:49 PM, Mini Traderwrote: > > Currently the UID Mapping between the host (OmniOS) and my zone (Linux) is > based purely on UID. Obviously the UID's on my Linux zone are going to be > very different from my OmniOS setup. > > Is there any NFS4 IDMAPD concept available here? e.g. nobody/nogroup for > unrecognized users and groups or mapping from a numerical id to user? http://illumos.org/man/1m/idmap Dan ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss