The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-30-2009
rac_oradba rac_oradba is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 1
device size mismatch after mounting

Hi,
I have a created a logical partition sda5 in ubuntu server 9.0.4.
which is
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00053d78

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1216 9767488+ 83 Linux
/dev/sda2 1217 1702 3903795 82 Linux swap / Solaris
/dev/sda3 1703 30401 230524717+ 5 Extended
/dev/sda5 1703 30401 230524686 83 Linux

formatted the device as mkfs -t ext3 /dev/sda5
then i mounted it on to a directory which belongs to root user.

once I mounted the /dev/sda5 device on to a local directory.
I am seeing that the filesystem size is way too difference than what i have created.
/dev/sda5 10325748 1098212 8703016 12% /var/lib/vmware/vmwarehosts

Can somebody please let me know where i am going wrong here. why am i not seeing the full 230 gigs which shows in fdisk.