Operating System - HP-UX
1856463 Members
3012 Online
104113 Solutions
New Discussion

Re: Problem with splitting mirror disks

 
SOLVED
Go to solution
Stuart Riches
Occasional Contributor

Problem with splitting mirror disks

HP K460/HP-UX 10.20
I am having a problem with splitting one pair of mirror disks (all others are OK) from teh backup script.

Log file is recording the following:

-> Splitting volume /dev/vg12/lvol1
Logical volume "/dev/vg12/lvol1backup" has been successfully created with
character device "/dev/vg12/rlvol1backup".
Logical volume "/dev/vg12/lvol1backup" has been successfully removed.

I have run an "ioscan -C disk -f" but every thing looks normal. Since all other disks are behaving normally, and there has been no software changes, I am assuming that I am looking at a hardware problem.

Any other recommendations to help narrow down the problem?

Thanks

Stuart Riches
6 REPLIES 6
Steven Sim Kok Leong
Honored Contributor

Re: Problem with splitting mirror disks

Hi,

What are the errors when using lvsplit and lvmerge?

Hope this helps. Regards.

Steven Sim Kok Leong
Stuart Riches
Occasional Contributor

Re: Problem with splitting mirror disks

No errors logged with lvsplit command - only what you see in the Log output, and no errors on merge.

Normal log output is as follows:

-> Splitting volume /dev/vg11/lvol1
Logical volume "/dev/vg11/lvol1backup" has been successfully created with
character device "/dev/vg11/rlvol1backup".
Logical volume "/dev/vg11/lvol1" has been successfully split.
Volume Group configuration for /dev/vg11 has been saved in /etc/lvmconf/vg11.con
f

However for the one disk that is a problem, the lvspilt command reports the createion of the logical volume, and then immediately reports its removal.

ioscan output is as follows:
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 8/0.3.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 1 8/0.4.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 2 8/0.5.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 3 8/0.6.0 sdisk SCAN DEVICE SEAGATE ST34573WC
disk 4 8/4.3.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 5 8/4.4.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 6 8/4.5.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 7 8/4.6.0 sdisk SCAN DEVICE SEAGATE ST34573WC
disk 8 8/8.3.0 sdisk SCAN DEVICE SEAGATE ST34371W
disk 9 8/8.4.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 10 8/8.5.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 11 8/8.6.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 12 10/0.3.0 sdisk SCAN DEVICE SEAGATE ST34371W
disk 13 10/0.4.0 sdisk SCAN DEVICE SEAGATE ST34371W
disk 14 10/0.5.0 sdisk SCAN DEVICE SEAGATE ST34371W
disk 15 10/0.6.0 sdisk SCAN DEVICE SEAGATE ST34371W
disk 16 10/8.3.0 sdisk SCAN DEVICE SEAGATE ST34573WC
disk 17 10/8.4.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 18 10/8.5.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 19 10/8.6.0 sdisk SCAN DEVICE SEAGATE ST34572WC
disk 20 10/12/5.2.0 sdisk SCAN DEVICE HP DVD-ROM 6x/32
x
disk 21 10/16/4.3.0 disc3 SCAN DEVICE SEAGATE ST39173WC
disk 22 10/16/4.4.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 23 10/16/4.5.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 24 10/16/4.6.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 25 10/16/12.3.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 26 10/16/12.4.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 27 10/16/12.5.0 disc3 SCAN DEVICE SEAGATE ST39236LC
disk 28 10/16/12.6.0 disc3 SCAN DEVICE SEAGATE ST39236LC

Nothing out of the ordinary here. The disk seems to function OK except when trying to split the volume.

Only other thing is that the lvdisplay shows the volume group as available/stale.

Thanks

Stuart
Sandip Ghosh
Honored Contributor

Re: Problem with splitting mirror disks

I think you are having problem with the disk itself. Try to mirror the disk manually and see whether there is any problem on that. If it is still showing stale , that means you have to change the disk. You can look at /var/adm/syslog/syslog.log for any disk error.

Sandip
Good Luck!!!
Stuart Riches
Occasional Contributor

Re: Problem with splitting mirror disks

Presumably looking for a message something like this one:

Feb 18 09:24:49 q9000_2 vmunix: Disk at 10/16/4.4.0 is not responding. Check dev
ice, power, and cables.

Sometimes you forget to check the obvious places!!

Why wouldn't this disk report a problem within ioscan?
disk 21 10/16/4.3.0 disc3 CLAIMED DEVICE SEAGATE ST39173WC
disk 22 10/16/4.4.0 disc3 CLAIMED DEVICE SEAGATE ST39236LC
disk 23 10/16/4.5.0 disc3 CLAIMED DEVICE SEAGATE ST39236LC


SHABU KHAN
Trusted Contributor
Solution

Re: Problem with splitting mirror disks

Hi,

Try a diskinfo on the raw disk and see if there is a problem.. if this command hangs on that particular disk then you have a bad disk..

diskinfo /dev/rdsk/c0t0d0

-Shabu
Stuart Riches
Occasional Contributor

Re: Problem with splitting mirror disks

Guess this is a hardware call then.

diskinfo: can't open /dev/rdsk/c9t4d0: No such device or address

Thanks for the help.