- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exact procedure to remove LUN from HP-UX B 11/31
Operating System - HP-UX
1752489
Members
5856
Online
108788
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
12-25-2020 06:43 AM
12-25-2020 06:43 AM
Exact procedure to remove LUN from HP-UX B 11/31
Hi,
Please share me exact steps to remove LUN from HP-UX B.11.31 before it removes from storage end. Thanks.
With Best Regards,
Kauser
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2020 07:54 PM
12-26-2020 07:54 PM
Re: Exact procedure to remove LUN from HP-UX B 11/31
Remove LUN from HP-UX
1. Identify LUN usage in HP-UX.
For 11.31, there is a new command: diskowner
It will identify over a dozen uses for a disk LUN:
none The path is not owned by any known subsystem.
lvm The path is part of an LVM volume group.
vxvm The path is part of a VxVM volume group.
vxfs The path has a VxFS filesystem on it.
hfs The path has a HFS filesystem on it.
swap The path is being used as a swap device.
dump The path is being used as a dump device.
asm The path is part of an Oracle database.
OCR The path is a part of Oracle Clusterware and has
OCR (Oracle Cluster Registry) file on it.
Vote The path is a part of Oracle Clusterware and has
Voting disk on it.
partition The path has EFI partitions on it.
EFI The path has EFI boot information on it.
HPSP The path is a HP Service partition.
Example: # diskowner /dev/dsk/c1t2d3
or: # diskowner /dev/disk/disk2
or: # diskowner /dev/vg01/lvol3
There is another usage called raw and could be owned by a database.
Sybase and Informix commonly use raw disks, Oracle less often.
Speak to your database manager to identify if a disk is used by a database.
2. Remove the disk from any managed state.
Run this command: cmviewcl
If it reports that Sevice Guard cluster is installed, you'll need to check
with your system administrator to see if the disk is part of a cluster.
There are multiple steps needed to remove a disk LUN from a cluster.
For LVM or VxVM, have your system admin verify that the LUN in not part of
a volume group. The diskowner command will help identify group management.
Your system admin can also verify if there are alternate paths for the disk.
For LVM disks, you can determine if they are active by searching the lvmtab file:
Use the commands:
# strings /etc/lvmtab
# strings /etc/lvmtab_p
3. Removing the disk device files with rmsf.
Once the device file has been identifed, ues the command rmsf -a to remove the device.
You can use the device filename, or the hardware path.
Example: rmsf -a /dev/rdsk/c1t2d3
rmsf -k -H 1/0/12/0/0.8.0.255.0.5.0
Bill Hassell, sysadmin
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