Solaris 10 Virtual Machine Exploration (2)

Source: Internet
Author: User

# # Add File system
bash-3.2# zonecfg-z vmtest02
zonecfg:vmtest02> Info
zonename:vmtest02
Zonepath:/export/home/vmtest02
Brand:native
Autoboot:true
Bootargs:
Pool
Limitpriv:
Scheduling-class:fss
Ip-type:shared
HostID
Net
address:192.168.233.200
Physical:e1000g0
defrouter:192.168.233.2
Capped-memory:
physical:512m
[SWAP:1G]
[locked:512m]
Rctl
Name:zone.max-swap
Value: (Priv=privileged,limit=1073741824,action=deny)
Rctl
Name:zone.max-locked-memory
Value: (Priv=privileged,limit=536870912,action=deny)
zonecfg:vmtest02> Add FS
Zonecfg:vmtest02:fs> Set DIR=/HJ
Zonecfg:vmtest02:fs> Set Special=/dev/dsk/c0d1s0
Zonecfg:vmtest02:fs> Set Raw=/dev/rdsk/c0d1s0
Zonecfg:vmtest02:fs> Set Type=ufs
zonecfg:vmtest02:fs> add options [nodevices,logging]
Zonecfg:vmtest02:fs> End
Zonecfg:vmtest02> Verify
Zonecfg:vmtest02> Commit
zonecfg:vmtest02> Info
zonename:vmtest02
Zonepath:/export/home/vmtest02
Brand:native
Autoboot:true
Bootargs:
Pool
Limitpriv:
Scheduling-class:fss
Ip-type:shared
HostID
Fs:
Dir:/hj
Special:/dev/dsk/c0d1s0
Raw:/dev/rdsk/c0d1s0
Type:ufs
Options: [Nodevices,logging]
Net
address:192.168.233.200
Physical:e1000g0
defrouter:192.168.233.2
Capped-memory:
physical:512m
[SWAP:1G]
[locked:512m]
Rctl
Name:zone.max-swap
Value: (Priv=privileged,limit=1073741824,action=deny)
Rctl
Name:zone.max-locked-memory
Value: (Priv=privileged,limit=536870912,action=deny)
Zonecfg:vmtest02> exit

bash-3.2# zoneadm-z vmtest02 Boot
Zoneadm:zone ' vmtest02 ': '/dev/rdsk/c0d1s0 ' fsck failed with exit status of 33; Please run fsck manually
Zoneadm:zone ' vmtest02 ': Call to ZONEADMD failed


bash-3.2# df-h
File system size with usable capacity hook up on
/dev/dsk/c0d0s0 9.2G 8.4G 729M 93%/
/devices 0K 0K 0K 0%/devices
CTFs 0K 0K 0K 0%/system/contract
Proc 0K 0K 0K 0%/proc
Mnttab 0K 0K 0K 0%/etc/mnttab
Swap 2.9G 1008K 2.9G 1%/etc/svc/volatile
OBJFS 0K 0K 0K 0%/system/object
Sharefs 0K 0K 0K 0%/etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
9.2G 8.4G 729M 93%/lib/libc.so.1
FD 0K 0K 0K 0%/dev/fd
Swap 2.9G 420K 2.9G 1%/tmp
Swap 2.9G 36K 2.9G 1%/var/run
/dev/dsk/c0d0s7 89G 37G 51G 43%/export/home
/dev/dsk/c0d1s0 996M 1.0M 935M 1%/hj
bash-3.2# UMOUNT/HJ
bash-3.2#




bash-3.2# zoneadm-z vmtest02 Boot
Zoneadm:zone ' vmtest02 ': Warning: e1000g0:1: A subnet matching 192.168.233.200 was not found in Netmasks (4); The default value of 255.255.255.0 is used.
bash-3.2# Zlogin vmtest02
[Connected to area ' vmtest02 ' PTS/7]
Last Login:mon Mar 9 20:14:00 on PTS/2
Oracle Corporation SunOS 5.10 Generic Patch January 2005
# df-h
Filesystem size used avail capacity mounted on
/89G 37G 51G 43%/
/dev 89G 37G 51G 43%/dev
/HJ 996M 1.0M 935M 1%/hj
Proc 0K 0K 0K 0%/proc
CTFs 0K 0K 0K 0%/system/contract
Mnttab 0K 0K 0K 0%/etc/mnttab
OBJFS 0K 0K 0K 0%/system/object
Swap 1.0G 51M 973M 6%/etc/svc/volatile
/usr/lib/libc/libc_hwcap1.so.1
89G 37G 51G 43%/lib/libc.so.1
FD 0K 0K 0K 0%/dev/fd
Swap 1.0G 51M 973M 6%/tmp
Swap 1.0G 51M 973M 6%/var/run
# CD/HJ

Solaris 10 Virtual Machine Exploration (2)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.