[opensuse-virtual] iSCSI en Virtualbox
Hi! I was trying to use iSCSI on Virtualbox. This is the configuration of my /etc/ietd.conf Target iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf Lun 0 Path=/varios/01/discotest,Type=fileio Lun 1 Path=/varios/01/otrotest,Type=fileio and the I added this lines to attach de iSCSI to my vm. VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 1 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 0 VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 2 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 1 when I start the vm I try to format the disk /dev/sdb (one of the iSCSI). in the vm nothing happens but in the iSCSI server (arlene) 2014-05-16T21:22:59.169220-03:00 arlene kernel: [ 5123.066498] iscsi_trgt: check_segment_length(1896) data too long 2 65536 8192 then the iSCSI get's readonly... what can I do or where can I find some info about it? regards -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
I haven't tried to do what you're describing,
But just wondering... Is there some reason you're not using YAST to
setup your iSCSI entirely in your Guest? Is there some reason why you
would want to setup iSCSI on your Host and then try to pass that to
your Guest? I suppose you could do the latter, but in that case I
would just create a virtual disk on the configured Host disk instead
of trying to pass the raw disk to the Guest.
If you do use some method that requires configuration in both Host and
Guest, you'll likely need to clarify and describe what OS you're
running for each, and how you configured each.
Tony
On Fri, May 16, 2014 at 8:48 AM, marcelo
Hi! I was trying to use iSCSI on Virtualbox.
This is the configuration of my /etc/ietd.conf
Target iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf Lun 0 Path=/varios/01/discotest,Type=fileio Lun 1 Path=/varios/01/otrotest,Type=fileio
and the I added this lines to attach de iSCSI to my vm.
VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 1 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 0 VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 2 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 1
when I start the vm I try to format the disk /dev/sdb (one of the iSCSI).
in the vm nothing happens but in the iSCSI server (arlene)
2014-05-16T21:22:59.169220-03:00 arlene kernel: [ 5123.066498] iscsi_trgt: check_segment_length(1896) data too long 2 65536 8192
then the iSCSI get's readonly...
what can I do or where can I find some info about it?
regards
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
El 16/05/14 16:00, Tony Su escribió:
I haven't tried to do what you're describing, But just wondering... Is there some reason you're not using YAST to setup your iSCSI entirely in your Guest? I already used it in other solutions, I am aware that this solution works. I not trying that right now. Is there some reason why you would want to setup iSCSI on your Host and then try to pass that to your Guest? I am looking for a solicion to move virtual machines on different hosts, for now I'm just playing around I suppose you could do the latter, but in that case I would just create a virtual disk on the configured Host disk instead of trying to pass the raw disk to the Guest. I try that with no luck. same thing happend
If you do use some method that requires configuration in both Host and Guest, you'll likely need to clarify and describe what OS you're running for each, and how you configured each. Only opensuse on Hosts and guests. And I just did what I declare before in that earlier mail
Tony
On Fri, May 16, 2014 at 8:48 AM, marcelo
wrote: Hi! I was trying to use iSCSI on Virtualbox.
This is the configuration of my /etc/ietd.conf
Target iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf Lun 0 Path=/varios/01/discotest,Type=fileio Lun 1 Path=/varios/01/otrotest,Type=fileio
and the I added this lines to attach de iSCSI to my vm.
VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 1 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 0 VBoxManage storageattach iSCSI-test --storagectl "SATA" --port 2 --device 0 --type hdd --medium iscsi --server 10.202.10.18 --target "iqn.test.2014:3a4408cc-9918-4904-8cd2-00d307f03bdf" --tport 3260 --lun 1
when I start the vm I try to format the disk /dev/sdb (one of the iSCSI).
in the vm nothing happens but in the iSCSI server (arlene)
2014-05-16T21:22:59.169220-03:00 arlene kernel: [ 5123.066498] iscsi_trgt: check_segment_length(1896) data too long 2 65536 8192
then the iSCSI get's readonly...
what can I do or where can I find some info about it?
regards
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
-- Saludos, Marcelo -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (3)
-
marcelo
-
marcelo
-
Tony Su