Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5615798
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2005-10-17 17:19:02

the following task map identifies the procedures that are needed to manage solaris volume manager RAID-0 volumes:
create RAID-0(stripe) volumes:use the solaris volume manager GUI or the metainit command to create a new volume
create RAID-0(concatenation) volumes:use the solaris volume manager GUI or the metainit command to create a new volume
expand storage space:use the solaris volume manager GUI or the metainit command to expand an existing file system
expand an existing RAID-0 volume:use the solaris volume manager GUI or the metattach command to expand an existing volume
remove a RAID-0 volume:use the solaris volume manager GUI or the metaclear command to delete a volume

创建RAID-0卷的步骤如下:
使用命令metainit,例如:
# metainit volume-name number-of-stripes components-per-stripe component-names [ -i interlace ]
其中volume-name指示被创建的卷的名称
number-of-stripes指示要创建的卷的数量
components-per-stripe指示每个stripe拥有的组件数目
component-names指示正在使用的组件的数量,如果多余一个组件被使用,那么用空格将它们分开
-i interlace指示用于stripe的宽度,默认的interlace宽度是16Kilobytes
一个具体的实例:
# metainit d20 1 3 c0t1d0s2 c0t2d0s2 c0t3d0s2

扩充存储容量的步骤是:
1,卸载文件系统
# umount /filesystem
2,使用命令metainit来创建一个concatenation
3,编辑/etc/vfstab文件确保文件系统引用了concatenation
4,重新挂载文件系统
# mount /filesystem

扩充一个存在的RAID-0卷的步骤是:
用命令metattach命令创建一个concatenated卷:
# metattach volume-name component-names

移除一个RAID-0卷的步骤是:
1,确保备份了所有的数据并且拥有root权限
2,确保不再需要这个卷
3,如果必要的话,卸载文件系统
4,使用命令metaclear移除卷

阅读(1967) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~