- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Installed new hard 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
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
07-22-2004 09:46 AM
07-22-2004 09:46 AM
One of the hard drives in our UX server die yesterday. I replaced it with a new drive today. However, I've never install a new drive to a UX server before so I don't know what do I have to do to prepare it and add it into the volume to replace the old drive's position. Please help.
- Harry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 09:58 AM
07-22-2004 09:58 AM
Solution# vgcfgrestore /dev/myvg /dev/rdsk/c2t6d0
The man pages have other examples. If the disk was not using any type of mirroring, then you'll have to restore your data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:37 AM
07-22-2004 10:37 AM
Re: Installed new hard drive...
Do I need to format the new hard drive first? I'm more a Window admin, so I am not sure how to prepare the hard drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:40 AM
07-22-2004 10:40 AM
Re: Installed new hard drive...
when you run the vgcfgrestore command, it gets the header information of the old disk from the database and writes it over to the new disk.
if you can elaborate what the exact situation is, you may get more help. Like was thisa mirror disk ? Was this the bootable disk ? Was it a disk with some application data ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:45 AM
07-22-2004 10:45 AM
Re: Installed new hard drive...
---------------------------------------------
# vgcfgrestore -o /dev/vg03 /dev/dsk/c0t1d0
Usage: vgcfgrestore
[-R]
[-F]
{ -n vgname |
-f VGConfPath }
{ -l |
{[-o OldPVPath] PVPath}}
OldPVPath and PVPath : character special files
More arguments required.
---------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:51 AM
07-22-2004 10:51 AM
Re: Installed new hard drive...
vgcfgrestore -n /dev/vg03 /dev/dsk/c0t1d0
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 10:54 AM
07-22-2004 10:54 AM
Re: Installed new hard drive...
# vgcfgrestore -n /dev/vg03 /dev/dsk/c0t1d0
(The man page has this example, the one I listed before had a typing error)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:18 AM
07-22-2004 11:18 AM
Re: Installed new hard drive...
When I use the command 'vgcfgrestore -n /dev/vg03 /dev/dsk/c0t01d0', I got the following error...
--------------------------------------------
# vgcfgrestore -n /dev/vg03 /dev/dsk/c0t1d0
Configuration info for Physical Volume "/dev/dsk/c0t1d0" not found
in "/etc/lvmconf/vg03.conf" :
Character-special file for PV not supplied on command line, OR
PV did not belong to Volume Group /dev/vg03 when configuration file was created.
You have mail in /var/mail/root
---------------------------------------------
help help! :( 42 users are on my back. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:21 AM
07-22-2004 11:21 AM
Re: Installed new hard drive...
vgcfgrestore -n /dev/vg03 /dev/rdsk/c0t1d0
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:23 AM
07-22-2004 11:23 AM
Re: Installed new hard drive...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:24 AM
07-22-2004 11:24 AM
Re: Installed new hard drive...
vgcfgrestore -n /dev/vg03 -l
strings /etc/lvmconf/vg03
vgdisplay -v /dev/vg03
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:27 AM
07-22-2004 11:27 AM
Re: Installed new hard drive...
-----------------------------------------------
# vgcfgrestore -n /dev/vg03 -l
Volume Group Configuration information in "/etc/lvmconf/vg03.conf"
VG Name /dev/vg03
---- Physical volumes : 2 ----
/dev/rdsk/c0t1d0 (Non-bootable)
/dev/rdsk/c2t1d0 (Non-bootable)
# strings /etc/lvmconf/vg03
/etc/lvmconf/vg03: No such file or directory
# vgdisplay -v /dev/vf03
vgdisplay: Volume group "/dev/vf03" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "/dev/vf03".
---------------------------------------------
Thanks a lot guys! :~)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:28 AM
07-22-2004 11:28 AM
Re: Installed new hard drive...
along with the commands Michael indicated, run this one and include the output of it as well
ioscan -fnC disk
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:29 AM
07-22-2004 11:29 AM
Re: Installed new hard drive...
strings /etc/lvmtab
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:31 AM
07-22-2004 11:31 AM
Re: Installed new hard drive...
The drive is new so I think it isn't bad. Coz I tested the bad drive and it was BAD. Ok, here is the return from ioscan...
-----------------------------------------------
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/4.0.0 sdisk CLAIMED DEVICE IBM DGHS09Y
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 8/4.1.0 sdisk NO_HW DEVICE TANDEM 4609-A*csm#
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 2 8/4.2.0 sdisk CLAIMED DEVICE IBM DGHS09Y
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 3 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 4 8/4.8.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC
/dev/dsk/c0t8d0 /dev/rdsk/c0t8d0
disk 5 8/4.9.0 sdisk CLAIMED DEVICE IBM DGHS09Y
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 6 8/4.10.0 sdisk CLAIMED DEVICE IBM DGHS09Y
/dev/dsk/c0t10d0 /dev/rdsk/c0t10d0
disk 7 8/12.0.0 sdisk CLAIMED DEVICE IBM DGHS09Y
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 8 8/12.1.0 sdisk CLAIMED DEVICE IBM DGHS09Y
---------------------------------------------
Which I believe the TANDEM is the new boy in the box. HW indicate hardware problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:34 AM
07-22-2004 11:34 AM
Re: Installed new hard drive...
You need some h/w support before anything else.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:41 AM
07-22-2004 11:41 AM
Re: Installed new hard drive...
Ok, I re-inserted the hard drive into the rack and run IOScan and everything looks good. No more "NO_HW". It shows "CLAIMED" just like other drives. I run the 'vgcfgrestore -n /dev/vg03 /dev/rdsk/c0t1d0' command again and it's hanging there now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:45 AM
07-22-2004 11:45 AM
Re: Installed new hard drive...
-----------------------------------------------
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c0t5d0
/dev/dsk/c0t8d0
/dev/vg01
/dev/dsk/c0t9d0
/dev/dsk/c0t10d0
/dev/vg02
/dev/dsk/c0t0d0
/dev/dsk/c2t0d0
/dev/vg03
/dev/dsk/c0t1d0
/dev/dsk/c2t1d0
/dev/vg04
/dev/dsk/c0t2d0
/dev/dsk/c2t2d0
---------------------------------------------
One additional thing is now the vgcfgrestore command is running (hanging) and I run ioscan again and the drive shows "NO_HW" again. Is that related?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:49 AM
07-22-2004 11:49 AM
Re: Installed new hard drive...
-----------------------------------------------
# diskinfo -v /dev/rdsk/c0t1d0
SCSI describe of /dev/rdsk/c0t1d0:
vendor: TANDEM
product id: 4609-A*csm#
type: direct access
size: 8980000 Kbytes
bytes per sector: 512
rev level: 0180
blocks per disk: 17960000
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional inquiry bytes: (32)38 (33)30 (34)33 (35)39 (36)37 (37)33 (38)46 (
39)37 (40)35 (41)4d (42)53 (43)50 (44)54 (45)38 (46)30 (47)31 (48)38 (49)20 (50)
20 (51)0 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0
(64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (
77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90
)0 (91)0 (92)0 (93)30 (94)39 (95)52 (96)49 (97)39 (98)39 (99)33 (100)32 (101)37
(102)0 (103)30 (104)30 (105)30 (106)31 (107)32 (108)32 (109)30 (110)39 (111)4c (
112)33 (113)39 (114)32 (115)38 (116)20 (117)20 (118)20 (119)20 (120)20 (121)46 (....
---------------------------------------------
So, the drive is good until I run the vgcfgrestore command and the drive would "NO_HW" in ioscan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 11:52 AM
07-22-2004 11:52 AM
Re: Installed new hard drive...
# diskinfo -v /dev/rdsk/c0t1d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 12:00 PM
07-22-2004 12:00 PM
Re: Installed new hard drive...
I am not sure how you ended up a TANDEM branded disk drive in this bunch but this smells like a firmware issue. As soon as you try to write something to the drive, you change the drive controller status. Nothing else comes to mind now. The drive hardware is definetly not right.
On a second note, as I am done for the day on the west coast of USA, I hope Michael Tully can help you further as he is downunder and his work day must be just starting ;)
Cheers...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 12:04 PM
07-22-2004 12:04 PM
Re: Installed new hard drive...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 12:33 PM
07-22-2004 12:33 PM
Re: Installed new hard drive...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 12:55 PM
07-22-2004 12:55 PM
Re: Installed new hard drive...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2004 01:05 PM
07-22-2004 01:05 PM
Re: Installed new hard drive...
Again it will depend on whether it has the proper HP firmware loaded on it. Get the vendor to verify this. I cannot be sure about the speed rating, but we have to look at the facts as to why the disk doesn't work. We must look at the differences between it and the others. The NO_HW to me is a problem, not matter what is running.
Regards
Michael