RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-14 Thread David Radovanovic
Thanks to Jan and Giorgos. Your suggestions were very helpful. 

David Radovanovic
WhatsTheBigIdea.com, Inc.
-- Bright ideas for the Web!
249 Partition Street
Saugerties, New York 12477 
(845) 247-0909, FAX: (845) 246-3880
http://www.WhatsTheBigIdea.com


[-Original Message-
[From: Jan Grant [mailto:[EMAIL PROTECTED]]
[Sent: Thursday, February 13, 2003 6:24 PM
[To: dave
[Cc: Giorgos Keramidas; freebsd-questions
[Subject: RE: Root filesystem 102% full (was: Disks fillin up)
[
[
[On Thu, 13 Feb 2003, David Radovanovic wrote:
[
[ That was the ticket. / is back down to 48%. Though when I 'sh 
[MAKEDEV st0'
[ in /dev I get the error: st0 - no such device name. Thanks.
[
[Old backup system? man st claims that (a) this was a SCSI tape; and
[(b) this has been deprecated in favour of the sa(4) driver.
[
[1. Ensure your /dev/sa0 co. device files exist.
[2. Update your backup program, or specify the correct device file for it
[to use
[3. At a pinch, if your backup program doesn't grok sa, you might create
[symlinks from /dev/st to /dev/sa but there's no guarantee that any
[special ioctls will work across both devices.
[
[-- 
[jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
[Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
[No generalised law is without exception. A self-demonstrating axiom.
[


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



Re: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread Giorgos Keramidas
Please don't remove the Cc: of the list when replying.  I might not
know the answer, or be too busy to read mail.  If you Cc: the list
too, someone else will have a change to reply too.  Probably faster
than me.

On 2003-02-13 07:19, David Radovanovic [EMAIL PROTECTED] wrote:
 [Giorgos Keramidas [mailto:[EMAIL PROTECTED]] wrote:
 [
 [Start with:
 [
 [ rsc-web1# du -kx / | sort -nr | head -20
 [
 [This will print the top-20 space consumers of your / filesystem.
 [What's the output of this command on your system?

 rsc-web1# du -kx / | sort -nr | head -20
 120903  /
 67460   /dev

This looks odd.  Half of your / space is in /dev!  Look in /dev with
`ls -l' and see which part of /dev takes up so much space.

 18464   /root
 17988   /root/.cpan

CPAN crap.  This is why I don't use cpan at home, and if I absolutely
have to use it, I symlink /root/.cpan - /home/giorgos/.cpan :-(

 12228   /sbin
 10944   /root/.cpan/build
 5480/modules.old
 5480/modules
 4198/root/.cpan/sources
 4094/bin
 3446/root/.cpan/sources/authors
 3328/root/.cpan/sources/authors/id
 2514/root/.cpan/build/DBI-1.30
 2176/stand
 1256/root/.cpan/sources/authors/id/J
 1246/root/.cpan/build/DBI-1.30/blib
 1232/etc
 1134/root/.cpan/build/Class-MakeMethods-1.005
 966 /root/.cpan/sources/authors/id/J/JC
 964 /root/.cpan/sources/authors/id/J/JC/JCRISTY

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



RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread David Radovanovic
Sorry :(

David Radovanovic
WhatsTheBigIdea.com, Inc.
-- Bright ideas for the Web!
249 Partition Street
Saugerties, New York 12477 
(845) 247-0909, FAX: (845) 246-3880
http://www.WhatsTheBigIdea.com


[-Original Message-
[From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]]
[Sent: Thursday, February 13, 2003 8:22 AM
[To: [EMAIL PROTECTED]
[Cc: [EMAIL PROTECTED]
[Subject: Re: Root filesystem 102% full (was: Disks fillin up)
[
[
[Please don't remove the Cc: of the list when replying.  I might not
[know the answer, or be too busy to read mail.  If you Cc: the list
[too, someone else will have a change to reply too.  Probably faster
[than me.
[
[On 2003-02-13 07:19, David Radovanovic 
[[EMAIL PROTECTED] wrote:
[ [Giorgos Keramidas [mailto:[EMAIL PROTECTED]] wrote:
[ [
[ [Start with:
[ [
[ [rsc-web1# du -kx / | sort -nr | head -20
[ [
[ [This will print the top-20 space consumers of your / filesystem.
[ [What's the output of this command on your system?
[
[ rsc-web1# du -kx / | sort -nr | head -20
[ 120903  /
[ 67460   /dev
[
[This looks odd.  Half of your / space is in /dev!  Look in /dev with
[`ls -l' and see which part of /dev takes up so much space.
[
[ 18464   /root
[ 17988   /root/.cpan
[
[CPAN crap.  This is why I don't use cpan at home, and if I absolutely
[have to use it, I symlink /root/.cpan - /home/giorgos/.cpan :-(
[
[ 12228   /sbin
[ 10944   /root/.cpan/build
[ 5480/modules.old
[ 5480/modules
[ 4198/root/.cpan/sources
[ 4094/bin
[ 3446/root/.cpan/sources/authors
[ 3328/root/.cpan/sources/authors/id
[ 2514/root/.cpan/build/DBI-1.30
[ 2176/stand
[ 1256/root/.cpan/sources/authors/id/J
[ 1246/root/.cpan/build/DBI-1.30/blib
[ 1232/etc
[ 1134/root/.cpan/build/Class-MakeMethods-1.005
[ 966 /root/.cpan/sources/authors/id/J/JC
[ 964 /root/.cpan/sources/authors/id/J/JC/JCRISTY
[


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



Re: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread Giorgos Keramidas
On 2003-02-13 08:28, David Radovanovic [EMAIL PROTECTED] wrote:
Giorgos Keramidas:
 Please don't remove the Cc: of the list when replying.  I might not
 know the answer, or be too busy to read mail.  If you Cc: the list
 too, someone else will have a change to reply too.  Probably faster
 than me.

 Sorry :(

It's alright.  I'm not bitching.  Just making a gentle request,
in an effort to save my mailbox from flooding with private-only
replies :)


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



RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread David Radovanovic
If I'm reading this right the most suspictious culprit in /dev:

-rw-r--r--   1 rootwheel 68960256 Feb  9 04:04 st0

Any ideas?

As far as CPAN is concerned, should I delete the files or create a symlink
like you, to another partition with more space?

Thanks for your time, I appreciate it :)


David Radovanovic
WhatsTheBigIdea.com, Inc.
-- Bright ideas for the Web!
249 Partition Street
Saugerties, New York 12477
(845) 247-0909, FAX: (845) 246-3880
http://www.WhatsTheBigIdea.com


[-Original Message-
[From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]]
[Sent: Thursday, February 13, 2003 8:22 AM
[To: [EMAIL PROTECTED]
[Cc: [EMAIL PROTECTED]
[Subject: Re: Root filesystem 102% full (was: Disks fillin up)
[
[
[Please don't remove the Cc: of the list when replying.  I might not
[know the answer, or be too busy to read mail.  If you Cc: the list
[too, someone else will have a change to reply too.  Probably faster
[than me.
[
[On 2003-02-13 07:19, David Radovanovic
[[EMAIL PROTECTED] wrote:
[ [Giorgos Keramidas [mailto:[EMAIL PROTECTED]] wrote:
[ [
[ [Start with:
[ [
[ [rsc-web1# du -kx / | sort -nr | head -20
[ [
[ [This will print the top-20 space consumers of your / filesystem.
[ [What's the output of this command on your system?
[
[ rsc-web1# du -kx / | sort -nr | head -20
[ 120903  /
[ 67460   /dev
[
[This looks odd.  Half of your / space is in /dev!  Look in /dev with
[`ls -l' and see which part of /dev takes up so much space.
[
[ 18464   /root
[ 17988   /root/.cpan
[
[CPAN crap.  This is why I don't use cpan at home, and if I absolutely
[have to use it, I symlink /root/.cpan - /home/giorgos/.cpan :-(
[
[ 12228   /sbin
[ 10944   /root/.cpan/build
[ 5480/modules.old
[ 5480/modules
[ 4198/root/.cpan/sources
[ 4094/bin
[ 3446/root/.cpan/sources/authors
[ 3328/root/.cpan/sources/authors/id
[ 2514/root/.cpan/build/DBI-1.30
[ 2176/stand
[ 1256/root/.cpan/sources/authors/id/J
[ 1246/root/.cpan/build/DBI-1.30/blib
[ 1232/etc
[ 1134/root/.cpan/build/Class-MakeMethods-1.005
[ 966 /root/.cpan/sources/authors/id/J/JC
[ 964 /root/.cpan/sources/authors/id/J/JC/JCRISTY
[



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



Re: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread Giorgos Keramidas
On 2003-02-13 08:57, David Radovanovic [EMAIL PROTECTED] wrote:
 If I'm reading this right the most suspictious culprit in /dev:

 -rw-r--r--   1 rootwheel 68960256 Feb  9 04:04 st0

 Any ideas?

It seems that you have used some sort of backup tool to save one or
more backups to /dev/st0 before creating an st0 device node.  Since
you are root, you're allowed to create normal files under /dev.  Just
delete this huge st0 file and create a real device node for it:

# cd /dev
# sh MAKEDEV st0

then rerun your backup thingie to save the data to a real tape and not
a file on disk.

 As far as CPAN is concerned, should I delete the files or create a symlink
 like you, to another partition with more space?

I don't use CPAN, but I'd probably move /root/.cpan someplace else and
symlink to it, just in case useful data is still in there.


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



RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread David Radovanovic
That was the ticket. / is back down to 48%. Though when I 'sh MAKEDEV st0'
in /dev I get the error: st0 - no such device name. Thanks.

David Radovanovic
WhatsTheBigIdea.com, Inc.
-- Bright ideas for the Web!
249 Partition Street
Saugerties, New York 12477
(845) 247-0909, FAX: (845) 246-3880
http://www.WhatsTheBigIdea.com


[-Original Message-
[From: Giorgos Keramidas [mailto:[EMAIL PROTECTED]]
[Sent: Thursday, February 13, 2003 9:04 AM
[To: [EMAIL PROTECTED]
[Cc: [EMAIL PROTECTED]
[Subject: Re: Root filesystem 102% full (was: Disks fillin up)
[
[
[On 2003-02-13 08:57, David Radovanovic
[[EMAIL PROTECTED] wrote:
[ If I'm reading this right the most suspictious culprit in /dev:
[
[ -rw-r--r--   1 rootwheel 68960256 Feb  9 04:04 st0
[
[ Any ideas?
[
[It seems that you have used some sort of backup tool to save one or
[more backups to /dev/st0 before creating an st0 device node.  Since
[you are root, you're allowed to create normal files under /dev.  Just
[delete this huge st0 file and create a real device node for it:
[
[   # cd /dev
[   # sh MAKEDEV st0
[
[then rerun your backup thingie to save the data to a real tape and not
[a file on disk.
[
[ As far as CPAN is concerned, should I delete the files or create
[a symlink
[ like you, to another partition with more space?
[
[I don't use CPAN, but I'd probably move /root/.cpan someplace else and
[symlink to it, just in case useful data is still in there.
[



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



RE: Root filesystem 102% full (was: Disks fillin up)

2003-02-13 Thread Jan Grant
On Thu, 13 Feb 2003, David Radovanovic wrote:

 That was the ticket. / is back down to 48%. Though when I 'sh MAKEDEV st0'
 in /dev I get the error: st0 - no such device name. Thanks.

Old backup system? man st claims that (a) this was a SCSI tape; and
(b) this has been deprecated in favour of the sa(4) driver.

1. Ensure your /dev/sa0 co. device files exist.
2. Update your backup program, or specify the correct device file for it
to use
3. At a pinch, if your backup program doesn't grok sa, you might create
symlinks from /dev/st to /dev/sa but there's no guarantee that any
special ioctls will work across both devices.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
No generalised law is without exception. A self-demonstrating axiom.


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