CentOS操作raid10磁碟分割相關教程

來源:互聯網
上載者:User

CentOS操作raid10磁碟分割相關教程

裝上CentOS5.5系統後,準備對剩下空間的進行分區,做iscsi共用,使用fdisk -l命令發現,顯示的是4塊完整的盤!

[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

使用df -h查看顯示如下:

[root@file2 ~]# df -h
檔案系統 容量 已用 可用 已用% 掛載點
/dev/mapper/isw_ihhcieff_file2p1
237G 3.3G 222G 2% /
tmpfs 1.9G 0 1.9G 0% /dev/shm

這個/dev/mapper應該就是raid10的整個分區?記得裝系統磁碟分割時,磁碟顯示是這個/dev/mapper/isw_ihhcieff_file2。那麼拿這個開刀:

[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 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):

真的進去,還可以分區!如果麼有錯的話,那麼raid的分區應該就類似這個的吧?

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.