Gopi Desaboyina Solaris Blogs

Just another WordPress.com weblog

When rootdg messed up with Veritas SF 3.5 or earlier

Earlier to Veritas SF 3.5 rootdg is required. incase if disks failed/messed up in rootdg. you won’t be able to run vx commands and they’ll be start failing. Examples below. Note: they are copied from google as I don’t have my system errors. but they are same.

root][~]:#vxconfigd -m boot
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
Disk group has no valid configuration copies; transactions are
disabled.
vxvm:vxconfigd: FATAL ERROR: Rootdg cannot be imported during boot

root[~]:#vxdg list
vxvm:vxdg: ERROR: IPC failure: Configuration daemon is not accessible

so I restarted vxconfigd as it used to run before:

root[~]:#vxconfigd -k -m disable
root[~]:#ps -aef vxcon
root 5737 1 1 10:46:30 ? 0:01 vxconfigd -k -m disable

root[~]:#vxdg list
NAME STATE ID
(this stays empty, not showing any of the 2 disk groups)

root[~]:#vxprint
vxvm:vxprint: ERROR: IPC failure: Configuration daemon is not accessible

root[~]:#vxdisk list
vxvm:vxdisk: ERROR: Cannot get records from vxconfigd: Record not in disk group

To recover that root, you may follow these methods.
1. If it’s real hdd problem. you might want to replace that with good one.so that we initialize that under rootdg later.
2. remove/comment the vx devices from /etc/vfstab
3) touch /etc/vx/reconfig.d/state.d/install-db. # This will make sure during reboot it won’t start vx daemons automatically.
3) reboot the system.
4) Run the vxinstall. when you run this it’ll ask do you want to initilize the disks .
say no them (This applies to only disks not in rootdg). It’ll leave the disks in earlier states.
you need to recreate the rootdg with same disks.
5) Reboot the system back & make sure you are able to run all vx commands which were failing earlier.
6) If they are working then you should put back the old /etc/vfstab vx entries back and mount them.

After Verias SF 3.5 rootdg is not important and even if it fails, no issues should come up as it’s like any other diskgroups.

Advertisements

August 8, 2009 - Posted by | Solaris |

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: