Hello, we are using Proxmox for years now. At the moment we are upgrading our servers to 4.0.
For this we reinstall every node and recreate the cluster.
In our office we are using a iSCSI storage system, it's an IBM DS3524 storage machine. With proxmox 3.4 we have no problems and all is working fine.
With 4.0 the problem with iSCSI began. We can connect and login into the iSCSI target, but if you write data to it the whole server hang. We can read without problem.
I searched in google and found a bugreport from debian sid: 805252
So i started to compile more and more kernels to see where the problem come from (all are tested on the proxmox 4.0 host!):
With 3.18.21, there is no problem, i can read and write much as i want.
With 3.18.22, the problem is there, if i write data all hang and i have to hard reset the server.
Many kernel compile later i found out that the following patch is the problem:
If i compile the kernel 3.18.21 and add this code, i can not write to the iscsi device.
So i tried to recompile the pve kernel with this patch reverted, but this doesn't solve the problem. I can compile a new pve kernel, but the problem still exist.
I also found a thread here with a similar problem: [thread]24748[/thread]
So, if anyone can help me with this, or any other ideas what i can try to do, please give me a hint.
If you need further data i can provide it here.
Thank you all.
Best regards
Christian
For this we reinstall every node and recreate the cluster.
In our office we are using a iSCSI storage system, it's an IBM DS3524 storage machine. With proxmox 3.4 we have no problems and all is working fine.
With 4.0 the problem with iSCSI began. We can connect and login into the iSCSI target, but if you write data to it the whole server hang. We can read without problem.
I searched in google and found a bugreport from debian sid: 805252
So i started to compile more and more kernels to see where the problem come from (all are tested on the proxmox 4.0 host!):
With 3.18.21, there is no problem, i can read and write much as i want.
With 3.18.22, the problem is there, if i write data all hang and i have to hard reset the server.
Many kernel compile later i found out that the following patch is the problem:
Code:
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index ce382e8..6d931d5 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -2812,9 +2812,9 @@ static int sd_revalidate_disk(struct gendisk *disk)
max_xfer = sdkp->max_xfer_blocks;
max_xfer <<= ilog2(sdp->sector_size) - 9;
- max_xfer = min_not_zero(queue_max_hw_sectors(sdkp->disk->queue),
- max_xfer);
- blk_queue_max_hw_sectors(sdkp->disk->queue, max_xfer);
+ sdkp->disk->queue->limits.max_sectors =
+ min_not_zero(queue_max_hw_sectors(sdkp->disk->queue), max_xfer);
+
set_capacity(disk, sdkp->capacity);
sd_config_write_same(sdkp);
kfree(buffer);
If i compile the kernel 3.18.21 and add this code, i can not write to the iscsi device.
So i tried to recompile the pve kernel with this patch reverted, but this doesn't solve the problem. I can compile a new pve kernel, but the problem still exist.
I also found a thread here with a similar problem: [thread]24748[/thread]
So, if anyone can help me with this, or any other ideas what i can try to do, please give me a hint.
If you need further data i can provide it here.
Thank you all.
Best regards
Christian
Last edited: