I asked this question in other thread, posted not by me, but as it was marked as "solved" I have to create separate one.
I have 500GB SATA2 Samsung HD501LJ disk fully allocated for file storage with single slice and single partition created via "sysinstall" (system is installed on other disk).
My problem is that I can't understand why df -h shows 451GiB total partition size whereas there must be 465 GiB? (500,000,000,000/1024/1024/1024)
Here is what tools shows
Fdisk
Disklabel
gpart show
df -h /mnt/data
Thus can somebody explain to me why does "df" show 451 instead of 465 please?
P.S. I don't think this is du vs ds conundrum as I gathered that information from new just created FS.
I have 500GB SATA2 Samsung HD501LJ disk fully allocated for file storage with single slice and single partition created via "sysinstall" (system is installed on other disk).
My problem is that I can't understand why df -h shows 451GiB total partition size whereas there must be 465 GiB? (500,000,000,000/1024/1024/1024)
Here is what tools shows
Fdisk
Code:
Disk name: ad4 FDISK Partition Editor
DISK Geometry: 969021 cyls/16 heads/63 sectors = 976773168 sectors (476940MB)
Offset Size(GB) End Name PType Desc Subtype Flags
0 0 62 - 12 unused 0
63 465 976773167 ad4s1 8 freebsd 165
Disklabel
Code:
Disk: ad4 Partition name: ad4s1 Free: 0 blocks (0MB)
Part Mount Size Newfs Part Mount Size Newfs
---- ----- ---- ----- ---- ----- ---- -----
ad4s1d <none> 465GB *
gpart show
Code:
...
=> 63 976773105 ad4 MBR (465G)
63 976773105 1 freebsd [active] (465G)
=> 0 976773105 ad4s1 BSD (465G)
0 976773105 4 freebsd-ufs (465G)
df -h /mnt/data
Code:
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1d 451G 4.0k 451G 0% /mnt/data
Thus can somebody explain to me why does "df" show 451 instead of 465 please?
P.S. I don't think this is du vs ds conundrum as I gathered that information from new just created FS.