- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removal of filesystem, LV, VG and vdisk
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
тАО02-11-2010 07:23 PM
тАО02-11-2010 07:23 PM
Due to internal request, i need to delete the existing filesystem, LV, VG and the vdisk. In the below example Please find my steps and if anything wrong please provide your recommendations.
Example:
1. umount /data #unmount filesystem
2. lvremove /dev/vg01/lvsap #removing an LV
3. vgreduce vg01 /dev/dsk/c5t0d0 #removing a PV
we have alternate links also. Suggest me what we do for alternate links?
4. vgchange -a n vg01 #de-activating a vg
5. vgexport vg01 [Which option i opt whether vgexport or vgremove to remove the volume group. The existing volume group we won't use in future]
I would like to delete the vdisk at EVA also which is pointing to the corresponding vg. We are using EVA8000. Can i directly delete the vdisk after performing the above steps? or else i need to follow any more?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 07:46 PM
тАО02-11-2010 07:46 PM
Re: removal of filesystem, LV, VG and vdisk
2. lvremove /dev/vg01/lvsap #removing an LV
3. vgreduce vg01 /dev/dsk/c5t0d0 #removing a PV
we have alternate links also. Suggest me what we do for alternate links?
>> Make sure you do not have any other LV.and reduce alternate disk as well.
4. vgchange -a n vg01 #de-activating a vg
5. vgexport vg01
UNIX part is good!!
EVA part m not sure :(
BR,
Kapil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 07:46 PM
тАО02-11-2010 07:46 PM
Re: removal of filesystem, LV, VG and vdisk
2. lvremove /dev/vg01/lvsap #removing an LV
3. vgchange -a n vg01 #de-activating a vg
4. vgreduce vg01 /dev/dsk/c5t0d0
5. vgremove vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 08:26 PM
тАО02-11-2010 08:26 PM
Re: removal of filesystem, LV, VG and vdisk
vgexport /dev/vgXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2010 08:34 PM
тАО02-11-2010 08:34 PM
Solution- Connect yourself with a browser to the Command View EVA system. The URL is something like https://<2372>
- Unpresent the Vdisk.
- If active/passive :
-- From HP-UX :
--- spmgr delete WWNLUNID (for example : spmgr delete 6005-08B4-0010-2499-0002-3000-00F9-0000) or spmgr delete
- If active/active and autopath installed :
-- From HP-UX :
--- autopath delete WWNLUNID (for example : spmgr delete 6005-08B4-0010-2499-0002-3000-00F9-0000) then ioscan.
ioscan -fn
ioscan -fnC -> show NO_HW (once disk has been unpresented from Storage to host)
look for NO_HW ->path of the vdisk
rmsf -H
Example :-
# ioscan -fnC disk |grep NO_HW
disk 58 0/2/1/0/4/0.30.0.4.0.1.3 sdisk NO_HW DEVICE HP HSV210
disk 66 0/2/1/0/4/0.30.0.4.0.1.4 sdisk NO_HW DEVICE HP HSV210
remove device file from the HPUX Server side
# rmsf -H 0/2/1/0/4/0.30.0.4.0.1.3
# rmsf -H 0/2/1/0/4/0.30.0.4.0.1.4
--- autopath display -u --> You should see the WWNLUNID in the unattached list
--- If so, autopath add 6005-08B4-0010-2499-0002-3000-00F9-0000. You sould see no more the WWNLUNID, nor in "autopath display", nor in "autopath display -u".
Hope This Helps,
Regards
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:29 PM
тАО02-16-2010 09:29 PM
Re: removal of filesystem, LV, VG and vdisk
Thanks for your steps. I have followed your steps and i removed LUNS from the system.
Now, i would like to know Can i delete the vdisk at EVA?
Also, please find the output of #autopath display -u. When i checked at autopath display that WWNLUN is not visible ie., removed.
# autopath display -u
==================================================================
HPswsp Version : A.3.0F.02F.02F
------------------------------------------------------------------
Excluded Array Types : No array type excluded
------------------------------------------------------------------
==================================================================
Deleted Arrays
==================================================================
Array ID Array Type
------------------------------------------------------------------
------------------------------------------------------------------
==================================================================
==================================================================
Array Type : EVA-AA
Array ID : 5000-1FE1-500C-DB80
------------------------------------------------------------------
Deleted Luns
------------------------------------------------------------------
6005-08B4-0007-0FCC-0001-2000-0051-0000
6005-08B4-0007-0FCC-0001-2000-004B-0000
6005-08B4-0007-0FCC-0001-2000-0045-0000
6005-08B4-0007-0FCC-0001-2000-003F-0000
6005-08B4-0007-0FCC-0001-2000-0009-0000
6005-08B4-0007-0FCC-0001-1000-0163-0000
6005-08B4-0007-0FCC-0001-1000-0172-0000
6005-08B4-0007-0FCC-0001-1000-016B-0000
6005-08B4-0007-0FCC-0001-3000-011C-0000
6005-08B4-0007-0FCC-0001-3000-0120-0000
6005-08B4-0007-0FCC-0001-3000-0124-0000
6005-08B4-0007-0FCC-0001-3000-0128-0000
6005-08B4-0007-0FCC-0001-3000-012C-0000
6005-08B4-0007-1007-0001-5000-022D-0000
6005-08B4-0007-1007-0001-5000-0231-0000
6005-08B4-0007-1007-0001-5000-0235-0000
6005-08B4-0007-1007-0001-5000-0239-0000
6005-08B4-0007-1007-0001-5000-023D-0000
6005-08B4-0007-1007-0001-5000-0241-0000
6005-08B4-0007-1007-0001-5000-0245-0000
==================================================================
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:39 PM
тАО02-16-2010 09:39 PM
Re: removal of filesystem, LV, VG and vdisk
above Question ? is it ?? like this ??
would like to know how can i delete the vdisk at EVA ?
or
Can i delete the vdisk at EVA ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:44 PM
тАО02-16-2010 09:44 PM
Re: removal of filesystem, LV, VG and vdisk
My question is:
Can i delete the corresponding vdisk at EVA which i removed LUNS from system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 09:49 PM
тАО02-16-2010 09:49 PM
Re: removal of filesystem, LV, VG and vdisk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2010 06:36 PM
тАО02-17-2010 06:36 PM
Re: removal of filesystem, LV, VG and vdisk
Thank you Johnson, i have followed your steps and completly removed the LUNS from machine and as we don't need the vdisk so after unpresenting the luns i have deleted the vdisk from EVA.