- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Vgreduce qustion
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
06-16-2008 07:53 AM
06-16-2008 07:53 AM
vgdisplay -v vgitot
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c16t7d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vgitot
VG Write Access read/write
VG Status available
Max LV 64
Cur LV 6
Open LV 6
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 1089
VGDA 2
PE Size (Mbytes) 32
Total PE 1089
Alloc PE 797
Free PE 292
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c16t7d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
C16t7d0 is not accesible and I wanna remove it from vgitot using vgreduce, but its giving me the following error:
/dev/dsk # vgreduce vgitot /dev/dsk/c16t7d0
vgreduce: "/dev/dsk/c16t7d0": No such file or directory
Usage: vgreduce
[-A Autobackup]
[-l]
VolumeGroupName PhysicalVolumePath... | [-f] VolumeGroupName
When I checked the /dev/dsk/ and /dev/rdsk directories, there is no file for c16t7d0.
So what I assume is the device file is not there but still its definition is in lvmtab for vgitot.
Can some one suggest how to remove this disk definition, physically there is no disk at this location.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 08:59 AM
06-16-2008 08:59 AM
Re: Vgreduce qustion
# vgremove -f /dev/vgitot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 09:04 AM
06-16-2008 09:04 AM
Re: Vgreduce qustion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 09:31 AM
06-16-2008 09:31 AM
Re: Vgreduce qustion
Thats gonna remove the whole volume group, I think, vgitot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 09:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 09:40 AM
06-16-2008 09:40 AM
Re: Vgreduce qustion
vgreduce -f just reduces missing pvs from the volume group. it's the stution you want, isn't it ?
kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2008 09:57 AM
06-16-2008 09:57 AM
Re: Vgreduce qustion
if you don't get rid of the problem and that you can deactivate your vg for a few moment
vgchange -a n vg
vgexport -m mapfile -f devices vg
remove old entry from file devices
recreate group file
vgimport -m mapfile -f devices vg