HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LUN device file management
Operating System - HP-UX
1825766
Members
2131
Online
109687
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
Forums
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
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
05-09-2007 07:39 AM
05-09-2007 07:39 AM
Greetings. What is the proper way to?: a) install newly created Virtual Array LUN device files; I think it is 1) insf -e 2) ioscan -fnC disk, and b) remove deleted Virtual Array LUN device files. I ask because, on HP 4440 running HP-UX 11.11 and connected EVA5000 running vcs 4.007, I recently removed all EVA LUNs (no, 4440 is not production) using Command View, and device files are still present on 4440 when issuing "ioscan -fnC disk". Thank you.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 07:48 AM
05-09-2007 07:48 AM
Solution
Lonny,
Once all work of Lun creation is done at the EVA, the SAN should be able to present that as a single drive to HP-UX.
Doing an insf -e should make it visible, and to remove it an rmsf should get rid of the device.
Regards,
Jaime.
Once all work of Lun creation is done at the EVA, the SAN should be able to present that as a single drive to HP-UX.
Doing an insf -e should make it visible, and to remove it an rmsf should get rid of the device.
Regards,
Jaime.
Work hard when the need comes out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2007 07:52 AM
05-09-2007 07:52 AM
Re: LUN device file management
It depends. Consider the case where a device fails and then you install a new device in a different slot. Later you replace the failed device. You would like the replacement drive to be just that : a replacement with the same device node assignments. The system has a file where this data are stored. If you actually want to remove a device and make the system completely forget about the devices then simply rm'ing /dev/xxx won't work because the iotable remains. You use rmsf to remove device files and the corresponding iotable entry.
Now to answer your question about brand, spanking new devices:
ioscan -fn
insf
You should then be ready to use the LUN's as raw devices or as VxVM or LVM disks.
Now to answer your question about brand, spanking new devices:
ioscan -fn
insf
You should then be ready to use the LUN's as raw devices or as VxVM or LVM disks.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2007 02:30 AM
05-15-2007 02:30 AM
Re: LUN device file management
a)To Install disk devices, do - ioscan -fnC disk; insf -C disk
b) For removing the Disk Device Files, use the below script. -
for i in `ioscan -funC disk | grep -i no_hw |awk '{print $3}'`;do rmsf -H $i;done
thanks
b) For removing the Disk Device Files, use the below script. -
for i in `ioscan -funC disk | grep -i no_hw |awk '{print $3}'`;do rmsf -H $i;done
thanks
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP