[HPADM] Summary: Moving /var/adm/sw

From: Justin Willoughby (jwilloug@mhc.net)
Date: Wed Oct 13 2004 - 13:26:54 EDT


Thanks to all who replied. As I expected it's safe and there is no
reason why I should not/cannot move the /var/adm/sw to a different LV.

Here is what Bill Hassell had to say which is pretty much what everyone
else said as well:

/var/adm/sw is indeed critical but it can be on any lvol on any volume
group.
It is definitely recommended to move it away from /var. No symlink is
needed
though. Just mount the new lvol, move the files to the new lvol leaving

/var/adm/sw an empty directory, then edit fstab to point the new lvol
to
the mountpoint /var/adm/sw, umount the new lvol, re-mount the new lvol
to
/var/adm/sw and you're done. The sw directory is only used by
swinstall
and related programs. Just to make sure all is well, stop and restart
swagent.

Thanks again all,

- Justin

==================
 Justin Willoughby
 Computer Operations
==================

>>> "Justin Willoughby" <jwilloug@mhc.net> 10/11/2004 2:37:20 PM >>>

I am trying to clean up my /var filesystem. I can't expand it on-line
so I am looking for other options. I have already used the cleanup
command. I found one post on the HP ITRC as follows:

1. moving (copy and delete) /var/adm/sw to a larger
filesystem/directory (say, "/larg/var_adm_sw ") and create a link to
it
ln -s /larg/var_adm_sw /var/adm/sw

Is this safe? Or could I mess up SD on my box by doing this?

- Justin

==================
 Justin Willoughby
 Computer Operations
==================

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl 
       Name: hpux-admin@dutchworks.nl     Owner:
owner-hpux-admin@dutchworks.nl 
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP,
browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse &
search)
--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:43 EDT