Hallo,
I want to remove the LSM, installed for mirroring the user
home directory partition, urgently since the user does not
have enough disk space. The present configuration is
root:/>voldisk list
DEVICE TYPE DISK GROUP STATUS
rz0 sliced rz0 rootdg online
rz1 sliced rz1 rootdg online
rz16 sliced rz16 rootdg online
rz17 sliced rz17 rootdg online
root:/>volprint
TYPE NAME ASSOC KSTATE LENGTH COMMENT
dg rootdg rootdg - -
dm rz0 rz0 - 35564040
dm rz1 rz1 - 35564040
dm rz16 rz16 - 35564040
dm rz17 rz17 - 35564040
sd rz0-01 pl-01 - 35560000
sd rz1-01 pl-01 - 35560000
sd rz16-01 pl-02 - 35560000
sd rz17-01 pl-02 - 35560000
plex pl-01 vol01 ENABLED 71120000
/etc/fdmns link:
/etc/fdmns/data_domain:
total 0
lrwxr-xr-x 1 root system 21 Sep 17 1999 rootdg.vol01 ->
/dev/vol/1
The file system is mounted as /home(/etc/fstab entry)
------------------------------------------------------
data_domain#data /home advfs rw 1 0
Can I do the following to remove the LSM to make the disks free:
1. vdump -0uf /dev/nrmt0h /home (The OS is V4.0F)
2. voldisk rm rz0 rz1 rz16 rz17
3. voledit -g rootdg -rf rm vol01 (/dev/vol/ contains rootdg and vol01)
4. rm /etc/vol/volboot
5. disklabel -wr rz0
6. disklabel -wr rz1
7. disklabel rz16
8. disklabel -wr rz17
Then create a volume with AdvFS and mount the volume under /home
and then vrestore from tape. Whether I get any problems if I do this?
Each disks are 17GB. Am I missing anything?
Thanks for your help.
regards,
Kumar
Received on Tue Jul 17 2001 - 16:10:05 NZST