Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5616040
  • 博文数量: 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-18 10:30:11

The following task map identifies the procedures that are needed to maintain solaris volume manager:
1,view the solaris volume manager configuration:
use the solaris volume manager GUI or the metastat command to view the system configuration
2,rename a volume:
use the solaris volume manager GUI or the metarename command to rename a volume
3,create configuration files:
use the metastat -p command and the metadb command to create configuration files
4,initialize solaris volume manager from configuration files:
use the metainit command to initialize solaris volume manager from configuration files
5,expand a file system:
use the growfs command to expand a file system
6,enable components:
use the solaris volume manager GUI or the metareplace command to enable components


对要重命名的卷执行以下步骤:
1,卸载使用了这个卷的文件系统
2,用命令metarename old-volume-name new-volume-name进行重命名
3,编辑/etc/vfstab文件
4,重新挂载文件系统

创建配置文件:
# metastat -p > /etc/lvm/md.tab

从配置文件初始化solaris卷管理器的步骤:
1,创建状态数据库复制品
2,创建或者升级/etc/lvm/md.tab文件
3,编辑/etc/lvm/md.tab文件
4,检查/et/clvm/md.tab文件条目的语法,用下面的命令:
# metainit -n md.tab-entry
# metainit -n -a
5,如果之前没有任何错误,那么从md.tab文件里面重新创建卷以及hot spare pools:
# metainit -a
6,使用mettach命令创建子镜像
# mettach mirror submirror
7,用命令metastat对卷进行检查

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