- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: My junior Deleted vdisk without removng LV
Operating System - HP-UX
1753926
Members
9244
Online
108810
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-10-2009 12:00 AM
тАО11-10-2009 12:00 AM
Re: My junior Deleted vdisk without removng LV
Hi Duncan,
I have 50 lun's presented to this system...
I have 50 lun's presented to this system...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 12:03 AM
тАО11-10-2009 12:03 AM
Re: My junior Deleted vdisk without removng LV
do you have lvol device file
if yes try to remove lv!!
if nothing is happening try to mount it back and umount
else try to forcefully umount it with vxumount
and then deactivate the vg and export it.
BR,
Kapil+
if yes try to remove lv!!
if nothing is happening try to mount it back and umount
else try to forcefully umount it with vxumount
and then deactivate the vg and export it.
BR,
Kapil+
I am in this small bowl, I wane see the real world......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 12:24 AM
тАО11-10-2009 12:24 AM
Solution
khapil jha...
it's cleanly unmounted - I'm guessing the junior forgot to run "vgchange -a n" before removing the vdisk...
chindi,
50 LUNs - that's a bummer... To be honest I'd be tempted to just leave it as it is until the next reboot... if you really want to fix it now:
1. Run vgdisplay -v on every VG to look at what the primary/alternate paths are to each LUN - you'll need to save this output somewhere to refer to later.
2. Now run the vgscan:
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
3. Now use vgdisplay -v to look at each VG in turn - you'll see all the primary/alternate paths have been switched around with everything now going down the same path.
4. Now _carefully_ use vgreduce/vgextend to remove the incorrect primary paths out & then back in to the VG - you'll see the next alternate path in the list becoming the new primary path... you are aiming to get the vgdisplay output to look like it did before...
That's a lot of work! I'd be tempted just to leave the whole thing until you can reboot - then you'll be able to remove the (now inactive) VG using vgexport as I originally indicated.
HTH
Duncan
I am an HPE Employee
it's cleanly unmounted - I'm guessing the junior forgot to run "vgchange -a n" before removing the vdisk...
chindi,
50 LUNs - that's a bummer... To be honest I'd be tempted to just leave it as it is until the next reboot... if you really want to fix it now:
1. Run vgdisplay -v on every VG to look at what the primary/alternate paths are to each LUN - you'll need to save this output somewhere to refer to later.
2. Now run the vgscan:
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
3. Now use vgdisplay -v to look at each VG in turn - you'll see all the primary/alternate paths have been switched around with everything now going down the same path.
4. Now _carefully_ use vgreduce/vgextend to remove the incorrect primary paths out & then back in to the VG - you'll see the next alternate path in the list becoming the new primary path... you are aiming to get the vgdisplay output to look like it did before...
That's a lot of work! I'd be tempted just to leave the whole thing until you can reboot - then you'll be able to remove the (now inactive) VG using vgexport as I originally indicated.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2009 01:34 AM
тАО11-10-2009 01:34 AM
Re: My junior Deleted vdisk without removng LV
Hi Duncan,
Thanx for the explaination, i think i will wait for the next reboot.....
Regards,
Chindi .
Thanx for the explaination, i think i will wait for the next reboot.....
Regards,
Chindi .
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP