NAME USED AVAIL REFER MOUNTPOINT
rpool 5.16G 2.66G 33K /rpool
rpool/ROOT 3.87G 2.66G 21K legacy
rpool/ROOT/s10x_u8wos_08a 3.87G 2.66G 3.87G /
rpool/dump 808M 2.66G 808M -
rpool/export 250K 2.66G 23K /export
rpool/export/home 226K 2.66G 226K /export/home
rpool/swap 512M 2.99G 170M -
testpool 1.94G 0 1.94G /testpool
testpool/zones 21K 0 21K /testpool/zones
# zfs create -o canmount=noauto rpool/ROOT/s10x_u8wos_08a/zones
# zfs mount rpool/ROOT/s10x_u8wos_08a/zones
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 5.16G 2.66G 33K /rpool
rpool/ROOT 3.87G 2.66G 21K legacy
rpool/ROOT/s10x_u8wos_08a 3.87G 2.66G 3.87G /
rpool/ROOT/s10x_u8wos_08a/zones 21K 2.66G 21K /zones
rpool/dump 808M 2.66G 808M -
rpool/export 250K 2.66G 23K /export
rpool/export/home 226K 2.66G 226K /export/home
rpool/swap 512M 2.99G 170M -
testpool 1.94G 0 1.94G /testpool
testpool/zones 21K 0 21K /testpool/zones
# zfs mount rpool/ROOT/s10x_u8wos_08a/zones
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 5.16G 2.66G 33K /rpool
rpool/ROOT 3.87G 2.66G 21K legacy
rpool/ROOT/s10x_u8wos_08a 3.87G 2.66G 3.87G /
rpool/ROOT/s10x_u8wos_08a/zones 21K 2.66G 21K /zones
rpool/dump 808M 2.66G 808M -
rpool/export 250K 2.66G 23K /export
rpool/export/home 226K 2.66G 226K /export/home
rpool/swap 512M 2.99G 170M -
testpool 1.94G 0 1.94G /testpool
testpool/zones 21K 0 21K /testpool/zones
# zfs create -o canmount=noauto rpool/ROOT/s10x_u8wos_08a/zones/test1
# zfs mount rpool/ROOT/s10x_u8wos_08a/zones/test1
# zonecfg -z test1
test1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:test1> create
zonecfg:test1> set zonepath=/zones/test1
zonecfg:test1> set autoboot=true
zonecfg:test1> add net
zonecfg:test1:net> set physical=e1000g0
zonecfg:test1:net> set address=192.168.80.141
zonecfg:test1:net> end
zonecfg:test1> verify
zonecfg:test1> commit
zonecfg:test1> exi
# chmod 700 /zones/test1
# zoneadm -z test1 verify
# zoneadm -z test1 verify
# zoneadm -z test1 install
Preparing to install zone
Creating list of files to copy from the global zone.
Copying <7513> files to the zone.
Initializing zone product registry.
Determining zone package initialization order.
Preparing to initialize <1124> packages on the zone.
Initialized <1124> packages on zone.
Zone
The file contains a log of the zone installation.
# zoneadm list -c
global
testzone
zone1
test1
# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- testzone incomplete /testpool/home/test1 native shared
- zone1 incomplete /testpool/zones/zone1 native shared
- test1 installed /zones/test1 native shared
# zoneadm list -iv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- test1 installed /zones/test1 native shared
# zoneadm -z test1 ready
zoneadm: zone 'test1': WARNING: e1000g0:1: no matching subnet found in netmasks(4) for 192.168.80.141; using default of 255.255.255.0.
# zoneadm -z test1 boot
# zlogin -C -e \# test1
turkiye utf seçtim
cde
geri kalanlar default2
dns yok.
#zlogin test1
Hiç yorum yok:
Yorum Gönder