Hi,
Just want to know a little bit about disk space calculation.
I have a hard disk of 500 GB as shown here.
=============================================================================
websrv-1:~# fdisk -l /dev/sda
Disk /dev/sda: 500.1 GB, 500106813440 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 36 289138+ 83 Linux
/dev/sda2 37 279 1951897+ 83 Linux
/dev/sda3 280 60801 486142965 5 Extended
/dev/sda5 280 60801 486142933+ 8e Linux LVM
=============================================================================
It has 60801 cylenders and all cylenders are used up after partitioning.
There are 3 partitions
1) sda5 is LVM and is 464 GB approx
==========================================================================
-websrv-1:~# vgdisplay
--- Volume group ---
VG Name vg1
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 14
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 7
Open LV 7
Max PV 0
Cur PV 1
Act PV 1
VG Size 463.62 GB
PE Size 4.00 MB
Total PE 118687
Alloc PE / Size 114944 / 449.00 GB
Free PE / Size 3743 / 14.62 GB
VG UUID YCt1ge-tM3v-c22S-nVfH-6lmr-F5eh-1uMELn
==========================================================================
2) sda1 and sda2 are 300MB and 2GB approximately.
==========================================================================
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.9G 140M 1.7G 8% /
tmpfs 2.0G 0 2.0G 0% /lib/init/rw
udev 10M 40K 10M 1% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/sda1 274M 24M 237M 9% /boot
===========================================================================
So sda5 + sda1 + sda2 = 470GB + 300MB + 2 GB = 472.3 or 473GB approximately.
But my hard disk is 500GB.
So where did 27 ( 500 -473 ) GB go?
Is there any error in my Calculations?
Thankyou so much :-)
kind Regards
Siju
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]