Create software RAID on RHEL5 and build LVM based on software RAID

Source: Internet
Author: User
Tags hex code
& Nbsp. & Nbsp; these operations are performed on the vmwarevm. First install RHEL5 on/dev/sda. After installation, four hard disks are added:/dev/sdb,/dev/sdc,/dev/sdd, and/dev/sde & nbsp; it's almost forgotten that I haven't performed any operations for a long time with the root user. I 've got a better impression by practicing it again.

These operations are performed on the vmwarevm. First install RHEL5 on/dev/sda. After installation, four hard disks are added:/dev/sdb,/dev/sdc,/dev/sdd, and/dev/sde, first look at the disk situation: [root@www.linuxidc.com ~] # Fdisk-l Disk/dev/sda: 15.0 GB, 15032385536 bytes 255 heads, 63 sectors/track, 1827 cylinders Units = cylinders of 16065*512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/sda1 * 1 13 104391 83 Linux/dev/sda2 14 1827 14570955 8e Linux LVM Disk /dev/sdb: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065*512 = 8225280 bytes Device Bo Ot Start End Blocks Id System Disk/dev/sdc: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065*512 = 8225280 bytes Device Boot Start End Blocks Id System Disk/dev/sdd: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065*512 = 8225280 bytes Device Boot Start End Blocks Id System Disk/dev/sde: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = cylinders of 16065*512 = 8225280 bytes Device Boot Start End Blocks Id System 1. create Soft RAID 1. create a raid partition [root@www.linuxidc.com ~] # 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 cocould 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 Command action e extended p primary partition (1-4) p Partition number (1-4 ): 1 First cylinder (1-1044, default 1): Using default value 1 Last cylinder or + size or + sizeM or + sizeK (1-1044, default 1044 ): using default value 1044 Command (m for help): t Selected partition 1 Hex code (type L to list codes ): L 0 Empty 1e Hidden W95 FAT1 80 Old Minix be Solaris boot 1 FAT12 24 nec dos 81 Minix/old Lin bf Solaris 2 XENIX root 39 Plan 9 82 Linux swap/So c1 DRDOS/sec (FAT-3 XENIX usr 3c PartitionMagic 83 Linux c4 DRDOS/sec (FAT-4 FAT16 <32 M 40 Venix 80286 84 OS/2 hidden C: c6 DRDOS/sec (FAT-5 Extended 41 PPC PReP Boot 85 Linux extended c7 syr00006 FAT16 42 SFS 86 NTFS volume set da Non-FS data 7 HPFS/NTFS 4d QNX4.x 87 NTFS volume set db CP/M/CTOS /. 8 AIX 4e QNX4.x 2nd part 88 Linux plaintext de Dell Utility 9 AIX bootable 4f QNX4.x 3rd part 8e Linux LVM df BootIt a OS/2 Boot Manag 50 OnTrack DM 93 Amoeba e1 DOS access

[1] [2] [3] [4] [5] [6] [7] Next page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.