HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Identify internal/external disk on k370 server? is it hot swappable?

 
SOLVED
Go to solution
Lucero Perez
Advisor

Identify internal/external disk on k370 server? is it hot swappable?

I have noticed that there is one disk failed in my server K370

I dont know if this disk is hot swappable and is there internal or external?


ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 1 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST118273WC
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 3 10/0.8.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 4 10/0.9.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 5 10/0.10.0 sdisk CLAIMED DEVICE SEAGATE ST318436LC
/dev/dsk/c0t10d0 /dev/rdsk/c0t10d0
disk 6 10/0.11.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t11d0 /dev/rdsk/c0t11d0
disk 7 10/0.12.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t12d0 /dev/rdsk/c0t12d0
disk 8 10/0.13.0 sdisk CLAIMED DEVICE SEAGATE ST318275LC
/dev/dsk/c0t13d0 /dev/rdsk/c0t13d0
disk 9 10/0.14.0 sdisk NO_HW DEVICE SEAGATE ST318436LC
/dev/dsk/c0t14d0 /dev/rdsk/c0t14d0
23 REPLIES 23
blah2blah
Frequent Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

from the physical address, 10/*, these drives are on the core i/o card fw diff scsi connector. The scsi address are configurable, there is no way to tell just where a particular drive is located given the scsi address.

but, if they have been addressed according to convention, the scsi addresses 6,5,4,3 are internal. Internal drives are not hot swappable. the rest are external.

cant tell you much from the disk part number, but it does have a sca connection. Most drives with a sca connecton are hot swappable. More then likely, you have a "jamaica" disk cabinet. And, drives in a jamaica are hot swappable
Khairy
Esteemed Contributor
Solution

Re: Identify internal/external disk on k370 server? is it hot swappable?

hi,

this K class can only supports up to 4 internal disks only.

Usually the numbering will starts from 3 -6. So c0t4d0-c0t6d0 should be internal disks and not hot-plugable.

But for c0t8d0 - c0t14d0, check the server physically if its physically connected to a disk shelf look like the one i attached in this post. If it looks like it, then it is hot-plugable.
It is call HASS storage. (The disk is BLACK in colour).

To know which is the faulty disk, perform this for all disk (c0t8d0-c0t14d0) :
# dd if=/dev/rdsk/c0t13d0 of=/dev/null

When you do this, the targeted disk LED will blink. (Ctrl-C to ends).

Take note all the disk which blinks and proceed to next disk until you reach c0t14d0, the command will show error and abort for c0t14d0.
By this time you will know which c0t14d0.

Execute the following.

# rmsf -H 10/0.14.0

By this time you can take out the disk and replace it with new ones.

Hope this answer your question and really appreciate if u cld assign some points for this. Good luck!
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

Thanks so much, I checked physically that disk is external and hot swappable,
Now in order to replace I need to do some preparation?
I know that I can use vgchange and vgcfgrestore

do you have any comments?
Khairy
Esteemed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

yep.

check if your vg is mirror?

post the following:
# vgdisplay -v

Rgds
Mridul Shrivastava
Honored Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

First thing to check if LV/VG is mirrored?

That actually depends for root and non-root vgs even if it is mirrored.

I would recommend you to go through the following doc:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Time has a wonderful way of weeding out the trivial
Mridul Shrivastava
Honored Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

It looks like that you are new to the forum so welcome to the forum and hope you will enjoy the stay ;)

Don't forget to assign the points, to help the other guys know how much their reply helped you in resolving the issue.
Time has a wonderful way of weeding out the trivial
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

Thanks you all, I have assigned the points and yes I am new in this forum
Also I checked manual when good disks go bad and other posts

my checklist is as follows:

1.- pull out disk from array

2.- As root:
Restore the LVM configuration information for the physical volume
vgcfgrestore -n /dev/vg07 /dev/rdsk/c0t14d0

Activate volume group
vgchange -a y /dev/vg07

Synchronize stale logical volume mirrors
vgsync /dev/vg07


How does it look?
Patrick Wallek
Honored Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

Looks fine to me.
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

If you are running an up-to-date 11.11 version, you need to deactivate LVM access to this disk first. Otherwise you cannot vgcfgrestore the config.

Does "pvchange" list the -a option?

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!   
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

I am running hp ux 11.00

Usage: vgchange
{-a Availability -q Quorum [-l] [-p] [-s] [VolumeGroupName... ]}
{[-S shareable] -c cluster VolumeGroupName}
{[-P parallel_nomwc_resync_count]}
"a": A value after option must be supplied.

Should I deactivate vg?
if so, please give me a hint?

in hp ux 11.11 is there -a y option or what is the difference?
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

11.11 and later has the

LVM Online Disk Replacement (LVM OLR)

feature

http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf

but it is not avail in 11.00.

Since the disk is already in NO_HW status, just confirm that vgdisplay is showing the disk c0t14d0 as unavailable - then remove it.

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!   
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

it's pvchange, not vgchange!

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!   
Mridul Shrivastava
Honored Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

As said earlier.. 11.00 does not have any OLR patch hence you need to deactivate the vg. For more details on LVM OLR read the following:

http://docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf
Time has a wonderful way of weeding out the trivial
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

pvchange did not give -a option

Usage: pvchange
[-A Autobackup]
[-s] |
{[-S Autoswitch] [-x Extensibility] [-t IOTimeout] [-z SparePV]}
PhysicalVolumePath
More arguments required.


What can I do if I dont have that option?
Mridul Shrivastava
Honored Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

You need to deactivate the vg using vgchange -a n , after unmounting all the filesystems.

Then replace the disk and restore the configuration on the replaced PV and activate the VG using vgchange -a y

Hope this is clear now .
Time has a wonderful way of weeding out the trivial
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

what happend if I only deactivate VG using vgchange and I dont umount the fs?
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

again: is the disk mirrored?

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!   
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

VG is mirrored by 2 disks and one of them needs to be replaced, that disk is on jamaica array.
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

So pull it (make sure to pull the correct one) and proceed with the steps you wrote earlier.

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!   
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

ok, so in this case I was confused because in below post he mentioned that filesystem must be umount... :S

which is strange, if I only disable that devioce in vg I can assume that I will be free to do that without issues

I checked man of vgchange

DESCRIPTION
The vgchange command with the -a option activates or deactivates one
or more volume groups.

-a availability Set volume group availability. availability
can have one of the following values:

y Activate each specified volume
group and all associated physical
and logical volumes for read-write
access.

-a

n Deactivate each specified volume
group and its associated logical
volumes. You must close the
logical volumes prior to executing
this option. For example, if the
logical volume contains a file
system, the file system must be
unmounted.


-----------------------------------------
Why i have to deactivate if that disk is no longer recognized by OS, I am thinking to replace the disk withot any preparation since the disk is down.
After that follow my original steps:

1.- pull out failed disk

2.- Restore the LVM configuration information for the physical volume

vgcfgrestore -n /dev/vg07 /dev/rdsk/c0t14d0

3.- Activate volume group
vgchange -a y /dev/vg07

4.- Synchronize stale logical volume mirrors
vgsync /dev/vg07


As far as I know I dont need to umount fs that are using /dev/vg07/lvol*
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

well, nothing has to be deactivated, I just did below steps..

Thanks all!
Lucero Perez
Advisor

Re: Identify internal/external disk on k370 server? is it hot swappable?

issue resolved
Torsten.
Acclaimed Contributor

Re: Identify internal/external disk on k370 server? is it hot swappable?

Well done, did you also read this

http://forums11.itrc.hp.com/service/forums/helptips.do?#33

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!