AIX下sybase master设备的恢复
一实验准备
1备份master库
dump database master to '/backup/master.dat'
2 lv_masrter的大小
# lsvg -l datavg
datavg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
lv_backup jfs2 320 320 1 open/syncd /backup
loglv00 jfs2log 1 1 1 open/syncd N/A
lv_master raw 10 10 1 closed/syncd N/A
3删除lv_master
# rmlv -f lv_master
rmlv: Logical volume lv_master is removed.
二重新创建master设备
1创建lv_master(和之前的lv_master保持相同大小)
# mklv -t raw -y lv_master datavg 10
2重建master设备
dataserver -d /dev/rlv_master -w master
-w表示在/dev/rlv_master设备上重写master数据库
推荐阅读:
相关推荐
聚合室 2020-09-30
wera00 2020-08-17
DiamondTao 2020-08-17
rongxionga 2020-07-26
herohope 2020-07-19
nebulali 2020-07-05
kaixinfelix 2020-07-04
bruce 2020-06-28
YEEHOLIC 2020-06-26
KFLING 2020-06-13
贤冰 2020-06-12
qingmuluoyang 2020-06-10
Smileyou 2020-06-09
afanti 2020-06-08
Smileyou 2020-06-05
Earlyuan 2020-06-03