On 01/11/2013 05:50 AM, [email protected] wrote: > From: Adheer Chandravanshi <[email protected]> > > This support lets the user manage the target entries in adapter flash and > perform various operations like add, delete, login, logout, > and update the target information. > > The sysfs entries will look as cited below: > /sys/class/iscsi_flash_tgt/tgt-<host_no>-<target_no>/ > > Operations using iscsiadm: > ========================= > > List all targets stored in the FLASH of the adapter > \# iscsiadm -m host -H hostno -C flash_target -o show > > View all parameters of one particular flash target > \# iscsiadm -m host -H hostno -C flash_target -x <target_idx> -o show > > Update an entry and commit to adapter FLASH > \# iscsiadm -m host -H hostno -C flash_target -x <target_idx> -n <name> -v > <value> -o update > \# iscsiadm -m host -H hostno -C flash_target -x <target_idx> -o apply
Just have the user send all the params at once. Other iscsiadm commands support this now. Dump the apply related stuff. When they set params they get applied. > Delete an entry > \# iscsiadm -m host -H hostno -C flash_target -x <target_idx> -o delete > > Create a new entry > \# iscsiadm -m host -H hostno -C flash_target -o new -type <ipv4/ipv6> I think type should be renamed to portal_type, because we are really talking about the type of the portal on the target not really the target. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
