Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Andrei POPESCU
On Du, 11 mai 14, 23:07:01, Sven Joachim wrote: > > > The only way that I know > > of to check that would be to check one filesystem at a time in single > > user mode, or from a live CD. > > Huh, why that? A simple "mount --bind / /mnt" makes all those files > visible under /mnt, and you can del

Re: SOLVED: Filespace exhaustion on '/' partition

2014-05-12 Thread Ron Leach
On 12/05/2014 14:45, Ron Leach wrote: and I think I can delete everything within, and beneath, /mnt/test/mnt/backupserver So I did that. server4:/home/ron# df -h FilesystemSize Used Avail Use% Mounted on /dev/md1 2.8G 170M 2.7G 6% / tmpfs 501M

Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Jochen Spieker
Ron Leach: > > There are some very clever people on this list; how on earth did > anyone know that. Most of us probably learned it the hard way, just like you did. :-) J. -- If I could travel through time I would go back to yesterday and apologise. [Agree] [Disagree]

Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Paul E Condon
On 20140513_0014+1000, David wrote: > On 12 May 2014 23:45, Ron Leach wrote: > > On 11/05/2014 22:07, Sven Joachim wrote: > >> > >> A simple "mount --bind / /mnt" makes all those files > >> visible under /mnt, and you can delete them at your leisure. > >> > > > > I mounted the root partition at /m

Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Dan Ritter
On Mon, May 12, 2014 at 02:45:21PM +0100, Ron Leach wrote: > I mounted the root partition at /mnt/test and used du. > > server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1 > 2.7G/mnt/test/mnt/backupserver > 0 /mnt/test/mnt/test > 2.7G/mnt/test/mnt > server4:/home/ron# > > The 2.7G

Re: Filespace exhaustion on '/' partition

2014-05-12 Thread David
On 12 May 2014 23:45, Ron Leach wrote: > On 11/05/2014 22:07, Sven Joachim wrote: >> >> A simple "mount --bind / /mnt" makes all those files >> visible under /mnt, and you can delete them at your leisure. >> > > I mounted the root partition at /mnt/test and used du. > > server4:/home/ron# du /mnt/

Re: Filespace exhaustion on '/' partition

2014-05-12 Thread Ron Leach
On 11/05/2014 22:07, Sven Joachim wrote: A simple "mount --bind / /mnt" makes all those files visible under /mnt, and you can delete them at your leisure. I mounted the root partition at /mnt/test and used du. server4:/home/ron# du /mnt/test/mnt -hx --max-depth=1 2.7G/mnt/test/mnt/backups

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Ron Leach
On 11/05/2014 22:07, Sven Joachim wrote: On 2014-05-11 22:46 +0200, Carl Johnson wrote: Another possibility to look into is that there might be files under your mount points. For example, you might have saved files under /usr on your root filesystem, but later mounted a /usr filesystem on top

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Sven Joachim
On 2014-05-11 22:46 +0200, Carl Johnson wrote: > Ron Leach writes: > >> On 11/05/2014 17:11, Sven Joachim wrote: >>> # lsof | grep deleted | wc -l >> >> # lsof | grep deleted | wc -l >> 3 >> # >> >> But it took 3 or 4 seconds to count them. :) >> I was beginning to think, gosh, there must really

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread PaulNM
On 05/11/2014 04:46 PM, Carl Johnson wrote: > > Another possibility to look into is that there might be files under your > mount points. For example, you might have saved files under /usr on > your root filesystem, but later mounted a /usr filesystem on top without > deleting the files in the o

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Carl Johnson
Ron Leach writes: > On 11/05/2014 17:11, Sven Joachim wrote: >> # lsof | grep deleted | wc -l > > # lsof | grep deleted | wc -l > 3 > # > > But it took 3 or 4 seconds to count them. :) > I was beginning to think, gosh, there must really be a lot of those. > > But it's a good point, Sven, because

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Ron Leach
On 11/05/2014 17:11, Sven Joachim wrote: # lsof | grep deleted | wc -l # lsof | grep deleted | wc -l 3 # But it took 3 or 4 seconds to count them. :) I was beginning to think, gosh, there must really be a lot of those. But it's a good point, Sven, because there still might be some issue that

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Sven Joachim
On 2014-05-11 18:02 +0200, Ron Leach wrote: > server4:/# du / -hx --max-depth=1 > 0 /var > 0 /nfs > 1.0K/boot > 1.0K/boot2 > 0 /home > 4.0K/tmp > 0 /usr > 80M /etc > 0 /media > 64M /lib > 5.0M/sbin > 0 /selinux > 4.1M/bin > 0 /d

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Ron Leach
On 11/05/2014 16:10, Andrei POPESCU wrote: On Du, 11 mai 14, 15:33:38, Ron Leach wrote: We seem to have filled the available space on the '/' partition of our NFS server. Because most of the server's variable data is on separate partitions, I'm not sure what I could remove from '/' partition.

Re: Filespace exhaustion on '/' partition

2014-05-11 Thread Andrei POPESCU
On Du, 11 mai 14, 15:33:38, Ron Leach wrote: > List, > > We seem to have filled the available space on the '/' partition of our NFS > server. Because most of the server's variable data is on separate > partitions, I'm not sure what I could remove from '/' partition. df shows > the problem, and t

Filespace exhaustion on '/' partition

2014-05-11 Thread Ron Leach
List, We seem to have filled the available space on the '/' partition of our NFS server. Because most of the server's variable data is on separate partitions, I'm not sure what I could remove from '/' partition. df shows the problem, and the space available on the other partitions: server4