

Topic 3 of 32: BSDI Unix
Sun, Feb 9, 1997 (21:21) |
Paul Terry Walhus (terry)
The spring runs mostly on bsdi unix boxes. Although we're phasing in some
Microsoft NT servers.
15 responses total.
Topic 3 of 32 [unix]: BSDI Unix
Response 1 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (10:32) * 51 lines
respond 3
Ted, we're continuing our discussion we started in linux here
Look what happened when I tried your commands. And look at how much space
there is now and compar it to the space that there was on here a couple of
days ago which I documented in the linux topic. I probably outht to move
that linux top cstuff here in the next post.
barton:~ su
Password:
barton# rm -f /home/var
rm: /home/var: is a directory
barton# rmdir -f /home/var
rmdir: illegal option -- f
usage: rmdir directory ...
barton# rmdir /home/var
barton# mv /var /home/
ln -s /home/var /var
mv: /var/run/printer: Operation not supported
mv: /var: Device busy
barton# barton#
barton# rm -f /home/var
rm: /home/var: is a directory
barton# cd /home
barton# ls
ab5ks charles home1 mirna submit
alice child internic moira tcarlin
allan cidneye janc mouse tedchong
ally crosby jdaniel nike teklay
amy davros ka6atn paul terry
awork deanna kaffeine pcmattic tmp
baygolf des ldarj pelles tvpc
beverly dutchman main richard var
bhg geoff manual rus wave
bob gfriz matt scotth wes
bubbi golftravel max scottk www
candace great mhessel spif zen
cchang greg michaelt stacey
barton# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 9727 5459 3781 59% /
/dev/sd0f 705727 134991 535449 20% /home
/dev/sd0h 198335 177773 10645 94% /usr
/dev/sd0g 63535 49486 10872 82% /var
barton#
Now 82% is ok,, but threre's just so much more available on home.
Topic 3 of 32 [unix]: BSDI Unix
Response 2 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (11:11) * 106 lines
Topic 2 of 11: 'Linux'
Response 8 of 15: Paul Terry Walhus (terry) Sat, May 31, 1997 (11:48) 7
lines
barton:~ df we're real short on hard disk space right
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 9727 5459 3781 59% /
/dev/sd0f 705727 78737 591703 12% /home
/dev/sd0h 198335 177773 10645 94% /usr
/dev/sd0g 63535 57297 3061 95% /var
barton:~
Topic 2 of 11: 'Linux'
Response 9 of 15: Ted Chong (tedchong) Sun, Jun 1, 1997 (09:42) 4 lines
Terry, which directory is short of space on barton? /home is
only 12% used, still have about 600MB left :-)
Topic 2 of 11: 'Linux'
Response 10 of 15: Paul Terry Walhus (terry) Mon, Jun 2, 1997 (08:20) 11
lines
/var and /usr are both real full.
I need to add to /var because that's where a bunch of mail
keeps overflowing and filling up the hard drive. I could use
a lot more room there.
I'm thinking about plugging in a 3 gb Quantum and setting it
up as the second drive on www. Any tips on upgrading that
system (step by step procedure). I guess the first would be
to plug it in and run BSDI's disk formatting program. Then
link it to /var as a filesystem.
Topic 2 of 11: 'Linux'
Response 11 of 15: Ted Chong (tedchong) Mon, Jun 2, 1997 (09:15) 9 lines
For short run you can link /var to /home since /home has
600MB of space. To do this, just run run on shell:
mkdir /home/var ; ln -s /home/var /var
make sure /var is not there in the first place.
Topic 2 of 11: 'Linux'
Response 12 of 15: terry (terry) Mon, Jun 2, 1997 (11:22) 1 lines
cheech
Topic 2 of 11: 'Linux'
Response 13 of 15: Paul Terry Walhus (terry) Mon, Jun 2, 1997 (11:27) 13
lines
I did this:
barton# mkdir /home/var ; ln -s /home/var /var
barton# df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 9727 5459 3781 59% /
/dev/sd0f 705727 77061 593379 11% /home
/dev/sd0h 198335 177773 10645 94% /usr
/dev/sd0g 63535 57773 2585 96% /var
barton#
Do I need to reboot for it to take effect now?
Topic 2 of 11: 'Linux'
Response 14 of 15: Ted Chong (tedchong) Mon, Jun 2, 1997 (19:33) 20
lines
Re: /var on barton
Terry, I just did an 'du' on /var at barton and found below
directories has eaten the most space:
17818 ./www
60920 ./account
22142 ./log
8218 ./webdocs
You don't have to reboot barton. What I found you have not link
/var to /home/var, to to this, see below step-by-step:
1. rm -f /home/var
2. mv /var /home/
3. ln -s /home/var /var
This will make a link from /var to /home/var
Topic 2 of 11: 'Linux'
Response 15 of 15: Paul Terry Walhus (terry) Tue, Jun 3, 1997 (09:20) 5
lines
OK I'll try that now. Check and see if this works ok?
Topic 3 of 32 [unix]: BSDI Unix
Response 3 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (11:25) * 5 lines
The problem I'm having now, Ted, is that when I open elm to read my mail
it shows that I have no mail because it's still looking for /var/mail and
my mail is now in /home/mail or /home/mail/var or something. How do we
fix this?
Topic 3 of 32 [unix]: BSDI Unix
Response 4 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (13:33) * 23 lines
barton:/var su
Password:
barton# cd /
barton# mv var vartemp
mv: var: Device busy
I tried this because you said to:
su
cd /
mv var vartemp
ln -s /home/var /var
And after this, doing an ls -l / to see
/var -> /home/var
Why Device busy???
Should I try again?
Topic 3 of 32 [unix]: BSDI Unix
Response 5 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (13:48) * 2 lines
As it stands now, I go to elm and see no mail because it's over in the new
directory.
Topic 3 of 32 [unix]: BSDI Unix
Response 6 of 15: Paul Terry Walhus (terry) * Tue, Jun 3, 1997 (14:08) * 7 lines
Now it says:
barton# mv var vartemp
mv: rename var to vartemp/var: Not a directory
barton#
What next Ted?
Topic 3 of 32 [unix]: BSDI Unix
Response 7 of 15: Ted Chong (tedchong) * Sat, Jun 7, 1997 (09:26) * 3 lines
All solved already, should be able to get email from barton
Topic 3 of 32 [unix]: BSDI Unix
Response 8 of 15: Paul Terry Walhus (terry) * Sat, Jun 7, 1997 (11:51) * 1 lines
Cool deal, Ted to the rescue again. Thank you for helping the Spring!
Topic 3 of 32 [unix]: BSDI Unix
Response 9 of 15: Ted Chong (tedchong) * Mon, Jun 9, 1997 (08:50) * 4 lines
Now back to BSDI unix, how can one disable ICMP packets?
What I mean is disable someone from the Internet ping your host....
Topic 3 of 32 [unix]: BSDI Unix
Response 10 of 15: Paul Terry Walhus (terry) * Mon, Jun 9, 1997 (12:55) * 8 lines
We had a ping atttack once and we tracked down the ping bomber and had his
account terminsated. It was senseless . Why pick on little Spring?
Some firewalls and deal with ping attacks. And you might search omse the
the Interneet security websites. There may be something about his in our
security topic.
These are also calle Denial of Service attacks.
Topic 3 of 32 [unix]: BSDI Unix
Response 11 of 15: Ted Chong (tedchong) * Mon, Jun 9, 1997 (19:17) * 5 lines
Ping attacks happen everywhere, they don't spare small host. I
have looked into my router's manual and found something like
"Disable ICMP redirects" and may be it gave me some clue...
Topic 3 of 32 [unix]: BSDI Unix
Response 12 of 15: Paul Terry Walhus (terry) * Tue, Jun 10, 1997 (10:28) * 18 lines
Wow. What a change:
barton:~ df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 9727 5482 3758 59% /
/dev/sd0f 705727 138039 532401 21% /home
/dev/sd0h 198335 177863 10555 94% /usr
/dev/sd0g 63535 1 60357 0% /var
Now, Ted, will you please tell us exactly how to do this step by step
so we can learn from this?
Good job, Ted!
Now, do you know how to restart our realaudio server which has stopped.
I know, but I left my notes at home today.
We run realaudio for our http://www.childrenstory.com website.
Topic 3 of 32 [unix]: BSDI Unix
Response 13 of 15: Ted Chong (tedchong) * Wed, Jun 11, 1997 (10:15) * 16 lines
Re: df and ln
It's a simple task, I went to /var (at barton), became root,
then move all files and directories to /home/var by using
"mv /var /home", then make symbolic links by using the ln
command to each directory in /home/var, for example:
ln /home/var/spool /var/spool will link /var/spool to
/home/var/spool. The actual way is to make /var point
to /home/var but due to some files used by the system
it can't be done without a reboot.
more info at "man ln"
For readAudio, let me take a look tomorrow (it's 12am now in
Singapore).
Topic 3 of 32 [unix]: BSDI Unix
Response 14 of 15: Paul Terry Walhus (terry) * Wed, Jun 11, 1997 (11:19) * 2 lines
The Realaudio thing is a hot issue. Email ces@well.com and
ask him how to restart it.
Topic 3 of 32 [unix]: BSDI Unix
Response 15 of 15: Paul Terry Walhus (terry) * Wed, Jun 18, 1997 (23:54) * 1 lines
Dave Thaler set up a "most recent postings" are today and I'm testing it.
Take a look at the "main menu" and you should see this post, or you will if
it's still recent.


unix conference
Main Menu