Updating SVM/Disksuite device relocation information

While booting my Solaris 10 box today, I noticed the following error in /var/adm/messages:

Jul 23 11:15:53 tigger metadevadm: [ID 209699 daemon.error] Invalid device relocation
information detected in Solaris Volume Manager
Jul 23 11:15:53 tigger metadevadm: [ID 912841 daemon.error] Please check the status of
the following disk(s):
Jul 23 11:15:53 tigger metadevadm: [ID 702911 daemon.error] c1t6d0

I recently replaced c1t6d0, but forgot to update the device relocation information in the meta state database. To fix this issue, I ran metadevadm(1m) with the “-u” (update diskid in the meta state database) option:

$ metadevadm -u c1t6d0

Updating Solaris Volume Manager device relocation information for c1t6d0
Old device reloc information:
New device reloc information:

Now metadevadm doesn’t complain when the box boots! :)

This article was posted by Matty on 2005-07-23 21:32:00 -0400 EDT