继续继续RAID5问题
我在VMware 下的 Linux 部署RAID5.
有4块硬盘/dev/sdb /dev/sdc /dev/sdd /dev/sde 每块20G
mdadm --create /dev/md0 -l5 --raid-devices=4 /dev/sdb /dev/sdc /dev/sdd /dev/sde
生成/dev/md0的文件.
先mkfs.ext3 /dev/md0
对其fdisk /dev/md0 分区,我对其分了3个区
分区后发现如下:
Disk /dev/sdb: 21.4 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/sdb doesn't contain a valid partition tableDisk /dev/sdc: 21.4 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdc1 1 2610 20964793+ 83 LinuxDisk /dev/sdd: 21.4 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sdd1 1 2610 20964793+ 83 LinuxDisk /dev/sde: 21.4 GB, 21474836480 bytes255 heads, 63 sectors/track, 2610 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sde1 1 1000 8032468+ 83 Linux/dev/sde2 1001 2000 8032500 83 Linux/dev/sde3 2001 2610 4899825 83 LinuxDisk /dev/md0: 64.4 GB, 64424312832 bytes2 heads, 4 sectors/track, 15728592 cylindersUnits = cylinders of 8 * 512 = 4096 bytes Device Boot Start End Blocks Id System/dev/md0p1 1 5000000 19999998 83 Linux/dev/md0p2 5000001 10000000 20000000 83 Linux/dev/md0p3 10000001 15728592 22914368 83 Linux