Fwd: Re: /dev/hda full - cannot find used space
- From: Robert Jeffrey Miesen <bobby_miesen@xxxxxxxxx>
- Date: Sat, 5 Aug 2006 22:37:29 -0700
---------- Forwarded Message ----------
Subject: Re: /dev/hda full - cannot find used space
Date: Saturday 05 August 2006 22:36
From: Robert Jeffrey Miesen <bobby_miesen@xxxxxxxxx>
To: nicksub500-deb@xxxxxxxxx
Have you tried running 'fsck -c /dev/hda1'? That would reveal the presence of
orphan nodes, which would certainly consume space.
Another possibility is that you might have a lot of bad blocks. To check for
this, reboot your system from a boot cd (ideally, from a Knoppix DVD) and
run 'e2fsck -c /dev/hda1'. This will tell you how many of the blocks on your
root partition are bad. If a great number of them are bad, I would STRONGLY
recommend that you tar up your most important files, make a copy of your
currently installed packages (you can do this quickly by
executing 'dpkg --get-selections > currentSelections'), create a new level 0
backup of your whole hard disk (that is, a full image of your hard drive), go
buy a new one and do a bare metal restore of your system (that is, restore
your system from the freshly created level 0 backup). Mondo is a great piece
of software for the purpose of making a level 0 backup. You can get mondo
either by going to http://www.mondorescue.org or by running 'apt-get install
mondo'.
Hope this helps.
On Saturday 05 August 2006 21:30, nicksub500-deb@xxxxxxxxx wrote:
Hi Everyone,
I have a sarge installation, which has been running perfectly for a year or
so. It runs a small office - mail, ldap, database, network drives, etc. It
was installed in standard sarge multi user configuration. It has an 80GB
hard disk and a 250GB external drive mounted via USB2 for backups
(/mnt/usbdrive). Finally, it uses shfs to mount a remote file system via
ssh (/mnt/martha-pub).
I have recently noticed that the hda partition is full. The problem is that
I can't see where the space has gone. From the du listings, I can account
for maybe 70MB on hda, but nowhere near 250MB.
I would be grateful for any help or suggestions.
root@vine:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 250M 250M 0 100% /
tmpfs 237M 0 237M 0% /dev/shm
/dev/hda9 65G 23G 39G 37% /home
/dev/hda8 361M 8.3M 333M 3% /tmp
/dev/hda5 4.6G 651M 3.8G 15% /usr
/dev/hda6 2.8G 231M 2.4G 9% /var
www-data@martha:/home/publish
5.5G 591M 4.7G 12% /mnt/martha-pub
root@vine:/# du -sh .
25G .
root@vine:/# du -sh *
3.0M bin
6.7M boot
0 cdrom
87K dev
2.0M etc
23G home
1.0K initrd
0 initrd.img
46M lib
12K lost+found
2.0K media
321M mnt
1.0K opt
482M proc
24K root
3.6M sbin
1.0K srv
0 sys
197K tmp
619M usr
200M var
0 vmlinuz
root@vine:/# fdisk -l
Disk /dev/hda: 80.0 GB, 80025280000 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 34 273073+ 83 Linux
/dev/hda2 35 9729 77875087+ 5 Extended
/dev/hda5 35 642 4883728+ 83 Linux
/dev/hda6 643 1007 2931831 83 Linux
/dev/hda7 1008 1188 1453851 82 Linux swap /
Solaris /dev/hda8 1189 1237 393561 83 Linux
/dev/hda9 1238 9729 68211958+ 83 Linux
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 30401 244196001 7 HPFS/NTFS
root@vine:/# cat /etc/mtab
/dev/hda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs rw 0 0
/dev/hda9 /home ext3 rw 0 0
/dev/hda8 /tmp ext3 rw 0 0
/dev/hda5 /usr ext3 rw 0 0
/dev/hda6 /var ext3 rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0
www-data@martha:/home/publish /mnt/martha-pub shfs
version=2,rw,rmode=775,uid=33,gid=50,mnt=/mnt/martha-pub,fd=4 0 0
root@vine:/# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0
1 /dev/hda9 /home ext3 defaults 0 2
/dev/hda8 /tmp ext3 defaults 0 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda6 /var ext3 defaults 0 2
/dev/hda7 none swap sw 0 0
/dev/hdd /media/cdrom0 iso9660 ro,user,noauto 0 0
www-data@martha:/home/publish /mnt/martha-pub shfs
defaults,rmode=775,persistent,uid=33,gid=50 0 0
/dev/sda1 /mnt/usbdrive ext3 defaults 0 0
root@vine:/#
--
Robert Miesen
-------------------------------------------------------
--
Robert Miesen
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Prev by Date: video on amd64
- Next by Date: Re: Shutdown my Laptop? Why should I?
- Previous by thread: Re: /dev/hda full - cannot find used space
- Next by thread: Xv -- unusable colors with Xv/auto driver & i915GM
- Index(es):
Relevant Pages
|
|