Re: ISCSI target + LVM Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>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))


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@xxxxxxxxxxxxxxxxx>:

> On Wed, Mar 14, 2018 at 4:27 PM, marcos sr <msr.mailing@xxxxxxxxx> wrote:
> > 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
>
> 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)
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux