Linux添加新硬盤,fdisk新建分區
fdisk新建分區:
[[email protected] ~]# fdisk -l Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280bytes Sector size (logical/physical): 512 bytes /512 bytes I/O size (minimum/optimal): 512 bytes / 512bytes Disk identifier: 0x000e7df7 Device Boot Start End Blocks Id System /dev/sda1 * 1 511 4096000 83 Linux Partition 1 does not end on cylinderboundary. /dev/sda2 511 1020 4096000 83 Linux Partition 2 does not end on cylinderboundary. /dev/sda3 1020 1275 2048000 82 Linux swap / Solaris /dev/sda4 1275 2611 10730496 5 Extended /dev/sda5 1276 2611 10729472 83 Linux Disk /dev/sdb: 21.5GB, 21474836480 bytes 255 heads, 63sectors/track, 2610 cylinders Units = cylinders of16065 * 512 = 8225280 bytes Sector size(logical/physical): 512 bytes / 512 bytes I/O size(minimum/optimal): 512 bytes / 512 bytes Disk identifier:0x00000000 [[email protected]