- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Volume Group Disk Problem
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
05-09-2003 09:49 AM
05-09-2003 09:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 09:55 AM
05-09-2003 09:55 AM
Re: Volume Group Disk Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 09:56 AM
05-09-2003 09:56 AM
Re: Volume Group Disk Problem
try to run vgsync.
vgsync vgxx.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 09:56 AM
05-09-2003 09:56 AM
Re: Volume Group Disk Problem
A 'vgdisplay' which returns "unavailable" for the VG status suggests an a deactivated volume group. Do:
# vgchange -a y
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 09:59 AM
05-09-2003 09:59 AM
Re: Volume Group Disk Problem
# pvdisplay /dev/dsk/cXtXdX|grep Status
It should be consistent with the vgdisplay output ie ..
PV status ===> unavailable
Try to run ..
# vgchange -a y /dev/vgXX
to reactive the VG which this PV resides and see if it helps. If it doesn't you probably got a bad disk. Check with ..
# /etc/diskinfo /dev/rdsk/cXtXdX
and
# ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 10:01 AM
05-09-2003 10:01 AM
Re: Volume Group Disk Problem
if the volume group is not available you will need to activate it with the vgchange command. I guess I should have included that in my first post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 11:41 AM
05-09-2003 11:41 AM
Re: Volume Group Disk Problem
Thanks for your help so far. Yes, the VG is active and pvdisplay shows the disk unavailable as well. Diskinfo returns a valid disk.I also tried a dd and the records in matched the records out, so I believe the disk is ok. Maybe the VGDA is corrupt? I've also tried deactivating and reactivating with no luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 11:46 AM
05-09-2003 11:46 AM
SolutionSo let's try reading the LVM header:
if [ "`xd -An -j 8192 -N8 -tc $DEV | xargs" = "L V M R E C 0 1" ]
then
INFO=`xd -An -j8200 -N16 -tx $DEV`
PVID=`echo $INFO | awk ???{print $1 $2}???`
VGID=`echo $INFO | awk ???{print $3 $4}???`
#
echo "$DEV : PVID = $PVID : VGID = $VGID"
else
echo ">>> Can't find LVMREC <<<"
fi
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 11:54 AM
05-09-2003 11:54 AM
Re: Volume Group Disk Problem
# pvdisplay -v pv_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 12:26 PM
05-09-2003 12:26 PM
Re: Volume Group Disk Problem
root@rcptst01 / # pvdisplay -v /dev/dsk/c0t0d0
--- Physical volumes ---
PV Name /dev/dsk/c0t0d0
VG Name /dev/vgCPE
PV Status unavailable
Allocatable yes
VGDA 2
Cur LV 20
PE Size (Mbytes) 4
Total PE 38262
Free PE 47
Allocated PE 38215
Stale PE 0
IO Timeout (Seconds) default
... and so on. It did give the logical volumes but I wanted to keep this message short. James, the script is just hanging now...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 12:59 PM
05-09-2003 12:59 PM
Re: Volume Group Disk Problem
If you are sure that the disk is fine, then consider doing a vgcfgrestore to this specific disk:
# man vgcfgrestore
That will restore the VG structure back to the disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 01:02 PM
05-09-2003 01:02 PM
Re: Volume Group Disk Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 01:10 PM
05-09-2003 01:10 PM
Re: Volume Group Disk Problem
What does this do:
dd if=/dev/dsk/c0t0d0 of=/dev/null bs=1024k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 01:20 PM
05-09-2003 01:20 PM
Re: Volume Group Disk Problem
First, congratulations on your new hat!
He checked the dd output and said it was okay on an earlier post.
Look back ... do not drink too much to celebrate your new hat level =))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2003 09:47 PM
05-09-2003 09:47 PM
Re: Volume Group Disk Problem
With VG activated and PV status unavailable I would first suggest to check your
/var/adm/syslog/syslog.log for any scsi errors on the disk.
Also do check for the latest SCSI patches for the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 08:04 AM
05-12-2003 08:04 AM
Re: Volume Group Disk Problem
First of all, thanks for your help! vgcfgrestore is hanging. I've included a file with an excerpt of the syslog file. The latest XSWGR1100 patch bundle installed is B.11.00.49.3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 08:06 AM
05-12-2003 08:06 AM
Re: Volume Group Disk Problem
.255.0.0.0
is the path to the disk in question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 08:48 AM
05-12-2003 08:48 AM
Re: Volume Group Disk Problem
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe50c237a4bc6d611abdb0090277a778c,00.html
Let us know if you have any question on that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 07:15 PM
05-12-2003 07:15 PM
Re: Volume Group Disk Problem
#vgdisplay -v /dev/vg2
Do check the count of Cur PV and Act PV.
#vgdisplay -v /dev/vg1
#strings /etc/lvmtab
#ioscan -fnC disk
Please post the output
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2003 11:09 PM
05-12-2003 11:09 PM
Re: Volume Group Disk Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2003 05:37 AM
05-13-2003 05:37 AM
Re: Volume Group Disk Problem
Read the chapter about the "ghost disk"
Regards
Roland