boot problems with /var

From: Aravind Vinnakota (aravind@csee.wvu.edu)
Date: Mon Apr 21 2003 - 20:13:44 EDT


Hi all,
  I have a solaris 2.6 Ultra Enterprise 2 box with a couple of internal
disks and an external disk set. As /var keeps growing, I decided to make
use of the external disks. I raided and created file system and mounted
the meta device on /space. Now I created a directory called var on
/space and copied all the contents of /var onto /space/var in single
user mode. Renamed /var to /var.old and made a soft link from /space/var
to var on /. But for some reason when I reboot the machine after these
changes I get the following error:

INIT: Cannot create /var/adm/utmp or
/var/adm/utmpx INIT: failed write of utmpx entry:" " INIT: failed write of utmpx entry:" " INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup,
(or give root password for system maintenance):

I double checked to make sure that /space has rw permissions, I used the
-p option to copy with permissions but still I am unable to understand
why the system is unable to access the var link on /. Any idea where I
am making a mistake? Any suggestions? I will summarize the solution. I
am able to boot once I revert back to the inital settings without any
fsck problems.

thanks,
Aravind
_______________________________________________
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:26:13 EDT