Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5699147
  • 博文数量: 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)

分类:

2006-07-04 10:32:19

The following example will split the root mirror created in the previous example, back up the data, and merge the two logical volumes back into the mirror
Here are the commands to accomplish the backup and resynchronization:
Before proceeding, if the logical volume contains a database, the database must be stopped before it is split. Otherwise the data contained in the split half could be invalid and of no use if it needs to be restored from the backup at a later date.
# sync
# lvsplit -s backup /dev/vg00/lvol1
NOTE:With the "-s" option, the file "/dev/vg00/lvol1backup" would be created automatic
# fsck -p /dev/vg00/lvol1backup
# mkdir /lvol1backup
# mount /dev/vg00/lvol1backup /lvol1backup
# fbackup -f /dev/rmt/0h -0vHi /lvol1backup
# umount /lvol1backup
# lvmerge /dev/vg00/lvol1backup /dev/vg00/lvol1
阅读(3314) | 评论(0) | 转发(0) |
0

上一篇:Mirror a root disk

下一篇:Create a Boot disk

给主人留下些什么吧!~~