Re: /kernel write failed system full

2002-07-23 Thread Brian T. Schellenberger

On Tuesday 23 July 2002 01:13 am, Steve Wingate wrote:
| On Mon, 2002-07-22 at 21:35, Mark B wrote:
| > OK I know I did something wrong, but with little chance to correct the
| > system, with error messages spewing out at a blinding rate, I hit the
| > reset button then fsck the disks on boot, then edit the fstab to block
| > off all but the basic fs needed to run. I see first error was a /kernel
| > msg complaining about netscape-linux write error, over 400,000 of
| > repetes, then everything got worse, is there a way to span the system
| > over 2 ide disks,

Of course.  If it's brand-new you might want to just re-install; you can set 
it up like that at install time.  But if you don't way to do that, just use 
"ln -s" to move things to where you have more space on the other drive.

For example, you might want to move /usr over there . . . just use fdisk to 
divide up the other drive and the use newfs to make a file system and them 
move some of your big stuff over there.  For example, you might want to "mv" 
/usr/local over there and then ln -s /overthere/usr/local /usr/local.

|  I have a 3gig drive and a 25 gig drive. I think my main
| > problem was running netscape as root. 8-(
|
| You must IMMEDIATELY cure yourself of the desire to run X11 as root for
| any reason. You can achieve everything you need to do under a regular
| user account by making good use of 'su' and the 'sudo' ports.

I recommend the "op" port over the "sudo" port.  More flexibility and control,
and easier to use.



-- 
Brian, the man from Babble-On . . . .   [EMAIL PROTECTED] (personal)
http://www.babbleon.org

http://www.eff.org  http://www.programming-freedom.org 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: /kernel write failed system full

2002-07-22 Thread Steve Wingate

On Mon, 2002-07-22 at 21:35, Mark B wrote:
> OK I know I did something wrong, but with little chance to correct the system, with 
>error messages spewing out at a blinding rate, I hit the reset button then fsck the 
>disks on boot, then edit the fstab to block off all but the basic fs needed to run. I 
>see first error was a /kernel msg complaining about netscape-linux write error, over 
>400,000 of repetes, then everything got worse, is there a way to span the system over 
>2 ide disks, I have a 3gig drive and a 25 gig drive. 
> I think my main problem was running netscape as root. 8-(
>
You must IMMEDIATELY cure yourself of the desire to run X11 as root for
any reason. You can achieve everything you need to do under a regular
user account by making good use of 'su' and the 'sudo' ports. 
If you don't use X11 as root a 40MB / partition should be enough,
although in these days of large cheap IDE disks you may as well make it
100MB or so.
Here is my setup with two nfs mounts at the end:

daemon:steve {151} dh
FilesystemSize   Used  Avail Capacity  Mounted on
/dev/da0s2a74M41M27M60%/
/dev/da0s2f   3.4G   2.6G   575M82%/usr
/dev/da0s2e98M31M60M34%/var
procfs4.0K   4.0K 0B   100%/proc
/dev/da1s2e   443M   310M98M76%/usr/src
/dev/da1s2f   584M   379M   158M71%/usr/obj
mail:/home 21G   8.5G11G44%/export/home
mail:/media28G24G   2.1G92%/media


Yes, you can span the system over two disks. If you look close you'll
see I've done so. I can't tell you how to partition your disks because
you haven't said how the box is used. For a workstation with a 3gig
drive and a 25 gig drive (assuming the larger drive is newer) here's a
stab in the dark.

/   200MB   on 3GB
/usr5GB on 25GB
swap2x your RAM with half the swap on each disk
/var300MB   on 3GB  (more if you run an mbox-type mailserver
/tmp300MB   on 3GB  
/home   the rest of the 25GB

That leaves alot of unused space on the 3GB, no strong opinion from me
on that. 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/kernel write failed system full

2002-07-22 Thread Mark B

OK I know I did something wrong, but with little chance to correct the system, with 
error messages spewing out at a blinding rate, I hit the reset button then fsck the 
disks on boot, then edit the fstab to block off all but the basic fs needed to run. I 
see first error was a /kernel msg complaining about netscape-linux write error, over 
400,000 of repetes, then everything got worse, is there a way to span the system over 
2 ide disks, I have a 3gig drive and a 25 gig drive. 
I think my main problem was running netscape as root. 8-(

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



/kernel write failed system full

2002-07-22 Thread Mark B

OK I know I did something wrong, but with little chance to correct the system, with 
error messages spewing out at a blinding rate, I hit the reset button then fsck the 
disks on boot, then edit the fstab to block off all but the basic fs needed to run. I 
see first error was a /kernel msg complaining about netscape-linux write error, over 
400,000 of repetes, then everything got worse, is there a way to span the system over 
2 ide disks, I have a 3gig drive and a 25 gig drive. 
I think my main problem was running netscape as root. 8-(

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message