免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1755 | 回复: 4
打印 上一主题 下一主题

[SCO UNIX] LSM环境下的备份问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-07-09 16:09 |只看该作者 |倒序浏览
disklabel -r 的输出:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE: values not exact
  a:    1049700          0     AdvFS                            # (Cyl.    0 - 464*)
  b:    2099398    1049700      swap                            # (Cyl.  464*- 1393*)
  c:    8380080          0    unused        0     0               # (Cyl.    0 - 3707)
  d:          0          0    unused        0     0               # (Cyl.    0 - -1)
  e:          0          0    unused        0     0               # (Cyl.    0 - -1)
  f:    5076656     786432    unused        0     0               # (Cyl.  347*- 2594*)
  g:    5169105    3149098     AdvFS                            # (Cyl. 1393*- 3680*)
  h:      61877    8318203   LSMsimp                            # (Cyl. 3680*- 3707)

用vdump可以备份/ 和 /usr ;但lsm的 h 分区如何处理? 我考虑用dd 来 备份/dev/rrz0h, 是否要有更好的方法?

论坛徽章:
0
2 [报告]
发表于 2003-07-09 16:19 |只看该作者

LSM环境下的备份问题

看来可以volsave /volrestore ;
不过还是有疑问:
如果我把h分区的大小改变了,是否也能实现, rootdg里面没有建vol。

论坛徽章:
0
3 [报告]
发表于 2003-07-09 17:41 |只看该作者

LSM环境下的备份问题

既然rootdg里没有vol,那么备份h分区又有什么意义呢?

论坛徽章:
0
4 [报告]
发表于 2003-07-10 14:26 |只看该作者

LSM环境下的备份问题

好象LSM一定需要rootdg,数据库文件建在其他的disk group上。
我是设想在一个空盘(可能大小与原来不一致)上恢复出/ 和 /usr 系统后如何识别到原来定义的disk group 和vol?     
另外btcreate是否支持LSM的恢复?

论坛徽章:
0
5 [报告]
发表于 2003-07-10 14:47 |只看该作者

LSM环境下的备份问题

1) 如果你的目的是backup一个可以启动的系统,backup /usr and /
is enough, you can disable the lsm information in your backup set

2) If your purpose is to backup the data on the volume, you can backup the fileset build on the volume or backup the data via related tools.

3) If your purpose is to backup your lsm configuration, volsave and volrestore can do it

P.S

rootdg is the root group of the lsm, it is necessary, it records the rootdg's configration and other volume dg's breif configration in its prive region, every lsm dg has a private region that contains its own lsm configuration, so you can restore your data even you don't have the original rootdg configuration: enable the disk -->; import dg -->; enable the plex and volume.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP