[Linuxtrent] Problema con LVM

  • From: Ezio Paglia <ezio@xxxxxxxxxxxxxxx>
  • To: LinuxTrent <linuxtrent@xxxxxxxxxxxxx>
  • Date: Wed, 10 Apr 2013 10:29:15 +0200

Ciao a tutti.

In una macchina con Debian Squeeze aggiornata mi accingevo a distruggere uno snapshot per ricrearne uno nuovo, ma mi ha dato una serie di errori, prima mai verificati. La bancata di dischi non evidenzia led di errore fisico. Gli errori sono questi.

root@xen37:~# lvdisplay | grep indicia
 /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error
 LV Name                /dev/LOCAL_DISK/indicia-disk
                        /dev/LOCAL_DISK/indicia-snap-002 [active]
                        /dev/LOCAL_DISK/indicia-snap-003 [active]
 LV Name                /dev/LOCAL_DISK/indicia-swap
 LV Name                /dev/LOCAL_DISK/indicia-snap-002
 LV snapshot status     active destination for /dev/LOCAL_DISK/indicia-disk
 LV Name                /dev/LOCAL_DISK/indicia-snap-003
 LV snapshot status     active destination for /dev/LOCAL_DISK/indicia-disk
root@xen37:~# lvremove /dev/LOCAL_DISK/indicia-snap-002
 /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error
Do you really want to remove active logical volume indicia-snap-002? [y/n]: n
 Logical volume indicia-snap-002 not removed
root@xen37:~# lvscan
 /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error
 ACTIVE   Original '/dev/LOCAL_DISK/drupal-disk' [50,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/drupal-swap' [1,00 GiB] inherit
 ACTIVE   Snapshot '/dev/LOCAL_DISK/drupal-snap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/ispman-swap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/ispman-disk' [10,00 GiB] inherit
 inactive Original '/dev/LOCAL_DISK/public01-disk' [100,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/public01-swap' [2,00 GiB] inherit
 inactive Snapshot '/dev/LOCAL_DISK/public01-snap00' [10,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/public01-new-swap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/public01-new-disk' [100,00 GiB] inherit
 ACTIVE   Original '/dev/LOCAL_DISK/indicia-disk' [50,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/indicia-swap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/roundcube-swap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/roundcube-disk' [50,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/public02-swap' [2,00 GiB] inherit
 ACTIVE            '/dev/LOCAL_DISK/public02-disk' [100,00 GiB] inherit
 ACTIVE   Snapshot '/dev/LOCAL_DISK/indicia-snap-002' [10,00 GiB] inherit
 ACTIVE   Snapshot '/dev/LOCAL_DISK/indicia-snap-003' [10,00 GiB] inherit
root@xen37:~# vgscan
 Reading all physical volumes.  This may take a while...
 /dev/dm-9: read failed after 0 of 4096 at 107374116864: Input/output error
 /dev/dm-9: read failed after 0 of 4096 at 107374174208: Input/output error
 /dev/dm-9: read failed after 0 of 4096 at 0: Input/output error
 /dev/dm-9: read failed after 0 of 4096 at 4096: Input/output error
 Found volume group "LOCAL_DISK" using metadata type lvm2

Le macchine virtuali dentro in Xen e basate su lvm vanno e sono accessibili.

root@xen37:~# xm list
Name ID Mem VCPUs State Time(s) Domain-0 0 57386 12 r----- 196625.3 drupal 2 1024 1 -b---- 7966.4 indicia 21 2024 1 -b---- 66270.7 ispman 25 1024 1 -b---- 5201.9 public01 13 1024 1 -b---- 3238978.9 public01-new 17 1024 1 -b---- 7716.6 public02 28 1024 1 -b---- 6398.2



Nel frattempo cerco un po' su Google e predispongo se ci riesco nuovi salvataggi di sicurezza
Avete idee sul da farsi, prima di tentare un boot  ?

Grazie
Ezio
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con OGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: