HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing iscsi persistent settings from krs (kerne...
Operating System - HP-UX
1833770
Members
2351
Online
110063
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
12-10-2009 08:26 AM
12-10-2009 08:26 AM
I have recently moved a rp3440 running 11.23. I will be attaching new iscsi targets. How do I remove the old iscsi persistent data?
I have tried "iscsiutil -d -I" which removed some of the entries, but I do not see how to remove the others.
From what I can tell (based on "strings -a" output) the data is stored in the KRS (kernel registry) in /stand/krs/system.krs and loaded during system boot.
I'm having a hard time finding any documentation on KRS. Any pointers would be appreciated.
Thanks,
-Charles
I have tried "iscsiutil -d -I
From what I can tell (based on "strings -a" output) the data is stored in the KRS (kernel registry) in /stand/krs/system.krs and loaded during system boot.
I'm having a hard time finding any documentation on KRS. Any pointers would be appreciated.
Thanks,
-Charles
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2009 09:42 AM
12-10-2009 09:42 AM
Re: removing iscsi persistent settings from krs (kernel registry)
I found two KRS utilities:
/usr/lbin/krs_print
/usr/lbin/krs_file
with which I can definitely see the ISCSI values in the KRS, but I'm still looking for a way to remove these.
Am I going to have to build a new kernel minus the iscsi driver to clear these?
/usr/lbin/krs_print
/usr/lbin/krs_file
with which I can definitely see the ISCSI values in the KRS, but I'm still looking for a way to remove these.
Am I going to have to build a new kernel minus the iscsi driver to clear these?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2009 10:17 AM
12-10-2009 10:17 AM
Solution
There is an undocumented option i.e. -x for iscsiutil which can be used to delete all iSCSI information from the KRS. But it requires to set a kernel variable i.e. iscsi_krs_delete as mentioned in this document on page 4.
http://h40047.www4.hp.com/lefthand/doc/Whitepaper-Configuring_HP-UX%2011i_for_the_HP_LeftHand_SAN.pdf
http://h40047.www4.hp.com/lefthand/doc/Whitepaper-Configuring_HP-UX%2011i_for_the_HP_LeftHand_SAN.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2009 10:42 AM
12-10-2009 10:42 AM
Re: removing iscsi persistent settings from krs (kernel registry)
Excellent!
I guess there's no HPUX equiv "regedit.exe", huh?
:-)
I guess there's no HPUX equiv "regedit.exe", huh?
:-)
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP