文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > centos raid linus系统下做软raid
侵权投诉

centos raid linus系统下做软raid

软raid,cent,centos,liuns,磁盘阵列

系统centos5.1 VM虚拟机下!

[root@centos5 ~]# fdisk /dev/hdb

The number of cylinders for this disk is set to 17753.

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): n -----创建新的分区

Command action

e extended

p primary partition (1-4)

p ------主分区

Partition number (1-4):1 ---编号随便

First cylinder (1-17753, default 1):

Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-17753, default 17753): Using default value 17753 ----回车即可

Command (m for help):t ------指定磁盘格式 (L可以查看所有格式) Hex code (type L to list codes): fd

Changed system type of partition 1 to fd (Linux raid autodetect) 选择了raid格式因为我们要做raid嘛!

Command (m for help): w -----------写入

The partition table has been altered!

Calling ioctl() to re-read partition table.

Syncing disks.

[root@centos5 ~]# fdisk /dev/hdd 同上!

然后用 mdadm这个命令创建raid

[root@centos5 ~]# mdadm -C /dev/md0 -l0 -n2 /dev/hd[bd]1 创建raid0 这个是简写全部命令是 mdadm -C

/dev/md0 --levle=raid0 --raid-devices=2 /dev/hdb1 /dev/hdd1

[root@centos5 ~]# mkfs.ext3 -t /dev/md0 格式化!

[root@centos5 ~]# mkdir -p /mnt/raid0

[root@centos5 ~]# mount /dev/md0 /mnt/raid0 挂载

[root@centos5 ~]# df -h

文件系统 容量 已用 可用 已用% 挂载点

/dev/hda1 7.3G 1.8G 5.2G 26% /

tmpfs 94M 0 94M 0% /dev/shm

/dev/md0 16G 173M 15G 2% /mnt/raid0

cat /proc/mdstate

查看raid的状态呢?

mdadm -D /dev/md*

第1页

你可能喜欢

热门文档

相关文档

  • centos5.5软raid教程实战图文操作

    下边是正文: 大家好,今天我们来学习如何在 centos5.5 上做软 raid 引用胖... LINUX操作系统 CentOS5... 11页 2下载券 Linux下RAID配置图文教程... 51页...

  • linux centOS 软raid1 制作图解

    RAID1 ,我们要做 raid1 所以选择 raid1 RAID Members:这里要选择相匹配的 ... CentOS系统管理(磁盘)--... 14页 2下载券 Linux 软RAID1 教程 1页 免费...

  • LINUX系统软RAID0、RAID1配置与管理

    LINUX系统软RAID0、RAID1配置与管理_计算机软件及应用_IT/计算机_专业资料。...三、实验的内容和过程: 实验项目: 1、使用 vmware 虚拟机软件为 linux(centos...

  • linux系统软RAID5配置与管理

    linux系统软RAID5配置与管理_计算机软件及应用_IT/计算机_专业资料。实验序号:...三、实验的内容和过程: 实验项目: 1、使用 vmware 虚拟机软件为 linux(centos...

  • centos软raid5配置

    centos软raid5配置_计算机软件及应用_IT/计算机_...(改为83类型,代表Linux类型) (9) w (保存) 5... 0 磁盘阵列分区 挂载目录 文件系统 12、重启系统...

  • 软硬兼施 RAID安装CentOS

    软硬兼施 RAID安装CentOS_IT/计算机_专业资料。最近有需要做一台IBM 3620 M3... Linux系统命令及其使用详... 39页 1下载券 linux centOS 软raid1 制... ...

  • centos与ubuntu软raid的区别

    在centos系统和ubuntu系统创建软raid的区别软raid 是基于系统创建的 centos 软 ... linux centOS 软raid1 制... 8页 免费 centos U盘加载raid卡驱... 11页...

  • 系统安装到软raid上

    本文介绍如何将centos的linux系统安装到软raid上系统安装到软 raid 上 下面以 ...依次下一步,在安装引导程序时,选择刚创建的 raid 设备,即/dev/md0; 后续...

  • Centos 4.7下面装软Raid1

    Centos 4.7 下面装软 Raid1 CentOS 系统管理(磁盘...本文只作说明试验用,请根据自我的实际情况作设置。...可以查看 RAID 的应用情况,如下: [root@linux ~]...

  • centos U盘加载raid卡驱动的方法

    centos U盘加载raid卡驱动的方法_电脑基础知识_IT/计算机_专业资料。centos U盘...文件系统为 vfat(fat32)格式, 这个一定要在 linux 操作, windows 下格式化 ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email