- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lost a disk drive
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 02:58 AM
08-10-2005 02:58 AM
Lost a disk drive
The filesystems on vg01 will not mount and fsck complains that there is no logical volume. When I look at the drives, there are no error lights and they seem to be running properly but the system cannot see them.
What is the best/easiest way to recover this? Where do I look for error messages about what the problem is? Fortunately this is not a production machine but the developers are getting a bit antsy about not having their server/databases available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:00 AM
08-10-2005 03:00 AM
Re: Lost a disk drive
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:02 AM
08-10-2005 03:02 AM
Re: Lost a disk drive
Are the VGs active? (vgchange)
What does the vgdisplay output show?
What about the 'strings /etc/lvmtab' command. What is output?
Need some more info...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:03 AM
08-10-2005 03:03 AM
Re: Lost a disk drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:05 AM
08-10-2005 03:05 AM
Re: Lost a disk drive
vgcfgrestore -n vg01 /dev/rdsk/cXtXdX
for the disks in vg01 and after that
vgchange -a y vg01
then try running your fsck commands to see if they work. If fsck still complains about not finding the logical volumes, it is time to recall the backup tapes (you have them, don't you ?) from the vault.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:16 AM
08-10-2005 03:16 AM
Re: Lost a disk drive
if i were you i would start with the command
at first;
#ioscan -fnCdisk
and try to look S/W State colon
What are the disks state?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 03:18 AM
08-10-2005 03:18 AM
Re: Lost a disk drive
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:23 AM
08-10-2005 04:23 AM
Re: Lost a disk drive
vgdisplay: Volume group not activated.
vgdisplay: Cannot display volume group "/dev/vg01".
VG Name /dev/vgt01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 14080
VGDA 2
PE Size (Mbytes) 4
Total PE 14077
Alloc PE 14077
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
ioscan -fnCdisk shows:
Class I H/W Path Driver S/W State H/W Type Description
==================================================================================
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 77 0/4/0/0.97.4.19.0.0.0 sdisk CLAIMED DEVICE DGC CX600WDUNB
/dev/dsk/c12t0d0 /dev/dsk/disk_query /dev/rdsk/c12t0d0
disk 79 0/4/0/0.97.4.19.0.0.1 sdisk CLAIMED DEVICE DGC CX600WDR5
/dev/dsk/c12t0d1 /dev/rdsk/c12t0d1
disk 76 0/4/0/0.97.8.19.0.0.0 sdisk CLAIMED DEVICE DGC CX600WDUNB
/dev/dsk/c13t0d0 /dev/rdsk/c13t0d0
disk 81 0/4/0/0.97.8.19.0.0.1 sdisk CLAIMED DEVICE DGC CX600WDR5
/dev/dsk/c13t0d1 /dev/rdsk/c13t0d1
disk 80 0/7/0/0.98.4.19.0.0.0 sdisk CLAIMED DEVICE DGC CX600WDUNB
/dev/dsk/c16t0d0 /dev/rdsk/c16t0d0
disk 82 0/7/0/0.98.4.19.0.0.1 sdisk CLAIMED DEVICE DGC CX600WDR5
/dev/dsk/c16t0d1 /dev/rdsk/c16t0d1
disk 78 0/7/0/0.98.8.19.0.0.0 sdisk CLAIMED DEVICE DGC CX600WDUNB
/dev/dsk/c17t0d0 /dev/rdsk/c17t0d0
disk 83 0/7/0/0.98.8.19.0.0.1 sdisk CLAIMED DEVICE DGC CX600WDR5
/dev/dsk/c17t0d1 /dev/rdsk/c17t0d1
.
.
strings /etc/lvmtab shows:
/dev/vg00
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
/dev/vgt01
/dev/dsk/c12t0d1
/dev/dsk/c13t0d1
/dev/dsk/c16t0d1
/dev/dsk/c17t0d1
.
So I'm thinking the disks are there but somehow the volume group info got lost. Would that be right? Should I try the volume group recovery commands?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:25 AM
08-10-2005 04:25 AM
Re: Lost a disk drive
vgcfgrestore -n vg01 /dev/rdsk/c2t0d0
should restore the LVM config information on these disks. then don't forget to activate the vg by
vgchange -a y vg01
good luck
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:29 AM
08-10-2005 04:29 AM
Re: Lost a disk drive
vgchange -a y vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:32 AM
08-10-2005 04:32 AM
Re: Lost a disk drive
the volume group recovery wont work as the disks are missing from the ioscan
/dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
do a full ioscan to scan the whole system and then
#insf -e and repeat the ioscan for the discs
if this still shows the disks as missing then i would try a reboot and reseat the drives
if there still missing likely is there faulty and will need replacing
can you see the led on the drive from the front?
should be green even with no activity
andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:53 AM
08-10-2005 04:53 AM
Re: Lost a disk drive
You need to check that the discs are seated properly, and possibly do a reboot.
Other than that, itmay need a hardware call with HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 04:54 AM
08-10-2005 04:54 AM
Re: Lost a disk drive
1- vgchange -a y vg01
if succesfully activated
then
cat /etc/fstab for to check mount point
then
if you do not see;
2- mount /dev/vg01/lvol1 /mountdir
if you see then just write;
mount /mountdir
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 05:47 AM
08-10-2005 05:47 AM
Re: Lost a disk drive
your ioscan -fnCdisk command does not show
dev/vg01
/dev/dsk/c1t0d0
/dev/dsk/c2t0d0
so ignore my steps but you may go with
first
#insf -e
then just run
#ioscan
and 1 more time
#ioscan -fnCdisk
if both /dev/dsk/c1t0d0
/dev/dsk/c2t0d0 not seen
Finally if possible reboot your server
good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2005 06:04 AM
08-10-2005 06:04 AM
Re: Lost a disk drive
The server is back up with all disks showing and the databases up and running. I took it down, removed the power, reseated the cards, put it all back together and brought it back up without attempting to mount the Oracle sw filesystem. I then did an ioscan which showed the missing devices. A mountall then took care of the rest. I'm still not sure what exactly was wrong but for now it is running and I don't need to request a service call on a server that has no service contract.
Thank you all for your suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2005 07:01 PM
08-11-2005 07:01 PM
Re: Lost a disk drive
The affected disks were these Seagate models with HP firmware:
ST136403LC
ST318203LC
ST318203LW
ST39103LC
ST39103LW
If you have one of these disk types, check the firmware version with the "diskinfo -v" command. If the "rev level" is less than HP04 , you will need to upgrade.
Use the ITRC's patch databese to find a disk firmware patch named PF_DSEACH3HP04.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 12:32 AM
08-12-2005 12:32 AM
Re: Lost a disk drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2005 09:01 AM
08-12-2005 09:01 AM
Re: Lost a disk drive
However, I seem to recall that the problem in those disks was that the disk's internal diagnostic does not accurately compensate for the aging of some electronic component.
When the disk "vanishes" for the first time, it is a sign that the component is "borderline" according to the (invalid) diagnostic rule. It will pass the diagnostic when cold, but may fail when hot. As the time passes, the component will get "worse". Eventually the situation may get so bad the disk will not start up even when cold.
The catch is: a disk that is in a "failed" state won't take the firmware upgrade, so if you want to use the patch, you must do it before the disk fails completely.
The firmware patch changes the disk's internal diagnostic rules, so that normal aging of the disk will not cause a failure.
You won't need a HP engineer to install the patch: see the patch description for installation instructions.
If you choose not to run the firmware upgrade, I suggest you to keep your backups carefully up to date.
I think you might survive till October, but you might have to power-cycle the server once or twice during that time to get the disks back again.
If you lose one of the disks permanently, be assured that the other is not far behind.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2005 02:11 AM
08-15-2005 02:11 AM
Re: Lost a disk drive
Thank you for your input. Since I am not a trained HP-UX admin, I was not aware of that issue. I will pass this info along.
Don