Re: RFC: Doc: FLASH DDB Management using iscsiadm

2012-08-07 Thread Mike Christie
On 08/06/2012 06:27 AM, Lalit Chandivade wrote:
 
 
 -Original Message-
 From: Mike Christie [mailto:micha...@cs.wisc.edu]
 Sent: Friday, August 03, 2012 2:03 PM
 To: Lalit Chandivade
 Cc: open-iscsi@googlegroups.com; Ravi Anand; Vikas Chaudhary; Manish
 Rangankar
 Subject: Re: RFC: Doc: FLASH DDB Management using iscsiadm

 On 07/12/2012 05:37 PM, Lalit Chandivade wrote:
 Hi Mike,

 We want to work on this solution that would enable qla4xxx users to
 manage the DDBs in FLASH and migrate the entries from FLASH to user
 space.

 Here is our initial thought, please review and let us know your feedback.


 This sounds ok to me. Just some minor comments/questions that I am
 guessing you just glossed over to make it easier to understand.


 Add support for FLASH DDB management in iscsiadm
 =

 1. Export normal target entries to /sys/class/iscsi_session from FLASH
 when the driver comes up
 /sys/class/iscsi_session/session2  - for the DDB at Flash DDB index 1
 /sys/class/iscsi_session/session3 - for the DDB at Flash DDB index 2
 /sys/class/iscsi_session/session4 - for  target at index 3 in the RAM
 DDB
 Note: This will need changes in the driver

 Are you are going to add a file on the session to indicate if it's flash or 
 not or
 how can we tell?
 
 We already have the creator to differentiate.
 /sys/class/iscsi_session/session1/creator
 
 Also we are thinking if we should add the FLASH DDBs under
 /sys/firmware, something like
 
 /sys/firmware/iscsi_offload/host0/
  |--iscsi_target/tgt0
  |--iscsi_target/tgt0/iqn
  |--iscsi_target/tgt0/ip
  |--iscsi_target/tgt0/port
 
 As this will clearly distinguish between FLASH DDBs and user created node 
 records.
 

This seems ok.





 2. Export sendtarget entries to  /sys/firmware
 /sys/firmware/send_targets/host0
 /sys/firmware/send_targets/host0/target0

 I would name it send_targets, but yeah seems fine.
 Would or would not?
 

Would. I think I misread it the first time and thought it only said targets.

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: issue with /etc/init.d/iscsi start

2012-08-07 Thread pylesem
Mike,
I don't have any iscsid.startup in my config file. I also don't have a 
file named iscsi start in /etc/init.d/. What am I doing wrong?
Thanks,
Kent

-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/open-iscsi/-/Nx-Y287hGlkJ.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.



Re: issue with /etc/init.d/iscsi start

2012-08-07 Thread Mike Christie
On 08/07/2012 12:53 PM, pyle...@gmail.com wrote:
 Mike,
 I don't have any iscsid.startup in my config file. I also don't have a
 file named iscsi start in /etc/init.d/. What am I doing wrong?

What version of open-iscsi are you using? Did you get it from the distro
and if so what distro?




-- 
You received this message because you are subscribed to the Google Groups 
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.