Re: OH NO! IT says my root partition / is full but it isn't! Why is FreeBSD lying about space?

2011-11-08 Thread rtsit


We FOUND IT.

We did do the procedure that Michael recommended, but unfortunately none of the 
nfs mount labels /var /usr /tmp contained any data after booting into single 
user mode.

What we did find was a NFS folder that contained a huge 300 meg .tar.gz file 
that wasn't finished downloading. (Was a BSDSRC tree that was tar'd gz'd)

Have to watch for massive NFS file transfers of abnormally large files -- that 
is what caused the issue.  Next time we'll use WGET instead while sitting at 
the /usr partition instead of the root folder.




From: Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org
To: rtsit rt...@yahoo.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Monday, November 7, 2011 1:13 PM
Subject: Re: OH NO! IT says my root partition / is full but it isn't! Why is 
FreeBSD lying about space?

rtsit rt...@yahoo.com writes:

 I did reboot the machine a few times, hoping that any process in
 memory that still claimed ownership of an open part of the disk would
 release it.

There are other things that can cause disk space to seem to disappear,
but there is a reason that one is in the FAQ list and the others aren't;
it's virtually always the cause when someone reports such a problem on
this list.

 Didn't work. I'm going to try the other method recommended by Michael
 Sierchio -- to reboot in single user mode and try and clear out any
 directory structures that could exist that my mount labels could be
 hiding.  Thanks for the reply and helpful link.

If the mounts are shadowing files, that will certainly hide data use.  
I hope that turns out to be the issue and you get it fixed quickly.

 (It was nice to not see a RTFM response, but a helpful link -- it is 
 appreciated).

I don't agree with you here.  My response *was* RTFM, and I don't see
anything inherently wrong with that.  I'm glad it was helpful.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! IT says my root partition / is full but it isn't! Why is FreeBSD lying about space?

2011-11-07 Thread Lowell Gilbert
Try the FAQ entry titled The du and df commands show different amounts
of disk space available. What is going on?.  You can find it at:
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread Michael Sierchio
You're mistaken. ;-)  495736 / 507630, with some margin for free
space, means you're full.

Boot in single user mode.
for each mount point ( /tmp /usr /var )
chflags -R noschg /mount point
rm -rf /mount point/*

You probably have a lot of hidden files covered by the mounted filesystems.

- M

On Mon, Nov 7, 2011 at 9:39 AM, rtsit rt...@yahoo.com wrote:


 Why does it say my main root partition is full when it's not? It's only using 
 146 Meg out of a possible 507 Meg


 Filesystem   1024-blocks Used Avail 
 Capacity  Mounted on
 /dev/ad4s1a   507630   495736    -28716   
 106%    /
 devfs  1    1 0   
 100%    /dev
 /dev/ad4s1e   507630   22    
 466998 0%    /tmp
 /dev/ad4s1f    231510140 42142584 
 170846746    20%    /usr
 /dev/ad4s1d  2004302   117636   
 1726322 6%    /var
 # du -hxd1 /
 2.0K    /.snap
 512B    /dev
 2.0K    /tmp
 2.0K    /usr
 2.0K    /var
 4.3M    /etc
 2.0K    /cdrom
 2.0K    /dist
 990K    /bin
 127M    /boot
 5.9M    /lib
 342K    /libexec
 2.0K    /media
 2.0K    /mnt
 2.0K    /proc
 3.7M    /rescue
  40K    /root
 3.9M    /sbin
 2.0K    /command
 2.0K    /service
 146M    /
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread Adam Vande More
On Mon, Nov 7, 2011 at 11:39 AM, rtsit rt...@yahoo.com wrote:



 Why does it say my main root partition is full when it's not? It's only
 using 146 Meg out of a possible 507 Meg


http://www.freebsd.org/doc/en/books/faq/disks.html#DU-VS-DF

Boot in single user mode.
 for each mount point ( /tmp /usr /var )
 chflags -R noschg /mount point
 rm -rf /mount point/*


This is terrible advice.  There are proper methods for finding what's using
the space and to recover it.  You should use them.

-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread rtsit
Ok, I'll try this procedure as soon as I've got someone physically infront of 
the console,  and I'll report the results.

Thank you very much.  When it comes to root partition problems and remote 
SSHing, it always sends chills up my spine. :)




From: Michael Sierchio ku...@tenebras.com
To: rtsit rt...@yahoo.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Monday, November 7, 2011 10:05 AM
Subject: Re: OH NO! Says root partition / is full but it's not! I don't get it

You're mistaken. ;-)  495736 / 507630, with some margin for free
space, means you're full.

Boot in single user mode.
for each mount point ( /tmp /usr /var )
chflags -R noschg /mount point
rm -rf /mount point/*

You probably have a lot of hidden files covered by the mounted filesystems.

- M

On Mon, Nov 7, 2011 at 9:39 AM, rtsit rt...@yahoo.com wrote:


 Why does it say my main root partition is full when it's not? It's only using 
 146 Meg out of a possible 507 Meg


 Filesystem   1024-blocks Used Avail 
 Capacity  Mounted on
 /dev/ad4s1a   507630   495736    -28716   
 106%    /
 devfs  1    1 0   
 100%    /dev
 /dev/ad4s1e   507630   22    
 466998 0%    /tmp
 /dev/ad4s1f    231510140 42142584 
 170846746    20%    /usr
 /dev/ad4s1d  2004302   117636   
 1726322 6%    /var
 # du -hxd1 /
 2.0K    /.snap
 512B    /dev
 2.0K    /tmp
 2.0K    /usr
 2.0K    /var
 4.3M    /etc
 2.0K    /cdrom
 2.0K    /dist
 990K    /bin
 127M    /boot
 5.9M    /lib
 342K    /libexec
 2.0K    /media
 2.0K    /mnt
 2.0K    /proc
 3.7M    /rescue
  40K    /root
 3.9M    /sbin
 2.0K    /command
 2.0K    /service
 146M    /
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread Michael Sierchio
On Mon, Nov 7, 2011 at 10:21 AM, Adam Vande More amvandem...@gmail.com wrote:

 This is terrible advice.  There are proper methods for finding what's using
 the space and to recover it.  You should use them.

If there are files hidden by a covering mount, you won't find them
when those filesystems are mounted.

- M
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! IT says my root partition / is full but it isn't! Why is FreeBSD lying about space?

2011-11-07 Thread rtsit
Thanks Lowell. 


I did reboot the machine a few times, hoping that any process in memory that 
still claimed ownership of an open part of the disk would release it.

Didn't work. I'm going to try the other method recommended by Michael Sierchio 
-- to reboot in single user mode and try and clear out any directory structures 
that could exist that my mount labels could be hiding.  Thanks for the reply 
and helpful link.

(It was nice to not see a RTFM response, but a helpful link -- it is 
appreciated).




From: Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org
To: rtsit rt...@yahoo.com
Cc: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
Sent: Monday, November 7, 2011 10:01 AM
Subject: Re: OH NO! IT says my root partition / is full but it isn't! Why is 
FreeBSD lying about space?

Try the FAQ entry titled The du and df commands show different amounts
of disk space available. What is going on?.  You can find it at:
http://be-well.ilk.org/FreeBSD/doc/en_US.ISO8859-1/books/faq/disks.html#DU-VS-DF
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread Adam Vande More
On Mon, Nov 7, 2011 at 12:26 PM, Michael Sierchio ku...@tenebras.comwrote:

 On Mon, Nov 7, 2011 at 10:21 AM, Adam Vande More amvandem...@gmail.com
 wrote:

  This is terrible advice.  There are proper methods for finding what's
 using
  the space and to recover it.  You should use them.

 If there are files hidden by a covering mount, you won't find them
 when those filesystems are mounted.


Indiscriminately instructing a user to delete files isn't good advice no
matter how much butter you put on it.


-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread Michael Sierchio
On Mon, Nov 7, 2011 at 10:33 AM, Adam Vande More amvandem...@gmail.com wrote:

 Indiscriminately instructing a user to delete files isn't good advice no
 matter how much butter you put on it.

It was with no small amount of discrimination and discernment that I
offered that advice.  Any files that exist there should not.  Read
carefully.

- M (UNIX since SYS III ver. 7, FreeBSD since 2.2.1)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! Says root partition / is full but it's not! I don't get it

2011-11-07 Thread rtsit
Until Adam Vande More offers a better solution other than saying someone's 
advice is terrible -- there is no point in debating further.

Thanks again Michael.




From: Michael Sierchio ku...@tenebras.com
To: Adam Vande More amvandem...@gmail.com
Cc: rtsit rt...@yahoo.com; freebsd-questions@freebsd.org 
freebsd-questions@freebsd.org
Sent: Monday, November 7, 2011 10:37 AM
Subject: Re: OH NO! Says root partition / is full but it's not! I don't get it

On Mon, Nov 7, 2011 at 10:33 AM, Adam Vande More amvandem...@gmail.com wrote:

 Indiscriminately instructing a user to delete files isn't good advice no
 matter how much butter you put on it.

It was with no small amount of discrimination and discernment that I
offered that advice.  Any files that exist there should not.  Read
carefully.

- M (UNIX since SYS III ver. 7, FreeBSD since 2.2.1)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! IT says my root partition / is full but it isn't! Why is FreeBSD lying about space?

2011-11-07 Thread Lowell Gilbert
rtsit rt...@yahoo.com writes:

 I did reboot the machine a few times, hoping that any process in
 memory that still claimed ownership of an open part of the disk would
 release it.

There are other things that can cause disk space to seem to disappear,
but there is a reason that one is in the FAQ list and the others aren't;
it's virtually always the cause when someone reports such a problem on
this list.

 Didn't work. I'm going to try the other method recommended by Michael
 Sierchio -- to reboot in single user mode and try and clear out any
 directory structures that could exist that my mount labels could be
 hiding.  Thanks for the reply and helpful link.

If the mounts are shadowing files, that will certainly hide data use.  
I hope that turns out to be the issue and you get it fixed quickly.

 (It was nice to not see a RTFM response, but a helpful link -- it is 
 appreciated).

I don't agree with you here.  My response *was* RTFM, and I don't see
anything inherently wrong with that.  I'm glad it was helpful.

Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: OH NO! IT says my root partition / is full but it isn't! Why is FreeBSD lying about space?

2011-11-07 Thread Albert Shih
 Le 07/11/2011 à 10:27:02-0800, rtsit a écrit
 Thanks Lowell. 
 
 
 I did reboot the machine a few times, hoping that any process in memory that 
 still claimed ownership of an open part of the disk would release it.
 
 Didn't work. I'm going to try the other method recommended by Michael 
 Sierchio -- to reboot in single user mode and try and clear out any directory 
 structures that could exist that my mount labels could be hiding.  Thanks for 
 the reply and helpful link.
 

Try to reboot in single mode and do a fsck on all partition. 

Regards.

JAS
-- 
Albert SHIH
DIO batiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
mar 8 nov 2011 00:06:22 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Oh, no....

2006-09-02 Thread Giorgos Keramidas
On 2006-09-01 20:30, Gary Kline [EMAIL PROTECTED] wrote:
 Well, gang, for about the only time in ten or eleven years, my FreeBSD
 has kernel crashed.   The kernel err is 18 I believe a int divide by
 zero.  I backup most stuff regularly but still have several megs of
 data files.   Can I fix this with a fixit disk?  Or is all hope lost?

 gary

 Fatal trap 18: blah, blah
 Uptime 1sec

Have you restarted the system that crashed?  Does it consistently panic
when you try to boot, or was this a panic introduced by the particular
conditions of that moment?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oh, no....

2006-09-02 Thread Gary Kline
On Sat, Sep 02, 2006 at 07:08:40PM +0300, Giorgos Keramidas wrote:
 On 2006-09-01 20:30, Gary Kline [EMAIL PROTECTED] wrote:
  Well, gang, for about the only time in ten or eleven years, my FreeBSD
  has kernel crashed.   The kernel err is 18 I believe a int divide by
  zero.  I backup most stuff regularly but still have several megs of
  data files.   Can I fix this with a fixit disk?  Or is all hope lost?
 
  gary
 
  Fatal trap 18: blah, blah
  Uptime 1sec
 
 Have you restarted the system that crashed?  Does it consistently panic
 when you try to boot, or was this a panic introduced by the particular
 conditions of that moment?
 

100% consistent.  tHe strange thing is that when I set the
boot-order in the BIOS to CDROM it's ignored.  (Maybe I
don't have the boot CD?  that occured when I was crawling 
out of bed!)  I have all 4 f the 5.3 boxed set.

--Another few gallons of coffee and I'll check.

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oh, no....

2006-09-02 Thread Giorgos Keramidas
On 2006-09-02 11:01, Gary Kline [EMAIL PROTECTED] wrote:

 100% consistent.  tHe strange thing is that when I set the
 boot-order in the BIOS to CDROM it's ignored.  (Maybe I
 don't have the boot CD?  that occured when I was crawling
 out of bed!)  I have all 4 f the 5.3 boxed set.

So there is no way to boot from install disc-1 of FreeBSD?

This should at least give you a chance to boot from the install disc,
and then insert the FixIt CD-ROM to start investigating what is wrong,
as Greg Lehey suggested :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Got to the CDROM drive!! (Was: Re: Oh, no....)

2006-09-02 Thread Gary Kline
On Sat, Sep 02, 2006 at 10:49:03PM +0300, Giorgos Keramidas wrote:
 On 2006-09-02 11:01, Gary Kline [EMAIL PROTECTED] wrote:
 
  100% consistent.  tHe strange thing is that when I set the
  boot-order in the BIOS to CDROM it's ignored.  (Maybe I
  don't have the boot CD?  that occured when I was crawling
  out of bed!)  I have all 4 f the 5.3 boxed set.
 
 So there is no way to boot from install disc-1 of FreeBSD?
 
 This should at least give you a chance to boot from the install disc,
 and then insert the FixIt CD-ROM to start investigating what is wrong,
 as Greg Lehey suggested :)
 

Finally (after 57th reset), I must have done something/enough to
the BIOS so that the server booted from the boot CD; I just
dropped in th live-fs disc.  Probably can't scp stuff out so this
is ging to take some serious poking around!


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oh, no....

2006-09-02 Thread Jerold McAllister
Gary Kline writes: 




 gary

 Fatal trap 18: blah, blah
 Uptime 1sec 


Have you restarted the system that crashed?  Does it consistently panic
when you try to boot, or was this a panic introduced by the particular
conditions of that moment? 



100% consistent.  tHe strange thing is that when I set the
boot-order in the BIOS to CDROM it's ignored.  (Maybe I
	don't have the boot CD?  that occured when I was crawling 
	out of bed!)  I have all 4 f the 5.3 boxed set. 

	--Another few gallons of coffee and I'll check. 



The first CD is bootable.
I had something like this happen on an install a couple of weeks ago.
I set the boot order with Cd before HDD and it would completely ignore
the CD and just boot from the Hard Disk.   I had just used that CD to
install another machine so I didn't even think the CD might be bad.
But, then a couple of days later I tried it in a machine I was sure of
and the same thing happened. 


So, I burned another copy on a different machine and it worked just
fine on both.   The one that was ignoring the Cd and booting from
the HDD, then booted fine From the newly burned CD. 


So, I would suggest it might be possible that you have some sort of
marginal burn on the CD and it will work on some machines and not others. 

Good luck, 

jerry 


--
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED] 





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]