vmware 新增硬碟
[root@new-host-832 home]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 2544 20434648+ 83 Linux /dev/sda2 2545 2610 530145 82 Linux swap / Solaris Disk /dev/sdb: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 2610 20964793+ 83 Linux Disk /dev/sdc: 42.9 GB, 42949672960 bytes 255 heads, 63 sectors/track, 5221 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes [root@new-host-832 home]# fdisk /dev/sdc (select n -> p -> 1 -> enter -> enter -> w) [root@new-host-832 home]# mkfs.ext3 /dev/sdc1 mke2fs 1.39 (29-May-2006) Filesystem label= OS type: Linux