Re: targetcli fails completely when missing a backstore/fileio device

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

 



Fedora 23 latest so: Kernel 4.4.3 & TargetCLI version 2.1.fb42-3.fc23.

- Thijs

2016-03-06 18:25 GMT+01:00 Andy Grover <agrover@xxxxxxxxxx>:
> On 03/06/2016 02:06 AM, Thijs Cramer wrote:
>>
>> I've noticed some weird behaviour on the targetcli upon restarting.
>>
>> For testing wirespeeds of different settings, i've created a ramdisk using
>> tmpfs in /mnt/ramdisk (mount -t tmpfs tmpfs /mnt/ramdisk).
>> After which i've created a "lun" (dd if=/dev/zero of=16G.ramdisk bs=16M
>> count=1024).
>>
>> In targetcli i've added this file in backstores/fileio and added it as a
>> lun under several Fibre Channel ACL's and LUN's.
>>
>> So far so good, and everything works fine. Until i reboot.
>> Which of course makes sense, because the ramdisk and thus the file are
>> gone.
>>
>> But the weird thing is, the entire targetcli configuration is *empty*.
>> The expeceted behaviour here, would be that Targetcli unmaps the missing
>> LUN from the configuration, but leaves the rest of the configuration
>> intact. And not destroy my whole configuration.
>>
>> Can anyone shed some light on this?
>
>
> What kernel version and targetcli version? -- Andy
>
--
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