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
09-18-2003 11:15 AM
09-18-2003 11:15 AM
I receive the following when I do a vgdisplay:
--- Volume groups ---
VG Name /dev/vg_oracle_dt006
VG Write Access read/write
VG Status available, exclusive
Max LV 255
Cur LV 23
Open LV 23
Max PV 16
Cur PV 3
Act PV 2
Max PE per PV 6399
VGDA 4
PE Size (Mbytes) 4
Total PE 6772
Alloc PE 6525
Free PE 247
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
I am trying to figure out why it is not seeing the third disk, and learn the steps to correct it. This is on a two node cluster. Thanks for any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:19 AM
09-18-2003 11:19 AM
Re: pv issue
Maybe a bad disk? Can you see the physical volumes with ioscan? If yes, can you see them with diskinfo?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:20 AM
09-18-2003 11:20 AM
SolutionHere is a procedure that might help if the disk isn't bad.
cd /etc
mv lvmtab lvmtab.save
# use mv, you REALLY might want that file back.
vgchange -a /dev/vg_oracle_dt006
See what the pvdisplay shows afterwards.
If this does not help, restore the original lvmtab file.
mv /etc/lvmtab.save /etc/lvmtab
Then run the script I'm attaching. Change the email address, and if a disk is missing, it will give you the device driver of the bad disk.
Then its a hardware call.
If you don't have external sendmail set, you can route the mail to the root account.
See attachment. disk.status
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:21 AM
09-18-2003 11:21 AM
Re: pv issue
Look at dmesg
look at ioscan -fnC disk
See unclaimed or NO_HW disks.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:23 AM
09-18-2003 11:23 AM
Re: pv issue
Once again try to activate the VG
# vgchange -a y /dev/vg_oracle_dt006
Dont have to deactivate before trying !
If one of ur PV was offline for some reason while VG was getting activated at bootime and later on even if the PV comes back online , the VG wont automatically include the PV ( I believe so ! )
Nothing to loose, try it out :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 11:28 AM
09-18-2003 11:28 AM
Re: pv issue
If you're not receiving any error msgs on this, it could be that a 3rd drive was used to extend the VG, but no new LVs have been created to occupy the space.
Do an
vgdisplay -v /dev/vg_oracle_dt006
To see the PVs defined - then do a
lvdisplay -v /dev/vg_oracle_dt006/lv_name | more
to see the layout then do
pvdisplay -v /dev/dsk/cXtYdZ
to see how the PEs are layed out & what LVs occupy space on what PV.
Also what devices does /etc/lvmtab show for /dev/vg_oracle_dt006?
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2003 12:53 PM
09-18-2003 12:53 PM
Re: pv issue
Then do "ioscan -funC disk" and see if all the three disks has state as claimed.
You might have bad disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 10:08 AM
09-19-2003 10:08 AM
Re: pv issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 10:12 AM
09-19-2003 10:12 AM
Re: pv issue
Try running "vgscan -a -p -v" and see if you can match up a missing disk in that listing.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:28 PM
09-19-2003 01:28 PM
Re: pv issue
Remove the "u" option. This option 'hides' any unclaimed devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 10:19 PM
09-21-2003 10:19 PM
Re: pv issue
Secondly: do "strings /etc/lvmtab > /var/lvmtab_garbage". Cat or more the file /var/lvmtab_garbage, and see what is recorded under the entry for your VG.
There should be a clear discrepancy: one disk should show up on the VGDISPLAY but not in the LVMTAB output.
Now, check the VGDISPLAY again: are any LVOLS marked as unavailable? If not, then the disk simply has something in the VGDA that implies that it is owned by that VG. If you do an IOSCAN, does that disk come up as a seperate disk, or as an additional Special File or path to an existing disk? Sometimes, injudicious use of INSF can create an extra special file that confuses LVM. If there is actually a disk with that name, you will have to do:
"dd if=/dev/null of=/dev/rdsk/funnydisk count=100". BEWARE: You MUST be sure of what you are doing in this case.
Then do a "vgchange -a y " for that VG, and the problem should be fixed.
If any LVOLS are actually marked as unavailable, you have a problem.
That implies that the disk went unavailable prior to the last VGSCAN. I hope you have backups....
Fix the disk, then:
pvcreate /dev/rdsk/funnydisk
vgcfgrestore -n VGNAME /dev/rdsk/funnydisk
mv /etc/lvmtab /etc/lvmtab.old (IMPORTANT BIT!)
vgscan -av
This will re-create your LVMTAB by re-scanning all the disks.
Do the "strings /etc/lvmtab" thing again to see what LVM thinks