欢迎来到天天文库
浏览记录
ID:24431130
大小:55.00 KB
页数:3页
时间:2018-11-14
《solaris下做raid1做磁盘镜像》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、solaris下做raid1做磁盘镜像 #调整第二块硬盘(c0t1d0)的文件分区表调整为和引导盘一致 prtvtoc/dev/rdsk/c1t0d0s2
2、fmthard–s–/dev/rdsk/c1t1d0s2 #先生成replicas,供DiskSuite内部用 metadb-afc3c1t0d0s6c1t1d0s6 #Creatingamirror metainit-fd1011c1t0d0s0 metainitd2011c1t1d0s0 metainitd0-m
3、d10 metarootd0 metainit-fd1111c1t0d0s1 metainitd1211c1t1d0s1 metainitd1-md11 metainit-fd3111c1t0d0s3 metainitd3211c1t1d0s3 metainitd3-md31 metainit-fd4111c1t0d0s4 metainitd4211c1t1d0s4 metainitd4-md41 metainit-fd5111c1t0d0s5 metainitd5211c1t1d0s
4、5 metainitd5-md51 metainit-fd7111c1t0d0s7 metainitd7211c1t1d0s7 metainitd7-md71 #编辑/etc/vfstab文件 /dev/md/dsk/d1--sd/dsk/d0/dev/md/rdsk/d0/ufs1no- /dev/md/dsk/d5/dev/md/rdsk/d5/usrufs1no- /dev/md/dsk/d3/dev/md/rdsk/d3/backupufs2yes- /dev/md/dsk/d7/d
5、ev/md/rdsk/d7/export/homeufs2yes- /dev/md/dsk/d4/dev/md/rdsk/d4/optufs2yes- sptmpfs-yes- #文件系统激活 lockfs-fa reboot #文件系统关联 metattachd0d20 metattachd1d12 metattachd3d32 metattachd4d42 metattachd5d52 metattachd7d72 ---------- metadb-dc1t0d0s6删除数据
6、库 metadb-fdc1t1d0s6 metaclear-fd62清除镜像 metastat状态检查 ---------------------------------------------------------- /dev/dsk/c1t0d0s09.8G3.6G6.1G37%/ /dev/dsk/c1t0d0s54.9G1.6G3.3G34%/usr /proc0K0K0K0%/proc mnttab0K0K0K0%/etc/mnttab fd0K0K0K0%/dev/fd sp
7、 /dev/dsk/c1t0d0s431G2.2G29G8%/opt /dev/dsk/c1t0d0s310G4.8M10G1%/backup /dev/dsk/c1t0d0s76.9G7.2M6.8G1%/export/home——感谢阅读这篇文章,..,
此文档下载收益归作者所有