****************************************************************** * Description: Command of displaying hard disks on Linux platform * Date: 02:26 PM EST, 06/13/2017 ****************************************************************** <1> Command "fdisk": | |__ $ fdisk -l | grep "Disk /dev" | | Disk /dev/sda: 74.1 GB, 74088185856 bytes | Disk /dev/sdb: 441.3 GB, 441307889664 bytes | Disk /dev/sdc: 322.1 GB, 322122547200 bytes | Disk /dev/mapper/vg_nebf1s2k242-lv_root: 34.7 GB, 34728837120 bytes | Disk /dev/mapper/vg_nebf1s2k242-lv_swap: 14.8 GB, 14780727296 bytes | Disk /dev/mapper/vg_nebf1s2k242-lv_home: 23.3 GB, 23332913152 bytes | | |__ $ fdisk -l Disk /dev/sda: 74.1 GB, 74088185856 bytes 255 heads, 63 sectors/track, 9007 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc8edc8ed Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 8921 71139328 8e Linux LVM Partition 2 does not end on cylinder boundary. Disk /dev/sdb: 441.3 GB, 441307889664 bytes 121 heads, 25 sectors/track, 284935 cylinders Units = cylinders of 3025 * 512 = 1548800 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xd5b1d5b1 Device Boot Start End Blocks Id System /dev/sdb1 1 284314 430022656 7 HPFS/NTFS Disk /dev/sdc: 322.1 GB, 322122547200 bytes 129 heads, 6 sectors/track, 812849 cylinders Units = cylinders of 774 * 512 = 396288 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xe1b869c9 Device Boot Start End Blocks Id System /dev/sdc1 3 812850 314571776 83 Linux Disk /dev/mapper/vg_nebf1s2k242-lv_root: 34.7 GB, 34728837120 bytes 255 heads, 63 sectors/track, 4222 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/vg_nebf1s2k242-lv_swap: 14.8 GB, 14780727296 bytes 255 heads, 63 sectors/track, 1796 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/vg_nebf1s2k242-lv_home: 23.3 GB, 23332913152 bytes 255 heads, 63 sectors/track, 2836 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Your Comments