# Mounting LOFS

root@nsx01 # newfs /dev/rdsk/c1t0d0s0
root@nsx01 # mount /dev/dsk/c1t0d0s0 /data_zone
root@nsx01 # 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

root@nsx01 # newfs /dev/rdsk/c1t0d0s0
root@nsx01 # 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 :

root@nsx01 # 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;
root@my_zone # newfs /dev/rdsk/c1t0d0s0
root@my_zone # mount /dev/dsk/c1t0d0s0 /new_pool


0 Comments

Leave a Reply

Avatar placeholder

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

4 − 2 =