Re: size from df -kh vs size from fdisk -l

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

 



On Tue, Apr 21, 2009 at 8:37 AM, jackson byers <byersjab@xxxxxxxxx> wrote:
> # fdisk -l
>
> Disk /dev/sda: 36.7 GB, 36703934464 bytes
> 255 heads, 63 sectors/track, 4462 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1        2676    21494938+  83  Linux
> /dev/sda2            2677        3163     3911827+  82  Linux swap / Solaris
> /dev/sda3            3164        4462    10434217+  83  Linux
>
> sda1 size  ~ 21.5 G
>
> but using df:
> # df -kh
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/sdb6             7.7G  5.6G  1.8G  77% /
> tmpfs                1014M     0 1014M   0% /dev/shm
> /dev/sda1             190M  5.6M  175M   4% /mnt/sda1
>
> sda1 size = 190M

df comes from the file system rather than the partition.  is it
possible that the sda1 partition was resized but not reformatted?

if you can stand to lose the data, can you reformat the file system?
do you then get the expected size?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux