Hi!
Only got 3 responses, but managed to find my own solution,
which was very simple. I created a disk called /var/adm
mounted it in /etc/vfstab, copied the "old" /var/adm
stuff over with: cd /var/adm
tar cvfp - * | (cd new_var_adm; tar xvfp -)
Then I rebooted and I was on the air.
The main problem I had is that /var/adm CANNOT be
a link.
Thanks for help.
Roy
THE ORIGINAL MESSAGE
---------------------------------------------------
Hi!
I am trying to set up accounting on a Sun server 450
with Solaris 2.7.
This system wiull put everything (or most) under
/var/adm and /var/adm/acct
How can I change this location so that all accounting
files and logs are located in another place (another
disk)?
I would like to try an avoid having to relink every
file.
I have tried to relink /var/adm to another disk but
then the system compaints about not being able to write
to utmpx etc etc. Do you have any advice here?
Is there any problems with moving the accounting
files/dirs to another location?
Sincere
Roy
---------------------------------------------------
-- --------------------------------------------------- Roy E.Ramberg Telefon : +47 22856639 IT-Ansvarlig Telefax : +47 22854215 Institutt for Geologi E-Post : royr@geologi.uio.no Postboks 1047 Blindern N-0316 OSLO ---------------------------------------------------S U BEFORE POSTING please READ the FAQ located at N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq . and the list POLICY statement located at M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy A To submit questions/summaries to this list send your email message to: N sun-managers@sunmanagers.ececs.uc.edu A To unsubscribe from this list please send an email message to: G majordomo@sunmanagers.ececs.uc.edu E and in the BODY type: R unsubscribe sun-managers S Or . unsubscribe sun-managers original@subscription.address L To view an archive of this list please visit: I http://www.latech.edu/sunman.html S T
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:19 CDT