Integrity Servers
1752749 Members
4728 Online
108789 Solutions
New Discussion юеВ

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

 
SOLVED
Go to solution
Anoop Sivan
Frequent Advisor

SAS disk issue in mirrored root vg(hp-ux-11.23)

Hi Talents,
I received an error regarding sas disk issue from my rx2660.vgdisplay shows the error disk "/dev/dsk/c1t0d0s2" is not available.ioscan and sasmgr command does not showing any information regarding this disk.Still we didn't replaced the disk,but sasmgr out put shows 8 disks and no information regarding this faulty disk.Please help me to solve the issue.
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

Well, you just found where the problem is if you don't use a hardware RAID with this machine.


Once a disk is replaced, it gets a NEW device file:

disk 2111 0/1/1/0.0.0.8.0 sdisk CLAIMED DEVICE HP DG072A9BB7
/dev/dsk/c1t8d0 /dev/rdsk/c1t8d0


Now you need to adjust the LVM config to use this "new" disk.


Please post an

# vgdisplay -v vg00

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anoop Sivan
Frequent Advisor

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

Sorry for the delay,
Our onsite team replaced this sas disk.
There was no change regarding this issue.
So the confusion.
What,Mr.Torsten replyed was correct,Once a SAS disk is replaced,it gets a new device file,because it uses disks wwid.So we need to map old device file to new disks H/W path.
# sasmgr replace_tgt -D /dev/sasd0 -q old_dev=/dev/dsk/c1t0d0 -q new_tgt_hwpath=0/1/1/0.0.0.8.0

Done it.
Thank you Torsten.
Anoop Sivan
Frequent Advisor

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

For the above same issue when we execute the "sasmgrreplace_tgt -D /dev/sasd0 -q old_dev=/dev/dsk/c1t0d0 -q new_tgt_hwpath=0/1/1/0.0.0.8.0" command,it gives an error says that"WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue ?(y/n) [n]...
ERROR: Unable to replace target: Device busy "
What option can we use 'Y' or 'N'? .If we select 'Y'here,whether this will cause any bad effect with mirrored disks which located in other bay,because it uses the same controller.
Torsten.
Acclaimed Contributor

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

Normally:

WARNING: This is a DESTRUCTIVE operation.
This might result in failure of current I/O requests.
Do you want to continue ?(y/n) [n]... ==> y <==

LUN has been replaced with new Target.



But if it says "busy" there might be a hung process. Do not reboot!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Anoop Sivan
Frequent Advisor

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

Hi All,

When we executing "sasmgrreplace_tgt -D /dev/sasd0 -q old_dev=/dev/dsk/c1t0d0 -q new_tgt_hwpath=0/1/1/0.0.0.8.0" command it gives error that ERROR: Unable to replace target: Device busy ".When we continue with "y" option there is no result.We already detached the pv with "pvchange -a n =/dev/dsk/c1t0d0 ".

Because of above error we try to replace the disk using pvkey.All the mirrors are removed using the pvkey.After that when we execute "vgreduce -f /dev/vg00" it ask to recreate the lvmtab.In our enviornment lot of vg's are deactivated and some of them are exported for the BCV backup.Need to know any other method is there to remove the disk entry from lvmtab with out using "vgscan -v"
Anoop Sivan
Frequent Advisor

Re: SAS disk issue in mirrored root vg(hp-ux-11.23)

Hi all,

I am waiting for the reply from some.
Whether we can use "vgscan -l" for updating lvmtab,without recreation.