ISCSI Target + LVM Problem
Hello,
I have a LVM with 2 ISCSI disk mounted. The partition started presents problem such ” i/o error”. I unmounted the device, and restarted target server in scsi, wich as having some problems. After that i mapped iscsi and trying to mount partition again but:
When i run the pvdisplay i get the following erro:
read failed after 0 of 4096 at 0: Input/output error
And cannot mount partition.
4 thoughts on - ISCSI Target + LVM Problem
First the very basic:
Can you ping the target (iscsi server)?
Is the target in your iscsi target list: “iscsiadm -m session”?
—
Marcelo
“¿No será acaso que esta vida moderna está teniendo más de moderna que de vida?” (Mafalda)
Hello, thanks for the help.
Yes
And the commands to discovery iscsi results ok
Such iscsiadm –mode discovery –type sendtargets
And
scsiadm -m node -T
And the disks appear on pvdisplay
2018-03-14 16:23 GMT-03:00 Marcelo Roccasalva < marcelo-CentOS@irrigacion.gov.ar>:
CentOS mailing list CentOS@CentOS.org https://lists.CentOS.org/mailman/listinfo/CentOS
Ok. [Try not to top-post]
Let’s try to read your disks (replace /dev/sdX with the name of the iscsi disk):
dd if=/dev/sdX count=1 >/dev/null
dd if=/dev/sdX count=1024 >/dev/null
(please, copy the output and error(s))
—
Marcelo
“¿No será acaso que esta vida moderna está teniendo más de moderna que de vida?” (Mafalda)
disk):
I’m using gmail and searching on google i did not find how to not top-post.
:(
Sorry i’m new on mailists.
Thanks for your patience.
I have 2 Physical volume(in a ISCSI mounting a Volume group. For some reason the server lost communication with iscsi and when it backs the lvm
“crash” with i/o error. And when i try to remount i ger the error:
mount: you must specify the filesystem type
When i run the pvdisplay i get the following erro:
read failed after 0 of 4096 at 0: Input/output error
I run commands for boths disks.
dd if=/dev/sdf count=1 >/dev/null
1+0 registros de entrada
1+0 registros de saída
512 bytes (512 B) copiados, 0,00208968 s, 245 kB/s
dd if=/dev/sdg count=1 >/dev/null
1+0 registros de entrada
1+0 registros de saída
512 bytes (512 B) copiados, 0,00203979 s, 251 kB/s
dd if=/dev/sdf count=1024 >/dev/null
1024+0 registros de entrada
1024+0 registros de saída
524288 bytes (524 kB) copiados, 0,0457182 s, 11,5 MB/s
dd if=/dev/sdg count=1024 >/dev/null
1024+0 registros de entrada
1024+0 registros de saída
524288 bytes (524 kB) copiados, 0,0163593 s, 32,0 MB/s
But if i run *mkfs* i’ll lost all data?
2018-03-14 16:35 GMT-03:00 Marcelo Roccasalva < marcelo-CentOS@irrigacion.gov.ar>:
CentOS mailing list CentOS@CentOS.org https://lists.CentOS.org/mailman/listinfo/CentOS