- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Dead Disk in HPUX 11
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
Discussions
Discussions
Forums
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
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
тАО11-11-2008 05:24 AM
тАО11-11-2008 05:24 AM
Experienced a dead disk on a HPUX 11i machine. The disk was part of the vg00 (only one vg containing 2 disks). The data was expendable so no major worry. vgdisplay shows the following
bash-3.00# vgdisplay
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c1t15d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4384
VGDA 2
PE Size (Mbytes) 16
Total PE 4374
Alloc PE 3849
Free PE 525
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
this lists 2 disks. I am trying to add a replacement disk (which is larger than the original) and add it to a new VG for a different use. When I try to create this new VG it complains that the disk path is already recorded in the /etc/lvmtab no doubt a leftover from the previous disk.
ioscan picks up the new disk as follows
bash-3.00# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/1.15.0 sdisk CLAIMED DEVICE HP 146 GMAW3147NC
/dev/dsk/c1t15d0 /dev/rdsk/c1t15d0
disk 2 0/0/2/1.15.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c3t15d0 /dev/rdsk/c3t15d0
the new disk is the 146Gb drive disk 0
I can't see a way to remove the old drive from vg00's configuration which should solve the problem as I will then be able to add the new drive.
Any thoughts?
Thanks
Brian
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 05:53 AM
тАО11-11-2008 05:53 AM
Re: Dead Disk in HPUX 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 05:59 AM
тАО11-11-2008 05:59 AM
Re: Dead Disk in HPUX 11
First question. Is the disk c1t15d0 is mirrored with c3t15d0? If yes then you need to reduce all the mirrors from c1t15d0, then remove the disk from vg00 and use it for another VG or whatever purpose you need. This is the clean way to remove the entry from /etc/lvmtab.
If it is not mirrored disk then you need to reduce or remove logical extends residing on disk c1t15d0 then remove the the disk from vg00.
Then only you can use this disk for other VG's.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 06:03 AM
тАО11-11-2008 06:03 AM
Solutionsince you replaced the bad disk with a larger disk, you have a problem.
The maximum size of a disk in this VG is 73GB (PE size * Max PE).
You can now continue and use only the half of this disk
or
you get rid of the config information about this disk
("vgreduce -f vg00")
and create a new VG with this disk (if you don't need mirrors).
If you want to have a mirror (for the 73GB) and use the additional space (unmirrored), you can only take an ignite backup and restore it.
Doing this will adjust the LVM structure for the larger disk.
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 06:18 AM
тАО11-11-2008 06:18 AM
Re: Dead Disk in HPUX 11
The disk is not mirrored so no bothers there....I don't really care about the data on the disk so am happy to lose the logical volume that was on it.
Just need to remove it from the volume group so I can reuse the path.
I will try some of the suggestions and get back to you.
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 06:21 AM
тАО11-11-2008 06:21 AM
Re: Dead Disk in HPUX 11
vgreduce -f vg00 has sorted this out.
Will assign points
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2008 06:23 AM
тАО11-11-2008 06:23 AM
Re: Dead Disk in HPUX 11
Needed to make a copy of /etc/lvmtab and then run
vgscan -v
Thanks