home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m88k
- Path: sparky!uunet!gatech!hubcap!mmgall
- From: mmgall@hubcap.clemson.edu (Morris Galloway Jr.)
- Subject: Re: Making /var a separate partition
- Message-ID: <1993Jan25.235718.22508@hubcap.clemson.edu>
- Keywords: DG Data General AViiON
- Organization: Clemson University
- References: <1k088uINNft6@apache.dtcc.edu>
- Date: Mon, 25 Jan 1993 23:57:18 GMT
- Lines: 46
-
-
- weave@apache.dtcc.edu (Ken Weaverling) writes:
-
- >I have a Data General AViiON 4120. The default disk paritioning only
- >gave me / and /usr with /var being in root of course. I have constant
- >problems with mail, print spools, and other things filling up root.
-
- >Is there any problems with making /var a separate parition? I checked
- >the rc3.d scripts and the only conflict I can see if stat in
- >S113.update, which runs before S114.localfs is that S113 cleans up
- >lock files and stuff in /var/mail and /var/spool/uucp. (Come to think
- >of it, isn't /usr not mounted at that point either?)
-
- >I feel pretty safe in doing this, but I am the paranoid type too.
-
- >Thanks for any hints and pointers!
-
- >--
-
- We just did that, the wrong way, and spent some time with DG tech support
- on the phone, getting it straightened out.
-
- Yes, it can be done.
-
- Basic idea
-
- Get to init 1, make sure print spooler, uucp, etc are not started.
- Create a partition, say /dev/dsk/var2
- Mount it somewhere and use tar to copy /var into it
- Get to init s, rename /var to /var.old
- Create a /var directory
- Mount /dev/dsk/var2 onto /var
- Edit /etc/fstab to reflect the new mount point.
-
- The trouble with using sysadm, it that its log is being written into
- /var.
-
- Check this out with your experts. I AM NOT A UNIX WIZARD!
-
- Good luck!
-
-
-
- Morris Galloway Jr. mmgall@presby.edu +1-803-833-8217
- Dean, Administrative Services
- Presbyterian College Clinton, SC 29325 USA
-