LVM et RAID1+0 physique

Bonjour,

Je viens de récupérer un serveur avec 2 disques en RAID1+0 pour le système et 3 disques en RAID 5 pour les data.
Squeeze a été installé en LVM.

Lorsque j’utilise le gestionnaire de disque lvm de debian, je vois 2 groupes de volume: celui des data et celui du système.

Par contre j’ai un volume non alloué de la même taille que les disques du RAID 1+0 , je ne sais pas ce que c’est ? est ce le disuqe miroir du groupe RAID 1+0

Merci de votre aide

Bonsoir,

Que te retourne la commande suivante ?

Le fichier n’existe pas.

C’est un raid matériel ?

oui c’est du RAID matériel

j’ai 2 disques en raid 1+0 pour le système qui est installé en LVM et 3 disques en RAID 5 pour les data.

dans l’outil graphique LVM, les 3 disque RAID5 apparaissent comme un seul volume

et ensuite j’ai un autre volume pour le RAID 1+0

puis j’en ai un troisième “non alloué” ? c’est celui là qui me parait bizarre, je ne sais pas à quel disque il correspond ?

On dirait que c’est un des miroir du RAID 1+0

Utilises l’outil megacli si ta carte raid est compatible afin de vérifier l’état du raid matériel.
Si tu as un autre outil c’est bien aussi.

Que te donne ?

  • fdisk -l
  • pvdisplay
  • vgdisplay
  • lvdisplay
  • cat /etc/fstab

voici le résultat des commandes :
fdisk -l

Disk /dev/cciss/c0d0: 146.8 GB, 146778685440 bytes
255 heads, 32 sectors/track, 35132 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000290ec

       Device Boot      Start         End      Blocks   Id  System

/dev/cciss/c0d0p1 * 1 62 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2 62 35132 143087617 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/cciss/c0d0p5 62 35132 143087616 8e Linux LVM

WARNING: GPT (GUID Partition Table) detected on ‘/dev/cciss/c0d1’! The util fdisk doesn’t support GPT. Use GNU Parted.

Disk /dev/cciss/c0d1: 900.1 GB, 900129153024 bytes
255 heads, 63 sectors/track, 109434 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: 0x00000000

       Device Boot      Start         End      Blocks   Id  System

/dev/cciss/c0d1p1 1 109435 879032375+ ee GPT

Disk /dev/dm-0: 3988 MB, 3988783104 bytes
255 heads, 63 sectors/track, 484 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: 0x00000000

Disk /dev/dm-0 doesn’t contain a valid partition table

Disk /dev/dm-1: 7251 MB, 7251951616 bytes
255 heads, 63 sectors/track, 881 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: 0x00000000

Disk /dev/dm-1 doesn’t contain a valid partition table

Disk /dev/dm-2: 439.9 GB, 439911186432 bytes
255 heads, 63 sectors/track, 53482 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: 0x00000000

Disk /dev/dm-2 doesn’t contain a valid partition table

Disk /dev/dm-3: 8996 MB, 8996782080 bytes
255 heads, 63 sectors/track, 1093 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: 0x00000000

Disk /dev/dm-3 doesn’t contain a valid partition table

Disk /dev/dm-4: 2998 MB, 2998927360 bytes
255 heads, 63 sectors/track, 364 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: 0x00000000

Disk /dev/dm-4 doesn’t contain a valid partition table

Disk /dev/dm-5: 5725 MB, 5725224960 bytes
255 heads, 63 sectors/track, 696 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: 0x00000000

Disk /dev/dm-5 doesn’t contain a valid partition table

pvdisplay
Incorrect metadata area header checksum
— Physical volume —
PV Name /dev/block/104:17
VG Name dataticea
PV Size 838,31 GiB / not usable 2,02 MiB
Allocatable yes
PE Size 4,00 MiB
Total PE 214607
Free PE 109724
Allocated PE 104883
PV UUID 9mXvs0-2NBD-Cw03-WhS4-mvUI-WlKK-uhP5Sy

— Physical volume —
PV Name /dev/block/104:5
VG Name icea
PV Size 136,46 GiB / not usable 2,00 MiB
Allocatable yes
PE Size 4,00 MiB
Total PE 34933
Free PE 28028
Allocated PE 6905
PV UUID bis0mh-XUAj-tLXy-Qgv2-8VKF-Nxg1-VtFUvu

“/dev/block/104:1” is a new physical volume of “136,70 GiB”
— NEW Physical volume —
PV Name /dev/block/104:1
VG Name
PV Size 136,70 GiB
Allocatable NO
PE Size 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID f7hXXT-zES0-sWNm-ZxlF-TcW4-l49z-iFQjdk

vgdisplay
Incorrect metadata area header checksum
— Volume group —
VG Name dataticea
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 1
Open LV 1
Max PV 256
Cur PV 1
Act PV 1
VG Size 838,31 GiB
PE Size 4,00 MiB
Total PE 214607
Alloc PE / Size 104883 / 409,70 GiB
Free PE / Size 109724 / 428,61 GiB
VG UUID CozfZd-4X71-02et-LxYF-UhIs-KQQ0-MrtiMJ

— Volume group —
VG Name icea
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 136,46 GiB
PE Size 4,00 MiB
Total PE 34933
Alloc PE / Size 6905 / 26,97 GiB
Free PE / Size 28028 / 109,48 GiB
VG UUID LMAagA-OjHY-1Rj7-l2Pt-aptR-vIqn-397yNR

lvdisplay
Incorrect metadata area header checksum
— Logical volume —
LV Name /dev/dataticea/testlv
VG Name dataticea
LV UUID 47DDDI-kqSU-pOvh-2Rls-u4zQ-gLFF-2mv7Cz
LV Write Access read/write
LV Status available

open 1

LV Size 409,70 GiB
Current LE 104883
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:2

— Logical volume —
LV Name /dev/icea/root
VG Name icea
LV UUID v22Q1r-jDyJ-hCQd-6FgF-1nE2-2QvH-cvMAYd
LV Write Access read/write
LV Status available

open 1

LV Size 3,71 GiB
Current LE 951
Segments 2
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:0

— Logical volume —
LV Name /dev/icea/usr
VG Name icea
LV UUID MLB63V-jICq-0VPX-xRf6-ObBg-HDPu-lnPXvk
LV Write Access read/write
LV Status available

open 1

LV Size 8,38 GiB
Current LE 2145
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:3

— Logical volume —
LV Name /dev/icea/var
VG Name icea
LV UUID ZXQvr3-w1Vz-t8kU-6yTA-AwhW-yTQY-QHUwZ1
LV Write Access read/write
LV Status available

open 1

LV Size 2,79 GiB
Current LE 715
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:4

— Logical volume —
LV Name /dev/icea/swap_1
VG Name icea
LV UUID pMf1jG-FfoG-nZ0Q-EjR0-WW1x-wODN-7UUxHQ
LV Write Access read/write
LV Status available

open 1

LV Size 6,75 GiB
Current LE 1729
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:1

— Logical volume —
LV Name /dev/icea/tmp
VG Name icea
LV UUID bPSRaH-t1mZ-p6sn-8Qmn-tpoH-7kbp-FvNr5o
LV Write Access read/write
LV Status available

open 1

LV Size 5,33 GiB
Current LE 1365
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:5

cat /etc/fstab

/etc/fstab: static file system information.

Use ‘blkid’ to print the universally unique identifier for a

device; this may be used with UUID= as a more robust way to name devices

that works even if disks are added and removed. See fstab(5).

proc /proc proc defaults 0 0
/dev/mapper/icea-root / ext3 errors=remount-ro 0 1

/boot was on /dev/cciss/c0d0p1 during installation

UUID=f7hXXT-zES0-sWNm-ZxlF-TcW4-l49z-iFQjdk /boot ext2 defaults 0 2
#/dev/mapper/icea-home /home ext3 defaults 0 2
/dev/mapper/icea-tmp /tmp ext3 defaults 0 2
/dev/mapper/icea-usr /usr ext3 defaults 0 2
/dev/mapper/icea-var /var ext3 defaults 0 2
/dev/mapper/icea-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/dataticea/testlv /home ext3 defaults 0 2

dans pvdisplay, on voit le 3 ième disque qui n’appartient à aucun VG

Je vais vérifier le matériel , à part megacli il y en d’autres ? car megacli ne fait pas parti de la distrib squeeze ?

Merci