Help - Search - Members - Calendar
Full Version: partition size
Linuxhelp > Support > Technical Support
finchlady888
Hi,

I created a 8GB partition for / on Debian. However, the command "df" shows the partition only has 1.9 GB. My computer run out disk space. I checked the partition by "parted". The partition has 8GB (100% correct). I could not understand why df shows 1.9GB.

Please help. Thank you in advance.
Robert83
Hi,

try
CODE
df -h


Sincerely
Robert B
finchlady888
QUOTE (Robert83 @ Feb 20 2006, 07:41 AM)
Hi,

try
CODE
df -h


Sincerely
Robert B

The command "df -h" shows 1.9GB only. The partition has 8GB.

Please help. Thank you.
Robert83
Hi,

CODE
fdisk -l


Sincerely
Robert B
finchlady888
QUOTE (Robert83 @ Feb 20 2006, 01:02 PM)
Hi,

CODE
fdisk -l

I tried "df", and got the following result. /dev/sda1 has 1968588 blocks (about 1.9GB). My computer run out of disk space, and I already removed some programs.

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 1968588 1493292 375296 80% /



I tried the command "fdisk -l", and got the following result. /dev/sda1 has 8353768+ blocks, which is different from the one "df" shows. It is strange!!!

Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1040 8353768+ 83 Linux
/dev/sda2 1041 1106 530145 82 Linux swap

Thank you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.