linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Problem with lvm2 and softwareraid
@ 2005-10-28 14:05 Johannes Ullmann
  2005-10-28 17:34 ` Zac Slade
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Ullmann @ 2005-10-28 14:05 UTC (permalink / raw)
  To: linux-lvm

Hello!

I'm building a backup to disk system and i have strange problem with lvm 
on top of 2 software raid 5 devices.
Each SW Raid-5 has 7x400GB HDDs (=2,4TB). On top of these two SW Raid 
devices I created one big LV with 4,8TB.
I use Reiserfs as filesystem. I worked fine while the disk usage was 
below 1,5TB, above that, the Filesystem was destroyed. I tried the same 
with ext3 and had the same results.  So I't not the Filesystem. I also 
checked the Softwareraid and the LV for any Problems but i haven't found 
anything.
After reading many Mails/howtos/man-pages I quess that LVM can't handle 
PV's which are larger than 2TB is this correct?
I haven't found anything in the documentation about the maximum PV size.

thanks for any help.

My setup looks like this:
Debian testing 2.6.12-1-686-smp
lvm2  2.01.04-5
mdadm  1.12.0-1

14x400GB SATA Hdds on two 3-Ware controllers.
mdadm --create /dev/md0 --chunk=64 --level=raid5 --raid-devices=7 
/dev/sd[bcdefgh]1
mdadm --create /dev/md1 --chunk=64 --level=raid5 --raid-devices=7 
/dev/sd[ijklmno]1

pvcreate /dev/md0 (Softwareraid controller1)
pvcreate /dev/md1 (Softwareraid controller2)
vgcreate vg0 --physicalextentsize 16M /dev/md0 /dev/md1
lvcreate --stripes 2 --stripesize 64 -l <extends> --name backup vg0

I get this Filesystem errors:
Oct 21 15:30:02 backup1 kernel: ReiserFS: warning: is_tree_node: node 
level 42225 does not match to the expected one 2
Oct 21 15:30:02 backup1 kernel: ReiserFS: dm-0: warning: vs-5150: 
search_by_key: invalid format found in block 73668. Fsck?
Oct 21 15:30:02 backup1 kernel: ReiserFS: dm-0: warning: zam-7001: io 
error in reiserfs_find_entry

-- 
Johannes Ullmann
IT-Services

EVVA-Werk Gesellschaft m.b.H. & Co. KG
Wienerbergstra�e 59-65
A-1120 Wien
Tel.: +43-1-811 65 / 505
Fax: +43-1-811 65 / 16
e-mail: j.ullmann@evva.com
homepage: http://www.evva.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-lvm] Problem with lvm2 and softwareraid
@ 2005-10-28 14:12 Johannes Ullmann
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Ullmann @ 2005-10-28 14:12 UTC (permalink / raw)
  To: linux-lvm

Hello!

I'm building a backup to disk system and i have strange problem with lvm
on top of 2 software raid 5 devices.
Each SW Raid-5 has 7x400GB HDDs (=2,4TB). On top of these two SW Raid
devices I created one big LV with 4,8TB.
I use Reiserfs as filesystem. I worked fine while the disk usage was
below 1,5TB, above that, the Filesystem was destroyed. I tried the same
with ext3 and had the same results.  So I't not the Filesystem. I also
checked the Softwareraid and the LV for any Problems but i haven't found
anything.
After reading many Mails/howtos/man-pages I quess that LVM can't handle
PV's which are larger than 2TB is this correct?
I haven't found anything in the documentation about the maximum PV size.

thanks for any help.

My setup looks like this:
Debian testing 2.6.12-1-686-smp
lvm2  2.01.04-5
mdadm  1.12.0-1

14x400GB SATA Hdds on two 3-Ware controllers.
mdadm --create /dev/md0 --chunk=64 --level=raid5 --raid-devices=7
/dev/sd[bcdefgh]1
mdadm --create /dev/md1 --chunk=64 --level=raid5 --raid-devices=7
/dev/sd[ijklmno]1

pvcreate /dev/md0 (Softwareraid controller1)
pvcreate /dev/md1 (Softwareraid controller2)
vgcreate vg0 --physicalextentsize 16M /dev/md0 /dev/md1
lvcreate --stripes 2 --stripesize 64 -l <extends> --name backup vg0

I get this Filesystem errors:
Oct 21 15:30:02 backup1 kernel: ReiserFS: warning: is_tree_node: node
level 42225 does not match to the expected one 2
Oct 21 15:30:02 backup1 kernel: ReiserFS: dm-0: warning: vs-5150:
search_by_key: invalid format found in block 73668. Fsck?
Oct 21 15:30:02 backup1 kernel: ReiserFS: dm-0: warning: zam-7001: io
error in reiserfs_find_entry

-- 
Johannes Ullmann
IT-Services

EVVA-Werk Gesellschaft m.b.H. & Co. KG
Wienerbergstra�e 59-65
A-1120 Wien
Tel.: +43-1-811 65 / 505
Fax: +43-1-811 65 / 16
e-mail: j.ullmann at evva.com
homepage: http://www.evva.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Problem with lvm2 and softwareraid
  2005-10-28 14:05 [linux-lvm] Problem with lvm2 and softwareraid Johannes Ullmann
@ 2005-10-28 17:34 ` Zac Slade
  0 siblings, 0 replies; 3+ messages in thread
From: Zac Slade @ 2005-10-28 17:34 UTC (permalink / raw)
  To: LVM general discussion and development

Quoting Johannes Ullmann <j.ullmann@evva.com>:

> Hello!
> 
> I'm building a backup to disk system and i have strange problem with lvm 
> on top of 2 software raid 5 devices.
> Each SW Raid-5 has 7x400GB HDDs (=2,4TB). On top of these two SW Raid 
> devices I created one big LV with 4,8TB.
> I use Reiserfs as filesystem. I worked fine while the disk usage was 
> below 1,5TB, above that, the Filesystem was destroyed. I tried the same 
> with ext3 and had the same results.  So I't not the Filesystem. I also 
> checked the Softwareraid and the LV for any Problems but i haven't found 
> anything.
> After reading many Mails/howtos/man-pages I quess that LVM can't handle 
> PV's which are larger than 2TB is this correct?
> I haven't found anything in the documentation about the maximum PV size.

Yes and No.  There was a max pv size.  If you use metadata format for version 1
it has a hard limit of 2 TiB for a pv size.  Using metadata format version 2 it
is an unsigned long int so the max pv size is 4 exabytes in length.  If you feel
that the pv size is holding you back you can force metadata version 2 when you
execute pvcreate (e.g. pvcreate -M1 for metadata version 1 or pvcreate -M2 for
metadata version 2).
 
> thanks for any help.

I hope that helps.  I can't imagine it actually being in reiser so I'd try
recreating the pvs.

Zac Slade
krakrjak@volumehost.com


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-28 17:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 14:05 [linux-lvm] Problem with lvm2 and softwareraid Johannes Ullmann
2005-10-28 17:34 ` Zac Slade
  -- strict thread matches above, loose matches on Subject: below --
2005-10-28 14:12 Johannes Ullmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).