[Stgt-devel] scsi_id and scsi_sn not able to set
FUJITA Tomonori
fujita.tomonori
Sat Apr 21 14:44:47 CEST 2007
From: Albert Pauw <albert.pauw at gmail.com>
Subject: [Stgt-devel] scsi_id and scsi_sn not able to set
Date: Sat, 21 Apr 2007 13:55:34 +0200
> Up until the last patches the following worked fine:
>
> tgtadm -L iscsi -m logicalunit -o update -t 2 -l 1 -n scsi_id -v "CDROM ISO"
> tgtadm -L iscsi -m logicalunit -o update -t 2 -l 1 -n scsi_sn -v "001"
>
> But that doesn't seem to work anymore. Now I get 'invalid request'.
> How can I set these parameters?
Oops, here's a fix.
BTW, please use a plain-text mail.
diff --git a/usr/target.c b/usr/target.c
index 156b8e6..118e7ad 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -344,8 +344,8 @@ enum {
};
static match_table_t tokens = {
- {Opt_scsiid, "Scsi_id=%s"},
- {Opt_scsisn, "Scsi_sn=%s"},
+ {Opt_scsiid, "scsi_id=%s"},
+ {Opt_scsisn, "scsi_sn=%s"},
{Opt_err, NULL},
};
More information about the stgt
mailing list