> I need to delete it but YAST does not want to do this. In YAST I use
> Harware -> Fcp -> select lun and delete.
> LUN does not budge. Tried mkinird/zipl and rebooted - still there.
>
> The SCSI cloning redbook uses a "echo lun# > unit_add" to add luns. I
tried
> a "echo lun# > unit_remove" but this did not work either.

You have to deregister it first from the scsi stack. Try
echo 1 > /sys/bus/scsi/devices/0:0:1:0/delete
using the <host_id>:<channel_id>:<scsi_id>:<scsi_lun> - values
corresponding to your FCP LUN.
The lsscsi command tells you these numbers.

Then the echo lun# > unit_remove should work.

regards,
Volker

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to