CentOS raid 10 disk partitioning tutorial

Source: Internet
Author: User
After the CentOS5.5 system is installed, you are ready to partition the remaining space for iscsi sharing. you can use the fdisk-l command to find that four complete disks are displayed! [Root @ file2 ~] # Fdisk-lDisk/dev/sda: 1000.2 GB, 1000204886016bytes255heads, 63 sectors/track, 121601 cylinde

After the CentOS5.5 system is installed, you are ready to partition the remaining space for iscsi sharing. you can use the fdisk-l command to find that four complete disks are displayed!

[Root @ file2 ~] # Fdisk-l

Disk/dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device Boot Start End Blocks Id System
/Dev/sda1*1 31871 256003776 83 Linux
/Dev/sda2 31872 32075 1638630 82 Linux swap/Solaris
/Dev/sda3 32076 243201 1695869595 83 Linux

Disk/dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Device Boot Start End Blocks Id System
/Dev/sdb1*1 31871 256003776 83 Linux
/Dev/sdb2 31872 32075 1638630 82 Linux swap/Solaris
/Dev/sdb3 32076 243201 1695869595 83 Linux

Disk/dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Disk/dev/sdc doesn' t contain a valid partition table

Disk/dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065*512 = 8225280 bytes

Disk/dev/sdd doesn't contain a valid partition table

Use df-h to view the following information:

[Root @ file2 ~] # Df-h
File system capacity used available % mount point
/Dev/mapper/isw_ihhcieff_file2p1
237 GB 3.3G 222G 2%/
Tmpfs 1.9G 0 1.9G 0%/dev/shm

This/dev/mapper should be the entire partition of RAID 10? Remember to display/dev/mapper/isw_ihhcieff_file2 on the disk when installing the system partition. Take this as an example:

[Root @ file2 ~] # Fdisk/dev/mapper/isw_ihhcieff_file2

The number of cylinders for this disk is set to 243201.
There is nothing wrong with that, but this is larger than 1024,
And coshould in certain setups cause problems:
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 ):

You can also partition it! If anything is wrong, should raid partitions be like this?

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.