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 
To: Adam Vande More 
Cc: rtsit ; "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  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 Michael Sierchio
On Mon, Nov 7, 2011 at 10:33 AM, Adam Vande More  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 Adam Vande More
On Mon, Nov 7, 2011 at 12:26 PM, Michael Sierchio wrote:

> On Mon, Nov 7, 2011 at 10:21 AM, Adam Vande More 
> 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:21 AM, Adam Vande More  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! 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 
To: rtsit 
Cc: "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 /
rm -rf //*

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

- M

On Mon, Nov 7, 2011 at 9:39 AM, rtsit  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  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 /
> rm -rf //*
>

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 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 /
rm -rf //*

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

- M

On Mon, Nov 7, 2011 at 9:39 AM, rtsit  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"

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

2011-11-07 Thread rtsit


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"