Created
January 10, 2013 17:51
-
-
Save ssvss/4504203 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on Ubuntu Desktop: | |
vino@vino-ubuntu-vbox:~$ sudo fdisk -l | |
Disk /dev/sda: 53.7 GB, 53687091200 bytes | |
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disk identifier: 0x000bc4c9 | |
Device Boot Start End Blocks Id System | |
/dev/sda1 * 2048 19922943 9960448 83 Linux | |
/dev/sda2 19924990 20969471 522241 5 Extended | |
/dev/sda5 19924992 20969471 522240 82 Linux swap / Solaris | |
vino@vino-ubuntu-vbox:~$ sudo blockdev --getsize64 /dev/sda5 | |
534773760 | |
vino@vino-ubuntu-vbox:~$ | |
===================================================================================== | |
On ubuntu server: | |
vinoth@server:~$ sudo fdisk -l | |
Disk /dev/sda: 53.7 GB, 53687091200 bytes | |
255 heads, 63 sectors/track, 6527 cylinders, total 104857600 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disk identifier: 0x000b28e6 | |
Device Boot Start End Blocks Id System | |
/dev/sda1 * 2048 499711 248832 83 Linux | |
/dev/sda2 501758 16775167 8136705 5 Extended | |
/dev/sda5 501760 16775167 8136704 8e Linux LVM | |
Disk /dev/mapper/server-root: 7226 MB, 7226785792 bytes | |
255 heads, 63 sectors/track, 878 cylinders, total 14114816 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disk identifier: 0x00000000 | |
Disk /dev/mapper/server-root doesn't contain a valid partition table | |
Disk /dev/mapper/server-swap_1: 1069 MB, 1069547520 bytes | |
255 heads, 63 sectors/track, 130 cylinders, total 2088960 sectors | |
Units = sectors of 1 * 512 = 512 bytes | |
Sector size (logical/physical): 512 bytes / 512 bytes | |
I/O size (minimum/optimal): 512 bytes / 512 bytes | |
Disk identifier: 0x00000000 | |
Disk /dev/mapper/server-swap_1 doesn't contain a valid partition table | |
vinoth@server:~$ sudo blockdev --getsize64 /dev/sda5 | |
8331984896 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment