- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HELP! How do I get a disk back into a VG?
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
01-03-2007 10:03 AM
01-03-2007 10:03 AM
HELP! How do I get a disk back into a VG?
It says it's used by DLVM. Not sure why. See attachment.
nmhhrprd(/etc)# vgchange -a y /dev/vg06
vgchange: Warning: couldn't query physical volume "/dev/dsk/c6t6d0":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query all of the physical volumes.
vgchange: Couldn't activate volume group "/dev/vg06":
Quorum not present, or some physical volume(s) are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:10 AM
01-03-2007 10:10 AM
Re: HELP! How do I get a disk back into a VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:14 AM
01-03-2007 10:14 AM
Re: HELP! How do I get a disk back into a VG?
SCSI describe of /dev/rdsk/c6t6d0:
vendor: HP 36.4G
product id: ST336752FC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
rev level: HP03
blocks per disk: 71132960
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:21 AM
01-03-2007 10:21 AM
Re: HELP! How do I get a disk back into a VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:40 AM
01-03-2007 10:40 AM
Re: HELP! How do I get a disk back into a VG?
vgcfgrestore -l -f /etc/lvmconf/vg06.conf
with the -l you should see c6t6d0... if so, restore the header to it.
vgcfgrestore -n vg06 /dev/rdsk/c6t6d0
then try to activate the vg... if you still have probs, try posting the output of vgcfgretore -l -f /etc/lvmconf/vg06.conf and strings /etc/lvmtab showing the PV's for vg06.
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:51 AM
01-03-2007 10:51 AM
Re: HELP! How do I get a disk back into a VG?
See attachment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 10:53 AM
01-03-2007 10:53 AM
Re: HELP! How do I get a disk back into a VG?
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 11:04 AM
01-03-2007 11:04 AM
Re: HELP! How do I get a disk back into a VG?
form the looks of it vg06 has two PVs. Primary and Mirror. Problems are with c6t6d0.
Are there any other disks on that HBA that are showing imilar problems? Just trying to rule out a h/w issue w/ the hba, gbic, disk, etc that may have happened from your outage.
The vgcfgrestore worked fine -> it completed w/ success. Then vgchange was good and let lvm know the disk was there, but it went away again... we're just not sure why yet. :)
Any SCSI errors, lvm powerfail messages logged in the syslog... how about EMS alerts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 11:46 AM
01-03-2007 11:46 AM
Re: HELP! How do I get a disk back into a VG?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 01:01 PM
01-03-2007 01:01 PM
Re: HELP! How do I get a disk back into a VG?
Looks like /dev/dsk/c6t6d0 have a stale status on the disk, this means the disk have an error. That's why you cannot activate the vg06.
It's a good way to prepare your vg06's backup, this one needed when you restore the data.
The other way around, is to check whether the disk c5t6d0 is a mirror with c6t6d0. If this happened, you just need to change the harddisk and the data is 99% save.
# lvdisplay -v /dev/vg06/ps*
Hope this information can help.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 04:21 PM
01-03-2007 04:21 PM
Re: HELP! How do I get a disk back into a VG?
Check any error in syslog and dmesg, possibly you will have some SCSI error or lbot error in syslog,
use,
# cat /var/adm/syslog.log | grep -i vmunix
# cat /var/adm/OLDsyslog.log | grep -i lbot
And also check for stale PE on the disk c6t6d0,
# lvdisplay -v /dev/vg06/pstemp01 | grep stale | wc -l
You may need to replace the disk and restore the lvm configuration and to restore data of the 2 lvol.
Cheers,
Raj.