注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

hty

 
 
 

日志

 
 

How to restore a huge metasave file - CDC CPE Wiki  

2008-12-26 16:54:54|  分类: 默认分类 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

How to restore a huge metasave file

From CDC CPE Wiki

Jump to: navigation, search

(Originally written by Chien Nguyen & Anand Raj Vengadassalam)

  • How to get meatsave utility

Usually, Support uses metasave binary from VRTSspt package. The package could be downloaded from ftp.veritas.com as anonymous. In the /pub/support directory, the VRTSspt packages are called: VRTSspt-<platform>.tar.Z, so for Solaris it would be VRTSspt-sol.tar.Z. If the VRTSspt package is installed on Solaris, the metasave binaries are in /opt/VRTSspt/FS/MetaSave. There is a README.metasave.

  • Get basic information of the meta-file
# metasave -i <metasave.output>  
  • Restore to a volume
  • Restore to a spare file
# mkfile -n <fs-size> <replayed_metasave> /*For Solaris; Linux, just use "touch <replayed_metasave>", without specify the size*/  # metasave -r -f <metasave.output> <replayed_metasave>  

If you want to mount it, use lofiadm:

# lofiadm -a <replayed_metasave>  # mount -F vxfs /dev/lofi/<N> /mnt  

For Linux, use "mount -o loop"

# mount -o loop -t vxfs <replayed_metasave> /mnt  
  • Restore to a stdisk
  • Restore to a spare volume

Here is an example to create a spare volume and restore metadata file

#vxassist -g datadg make vcachevol 100g  #vxmake -g datadg cache vcacheobj cachevolname=vcachevol   #vxcache -g datadg start vcacheobj   #vxmake -g datadg sd vcacheobj-00 len=13312g dm=vcacheobj   #vxmake -g datadg plex vol13TB-01 sd=vcacheobj-00   #vxmake -g datadg vol vol13TB plex=vol13TB-01   #vxvol -g datadg start vol13TB   #/opt/VRTSspt/FS/M*/metasave_10 -r -f ./SNAP-vol01.met /dev/vx/rdsk/datadg/vol13TB  



引文来源  How to restore a huge metasave file - CDC CPE Wiki
  评论这张
 
阅读(216)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017