Rebuilding Disk groups from The Private Regeon
This works very well with simple volumes but not so well with complicated ones!
**This method should only be used as a last resort** ie if there is no backup etc..
# Find a readable private regeon.then:-
/etc/vx/diag.d/vxprivutil dumpconfig /dev/dsk/c0t0d0s4 > /tmp/file
# Check through "/tmp/file" for duplicate entries.
# Create a config_file:-
cat /tmp_file|vxprint -D - -hmvps > /tmp/config_file
# Use the /tmp/file to establish which logical name for which disk:-
grep dm (disk media name) /tmp/file
grep last_da_name (c0t4d0)
# Rebuild the disk group.
vxdg init [disk group] [logical disk name]
# Add all the other disks to the disk group.
vxdg -g [disk group] adddisk [logical name]=c0t4d0
# vxmake -g [disk group] -d [config_file]
# Restart all the volumes:-
vxvol -g [disk group]init active [volname]
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий