- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SD32000 logical volume stale
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
тАО09-11-2006 09:49 PM
тАО09-11-2006 09:49 PM
the vg00 on SD32000 is consisted of 4 pv, using PVG to produced a mirror-disk enviroment, when i run vgdisplay -v, the following messages appear:
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
and /dev/dsk/c0t0d0 is one of the four PVs, it seems that there is hardware problem of c0t0d0, though it is CLAIMED in ioscan output; when i run diskinfo /dev/rdsk/c0t0d0, it shows the following messages after a long period of time:
SCSI describe of /dev/rdsk/c0t0d0:
vendor: HP 36.4G
product id: ST336753LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
so i consider that i should replace c0t0d0, do you think it is a correct way?
now i want to retrieve the lvm enviroment, what should i do? is that following way right?
1, replace the hard disk
2, vgcfgrestore
3, vgsync
is there any other step i should pay attention to?
thanks a lot for your reply!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 10:18 PM
тАО09-11-2006 10:18 PM
SolutionYou disk is on vg00. This means that whilst the above is what you might be told to do, it wont work (or at least I've had problems with replacing vg00). - it is a root disk, so you will need to crate the new disk as a bootable device.
My advice is
1 - lvreduce all LVs on /dev/dsk/c0t0d0
2 - vgreduce vg00 /dev/dsk/c0t0d0
3 - replace new disk
4 - pvcreate -B /dev/rdsk/c0t0d0
5 - vgextend -g
6 - lvchange -m 1 /dev/vg00/lvol1
7 - lvchange -m 1 /dev/vg00/lvol2
8 - lvchange -m 2 /dev/vg00/lvol3
9 - .. as above for rest of LVs ..
It is important lvol1, 2 & 3 are done in order else you wont be able to boot from this device.
You will also want to update the LIF area too... but that is another question..
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 10:24 PM
тАО09-11-2006 10:24 PM
Re: SD32000 logical volume stale
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 10:40 PM
тАО09-11-2006 10:40 PM
Re: SD32000 logical volume stale
because of the strange state of the c0t0d0( CLAIMED in ioscan output, and the following is the output of lvdisplay:
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 ??? 00000 stale /dev/dsk/c5t8d0 00000 current
00001 ??? 00001 stale /dev/dsk/c5t8d0 00001 current
00002 ??? 00002 stale /dev/dsk/c5t8d0 00002 current
00003 ??? 00003 stale /dev/dsk/c5t8d0 00003 current
00004 ??? 00004 stale /dev/dsk/c5t8d0 00004 current)
i assume that the command will hang if i run lvreduce or vgreduce, so could i just omit these two steps in your advice?
i have never deal with some PVG circumstance, is there any different or what should i concern?
after all, thanks a lot!
stephen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 11:00 PM
тАО09-11-2006 11:00 PM
Re: SD32000 logical volume stale
I'm only giving my advice here. As it happens you can try replacing the disk in a number of ways and see what problems you face. You can judge from this what works. Basically you can do it any way you like, but I'd do it as above..
IMHO you have to run the lvreduce & vgreduce commands, other wise the system will continually try to use /dev/dsk/c0t0d0, and so you will not be able to replace it.
If you want to
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 11:04 PM
тАО09-11-2006 11:04 PM
Re: SD32000 logical volume stale
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Pete
Pete