Hi,
I attached an iSCSI device (Ubuntu running iSCSI Enterprise Target), and added LVM on top of it.
I created a volume and formatted it ext4, in order to do a dd test (hammering writes on the drive to get speeds). The dd test failed with disk errors. I was unable to fsck the volume, so I removed the LVM drive and removes the iSCSI, then re-added them. I had to re-add the LVM with the same name.
Now, I get the following error:
Oct 25 09:07:24 proxmox pvestatd[2662]: WARNING: command '/usr/bin/iscsiadm --mode node --targetname iqn.2013-04.com.majentis:storage.disk.1 --login' failed: exit code 8
and the device is not available. Path/Target is empty in the web gui.
So, I have three questions:
1. is LVM over iSCSI stable in 3.1?
2. if I had real data on the iSCSI, would it be lost?
3. Is there a way I can get this up again?
Gerald
Just for info, the iscsi did the following:
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981309.538232] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.052868] iscsi_trgt: cmnd_rx_start(1860) 1 30000000 -7
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.052896] iscsi_trgt: cmnd_skip_pdu(472) 30000000 1 2a 131072
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.054074] iscsi_trgt: data_out_start(1086) invalid data len 30000000 131072 0
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.054112] iscsi_trgt: cmnd_skip_pdu(472) 30000000 1e 0 131072
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353046] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353214] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353319] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353419] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353520] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353626] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353745] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353865] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353966] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354066] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354157] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354265] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354365] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354463] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354564] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354666] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354762] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354856] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354961] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355061] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355161] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355261] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355359] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355462] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355562] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355659] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355758] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355858] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355958] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356056] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356156] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356257] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:11 iscsi-filer-1 kernel: [9981449.323725] iscsi_trgt: Logical Unit Reset (05) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:21 iscsi-filer-1 kernel: [9981459.291481] iscsi_trgt: Target Warm Reset (06) issued on tid:2 lun:0 by sid:18577348517233152 (Function Complete)
I have another iSCSI LUN on the same server, and it is still functional.
I attached an iSCSI device (Ubuntu running iSCSI Enterprise Target), and added LVM on top of it.
I created a volume and formatted it ext4, in order to do a dd test (hammering writes on the drive to get speeds). The dd test failed with disk errors. I was unable to fsck the volume, so I removed the LVM drive and removes the iSCSI, then re-added them. I had to re-add the LVM with the same name.
Now, I get the following error:
Oct 25 09:07:24 proxmox pvestatd[2662]: WARNING: command '/usr/bin/iscsiadm --mode node --targetname iqn.2013-04.com.majentis:storage.disk.1 --login' failed: exit code 8
and the device is not available. Path/Target is empty in the web gui.
So, I have three questions:
1. is LVM over iSCSI stable in 3.1?
2. if I had real data on the iSCSI, would it be lost?
3. Is there a way I can get this up again?
Gerald
Just for info, the iscsi did the following:
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981309.538232] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.052868] iscsi_trgt: cmnd_rx_start(1860) 1 30000000 -7
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.052896] iscsi_trgt: cmnd_skip_pdu(472) 30000000 1 2a 131072
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.054074] iscsi_trgt: data_out_start(1086) invalid data len 30000000 131072 0
Oct 25 07:56:51 iscsi-filer-1 kernel: [9981310.054112] iscsi_trgt: cmnd_skip_pdu(472) 30000000 1e 0 131072
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353046] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353214] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353319] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353419] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353520] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353626] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353745] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353865] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.353966] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354066] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354157] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354265] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354365] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354463] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354564] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354666] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354762] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354856] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.354961] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355061] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355161] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355261] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355359] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355462] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355562] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355659] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355758] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355858] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.355958] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356056] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356156] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:01 iscsi-filer-1 kernel: [9981439.356257] iscsi_trgt: Abort Task (01) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:11 iscsi-filer-1 kernel: [9981449.323725] iscsi_trgt: Logical Unit Reset (05) issued on tid:2 lun:1 by sid:18577348517233152 (Function Complete)
Oct 25 07:59:21 iscsi-filer-1 kernel: [9981459.291481] iscsi_trgt: Target Warm Reset (06) issued on tid:2 lun:0 by sid:18577348517233152 (Function Complete)
I have another iSCSI LUN on the same server, and it is still functional.