[oi-dev] Remove IPS dependency on sys-unconfig (was Re: Userland dev, Zone and processes )

Alexander Pyhalov alp at rsu.ru
Wed Feb 10 09:30:53 UTC 2016


On 02/10/2016 10:22, Jim Klimov wrote:
> 10 февраля 2016 г. 7:42:43 CET, Alexander Pyhalov <alp at rsu.ru> пишет:

> I could not peek into context from my phone, so a quick question: you do both zlogin and manipulations under /a (counting from zoneroot). This seems to match old behavior (removed lines) but just in case - are all references to /a correct there (shouldn't any of those be the zone root == / after zlogin)? ;)

zbe is mounted as /a.

This looks like the following:

# zoneadm -z external mount
# cat /etc/mnttab |grep zones/external
data/zones/external     /zones/external zfs 
rw,devices,setuid,nonbmand,exec,xattr,noatime,dev=2d50013       1454047023
data/zones/external/ROOT/zbe-54 /zones/external/root    zfs 
rw,devices,setuid,nonbmand,exec,xattr,noatime,dev=2d50024       1455095882
swap    /zones/external/lu      tmpfs   xattr,dev=854000a       1455095883
/zones/external/root    /zones/external/lu/a    lofs    dev=2d50024 
1455095883
/dev    /zones/external/lu/dev  dev     dev=8400003     1455095883
/etc    /zones/external/lu/etc  lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
/kernel /zones/external/lu/kernel       lofs 
ro,nodevices,nosub,dev=2d50002  1455095883
/lib    /zones/external/lu/lib  lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
/opt    /zones/external/lu/opt  lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
/platform       /zones/external/lu/platform     lofs 
ro,nodevices,nosub,dev=2d50002  1455095883
/sbin   /zones/external/lu/sbin lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
/usr    /zones/external/lu/usr  lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
/var    /zones/external/lu/var  lofs    ro,nodevices,nosub,dev=2d50002 
1455095883
swap    /zones/external/lu/tmp  tmpfs   xattr,dev=854000b       1455095883
swap    /zones/external/lu/var/run      tmpfs   xattr,dev=854000c 
1455095883
swap    /zones/external/lu/var/tmp      tmpfs   xattr,dev=854000d 
1455095883
proc    /zones/external/lu/proc proc 
nodevices,zone=external,dev=8440003     1455095883
ctfs    /zones/external/lu/system/contract      ctfs 
nodevices,zone=external,dev=84c0004     1455095883
mnttab  /zones/external/lu/etc/mnttab   mntfs 
nodevices,zone=external,dev=8500004     1455095883
objfs   /zones/external/lu/system/object        objfs 
nodevices,zone=external,dev=8580004     1455095883
swap    /zones/external/lu/etc/svc/volatile     tmpfs 
nodevices,xattr,zone=external,dev=854000e       1455095883
fd      /zones/external/lu/dev/fd       fd 
rw,nodevices,zone=external,dev=8740004  1455095883

So, as you can see, zone root is really our GZ's root, and zone's root 
is mounted to /a.

-- 
Best regards,
Alexander Pyhalov,
system administrator of Southern Federal University IT department




More information about the oi-dev mailing list