- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG modify giving error
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
тАО07-05-2009 11:39 PM
тАО07-05-2009 11:39 PM
VG modify giving error
We are pretty sure there are only 4 disks for this volume group and all are accessible.The lVM tab also says the same.
PROD> # vgmodify -v vggldwp
Performing "vgchange -a y -l -p -s vggldwp" to collect data
vgmodify->vgchange: Could not attach to volume group "vggldwp" all of its physical volumes.
We notice this error fist on this Lvsplit , it gave some warning but executed successfully.
PROD> # lvsplit -s backup /dev/vggldwp/lvol1
Logical volume "/dev/vggldwp/lvol1backup" has been successfully created with
character device "/dev/vggldwp/rlvol1backup".
Logical volume "/dev/vggldwp/lvol1" has been successfully split.
vgcfgbackup: /etc/lvmtab is out of date with the running kernel:Kernel indicates 5 disks for "/dev/vggldwp"; /etc/lvmtab has 4 disks.
Cannot proceed with backup.
We moved the LVMTAB and create a new one with VGscan .But still we are not able to do the vgmodify successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2009 11:47 PM
тАО07-05-2009 11:47 PM
Re: VG modify giving error
The message is pretty straightforward.
lvmtab is not consistent with the kernel as to number of disks.
strings /etc/lvmtab | grep vg_name
run a dd or cstm mstm xstm check on each disk and check/exercise the disks in the volume group.
You may need to vgexport and vgimport the volume group.
There is a procedure after vgscan fails to help.
vgreduce -f vg_name
# follow precisely the instructions after this. This normally fixes any issues.
Last item: I checked your profile and was appalled.
I have assigned points to 5 of 117 responses to my questions.
Please check this and assign meaningful feedback to the 117 responses to your past questions.
Forum ettiquette.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=140137
I've given you my thoughts on this issue. if you try my suggestions, post new data and request more help, I simply will not give it until that assignment ratio reaches a normal level.
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
тАО07-06-2009 05:56 PM
тАО07-06-2009 05:56 PM
Re: VG modify giving error
Please excute below commands,
#vgreduce ├в f vggldwp
Take a backup of current lvmtab
#cp ├в p /etc/lvmtab /etc/lvmtab_old
Run a vgscan to build afressh lvmtab
#vgscan
Then it must be solved your issue.
I totally agreed to SEP.please follow the Forum ettiquette for getting timily response.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 08:05 AM
тАО07-07-2009 08:05 AM
Re: VG modify giving error
The difference might also be visible in vgdisplay ( actual pv and current PV )
you can deactivate the vg and activate it again
on the newer version 11.31 you can use the vgreduce -k ( only in 11.31 )
which means that you might have to umount, deactivate and reactivate it again so that the kernal reads the new correct information
{ as fras pointed out please be more considerate about assigning points }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 09:35 AM
тАО07-07-2009 09:35 AM
Re: VG modify giving error
Provide the below output.
uname -a
swlist | grep -i lvm
vgdisplay