- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- iscsi initiator
Operating System - Linux
1823061
Members
3409
Online
109645
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
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
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
тАО01-18-2011 08:01 PM
тАО01-18-2011 08:01 PM
iscsi initiator
RedHat Enter Prise linux 5 u2
i have 2 servers DB1 DB2 , and i have scsi storage, i create shared storage
/dev/sda 2G
/dev/sdb 5G
/dev/sdc 2G
/dev/sdd 300G
i have iscsi intiator ,when i restart the iscsi service or reboot the server the node will be changed.
/dev/sda 2G
/dev/sdb 300G
/dev/sdc 5G
/dev/sdd 2G
i have singel path
so i Create Persistent Local SCSI Device Names
the steps
1.Edit the /etc/scsi_id.config file.
options=-g
2.To display the UUID for a given device run the scsi_id -g -s /block/sd* command. For example:
# scsi_id -g -s /block/sda
3600a0b800013275100000015427b625e
3.Create a rule to name the device. Create a file named 20-names.rules in the /etc/udev/rules.d directory. Add new rules to this file. All rules are added to the same file using the same format. Rules follow this format:
KERNEL=="sd[a-z]", BUS=="scsi", PROGRAM="/sbin/scsi_id -g -", RESULT=="3600a0b800013275100000015427b625e
", NAME="sda"
5.Append this line to /etc/rc.local
/sbin/start_udev
6: #start_udev
i write this steps, but the the node still random sort evry restart service or reboot.
when i make the 6 step
#start_udev the network is disapear until i do
#service network restart.
Please any one now the solutions.
i have 2 servers DB1 DB2 , and i have scsi storage, i create shared storage
/dev/sda 2G
/dev/sdb 5G
/dev/sdc 2G
/dev/sdd 300G
i have iscsi intiator ,when i restart the iscsi service or reboot the server the node will be changed.
/dev/sda 2G
/dev/sdb 300G
/dev/sdc 5G
/dev/sdd 2G
i have singel path
so i Create Persistent Local SCSI Device Names
the steps
1.Edit the /etc/scsi_id.config file.
options=-g
2.To display the UUID for a given device run the scsi_id -g -s /block/sd* command. For example:
# scsi_id -g -s /block/sda
3600a0b800013275100000015427b625e
3.Create a rule to name the device. Create a file named 20-names.rules in the /etc/udev/rules.d directory. Add new rules to this file. All rules are added to the same file using the same format. Rules follow this format:
KERNEL=="sd[a-z]", BUS=="scsi", PROGRAM="/sbin/scsi_id -g -", RESULT=="3600a0b800013275100000015427b625e
", NAME="sda"
5.Append this line to /etc/rc.local
/sbin/start_udev
6: #start_udev
i write this steps, but the the node still random sort evry restart service or reboot.
when i make the 6 step
#start_udev the network is disapear until i do
#service network restart.
Please any one now the solutions.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2011 05:02 AM
тАО01-19-2011 05:02 AM
Re: iscsi initiator
Hi,
Please check the syntax of the rule.
The correct syntax is
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s %p", RESULT=="3600a0b800013275100000015427b625e",
SYMLINK+="mydevice%n"
Refer this Redhat Doc:
https://access.redhat.com/kb/docs/DOC-7319
Please check the syntax of the rule.
The correct syntax is
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -u -s %p", RESULT=="3600a0b800013275100000015427b625e",
SYMLINK+="mydevice%n"
Refer this Redhat Doc:
https://access.redhat.com/kb/docs/DOC-7319
Regards,
Chhaya
I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
Chhaya
I am an HP employee.
Was this post useful? - You may click the KUDOS! star to say thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2011 07:49 AM
тАО01-21-2011 07:49 AM
Re: iscsi initiator
i have hp lfthand storage , this solution not suitable for this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2011 02:32 AM
тАО01-25-2011 02:32 AM
Re: iscsi initiator
chek the syantak.
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP