* Bad thing?
@ 1995-10-31 5:00 Scott Lipcon
1995-11-01 5:00 ` Stephen Carrier
0 siblings, 1 reply; 8+ messages in thread
From: Scott Lipcon @ 1995-10-31 5:00 UTC (permalink / raw)
Hi... I am starting to sysadm a new DEC 2000 system running dUnix 3.2c.
It was set up by someone else, and I am new to sysadming, so I am not
entirely sure what to do... The problem is the the / filesystem is VERY
full, and I don't know what I can move elsewhere, or sym-link to other
volumes....
This is the df output, but its typed in from notes, since my modem is on
a different machine:
Filesystem 512-blocks used avail capacity mounted on
/dev/rz1a 126462 117816 0 104% /
Right now there are only the default users + 3 or 4 others, but in a
month or so, we are going to have to add several hundred to /etc/passwd,
and I don't think we can if it is that full... Some ideas I had were to
remove all the timezones in /etc/zoneinfo/ that we are not using.
Anything else I can do? If anyone can help, but needs more information
about the setup, please email me!
thanks a lot!
Scott
--
+-----------------------------------+ GCS/T d? H- g+(?) p3 !au a-- w+ v+(++)(*)
|Scott Lipcon [SLipcon@max.tiac.net]| C++(++++) UB P+ L>++ 3 N++ W--- M++ -po+
|http://www.tiac.net/users/slipcon/ | Y+ t--- 5-- j+ R- G'''' tv- b+ D+ B---
+-----------------------------------+ e-(*) v+ h! r* n- y?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bad thing?
1995-10-31 5:00 Bad thing? Scott Lipcon
@ 1995-11-01 5:00 ` Stephen Carrier
1995-11-02 5:00 ` Timothy M. Wieman
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Carrier @ 1995-11-01 5:00 UTC (permalink / raw)
Scott Lipcon (slipcon@tiac.net) wrote:
: Filesystem 512-blocks used avail capacity mounted on
: /dev/rz1a 126462 117816 0 104% /
maybe you have already checked /var/adm for large accounting files. If
system accounting is on, /var/adm/pacct grows by 40 bytes for every
process that terminates, which really adds up. If errors are logged at
too high a level of verbosity, without getting sufficiently 'rotated'
into oblivion, that will get you too.
Stephen
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bad thing?
1995-11-01 5:00 ` Stephen Carrier
@ 1995-11-02 5:00 ` Timothy M. Wieman
0 siblings, 0 replies; 8+ messages in thread
From: Timothy M. Wieman @ 1995-11-02 5:00 UTC (permalink / raw)
Stephen Carrier (carrier@chabot.ced.berkeley.edu) wrote:
: Scott Lipcon (slipcon@tiac.net) wrote:
: : Filesystem 512-blocks used avail capacity mounted on
: : /dev/rz1a 126462 117816 0 104% /
: maybe you have already checked /var/adm for large accounting files. If
: system accounting is on, /var/adm/pacct grows by 40 bytes for every
: process that terminates, which really adds up. If errors are logged at
: too high a level of verbosity, without getting sufficiently 'rotated'
: into oblivion, that will get you too.
: Stephen
And don't forget /var/adm/crash. That's where you get your REALLY LARGE
files.
Tim
--
------------------------------------------------------------------------
Timothy M. Wieman | Software Engineer
|
timw@hces.com | PACE Health Management Systems, Inc.
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <9510311701.AA02449@fremont.zso.dec.com>]
* Re: Bad thing?
[not found] <9510311701.AA02449@fremont.zso.dec.com>
@ 1995-10-31 5:00 ` Scott Lipcon
1995-11-01 5:00 ` PAUL D. CHAPIN
0 siblings, 1 reply; 8+ messages in thread
From: Scott Lipcon @ 1995-10-31 5:00 UTC (permalink / raw)
On Tue, 31 Oct 1995, Amy Lenox wrote:
> Hi Scott,
>
> Keeping in mind that all disclaimers apply...
>
> I'd suggest you make /tmp a softlink to some where else
> if it isn't already. /tmp is used to stash temporary files
> and by default is on the small root partition. E.g. Mosaic
/tmp is a link to /var/tmp, and there is TONS of free space on
that disk (400Mb I think!) so that isn't it.
>
> The other thing to check - unmount all the nfs mounted
> filesystems and check that nothing was left under the
> mount point. I've found some large (essentially hidden)
> files that way. Those were on poorly managed systems
>
We don't have any nfs mounted disks, so I dont think that can be
it, unless there can be files hidded under /usr or /var or /extra (an
extra disk) I'll check next time I'm in single user mode.
> One place where I wouldn't scrimp - don't move genvmunix
> out of the root partition. Do make your current vmunix
> as small as possible. E.g. the only extraneous stuff
> I leave in my vmunix is support for some disks to be added,
> is the default in the configuration file, this will
> cause problems later on if your users really use the
> system (check out any tuning manuals you have on hand).
>
genvmunix is only 5 or 6 Mb I think, and my vmunix is about 9. I
think that is pretty big, but I haven't had time to figure out how to
customize it (I am a beginner at this!) What is the maxusers? Is that
the max that can be logged on? This is going to be a small email system,
where most users will ONLY be using pine (it will be their login
shell...) I'd be very surprised if there will ever be more than 10 users
logged in...
> I'm sure you've checked for core files, what is in
> /opt, if any user accounts have base directories in
> unusual places, etc...
>
I made one account in /usr/users/ before I realized that if I did
that then my /usr partition would fill up too quickly (its at %80 now, I
think their is about 80 or 90Mb free) and started creating accounts in
/extra/home/, which is almost empty (2%). There are only 5 user accounts
right now, so that is not the problem.
> If you reboot the system and suddenly find that you
> have more space, consider that some program is opening
> a file and hasn't released the space even after the
> file is removed (or some variation on this which I
> don't recall fully has happened to some people, it is
> then a matter of finding what the offensive program
> is, etc).
>
Nope, I have rebooted the machine and it doens't make a
difference...
Thanks for the ideas, and any more would be appreciated!
+-----------------------------------+ GCS/T d? H- g+(?) p3 !au a-- w+ v+(++)(*)
|Scott Lipcon [SLipcon@max.tiac.net]| C++(++++) UB P+ L>++ 3 N++ W--- M++ -po+
|http://www.tiac.net/users/slipcon/ | Y+ t--- 5-- j+ R- G'''' tv- b+ D+ B---
+-----------------------------------+ e-(*) v+ h! r* n- y?
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Bad thing?
1995-10-31 5:00 ` Scott Lipcon
@ 1995-11-01 5:00 ` PAUL D. CHAPIN
1995-11-01 5:00 ` Scott Lipcon
0 siblings, 1 reply; 8+ messages in thread
From: PAUL D. CHAPIN @ 1995-11-01 5:00 UTC (permalink / raw)
Scott Lipcon (slipcon@max.tiac.net) wrote:
: On Tue, 31 Oct 1995, Amy Lenox wrote:
: > One place where I wouldn't scrimp - don't move genvmunix
: > out of the root partition. Do make your current vmunix
: > as small as possible.
And check whether you have a vmunix.old lying around. You may have
this if you've rebuilt your kernel at some point. This is nice to
keep in case your new kernel has a problem, but it takes up a lot of
space and you have the genvmunix to fall back on anyway.
: genvmunix is only 5 or 6 Mb I think, and my vmunix is about 9. I
: think that is pretty big, but I haven't had time to figure out how to
: customize it (I am a beginner at this!)
Go into the directory /usr/sys/conf. There should be a file with the
same name as your system that contains basic configuration
information. Check out the doc, chapter 5 of the "System
Administration" book that came with dUnix. There's various options
you probably don't need.
:genvmunix is only 5 or 6 Mb I think, and my vmunix is about 9. I
:think that is pretty big, but I haven't had time to figure out how to
:customize it (I am a beginner at this!)
Welcome to the wonderful world of Unix system admin where there are
three kinds of people, gurus, novices, and novices pretending to be
gurus. It's a little like the days of alchemy where if you wanted to
learn the cult secrets you had to sit at the foot of a master and wait
for him to impart wisdom. (If I sound bitter it's because I became a
sysadmin at a site with no guru which meant learning as I went. This
is a little like OJT as an astronaut).
: What is the maxusers? Is that
: the max that can be logged on?
No. It's a table size and not very important. Reducing it might save
you some space, but not enough to write home about.
: I made one account in /usr/users/ before I realized that if I did
: that then my /usr partition would fill up too quickly (its at %80 now, I
: think their is about 80 or 90Mb free) and started creating accounts in
: /extra/home/, which is almost empty (2%). There are only 5 user accounts
: right now, so that is not the problem.
Sounds like you just need some bigger disks. Or some more disks.
Depending on how your filesystems are set up now, there is probably
something you can move to another partition and just mount in /.
--
Paul Chapin
Unix Systems Manager
Amherst College
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bad thing?
1995-11-01 5:00 ` PAUL D. CHAPIN
@ 1995-11-01 5:00 ` Scott Lipcon
1995-11-02 5:00 ` PAUL D. CHAPIN
0 siblings, 1 reply; 8+ messages in thread
From: Scott Lipcon @ 1995-11-01 5:00 UTC (permalink / raw)
In article <47843l$qjt@amhux3.amherst.edu>,
PAUL D. CHAPIN <pdchapin@unix.amherst.edu> wrote:
>
>And check whether you have a vmunix.old lying around. You may have
>this if you've rebuilt your kernel at some point. This is nice to
>keep in case your new kernel has a problem, but it takes up a lot of
>space and you have the genvmunix to fall back on anyway.
>
no, I dont have a vmunix.old...
>
>Go into the directory /usr/sys/conf. There should be a file with the
>same name as your system that contains basic configuration
>information. Check out the doc, chapter 5 of the "System
>Administration" book that came with dUnix. There's various options
>you probably don't need.
>
probably... I have a question and a problem relating to that
though... in /usr/sys/conf/ there is a file called JENSEN01, which *was*
the name of the system when the kernel was built. I didn't set the
system up, so one of the first things I did when I got it was to change
the name to "thira".... Should I copy JENSEN01 to THIRA, or move it, or
does it not matter?
THe problem... this system was donated by Digital, and it managed
NOT to come with ANY documentation! I have contacted them about it, and
I am hoping they will send me some SOON! It also didn't come with a
bootable install CD, so if something goes wrong, I am in trouble! I
suppose there is no way to make an emergency boot floppy?
>
>Welcome to the wonderful world of Unix system admin where there are
>three kinds of people, gurus, novices, and novices pretending to be
>gurus. It's a little like the days of alchemy where if you wanted to
>learn the cult secrets you had to sit at the foot of a master and wait
?1;2c>for him to impart wisdom. (If I sound bitter it's because I became a
>sysadmin at a site with no guru which meant learning as I went. This
>is a little like OJT as an astronaut).
>
i am definitely an admin novice, although I am a pretty good unix
User... The site that I am running this for is a high school, so there
are no guru's their either! (I think one kid mmight run linux...)
>
>Sounds like you just need some bigger disks. Or some more disks.
>Depending on how your filesystems are set up now, there is probably
>something you can move to another partition and just mount in /.
>
I dont think I can move anything else...
Here is the 'df' output:
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/rz1a 126462 117828 0 104% /
/proc 0 0 0 100% /proc
/dev/rz1g 792124 570908 142002 80% /usr
/dev/rz1h 810952 22860 706996 3% /var
/dev/rz0c 1010602 21512 888028 2% /extra
and a 'ls -l' in /:
-rwxr----- 1 root system 3866 Jul 25 02:22 #.mrg..DXsession*
-rwxr----- 1 root system 2231 Oct 19 10:52 DXsession*
-rw-r--r-- 1 root system 5700 Oct 26 08:49 DXterm
lrwxr-xr-x 1 root system 7 Oct 16 21:53 bin@ -> usr/bin/
drwxr-xr-x 2 root system 512 Oct 26 19:36 cdrom/
drwxr-xr-x 6 root system 3072 Nov 1 17:15 dev/
drwxr-xr-x 11 root system 4096 Nov 1 17:21 etc/
drwxr-xr-x 4 root system 512 Oct 29 15:01 extra/
-rwxr-xr-x 1 root system 7535240 Jul 25 01:56 genvmunix*
lrwxrwxrwx 1 root system 11 Oct 30 22:30 home@ -> /extra/home/
lrwxr-xr-x 1 root system 7 Oct 16 21:53 lib@ -> usr/lib/
drwxr-xr-x 2 root system 1024 Oct 16 21:59 mdec/
drwxr-xr-x 2 root system 512 Jul 25 08:17 mnt/
drwxr-xr-x 2 root system 512 Oct 16 21:57 opt/
-rwxr-xr-x 1 root system 27440 Jul 24 21:56 osf_boot*
dr-xr-xr-x 2 root system 16416 Nov 1 17:55 proc/
-rwxr----- 1 root system 1549 Jul 25 02:22 real.profile*
drwxr-xr-x 10 root system 2560 Oct 17 05:56 sbin/
drwxr-xr-x 2 root system 512 Oct 16 21:54 subsys/
lrwxr-xr-x 1 root system 7 Oct 16 22:01 sys@ -> usr/sys/
drwxr-xr-x 5 root system 512 Oct 16 22:50 tcb/
lrwxrwxrwx 1 root system 8 Oct 20 15:03 tmp@ -> /var/tmp/
drwxr-xr-x 19 root system 512 Oct 29 10:24 usr/
drwxr-xr-x 20 root system 512 Oct 16 22:51 var/
-rwxr-xr-x 1 root system 9131736 Oct 24 14:49 vmunix*
If you see anything deathly wrong, tell me!
Thanks a lot!
Scott
--
+-----------------------------------+ GCS/T d? H- g+(?) p3 !au a-- w+ v+(++)(*)
|Scott Lipcon [SLipcon@max.tiac.net]| C++(++++) UB P+ L>++ 3 N++ W--- M++ -po+
|http://www.tiac.net/users/slipcon/ | Y+ t--- 5-- j+ R- G'''' tv- b+ D+ B---
+-----------------------------------+ e-(*) v+ h! r* n- y?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bad thing?
1995-11-01 5:00 ` Scott Lipcon
@ 1995-11-02 5:00 ` PAUL D. CHAPIN
1995-11-02 5:00 ` Scott Lipcon
0 siblings, 1 reply; 8+ messages in thread
From: PAUL D. CHAPIN @ 1995-11-02 5:00 UTC (permalink / raw)
Scott Lipcon (slipcon@tiac.net) wrote:
: probably... I have a question and a problem relating to that
: though... in /usr/sys/conf/ there is a file called JENSEN01, which *was*
: the name of the system when the kernel was built. I didn't set the
: system up, so one of the first things I did when I got it was to change
: the name to "thira".... Should I copy JENSEN01 to THIRA, or move it, or
: does it not matter?
At this point it probably wouldn't make any different. When you built
the kernel you have two basic choices. One lets it create a new
configuration file, which will have the name of your system. This is
good when you add hardware and the like since it should get everything
set correctly. The second involves you're telling it what
configuration file to use, in which case you should be able to use
whatever name you want. This is nice if you're just adding an option
or two. Particularly if you've modified the conf file in the past,
you don't want to lose those changes by rebuilting the kernel from
scratch.
: THe problem... this system was donated by Digital, and it managed
: NOT to come with ANY documentation!
As they use to say when I was in the army, you're in deep kimchi.
Didn't you say you had the online doc? I don't like online doc, but
most of the info is there.
: Here is the 'df' output:
: Filesystem 512-blocks Used Avail Capacity Mounted on
: /dev/rz1a 126462 117828 0 104% /
: /proc 0 0 0 100% /proc
: /dev/rz1g 792124 570908 142002 80% /usr
: /dev/rz1h 810952 22860 706996 3% /var
: /dev/rz0c 1010602 21512 888028 2% /extra
I've seen PCs with more disk space.
You might want to do a "du / | sort -nr -2 | more" to get a sorted
list, high to low, of where you disk space is going. This could take
awhile. It will give you results both at the level of directories and
files. Look for large accounting files and/or directories that could
be moved the /extra and linked to from the current location.
Something below your top level is eating up the space in the / partition.
--
Paul Chapin
Unix Systems Manager
Amherst College
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Bad thing?
1995-11-02 5:00 ` PAUL D. CHAPIN
@ 1995-11-02 5:00 ` Scott Lipcon
0 siblings, 0 replies; 8+ messages in thread
From: Scott Lipcon @ 1995-11-02 5:00 UTC (permalink / raw)
Its fixed! With help from a few people, I found out that the guy who set
up the system for us accidentally created a 17Mb backup file in dev,
called rmt1h (the tape drive is at rmt0h) which filled up the system FAST!
Thanks a lot for everyone's help,
Scott
--
+-----------------------------------+ GCS/T d? H- g+(?) p3 !au a-- w+ v+(++)(*)
|Scott Lipcon [SLipcon@max.tiac.net]| C++(++++) UB P+ L>++ 3 N++ W--- M++ -po+
|http://www.tiac.net/users/slipcon/ | Y+ t--- 5-- j+ R- G'''' tv- b+ D+ B---
+-----------------------------------+ e-(*) v+ h! r* n- y?
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1995-11-02 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-31 5:00 Bad thing? Scott Lipcon
1995-11-01 5:00 ` Stephen Carrier
1995-11-02 5:00 ` Timothy M. Wieman
[not found] <9510311701.AA02449@fremont.zso.dec.com>
1995-10-31 5:00 ` Scott Lipcon
1995-11-01 5:00 ` PAUL D. CHAPIN
1995-11-01 5:00 ` Scott Lipcon
1995-11-02 5:00 ` PAUL D. CHAPIN
1995-11-02 5:00 ` Scott Lipcon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox