- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgexport problem
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-20-2003 05:00 AM
08-20-2003 05:00 AM
vgexport problem
I have imported one vg using map file and -s option.
Now I want to remove the vg.
When I do vgchange -a n , it says couldn't deactivate ,Device busy error.
(The device associated with this vg is ok.)
There is no mounted file system which belongs to this vg.
I tried to re create lvmtab using vgscan -v .
still the problem persists.
What else could be the reason.
I just want to remove the volume group from the system .
regds,
baiju.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:04 AM
08-20-2003 05:04 AM
Re: vgexport problem
Is there any application using the raw device ?
Try with
fuser /dev/vgXX/lvol*
and eventually kill them.
Another check: see if the minor is unique:
ll /dev/vg*/group
Is two minor are identical, lvm goes crazy lize this.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:04 AM
08-20-2003 05:04 AM
Re: vgexport problem
Did you ever activate the VG?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:06 AM
08-20-2003 05:06 AM
Re: vgexport problem
Did you try just to export it wihtout any options ?
# vgexport vg??
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:08 AM
08-20-2003 05:08 AM
Re: vgexport problem
I have activated this vg and mounted the Filesystems.(presenlty all are unmounted)
There is now row LVs with this VG.
Is there is any forcefull way of removing a VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:09 AM
08-20-2003 05:09 AM
Re: vgexport problem
Make sure there is nothing mounted or using any mountpoints. You can use 'fuser'.
Make sure that you don't have a swap device in use.
Make sure that you can access the disk (it could be bad):
# dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k count=100
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 05:10 AM
08-20-2003 05:10 AM
Re: vgexport problem
export with out option is asking to deactivate using vgchange .
Thanks
baiju.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:13 AM
08-20-2003 07:13 AM
Re: vgexport problem
The problem got solved .
I removed the LUNs and recreated the lvmtab by vgscan -v .
This was the only solution which worked.
Thanks for all ur helpings.
regds,
baiju