Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add volume on existing iscsi service #18

Open
daodaodaodaodao opened this issue Mar 2, 2023 · 3 comments
Open

Can't add volume on existing iscsi service #18

daodaodaodaodao opened this issue Mar 2, 2023 · 3 comments

Comments

@daodaodaodaodao
Copy link

Hello! I create one iscsi resource, it has one LUN with id 1, i want to create another LUN with id 2 based on this IQN and service ip

linstor-gateway iscsi create iqn.2019-08.com.home:lunidtest 192.168.5.7/24 10G --resource-group=hdd-rg-pc-2

before add volume I stopped iscsi iqn

linstor-gateway iscsi stop iqn.2019-08.com.home:lunidtest

Then try to add volume 5gb with LUN id 2

linstor-gateway iscsi add-volume iqn.2019-08.com.home:lunidtest 2 5G

After that i try to start iscsi with 2 LUNs and have errors
Pasted image 20230301162707

How I can add volumes to iscsi correctly? and why adding LUN 2 was killed my exist LUN 1?

@chrboe
Copy link
Collaborator

chrboe commented Mar 2, 2023

Hi, I think this is a "half-known" bug.

Can you paste the output of linstor volume list so we can verify this?

Thanks.

@daodaodaodaodao
Copy link
Author

image

@chrboe
Copy link
Collaborator

chrboe commented Mar 6, 2023

Unfortunately, this is a bug in LINSTOR. Newly created volumes are always Inconsistent. The LINSTOR team is working on fixing the issue.

In the meantime, a viable workaround may be to create all volumes at the same time, like:

linstor-gateway iscsi create iqn.2019-08.com.home:lunidtest 192.168.5.7/24 10G 5G --resource-group=hdd-rg-pc-2

I will keep this issue open until the bug is fixed in LINSTOR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants