My config:
Storage>VirtualDisks: OpenFiler iSCSI + LVM
Storage>Backups: OpenFiler NFS (same machine as VirtualDisks)
Everything working as expected.
Last Friday, OpenFiler machine went down (do not know why), and ProxMox kept trying to reconnect during all weekend.
On Monday, I restarted OpenFiler, and ProxMox was unable to connect to iscsi/LVM where VirtualMachines are located. LVM was not accesible from web page . Error was:
I had to create new iSCSI, new LVM, and restore from backups all the machines .....
Today I've tried to recreate the problem:
I've stopped all Virtual Machines that where running on iSCSI/LVM
I've (correctly) shutted down OpenFiler, and after restarting same problem again, I can not access LVM on iSCSI target.
Error in web is the same
Trace of syslog When OpenFiler Stopped/Started:
If I then try to start a machine, I obtain:
Please take note that VM200 is defined on ISCSI/LVM
and seems is trying to start it from localstorage....
Edit: It is from localhost, not localstorage (Sorry)
OpenFiler tells me that Proxmox machine is connected to iSCSI, and Web Storage>iSCSI gives me no problem (Simply there is no LUN mapped to it).
If restarted Proxmox, with same sympthoms ..
df gives me no info about iscsi/LVM
1.- As iSCSI is available to Proxmox machine, I assume that it is a Proxmox/LVM problem, not OpenFiler. Is this correct ??
2.- If above is true, how can I 'recreate' LVM info ?? I'm sure all my data is ther waiting for me, but do not know how. (I do not have yesterday backups....)
3.- When everything is working again, How can I access an LVM (i.e chdir to it and/or make a copy of data ) ?
Thanks for being so patient to read this long post ...
Best Regards
Storage>VirtualDisks: OpenFiler iSCSI + LVM
Storage>Backups: OpenFiler NFS (same machine as VirtualDisks)
Everything working as expected.
Last Friday, OpenFiler machine went down (do not know why), and ProxMox kept trying to reconnect during all weekend.
On Monday, I restarted OpenFiler, and ProxMox was unable to connect to iscsi/LVM where VirtualMachines are located. LVM was not accesible from web page . Error was:
Code:
[2440]ERR: 24: Error in Perl code: command '/sbin/vgchange -aly Discos_Virtuales_iSCSI_170' failed with exit code 5
Today I've tried to recreate the problem:
I've stopped all Virtual Machines that where running on iSCSI/LVM
I've (correctly) shutted down OpenFiler, and after restarting same problem again, I can not access LVM on iSCSI target.
Error in web is the same
Code:
[2440]ERR: 24: Error in Perl code: command '/sbin/vgchange -aly Discos_Virtuales_iSCSI_170_2' failed with exit code 5
Code:
Aug 31 11:59:32 servidor1 iscsid: connect failed (113)
Aug 31 11:59:32 servidor1 iscsid: connect failed (113)
Aug 31 12:00:09 servidor1 iscsid: connect failed (111)
Aug 31 12:00:09 servidor1 iscsid: connect failed (111)
Aug 31 12:00:13 servidor1 iscsid: connect failed (111)
Aug 31 12:00:13 servidor1 iscsid: connect failed (111)
Aug 31 12:00:17 servidor1 iscsid: connect failed (111)
Aug 31 12:00:17 servidor1 iscsid: connect failed (111)
Aug 31 12:00:20 servidor1 proxwww[30435]: Starting new child 30435
Aug 31 12:00:21 servidor1 iscsid: connection2:0 is operational after recovery (41 attempts)
Aug 31 12:00:21 servidor1 iscsid: connection1:0 is operational after recovery (41 attempts)
Aug 31 12:01:09 servidor1 proxwww[30042]: update ticket
Aug 31 12:01:17 servidor1 proxwww[30052]: update ticket
Aug 31 12:01:17 servidor1 proxwww[30468]: Starting new child 30468
Aug 31 12:01:27 servidor1 proxwww[30468]: update ticket
Aug 31 12:01:27 servidor1 proxwww[30469]: Starting new child 30469
Aug 31 12:01:30 servidor1 proxwww[30469]: update ticket
Aug 31 12:01:31 servidor1 proxwww[30470]: Starting new child 30470
Aug 31 12:02:17 servidor1 kernel: nfs: server 192.168.123.19 OK
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: Info fld=0x0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Aug 31 12:02:17 servidor1 kernel: end_request: I/O error, dev sdb, sector 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: Info fld=0x0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Aug 31 12:02:17 servidor1 kernel: end_request: I/O error, dev sdb, sector 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: Info fld=0x0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Aug 31 12:02:17 servidor1 kernel: end_request: I/O error, dev sdb, sector 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: Info fld=0x0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Aug 31 12:02:17 servidor1 kernel: end_request: I/O error, dev sdb, sector 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Unit Not Ready
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] READ CAPACITY failed
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Asking for cache data failed
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Aug 31 12:02:17 servidor1 kernel: sdb: detected capacity change from 104857600000 to 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: Info fld=0x0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
Aug 31 12:02:17 servidor1 kernel: end_request: I/O error, dev sdb, sector 0
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Unit Not Ready
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] READ CAPACITY failed
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Asking for cache data failed
Aug 31 12:02:17 servidor1 kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Code:
Aug 31 12:03:06 servidor1 pvedaemon[30559]: starting VM 200 on node 0 (localhost)
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Unit Not Ready
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] READ CAPACITY failed
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Sense Key : Illegal Request [current]
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Add. Sense: Logical unit not supported
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Test WP failed, assume Write Enabled
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Asking for cache data failed
Aug 31 12:03:06 servidor1 kernel: sd 5:0:0:0: [sdb] Assuming drive cache: write through
Aug 31 12:03:07 servidor1 qm[30560]: VM 200 start
Aug 31 12:03:08 servidor1 pvedaemon[30559]: VM 200 start failed -
Code:
name: Windows-Administracion
vlan0: rtl8139=3E:2C:8C:CD:7A:20
bootdisk: ide0
ostype: wxp
ide0: LVM_170_3:vm-200-disk-1
memory: 512
onboot: 1
sockets: 1
cores: 1
boot: ca
freeze: 0
cpuunits: 1000
acpi: 1
kvm: 1
Edit: It is from localhost, not localstorage (Sorry)
OpenFiler tells me that Proxmox machine is connected to iSCSI, and Web Storage>iSCSI gives me no problem (Simply there is no LUN mapped to it).
If restarted Proxmox, with same sympthoms ..
df gives me no info about iscsi/LVM
1.- As iSCSI is available to Proxmox machine, I assume that it is a Proxmox/LVM problem, not OpenFiler. Is this correct ??
2.- If above is true, how can I 'recreate' LVM info ?? I'm sure all my data is ther waiting for me, but do not know how. (I do not have yesterday backups....)
3.- When everything is working again, How can I access an LVM (i.e chdir to it and/or make a copy of data ) ?
Thanks for being so patient to read this long post ...
Best Regards
Last edited: