- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: My junior Deleted vdisk without removng LV
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
тАО11-09-2009 11:01 PM
тАО11-09-2009 11:01 PM
I wanted to remove a vdisk from my setup...
one of my junior removed the vdisk just ny unmounting the lvol..
nw i would like to remove all traces ..of that vg...i eman lvol and vg....
can i just remove the group files and lvol...???
hpux 11i v2...6600..
strage eva 4k....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:08 PM
тАО11-09-2009 11:08 PM
Re: My junior Deleted vdisk without removng LV
>>one of my junior removed the vdisk just ny unmounting the lvol..
nw i would like to remove all traces ..of that vg<
traces meaning ? -> you want to know procedure to remove volume group ?
>>My junior Deleted vdisk without removng LV<<
can do vgdisplay -v
don't you see any error from "syslog"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:31 PM
тАО11-09-2009 11:31 PM
Re: My junior Deleted vdisk without removng LV
should do it...
You'll be stuck with the stale device special files and NO_HW entries in ioscan until your next reboot, but they cause no harm.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:32 PM
тАО11-09-2009 11:32 PM
Re: My junior Deleted vdisk without removng LV
root #/ >vgdisplay -v vg_spcb_archive
--- Volume groups ---
VG Name /dev/vg_spcb_archive
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 255
Cur PV 1
Act PV 1
Max PE per PV 1016
VGDA 2
PE Size (Mbytes) 32
Total PE 639
Alloc PE 639
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg_spcb_archive/lvol1
LV Status available/syncd
LV Size (Mbytes) 20448
Current LE 639
Allocated PE 639
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t3d4
PV Name /dev/dsk/c3t3d4 Alternate Link
PV Name /dev/dsk/c5t3d4 Alternate Link
PV Name /dev/dsk/c7t3d4 Alternate Link
PV Name /dev/dsk/c11t3d4 Alternate Link
PV Name /dev/dsk/c13t3d4 Alternate Link
PV Name /dev/dsk/c15t3d4 Alternate Link
PV Name /dev/dsk/c17t3d4 Alternate Link
PV Status unavailable
Total PE 639
Free PE 0
Autoswitch On
Proactive Polling On
Nw i would like to remove this vg and lv traces....
ll /dev/*/group gives..
crw-r--r-- 1 root sys 64 0x960000 Sep 15 12:02 /dev/vg_spcb_archive/group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:33 PM
тАО11-09-2009 11:33 PM
Re: My junior Deleted vdisk without removng LV
root #/ >vgexport vg_spcb_archive
vgexport: Volume group "vg_spcb_archive" is still active.
vgexport: Couldn't export volume group "vg_spcb_archive".
root #/ >vgchange -a n vg_spcb_archive
vgchange: Couldn't deactivate volume group "vg_spcb_archive":
Device busy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:46 PM
тАО11-09-2009 11:46 PM
Re: My junior Deleted vdisk without removng LV
Unmount /dev/vg_spcb_archive/lvol1
Then deactivate VG
Then do vgexport
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:48 PM
тАО11-09-2009 11:48 PM
Re: My junior Deleted vdisk without removng LV
Its already unmounted..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:53 PM
тАО11-09-2009 11:53 PM
Re: My junior Deleted vdisk without removng LV
Are you sure its cleanely unmounted.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:55 PM
тАО11-09-2009 11:55 PM
Re: My junior Deleted vdisk without removng LV
> Unmount /dev/vg_spcb_archive/lvol1
We unmount _filesystems_ not devices (and as chindi pointed out he already did that...)
chindi,
I fear in this position your only hope is to reconstruct the lvmtab:
mv /etc/lvmtab /etc/lvmtab.old
vgscan -v
Unfortunately if you have a _lot_ of LUNs presented from the EVA this will result in the primary paths for each LUN now being all through the same controller, which could mean a small IO performance hit and will need a lot of mucking around with vgreduce/vgextend to fix... how many EVA LUNs do you have on this system?? Do you have a copy of evainfo?
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2009 11:55 PM
тАО11-09-2009 11:55 PM
Re: My junior Deleted vdisk without removng LV
yaa m sure...itss cleanly unmounted...