加入收藏 | 设为首页 | 会员中心 | 我要投稿 汽车网 (https://www.0577qiche.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 教程 > 正文

CentOS操作raid10磁盘分区教程

发布时间:2023-04-10 11:33:49 所属栏目:教程 来源:
导读:装上CentOS5.5系统后,准备对剩下空间的进行分区,做iscsi共享,使用fdisk -l命令发现,显示的是4块完整的盘!

[root@file2 ~]# fdisk -l

disk /dev/sda: 1000.2 GB,1000204886016 bytes
255 heads,63 sect

装上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,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,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,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):
 

(编辑:汽车网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章