# Mounting LOFS
[email protected]newfs /dev/rdsk/c1t0d0s0 
[email protected]mount /dev/dsk/c1t0d0s0 /data_zone 
[email protected] # zonecfg -z my_zone 
zonecfg:my_zone> add fs 
zonecfg:my_zone:fs> set dir=/data_zone 
zonecfg:my_zone:fs> set special=/data_zone 
zonecfg:my_zone:fs> set type=lofs 
zonecfg:my_zone:fs> end 
zonecfg:my_zone> verify 
zonecfg:my_zone> commit
# Mounting UFS
[email protected]newfs /dev/rdsk/c1t0d0s0
[email protected] # zonecfg -z my_zone 
zonecfg:my_zone> add fs 
zonecfg:my_zone:fs> set dir=/data_zone 
zonecfg:my_zone:fs> set special=/data_zone 
zonecfg:my_zone:fs> set raw=/dev/rdsk/c1t0d0s0 
zonecfg:my_zone:fs> set type=ufs 
zonecfg:my_zone:fs> end 
zonecfg:my_zone> verify 
zonecfg:my_zone> commit
# Add device kedalam Zone :
[email protected] # zonecfg -z my_zone
zonecfg:my_zone> add device
zonecfg:my_zone:device> set match=/dev/rdsk/c1t0d0s0 
zonecfg:my_zone:device> end 
zonecfg:my_zone> add device 
zonecfg:my_zone:device> set match=/dev/dsk/c1t0d0s0 
zonecfg:my_zone:device> end 
zonecfg:my_zone> verify 
zonecfg:my_zone> commit
Console kedalam zone:
[email protected]_zone # newfs /dev/rdsk/c1t0d0s0
[email protected]_zone # mount /dev/dsk/c1t0d0s0 /new_pool

Leave a Reply

Your email address will not be published. Required fields are marked *

1 × three =

Related Posts

Solaris

How to Find and Remove Old or Inactive Files

How to Find and Remove Old or Inactive Files Become an administrator. Find files that have not been accessed for a specified number of days and list them in a file. # find directory -type Read more…

Oracle

How to Collect a Snapshot on SPARC M series servers Mx000 and M10-x systems

Running snapshot The syntax varies slightly from the Mx000 to the M10-x .The M10 requires a “-a” option to collect logs from all chassis. The two most common usages are described below. The first example Read more…

Oracle

Verifying HBA card connectivity in Solaris

1. Use the “luxadm -e port” command to verify HBA has established communication with a node. # luxadm -e port /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected]/[email protected],0:devctl CONNECTED /devices/[email protected]/[email protected]/[email protected]/[email protected]/SUNW,[email protected],1/[email protected],0:devctl CONNECTED CONNECTED : HBA has established connection with either target or initiator. Read more…