Operating System - HP-UX
1827798 Members
2247 Online
109969 Solutions
New Discussion

external disk problem in a cluster environment

 
SOLVED
Go to solution
rana786
Regular Advisor

external disk problem in a cluster environment

Hi there,

I had 4 disks (146x4 GB each) in an external storage ds2300. I made mirror. Now I am seeing something wrong with one of disk. I am giving you the command outputs. Please help.

Rgds,
Rana
Walker_dhk
7 REPLIES 7
Mridul Shrivastava
Honored Contributor

Re: external disk problem in a cluster environment

It's clear that /dev/dsk/c4t9d0 is showing NO_HW, which means either disk has gone bad or its not seated properly.
The error messages are for this disk and some lvols are showing as stale because those lvols would be using this disk for mirror so i would request you to chech the physical status by reseating it and then run ioscan it should show as CLAIMED.
Then u try to deactivate and activate the vg but even after reseating its not showing as CLAIMED then u have to get the disk replaced and restore the vgconfiguration then activate andexecute vgsync so it will copy all the data to the disk.
Time has a wonderful way of weeding out the trivial
Walker_3
Frequent Advisor

Re: external disk problem in a cluster environment

Hi Shrivastava,

I have resetted the hard disk but it is not claimed. So I am going to replace the disk with a new one. Could you please tell me what would be my next steps and commands to rebuild it? Will it auto regenarate the mirror or I have to do everything manually?

Should I have to halt the package and cluster?

Regards,
Rana
Walker_3
Frequent Advisor

Re: external disk problem in a cluster environment

Hi there,

My new disk is claimed. Please tell me how can I restore the vgconfiguration?

Rgds,
Rana
Mridul Shrivastava
Honored Contributor
Solution

Re: external disk problem in a cluster environment

pls execute the following command:

#vgcfgrestore -n /dev/rdsk/c4t9d0

It will restore the vg configuration then activate the vg and execute vgsync command so it will create mirror on that.
Time has a wonderful way of weeding out the trivial
Walker_3
Frequent Advisor

Re: external disk problem in a cluster environment

Hi Shrivastava,

Great. Its working. Whatelse do I need to do? That's it?

Rgds,
Rana
Chauhan Amit
Respected Contributor

Re: external disk problem in a cluster environment

Hi Walker ,

Please execute the following command
#vgsync vg01

Now check with the following command for any stale Logical Volume , If none , then nothing more needs to be done.

#vgdisplay - v vg01

-Amit
If you are not a part of solution , then you are a part of problem
Mridul Shrivastava
Honored Contributor

Re: external disk problem in a cluster environment

Hi,

To copy the data to this newly replaced disk u need to execute the following command
# vgsync

It will copy all the data and as per step of Amit if u execute lvdisplay command u'll find all the extents as current, no stale extents will be there.
Time has a wonderful way of weeding out the trivial