Obsolete Releases > SME 8.x Contribs

SME8 Storage under KVM ?

(1/3) > >>

fpausp:
Hi,

I try to build a 6-8TB Storage with SME8b7, I used 4x2TB (virtual) Disks on my KVM-Host and installed sme8 with the bootoption "sme nospare".

At the moment I have only 3,8TB free space:


--- Code: ---df -h
Dateisystem          Größe Benut  Verf Ben% Eingehängt auf
/dev/mapper/main-root
                      3,8T  2,2G  3,6T   1% /
/dev/md1               99M   19M   76M  20% /boot
tmpfs                 1,8G     0  1,8G   0% /dev/shm

--- End code ---



My hdd-setup looks like this:


--- Code: ---fdisk -lu

Platte /dev/vda: 2147.4 GByte, 2147483648000 Byte
255 heads, 63 sectors/track, 261083 cylinders, zusammen 4194304000 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/vda1   *          63      208844      104391   fd  Linux raid autodetect
/dev/vda2          208845  4194298394  2097044775   fd  Linux raid autodetect

Platte /dev/vdb: 2147.4 GByte, 2147483648000 Byte
255 heads, 63 sectors/track, 261083 cylinders, zusammen 4194304000 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/vdb1   *          63      208844      104391   fd  Linux raid autodetect
/dev/vdb2          208845  4194298394  2097044775   fd  Linux raid autodetect

Platte /dev/vdc: 2147.4 GByte, 2147483648000 Byte
255 heads, 63 sectors/track, 261083 cylinders, zusammen 4194304000 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/vdc1   *          63      208844      104391   fd  Linux raid autodetect
/dev/vdc2          208845  4194298394  2097044775   fd  Linux raid autodetect

Platte /dev/vdd: 2147.4 GByte, 2147483648000 Byte
255 heads, 63 sectors/track, 261083 cylinders, zusammen 4194304000 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

    Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/vdd1   *          63      208844      104391   fd  Linux raid autodetect
/dev/vdd2          208845  4194298394  2097044775   fd  Linux raid autodetect

Platte /dev/md2: 4294.7 GByte, 4294747095040 Byte
2 heads, 4 sectors/track, 1048522240 cylinders, zusammen 8388177920 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

Festplatte /dev/md2 enthält keine gültige Partitionstabelle

Platte /dev/md1: 106 MByte, 106823680 Byte
2 heads, 4 sectors/track, 26080 cylinders, zusammen 208640 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes

Festplatte /dev/md1 enthält keine gültige Partitionstabelle

--- End code ---



--- Code: ---cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [raid1]
md1 : active raid1 vda1[0] vdb1[1] vdc1[2] vdd1[3]
      104320 blocks [4/4] [UUUU]

md2 : active raid5 vdd2[3] vdc2[4](S) vdb2[1] vda2[0]
      4194088960 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]
      [>....................]  recovery =  0.8% (18356480/2097044480) finish=2935.9min speed=11798K/sec

unused devices: <none>

--- End code ---


Is it normal to get only 3,8TB ?

How can I get more space on a installed System ?


Jáder:
AFAIK you're using a RAID1 config, so you have half of physical storage available... and that's correct: ~8TB * 0,5 = ~4 TB.
If you like all space, I think you should try: "noraid nolvm"

I'm not sure why do not use nolvm... it's nice to be able to expand disk later... but with virtual disks maybe you can do it other way.

fpausp:
Hi jader,


--- Quote ---AFAIK you're using a RAID1 config, so you have half of physical storage available... and that's correct: ~8TB * 0,5 = ~4 TB.
--- End quote ---

I think I use raid 5 on md2:

--- Code: ---md2 : active raid5 vdd2[3] vdc2[4](S) vdb2[1] vda2[0]
      4194088960 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]
      [>....................]  recovery =  0.8% (18356480/2097044480) finish=2935.9min speed=11798K/sec

--- End code ---

Do you know what the "(S)" on vdc2 means, is it a spare disk ?

Jáder:
Yes... sorry... it's true... you're on RAID1 on md1 and RAID5 with SPARE on md2.
and because you said it was installed using "nospare" I think this can be a bug.

BTW: why your RAID is rebuilding ? Wasn't  it done at startup ?

Regards

Jáder

fpausp:
I tried "sme raid5 nospare", maybe this was not correct ?

I think I should wait of the sync-process is finished, I will then grow the array (md2) with:


--- Code: ---mdadm --grow /dev/md2 --raid-devices=4
[code]

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version