Disk is present but not active

hello,

I have an issue with my aix box. the power went down. I got the box back up and can log into it. the datavg drives are not showing as active. How do i make them active. let me know if you need any screenshots let me know.

Thanks

---------- Post updated at 09:48 PM ---------- Previous update was at 06:56 PM ----------

i found the command i needed. user varyonvg

Check the option configured on "Auto-on" parameter using "lsvg <vgname>" command. Here is the description of Auto-on parameter:

Auto-on Automatic activation at IPL (yes or no).

If the "Auto-on" set to "no" then it is working as configured.
If the "Auto-on" set to "yes" then it should varyon the VG automatically, something was wrong during the system startup, it requires some troubleshooting. It can be fixed, not a big deal.

As per the man page of mkvg command, the default value of Auto-on parameter is "yes", that is a VG will be automatically varied on during system reboots. So if you check and confirm the auto-on was set as "no" then someone deliberately changed this parameter to "no", that is the volume group will not be automatically available (active) during a system reboots.

On most cases, "Auto-on" set to "no" option for the volume group that are controlled by HACMP/PowerHA.

If it is a standalone machine and the "Auto-on" set to "no" than it is a very rare case, people do that to access the data of that VG that has been configured on another standalone machine by mapping the same disk(s) from storage to two or more machines. This is to avoid data corruption. It may not be your case.

if it is just a administration mistake during the time of this volume group creation and if you want this volume group to be varied on automatically during upcoming system reboots then change this parameter using:

# chvg -a y <vgname>
# lsvg <vgname>

In all cases, verify why it was set to "no" before changing it.