[Plugins] iSCSI GUI and ISCSI Target


SimonF

Recommended Posts

On 1/24/2023 at 3:11 PM, ich777 said:

I've pushed a fix to the plugin and it should not work as intended.

 

There was an issue in the old package detection routine which is now fixed, please update the plugin and upgrade to Unraid 6.11.5, it should work right OOB.

iscsi虚拟磁盘无法使用UEFI引导Windows 11启动,但是使用旧BIOS可以正常使用,好像是iscsi没有加载iBFT表,请问改如何解决?谢谢你

Link to comment
39 minutes ago, Killersplace said:

hi al

i am new to ISCSI i installed the plugin en uset the guide in there and all seems ok but in windows side i can add the iscsi but when i try to connect it cant i get Authorization failed

Does you Initiators tab look Similar to this?

image.png.f3943c1b7ca97c015d63a85d90392b2e.png

Edited by SimonF
Link to comment
5 minutes ago, Killersplace said:

this is an test drive do i nead to do something whit it in unraid ?

No it needs to be unassiged and not in use in Unraid as the whole block device will be availble to the windows machine. Is the drive formated to a non Windows readable format?

Link to comment
1 hour ago, Killersplace said:

do i nead to have NTFS partition on it ?

No, you do everything on the Initiator side, so to speak Windows.

 

You have to fist initialize the disk in Windows, right-click on the box at the beginning where it says: Disk2 and not on the not allocated space, you will then get a different pop up where you can initialize the disk and after that you can create a partition on it at the not allocated space.

 

1 hour ago, Killersplace said:

its not in use and no file system its the one whit the line over it

Please don't do anything on Unraid directly, you will certainly destroy the disk layout.

Link to comment
44 minutes ago, Killersplace said:

ok i understand but in the windows side i dont get the  initialize disk ! thats the problem 

Are you sure that the disk is working properly?

 

Have you yet tried diskpart (CLI Tool) on Windows to format it? <- please be very careful with diskpart!

 

Something like:

list disk
select disk 2
clean
create partition primary

...should do the job just fine, but as said, please make sure after doing "list disk" that you check that disk 2 is actually the iSCSI disk, if you get any error message you should know what the issue is.

Link to comment
Just now, Killersplace said:

meaby the disk is bad but in unraid i have used it before but i am emptying  an other disk that i can test whit 

Look at your screenshot from above:

grafik.thumb.png.26ede08ae118af198b497026d04324f1.png

 

Do you see where the issue is? Please remove the drive from the Windows Initiator side, after that remove it in the iSCSI plugin and then add it again and make sure that you do NOT click "Read Only".

  • Thanks 1
Link to comment
  • 1 month later...
11 hours ago, antihero412 said:

Would it be possible to use a zvol now that unraid has ZFS i can create the zvol fine but cant seem to map to it under devices its only showing the /dev/sda and not /dev/zvol

At present you can add via  targetcli 

 

root@computenode:/dev# targetcli
targetcli shell version 2.1.54
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.
/backstores/block> ls
o- block ...................................................................................................... [Storage Objects: 0]
/backstores/block> help

GENERALITIES
============
This is a shell in which you can create, delete and configure
configuration objects.

The available commands depend on the current path or target
path you want to run a command in: different path have
different sets of available commands, i.e. a path pointing at
an iSCSI target will not have the same available commands as,
say, a path pointing at a storage object.

The prompt that starts each command line indicates your
current path. Alternatively (useful if the prompt displays
an abbreviated path to save space), you can run the
`pwd` command to display the complete current path.

Navigating the tree is done using the `cd` command. Without
any argument, `cd` presents you with the full objects
tree. Just use arrows to select the destination path, and
enter will get you there. Please try `help cd` for navigation
tips.

COMMAND SYNTAX
==============
Commands are built using the following syntax:

[TARGET_PATH] COMMAND_NAME [OPTIONS]

TARGET_PATH indicates the path to run the command from.
If omitted, the command is run from your current path.

OPTIONS depend on the command. Please use `help` to
get more information.


AVAILABLE COMMANDS
==================
The following commands are available in the
current path:

  - bookmarks action [bookmark] 
  - cd [path] 
  - create name dev [readonly] [wwn] 
  - delete name [save] 
  - exit 
  - get [group] [parameter...] 
  - help [topic] 
  - ls [path] [depth] 
  - pwd 
  - refresh 
  - set [group] [parameter=value...] 
  - status 
/backstores/block> create zfsbladevol1 /dev/zvol/zfs/vol1
Created block storage object zfsbladevol1 using /dev/zvol/zfs/vol1.
/backstores/block> exit
Global pref auto_save_on_exit=true
Last 10 configs saved in /etc/target/backup/.
Configuration saved to /etc/target/saveconfig.json

Then you can create a LUN and add via the gui. Will look into adding the Device mapping part.

 

image.thumb.png.2e9de624957b76cec85103c49a99829b.png

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.