# Mounting LOFS
root@nsx01 #
root@nsx01 #
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
root@nsx01 #
newfs /dev/rdsk/c
1
t
0
d
0
s
0
root@nsx01 #
mount /dev/dsk/c
1
t
0
d
0
s
0
/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 #
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=
zonecfg:my_zone:fs> set type=ufs
zonecfg:my_zone:fs> end
zonecfg:my_zone> verify
zonecfg:my_zone> commit
root@nsx01 #
newfs /dev/rdsk/c
1
t
0
d
0
s
0
root@nsx01 # zonecfg -z my_zonezonecfg: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/c
1
t
0
d
0
s
0
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=
zonecfg:my_zone:device> end
zonecfg:my_zone> add device
zonecfg:my_zone:device> set match=
zonecfg:my_zone:device> end
zonecfg:my_zone> verify
zonecfg:my_zone> commit
Console kedalam zone;
root@my_zone # newfs /dev/rdsk/
root@nsx01 # zonecfg -z my_zone
zonecfg:my_zone> add device
zonecfg:my_zone:device> set match=
/dev/rdsk/c
1
t
0
d
0
s
0
zonecfg:my_zone:device> end
zonecfg:my_zone> add device
zonecfg:my_zone:device> set match=
/dev/dsk/c
1
t
0
d
0
s
0
zonecfg:my_zone:device> end
zonecfg:my_zone> verify
zonecfg:my_zone> commit
Console kedalam zone;
root@my_zone # newfs /dev/rdsk/
c
1
t
0
d
0
s
0
root@my_zone # mount /dev/dsk/c
1
t
0
d
0
s
0 /new_pool
0 comments:
Post a Comment