- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
тАО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...