- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove the vg when there is not disk exists...
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
08-22-2005 07:04 AM
08-22-2005 07:04 AM
How to remove the vg when there is not disk exists.
I have a vg in the /etc/lvmtab and the corresponding disk doen't exists.
Also i get the vgdisplay with errors.
The vg has one logical volume and the bdf shows that it is mounted. I cannot unmount it.
I am getting errors related to the disk in the syslog.
I have tried re-naming the lvmtab and do vgscan etc....still i get errors
I also know that the reboot will fix the whole problem, but any idea how can i do without a reboot ?
Tx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:06 AM
08-22-2005 07:06 AM
Re: How to remove the vg when there is not disk exists.
vgexport /dev/vgxyz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:07 AM
08-22-2005 07:07 AM
Re: How to remove the vg when there is not disk exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:07 AM
08-22-2005 07:07 AM
Re: How to remove the vg when there is not disk exists.
This will remove the vg instance name from the system.
/usr/bin/vgexport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:08 AM
08-22-2005 07:08 AM
Re: How to remove the vg when there is not disk exists.
Post here:
#strings /etc/lvmtab
#vgdisplay -v
and the errors you're getting on syslog.
Let us know!
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 07:09 AM
08-22-2005 07:09 AM
Re: How to remove the vg when there is not disk exists.
after you moved the lvmtab, and ran vgscan, did you do a vgchange and activate the vg again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:06 AM
08-22-2005 08:06 AM
Re: How to remove the vg when there is not disk exists.
Here are the errors in the syslog. HP confirms me that these are related to the
Aug 22 09:52:14 prd01 vmunix: SCSI: 28 bp: 0000000071086060
Aug 22 09:52:14 prd01 vmunix: 00 dev: 1f1c5300 00 0
Aug 22 09:52:14 prd01 vmunix: 0 00 1c0db: 00 28 00 0200 00 00
Aug 22 09:52:14 prd01 vmunix: 00 00 residual: 400
Aug 22 09:52:14 prd01 vmunix: 10 00 status: (200) None -- Select Timeout
Aug 22 09:52:14 prd01 vmunix: 00 02 00
Aug 22 09:52:14 prd01 vmunix: residual: 400
Aug 22 09:52:14 prd01 vmunix: status: (200) None -- Select Timeout
Aug 22 09:52:19 prd01 vmunix:
Aug 22 09:52:19 prd01 vmunix: SCSI: bp: 000000007109a060
Aug 22 09:52:19 prd01 vmunix: dev: 1f085300
Aug 22 09:52:19 prd01 vmunix: cdb: 28 00 00 00 00 10 00 00 02 00
Aug 22 09:52:19 prd01 vmunix: residual: 400
Aug 22 09:52:19 prd01 vmunix: status: (200) None -- Select Timeout
Aug 22 09:52:19 prd01 vmunix:
Aug 22 09:52:19 prd01 vmunix: SCSI: bp: 0000000071086060
Aug 22 09:52:19 prd01 vmunix: dev: 1f1c5300
Aug 22 09:52:19 prd01 vmunix: cdb: 28 00 00 00 00 10 00 00 02 00
Aug 22 09:52:19 prd01 vmunix: residual: 400
Aug 22 09:52:19 prd01 vmunix: status: (200) None -- Select Timeout
Aug 22 09:52:24 prd01 vmunix:
Aug 22 09:52:24 prd01 vmunix: SCSI: bp: 000000007109a060
Aug 22 09:52:24 prd01 vmunix: SCSI: dev: 1f085300 bp: 0000000071086060
Aug 22 09:52:24 prd01 vmunix: dev:
Aug 22 09:52:24 prd01 vmunix: 1f1c 53c0d0b:
Aug 22 09:52:24 prd01 vmunix:
Aug 22 09:52:24 prd01 vmunix: 28 cdb: 00 28 00 00 00 00 00 00 10 00 10 00 00 0000 0 202 00 00
Aug 22 09:52:24 prd01 vmunix:
Aug 22 09:52:24 prd01 vmunix: residual: 400
Aug 22 09:52:24 prd01 vmunix: status: (200) None -- Select Timeout
Tx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:10 AM
08-22-2005 08:10 AM
Re: How to remove the vg when there is not disk exists.
What is this device. If disk ,check if you can see the disk in ioscan.
ioscan -fnCdisk
If in ioscan it is claimed, run dd, diskinfo on it to know what it is.
diskinfo -v /dev/rdsk/cxtxdx
dd if=/dev/rmt/cxtxdx of=/dev/null bs=8k
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:12 AM
08-22-2005 08:12 AM
Re: How to remove the vg when there is not disk exists.
When i try to vgchange the same thing.
If i try vgscan after deleting the lvmtab. The entry goes from the lvmtab but the above errors still comes on the system's syslog.
/dev/vg01/lvol1 14221312 4628256 9518176 33% /an01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:15 AM
08-22-2005 08:15 AM
Re: How to remove the vg when there is not disk exists.
diskinfo: can't open /dev/dsk/c8t5d3: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 08:15 AM
08-22-2005 08:15 AM
Re: How to remove the vg when there is not disk exists.
Pls refer the below link...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=885949
It seems that the system unable to find the disks but the device file for the disks in the VG is still there or in some unclaimed state.
Can u post ioscan -fnC disk, strings /etc/lvmtab , bdf output...
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2005 05:57 AM
08-25-2005 05:57 AM
Re: How to remove the vg when there is not disk exists.
Take a look at this document from the knowledge base. I've used that procedure successfully in the past
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080049938
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2005 12:15 PM
09-01-2005 12:15 PM