linux下构建raid0、raid1、raid5
根据raid0属性,构建时至少需要两块硬盘,硬盘类型不限 假设系统后加入3块scsi硬盘,系统识别后分别是sdb、sdc、sdd 各分成一个区,这里先设置sdb [root@myserver root]# fdisk /dev/sdb The number of cylinders for this disk is set to 1044. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help):n --新建分区 First cylinder (1-1044, default 1):1 --直接回车就是默认 Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-1044, default 1044)