[Open-FCoE] fcoe target add new disk error

Karthik G Balaji findkb at gmail.com
Wed Apr 22 06:16:20 UTC 2009


On Wed, Apr 22, 2009 at 1:37 AM, muthu kumar <muthumailbox at gmail.com> wrote:

>  Hi
> [root at localhost scsi_tgt]# lsscsi
> [0:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda
> [1:0:0:0]    cd/dvd  NECVMWar VMware IDE CDR00 1.00  /dev/scd0
>
> This two entry have in /proc/scsi_tgt/scsi_tgt. i can't add any new disk in
> this scsi_tgt file
> if i try to assign new disk the following message are disply.
>
>  [root at localhost scsi_tgt]# echo "assign 0:1:0:0 dev_disk" >
> /proc/scsi_tgt/scsi_tgt
> -bash: echo: write error: Invalid argument


The error is obvious, isn't it ? There is no such disk as 0:1:0:0

>
> [root at localhost scsi_tgt]# echo "assign 0:0:0:0 dev_disk" >
> /proc/scsi_tgt/scsi_tgt
> -bash: echo: write error: No such device


This is emitted by SCST. Did you get the scst patch properly onto the kernel
?


>
> [root at localhost scsi_tgt]#
>
> here
>         0:0:0:0 ->-bash: echo: write error: No such device
>         0:1:0:0 ->-bash: echo: write error: Invalid argument
> so how to add new disk
>
> Thanks
>
> Regards
> Muthukumar
> _______________________________________________
> devel mailing list
> devel at open-fcoe.org
> http://www.open-fcoe.org/mailman/listinfo/devel
>



More information about the devel mailing list