修改mddb.cf文件 # vi /a/etc/lvm/mddb.cf (红色内容注释掉) #metadevice database location file do not hand edit #driver minor_t daddr_t device id checksum #sd 7 16 id0 -449 #sd 7 8208 id0 -8641 修改文件 sd md.conf 7 16400 id0 -16833 注释掉/kernel/drv/md.conf 里关于metadb配置 sd 15 16 id0 -457 # more /kernel/drv/md.conf sd 15 8208 id0 -8649 # Begin MDD database info (do not edit) #mddb_bootlist1=\sd:7:8208:id0 sd:7:16400:id0 sd:15:16:id0 sd:15:8208 :id0 sd:15:16400:id0\2.8使用单块硬盘启动系统 # End MDD database info (do not edit) ~ {18} ok probe-scsi-all This command may hang the system if a Stop-A or halt command has been executed. Please type reset-all to reset the system before executing this command. Do you wish to continue? (y/n) y /pci@0,600000/pci@0/pci@8/pci@0,1/FJSV,ulsa@1,1 fail to set Initiator ID fail to setup initiator ID
{0} ok devalias
cdrom
/pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@3,0:f
net
/pci@0,600000/pci@0/pci@8/pci@0/network@2
disk
/pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0
name aliases
{0} ok boot /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0:a
Boot device: /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0:a File
and args:
WARNING: autoup is set more than once in /etc/system. \
applied as the current setting.
2.9多路径软件检查
bash-3.00# devfsadm –C
bash-3.00# /usr/opt/FJSViomp/bin/iompadm -c mplb info IOMP: /dev/FJSVmplb/fiomp/adm0 Element:
三、更换硬盘,重新配置镜像
3.1创建RAID信息
新硬盘写入分区信息 bash-3.00# prtvtoc /dev/rdsk/c0t0d0s2|fmthard -s - /dev/rdsk/c0t1d0s2 fmthard: New volume table of contents now in place. 创建镜像数据库 bash-3.00# metadb -a -f -c 3 c0t0d0s7 bash-3.00# metadb -a -f -c 3 c0t1d0s7 创建子镜像 bash-3.00# metainit -f d11 1 1 c0t0d0s0 d11: Concat/Stripe is setup bash-3.00# metainit -f d21 1 1 c0t0d0s1 d21: Concat/Stripe is setup bash-3.00# metainit -f d31 1 1 c0t0d0s3 d31: Concat/Stripe is setup bash-3.00# metainit -f d41 1 1 c0t0d0s4 d41: Concat/Stripe is setup bash-3.00# metainit -f d12 1 1 c0t1d0s0 d12: Concat/Stripe is setup bash-3.00# metainit -f d22 1 1 c0t1d0s1 d22: Concat/Stripe is setup