I have an old laptop that has been running Ubuntu 10.04 since it was released, and I've really forgotten all about it's contents. I'd like to avoid any downtime if possible, however I discovered the following output from fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00068a66
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 30402 243947521 5 Extended
/dev/sda5 32 30402 243947520 8e Linux LVM
The top part says 250Gb
quite clearly, but there seems to be sda2
and sda5
both seemingly holding ~243Gb
each. Is this really just a 250Gb drive or is there another partition I'm simply not making use of? Here's the contents of df -h
fwiw:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/dandell-root
227G 121G 94G 57% /
none 491M 276K 491M 1% /dev
none 496M 0 496M 0% /dev/shm
none 496M 692K 495M 1% /var/run
none 496M 0 496M 0% /var/lock
none 496M 0 496M 0% /lib/init/rw
none 227G 121G 94G 57% /var/lib/ureadahead/debugfs
/dev/sda1 228M 36M 181M 17% /boot
I have no desire to maintain the partition, and would like to merge them. The server is headless so command-line only please :) Thanks for any advice!
UPDATE: OK I satisfied my curiosity that the drive is really only 250Gb with sudo hdparm -I /dev/sda
. However I'm still interested to interpret the output of fdisk -l
above?