Re: [Errno 22] Invalid argument: '/sys/kernel/config/target/core/iblock_0'

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

 



On 17/10/13 09:34, Myles Gray wrote:
Hi All,
Hi!
Seeing this problem when creating an iblock backstore
(it's worked on this config before):

/backstores/iblock> create data0 /dev/sda5
Cannot create backstore:
[Errno 22] Invalid argument: '/sys/kernel/config/target/core/iblock_0'

It won't let me create any backstores:

/backstores/fileio> create data0 /tmp/test 1G
Cannot create backstore:
[Errno 22] Invalid argument: '/sys/kernel/config/target/core/fileio_0'

The error message is very unhelpful - does anyone
recognise what might be going on?
Most likely the iblock driver (target_core_iblock) and the fileio ones are not loaded. You could make sure by running "lsmod | grep target" and make sure it is loaded.

It is however strange as usually running "targetcli" loads them automatically.

Might not be your issue but just a suggestion to start. Also you could look in "dmesg" for any suspicious errors.

Regards,
Ben.
Cheers,
Myles

--
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


--
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