[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Large hard disk confusion



I just installed sarge on a 160 GB hard disk. Partitions are 2GB swap,
50 MB /boot, and the rest for /.

~$ df -ahT
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda3     ext3    145G  230M  138G   1% /
proc          proc       0     0     0   -  /proc
devpts      devpts       0     0     0   -  /dev/pts
tmpfs        tmpfs    443M     0  443M   0% /dev/shm
/dev/hda1     ext3     45M  9.3M   33M  23% /boot
usbfs        usbfs       0     0     0   -  /proc/bus/usb

My question is, why is hda3 only showing as 145 GB? Surely ext3 isn't
taking up gigabytes worth of journal information?

$ uname -a 
Linux debian 2.4.25-1-386 #2 Wed Apr 14 19:38:08 EST 2004 i686 GNU/Linux

# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 19457/255/63, sectors = 160041885696, start = 0

# fdisk -l /dev/hda 

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           6       48163+  83  Linux
/dev/hda2               7         249     1951897+  83  Linux
/dev/hda3             250       19457   154288260   83  Linux

# dmesg | grep hda 
Kernel command line: root=/dev/hda3 ro 
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
hda: ST3160023A, ATA DISK drive
hda: attached ide-disk driver.
hda: 312581808 sectors (160042 MB) w/8192KiB Cache, CHS=19457/255/63, UDMA(100)

The motherboard is an Intel D865PERL, which is fairly new so there
shouldn't be any problems there AFAIK.

Thank you for reading (and any clarity!).

-- 
Brian Clark



Reply to: