Moving /usr and /var of off /root

From: ANIDIL RAJENDRAN (silja@worldnet.att.net)
Date: Sat May 18 2002 - 20:34:18 EDT


Dear Managers,

Sorry to ask this basic question

I have a an ultra 10 with Solaris 8 installed
The current disk partition is as follows
/ 2GB c0t0d0s1
/export/home 6.5.0GB c0t0d0s7

I now want to move /var and /usr of off /root

I repartioned s7 and made s3 and s4 to mount on /var1 and
/usr1
I did the following steps :
1) init 1
2) format : parttion : : updated /etc/vfstab
3) mount of /usr1 on s3 and /var1 on s4
4) cd /var and find . -print | cpio -uvdf /var1
   cd /usr and find . -print | cpio -uvdf /usr1

5) Now boot with cdrom : boot cddrom -s

6) mount / to /mnt
7) and mv usr usr.old and mv var to var.old
8) mv usr1 to usr and mv var1 to var
9) edit /etc/vfstab to mount on new slices each.

now reboot in multiuser mode :

This is where I see some errors:

I mount's s0/s3/s4/s7 and then it says
/usr already mounted
can't mount /usr busy or exceed's the avaible mount point.

/var already mounted
can't mount /var busy or exceed's the available mount point

What am I doing wrong? or I there any better method?

Any help to fix this problem would be greatly appreciated
Thanks in advance.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:21 EDT