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

incorrect fs size




I have installed a 70gb SEAGATE ST173404LW drive ( /dev/sda )
created a partition ( /dev/sda1 )
made a file system ( xfs )
and mounted the drive.
the partition is about 69gb however I can only see 135mb.

kernel: linux-2.4.17-xfs-smp
platform: i386
xfs patch: xfs-2.4.17-all-i386

if I create an ext2 file system however, I can see the full capacity.

any suggestions?

regards,
-nikk

here is some output:

-----------------------------------------------------------
/#>fdisk -ul
Disk /dev/sda: 255 heads, 63 sectors, 8924 cylinders
Units = sectors of 1 * 512 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1            63 143364059  71681998+  83  Linux
------------------------------------------------------------
/#>df -k	(sda1 = ext2 )
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1             70557052        20  66972936   1% /MOUNT_POINT
------------------------------------------------------------
/#>df -k   ( sda1 = xfs )
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda1               135200       144    135056   1% /MOUNT_POINT
------------------------------
/#>mkfs -t xfs -f /dev/sda1
meta-data=/dev/sda1              isize=256    agcount=8, agsize=4375 blks
data     =                       bsize=4096   blocks=35000, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=0
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=1200
realtime =none                   extsz=65536  blocks=0, rtextents=0
-------------------------------