Cos'è ElectroYou | Login Iscriviti

ElectroYou - la comunità dei professionisti del mondo elettrico

Problema con montaggio di un gruppo di unita' LVM

Linguaggi e sistemi

Moderatori: Foto UtentePaolino, Foto Utentefairyvilje

0
voti

[41] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 15:39

Ecco:

Codice: Seleziona tutto
root@server:~# lvs
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
root@server:~# vgs
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  VG   #PV #LV #SN Attr   VSize VFree
  home   6   0   0 wz-pn- 1,39t 1,39t
root@server:~#
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

0
voti

[42] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealev » 26 ott 2011, 15:45

Codice: Seleziona tutto
lvremove --noudevsync /dev/mapper/home-home


Codice: Seleziona tutto
vgremove --noudevsync home
Avatar utente
Foto Utentealev
5.995 2 9 12
free expert
 
Messaggi: 6284
Iscritto il: 19 lug 2010, 14:38
Località: Altrove

0
voti

[43] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 15:55

Codice: Seleziona tutto
root@server:~# lvremove --noudevsync /dev/mapper/home-home
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  One or more specified logical volume(s) not found.
root@server:~# vgremove --noudevsync home
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Cannot change VG home while PVs are missing!
root@server:~#
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

0
voti

[44] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealev » 26 ott 2011, 16:03

Codice: Seleziona tutto
vgremove --noudevsync -f home
Avatar utente
Foto Utentealev
5.995 2 9 12
free expert
 
Messaggi: 6284
Iscritto il: 19 lug 2010, 14:38
Località: Altrove

0
voti

[45] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 16:04

Codice: Seleziona tutto
root@server:~# vgremove --noudevsync -f home
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Cannot change VG home while PVs are missing!
root@server:~#


Scusami ma facendo un "fdisk -l" mi dice che non rileva il disco da SATA da 500Gb :

Codice: Seleziona tutto
root@server:~# fdisk -l

Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7461bf6e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9965    80040961    5  Extended
/dev/sda5               1        1531    12288000   83  Linux
/dev/sda6            1531        1624      747520   82  Linux swap / Solaris
/dev/sda7            6488        9965    27929600   8e  Linux LVM
/dev/sda8            1624        6488    39067648   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002b9be

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9964    80035798+  8e  Linux LVM

Disk /dev/sdc: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       36482   293033985    5  Extended
/dev/sdc5               1       36482   293033984   8e  Linux LVM

Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001412b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       38914   312568833    5  Extended
/dev/sdd5               1       38914   312568832   8e  Linux LVM

Disk /dev/sde: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc860c860

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       36482   293033985    5  Extended
/dev/sde5               1       36482   293033984   8e  Linux LVM
root@server:~#
Ultima modifica di Foto Utentealien75 il 26 ott 2011, 16:08, modificato 1 volta in totale.
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

0
voti

[46] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealev » 26 ott 2011, 16:07

:-k 'sto ubuntu mi fa incz ...

Codice: Seleziona tutto
pvdisplay


Codice: Seleziona tutto
fdisk -l
Avatar utente
Foto Utentealev
5.995 2 9 12
free expert
 
Messaggi: 6284
Iscritto il: 19 lug 2010, 14:38
Località: Altrove

0
voti

[47] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 16:11

Codice: Seleziona tutto
root@server:~# pvdisplay
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               home
  PV Size               76,33 GiB / not usable 3,96 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              19539
  Free PE               19539
  Allocated PE          0
  PV UUID               8AcJUW-zguN-6iM1-ml2y-Zc7K-3z1d-sdwZOv
   
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               /dev/sdc5
  VG Name               home
  PV Size               279,46 GiB / not usable 2,00 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              71541
  Free PE               71541
  Allocated PE          0
  PV UUID               2PFdTq-FjOT-NbX9-Tiak-07X6-7bdp-hdeBft
   
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               /dev/sdd5
  VG Name               home
  PV Size               298,09 GiB / not usable 3,00 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              76310
  Free PE               76310
  Allocated PE          0
  PV UUID               HjgmgV-3gab-Fza3-26Di-ihoj-lsNj-05Pj20
   
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               /dev/sde5
  VG Name               home
  PV Size               279,46 GiB / not usable 2,00 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              71541
  Free PE               71541
  Allocated PE          0
  PV UUID               iI2BOU-vA6V-XUGh-I1ll-kqKj-ec3m-pfrDob
   
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               unknown device
  VG Name               home
  PV Size               465,76 GiB / not usable 3,00 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              119234
  Free PE               119234
  Allocated PE          0
  PV UUID               4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI
   
  Couldn't find device with uuid '4vxLQv-19ma-96ue-oCbC-rUhn-W1JM-cIVyeI'.
  --- Physical volume ---
  PV Name               /dev/sda7
  VG Name               home
  PV Size               26,64 GiB / not usable 3,00 MiB
  Allocatable           yes
  PE Size               4,00 MiB
  Total PE              6818
  Free PE               6818
  Allocated PE          0
  PV UUID               2rfP9e-64io-Pc3q-nIrW-SfuR-CXpQ-Q3JwSj
   
root@server:~#


L' altro ce l' hai gia.
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

0
voti

[48] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealev » 26 ott 2011, 17:08

alien75 ha scritto:Scusami ma facendo un "fdisk -l" mi dice che non rileva il disco da SATA da 500Gb :

Codice: Seleziona tutto
root@server:~# fdisk -l

Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7461bf6e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9965    80040961    5  Extended
/dev/sda5               1        1531    12288000   83  Linux
/dev/sda6            1531        1624      747520   82  Linux swap / Solaris
/dev/sda7            6488        9965    27929600   8e  Linux LVM
/dev/sda8            1624        6488    39067648   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002b9be

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9964    80035798+  8e  Linux LVM

Disk /dev/sdc: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       36482   293033985    5  Extended
/dev/sdc5               1       36482   293033984   8e  Linux LVM

Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001412b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       38914   312568833    5  Extended
/dev/sdd5               1       38914   312568832   8e  Linux LVM

Disk /dev/sde: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc860c860

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       36482   293033985    5  Extended
/dev/sde5               1       36482   293033984   8e  Linux LVM
root@server:~#


Infatti, mi pareva che ci fosse qualcosa di strano.

Che fine ha fatto quel disco :?:

P.S: Se dimentichi di rispondere, poco male, ma se modifichi il messaggio, modifica quello giusto, mi sono accorto per caso della tua risposta :-|
Avatar utente
Foto Utentealev
5.995 2 9 12
free expert
 
Messaggi: 6284
Iscritto il: 19 lug 2010, 14:38
Località: Altrove

0
voti

[49] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 19:16

Che fine ha fatto quel disco :?:

P.S: Se dimentichi di rispondere, poco male, ma se modifichi il messaggio, modifica quello giusto, mi sono accorto per caso della tua risposta :-|


Domanda da un milione di dollari: molto probabilmente non viene rilevata in fase di boot
(non e' la prima volta che non rileva un disco causa probabilmente del cavetto di alimentazione).
Controllo il cavetto poi riferisco.
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

0
voti

[50] Re: Problema con montaggio di un gruppo di unita' LVM

Messaggioda Foto Utentealien75 » 26 ott 2011, 21:03

Codice: Seleziona tutto
root@server:~# fdisk -l

Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x7461bf6e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        9965    80040961    5  Extended
/dev/sda5               1        1531    12288000   83  Linux
/dev/sda6            1531        1624      747520   82  Linux swap / Solaris
/dev/sda7            6488        9965    27929600   8e  Linux LVM
/dev/sda8            1624        6488    39067648   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002b9be

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9964    80035798+  8e  Linux LVM

Disk /dev/sdc: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       36482   293033985    5  Extended
/dev/sdc5               1       36482   293033984   8e  Linux LVM

Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ccf43

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1       60802   488385536   8e  Linux LVM

Disk /dev/sde: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc860c860

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       36482   293033985    5  Extended
/dev/sde5               1       36482   293033984   8e  Linux LVM

Disk /dev/sdd: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0001412b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1       38914   312568833    5  Extended
/dev/sdd5               1       38914   312568832   8e  Linux LVM


Ho risolto il problema ora il disco da 550Gb viene visto.
Avresti tempo ora?
Avatar utente
Foto Utentealien75
1 1 4 7
Sostenitore
Sostenitore
 
Messaggi: 597
Iscritto il: 31 lug 2011, 14:08

PrecedenteProssimo

Torna a PC e informatica

Chi c’è in linea

Visitano il forum: Nessuno e 43 ospiti