How to move var and usr of /root

2007-12-24 21:55:00

Dear Sir,

I have a Sun Ultra Sparc 10 with Solaris 8 installed and 2 disk.

My Issue is one of the usr installed the OS on disk0 with 2 partition
disk0
/ 1.6GB c0t0d0s1
/export/home 7.0GB c0t0d0s7

disk1
/oracle 8.0 GB

Now I repartioned s7 of disk 0 and made s3 and s4 for mount on /var1 and
/usr1 since / was full 76% and wanted to move /var and /usr to s3 and s4 of
disk 0
This are the steps I have taken :
1) init 1
2) format : parttion : : updated /etc/vfstab
3) mount of /usr1 on s3 and /var1 on s4 of disk0
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

But the system comes up and fuction as normal

Can some one please help as what went wrong in this process ? I would like
to get rid of this messages.

F.Y.I
If I put this back to where it was then it had no problem and no error's.
I checked my vfstab and I call's /usr and /var only once.

Any help is appreciated.

Thank you

Rakesh Shah
srakesh28 at hotmail.com

_________________________________________________________________
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com

Comments

Got something to say?

You must be logged in to post a comment.