Re: Error on deleting a lun

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2013-05-07 at 17:25 +0100, Tim Eggleston wrote:
> Hi Andy,
> 
> > 'tag' is a new attribute, I think it needs to be added to 'xmlun' 
> > list,
> > around line 487 in target.py.
> 
> Nice! With target.py updated, I can now delete the lun without 
> incident. Thanks for your help! For reference, my line 482 of target.py 
> now looks like this:
> 
> > xmlun = ["param", "info", "cmdsn_depth", "auth", "attrib", "tag"]
> 

Hi Tim,

Note this is not reproducible with rtslib.git HEAD..

Looking closer, this case was future-proofed with a isdir() check in the
following commit from late 2011:

Fixed _list_mapped_luns for FC and future layouts
http://www.risingtidesystems.com/git/?p=rtslib.git;a=commitdiff;h=120e2c9a923ed300eba15c5c4de3f7a643f93712

So the Ubuntu + Debian folks (CC'ed) will want to make sure they are
using the latest rtslib to function as expected with v3.9 kernel code.

--nab



--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux