Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: LVM partition full (was:what is /command directory?)

From: Richard Lyons <richard(at)the-place.net>
Date: Sun Aug 26 2007 - 07:25:30 EDT


On Sun, August 26, 2007 02:24, Douglas A. Tutty wrote:
> On Sun, Aug 26, 2007 at 12:52:30AM +0100, Richard Lyons wrote:
>> I just noticed with a sinking feeling that my root partition is 96% full.
>[...]
>> I also notice a number
>> of directories I've never heard of before under root:
>> command, package, service

>
> Are you saying that there are directories in /root that you didn't put
> there and you don't know what they are, or are you saying that there are
> /command, /package, /service directories (none of which are in the FHS).

That was ambiguous, wasn't it! The latter is correct -- and it was the fact that they don't belong there under FHS that jarred with me.

Still, it was late and I was panicking rather unnecessarily. After sleeping on it, I am tending to the view they must be from that tinydns episode. I'm going to remove them on that assumption and see what happens. I never persuaded tinydns to run, so it is no loss.

>
> If you're using LVM, do you have any free space?
[...]
$ df -h
Filesystem Dimens. Usati Disp. Uso% Montato su /dev/mapper/Debian-root

                      259M  165M   81M  68% /
tmpfs                 380M     0  380M   0% /lib/init/rw
udev                   10M   84K   10M   1% /dev
tmpfs                 380M     0  380M   0% /dev/shm
/dev/hda1             228M   34M  182M  16% /boot
/dev/mapper/Debian-home
                      9,3G  4,6G  4,2G  53% /home
/dev/mapper/Debian-tmp
                      368M   11M  337M   4% /tmp
/dev/mapper/Debian-usr
                      4,7G  3,5G  1,1G  78% /usr
/dev/mapper/Debian-var
                      2,9G  901M  1,8G  33% /var

(thanks for pointing out the -h flag, BTW. Never noticed it before. But wouldn't it be great if there were an option to pad all sizes with initial zeros to allow piping through sort?)

# pvdisplay

  • Physical volume --- PV Name /dev/hda6 VG Name Debian PV Size 17.69 GB / not usable 0 Allocatable yes (but full) PE Size (KByte) 4096 Total PE 4529 Free PE 0 Allocated PE 4529 PV UUID w6yyO1-k5Zp-k9WF-ae0x-7s4X-5LgB-VAXmLd

# du -c -h --max-depth=1 /

12K     /lost+found
30M     /boot
4.5G    /home
2.8M    /tmp
3.4G    /usr
836M    /var
7.8M    /etc
3.0K    /media
3.3M    /bin
183K    /dev
136M    /lib
620M    /mnt
772M    /proc
1.2M    /root
3.1M    /sbin
0       /sys
1.0K    /srv
1.0K    /initrd
6.1G    /fot
1.0K    /card
2.7M    /lib64
1.0K    /cam
1.0K    /command
1.0K    /service
927K    /package
17G     /
17G     total
Do you need help?X

I won't give you the output of '/usr/bin/du -c -h --max-depth=1 /*' as you requested because it runs to about 450 lines.

Ignore the /fot (also non-FHS: it should of course be /media/fot, but I am lazy) directory listed here, as it is on a separate drive (I pruned it from the other output listings above), so the actual total for du should be about 10.9G.

I kept the second disk for media -- photographs mainly --, but it looks as though I shall have to take a part of it in order to decant some other directory into it.

The filesystem in every case is ext3.

--
richard






-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Aug 26 07:25:55 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:57:44 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library