- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem with vgscan
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-2006 08:20 PM
тАО05-09-2006 08:20 PM
Problem with vgscan
when I use vgscan, I get this message (with vg01 and vg02)
Any idea ?
Ralf
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01".
vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg02".
vgscan: The physical volume "/dev/dsk/c3t2d0s2" is already recorded in the "/etc/lvmtab" file.
vgscan: The physical volume "/dev/dsk/c4t8d0s2" is already recorded in the "/etc/lvmtab" file.
Couldn't stat physical volume "/dev/dsk/c0t0d0":
Invalid argument
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg01 failed.
vgscan: has no correspoding valid raw device file under /dev/rdsk.
Verification of unique LVM disk id on each disk in the volume group
/dev/vg02 failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 08:30 PM
тАО05-09-2006 08:30 PM
Re: Problem with vgscan
why are you using the vgscan command ?
See thread:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1015344
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 08:32 PM
тАО05-09-2006 08:32 PM
Re: Problem with vgscan
Do all the disks show in
ioscan -fnC disk ?
after ioscan -fnC disk - try
insf -e
for some of the disks try diskinfo /dev/dsk/diskname
Any errors in syslog reported ?
For disks /dev/dsk/c3t2d0s2 and /dev/dsk/c4t8d0s2 , they seem to be there in some other VG - check strings /etc/lvmtab - under which VG they appear.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 08:34 PM
тАО05-09-2006 08:34 PM
Re: Problem with vgscan
mv /etc/lvmtab /etc/lvmtab.old
and
vgscan -av
Regards LiPEnS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 10:15 PM
тАО05-09-2006 10:15 PM
Re: Problem with vgscan
I guess, when you exported disk from one system to other you have not done vgexport /dev/vg01 after vgchange -a n /dev/vg01.
All you need to do is just move the /etc/lvmtab and run vgscan.
Once you have done that this will create a new lvmtab. Then you carry on.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2006 02:18 PM
тАО05-13-2006 02:18 PM
Re: Problem with vgscan
If device path's got changed then I will suggest you to update the vg configuration using the following command:
# vgcfgrestore -n
do this for all the disk then u'll not get these error messages. So better to restore the configuration instead of running vscan.
vgscan may cause some issues if u execute on the systems where some storage is connect.