LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Symmetrix SAN Disks Managed by HP Volume Manager

 
SOLVED
Go to solution

Symmetrix SAN Disks Managed by HP Volume Manager

Hi
I have been asked by one of our storage guys to change these settings on Symmetrix SAN Disks

1.Physical volume timeout values will need to be set to 90 rather than the default

2. Bad Block reallocation needs to be set to “none” for SAN disk

Here is an output. The ones with (**) are the ones that need to be changed.
[HA742:root] /root # lvdisplay -v /dev/vg03/lvol1 | grep -v current
--- Logical volumes ---
LV Name /dev/vg03/lvol1
VG Name /dev/vg03
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 6144
Current LE 768
Allocated PE 768
Stripes 0
Stripe Size (Kbytes) 0
Bad block NONE (**)
Allocation strict
IO Timeout (Seconds) default(**)

My question is can these settings be done online or does it require a reboot.

Command syntax to change the above settings would be appreciated.

The host is running HPUX 11.00

[HA742:root] /root # uname -a
HP-UX HA742 B.11.00 A 9000/800 573760598 two-user license

Tks for your help in advance
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: Symmetrix SAN Disks Managed by HP Volume Manager

Hi Eddie,

bad blocks are already off, change the timeout with

/usr/sbin/pvchange [-A autobackup] -t IO_timeout pv_path

and specify the value in seconds. No reboot needed.

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!   

Re: Symmetrix SAN Disks Managed by HP Volume Manager

Hi thanks for your quick response..

What is the command to run if bad block needs to be changed ?

Also, with the IO timeout; silly question.. but do I need to apply the setting to the alternate link disk device as well??
Torsten.
Acclaimed Contributor

Re: Symmetrix SAN Disks Managed by HP Volume Manager

You can set timeouts and bad block relocation on LVOL level:

http://docs.hp.com/en/B2355-60127/lvchange.1M.html

Since modern disks and arrays will handle bad blocks the OS will never see such thing, hence this should always be off.

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!   
Turgay Cavdar
Honored Contributor

Re: Symmetrix SAN Disks Managed by HP Volume Manager

The command is to turm of bad block relocation:
# lvchange -r N /dev/vg_name/lv_name

You don't need to set timeout value on the alternate link.
Highlighted
AwadheshPandey
Honored Contributor

Re: Symmetrix SAN Disks Managed by HP Volume Manager

You can do it by pvchange -t 90 /dev/dsk/c#t#d#
also you can do it while pv creation
pvcreate -t 90 /dev/rdsk/c#t#d#
(EMC suggests I/O time out to 90.)
You can change it by your value.
for lvols you can do
lvchange -r N /dev/vg03/lvol3
or you can do it while creating a lvol
lvcreate -L 1024 -r N -n lvol3 vg03

Regards,

Awadhesh
It's kind of fun to do the impossible
Suraj K Sankari
Honored Contributor

Re: Symmetrix SAN Disks Managed by HP Volume Manager

Hi,

For bad blocks
use -r N with lvcreate

for change the timeout value
use pvchange -t 90 /dev/rdsk/cXtXdX

Suraj