Skip to contentSkip to conversation

LVM and DRDB

linux-lvm Wichert Akkerman 11 participants 19 messages Apr 20, 2001 – Apr 23, 2001

lore
Share & tools
lore
#0 lore raw

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#1 lore raw
Quoted 5 lines · Wichert Akkerman

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.

just curious, what is DRDB?
besides which kind of connection do you have beetween the two sites are you planning on doing syncronous updates (i suspect such, since you are planning to put lvm over it)

L.

Signature · 6 lines
Luca Berra -- [email protected]
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
#2 lore raw
Quoted 1 line · Previously Luca Berra

just curious, what is DRDB?

See linux-ha.org. DRDB is basically a RAID1 blockdevice via the network.

Quoted 3 lines

besides which kind of connection do you have beetween the two sites are you planning on doing syncronous updates (i suspect such, since you are planning to put lvm over it)

Connection can be as fast as it takes, I suspect in this case it will be a ATM link used just for this.

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#3 lore raw
In reply to Wichert Akkerman
Quoted 4 lines · Wichert Akkerman

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.

Should work, at least LVM does proper stacking in 2.4.4-pre kernels and I gope DRDB does too.

Signature · 1 line
Jens Axboe
#4 lore raw
Quoted 2 lines · Previously Jens Axboe

Should work, at least LVM does proper stacking in 2.4.4-pre kernels and I gope DRDB does too.

Is there any hope for 2.2 kernels?

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#5 lore raw
Quoted 5 lines · On Friday, April 20, 2001 12:32:53 PM +0200 Wichert Akkerman…
Quoted 2 lines · Previously Jens Axboe

Should work, at least LVM does proper stacking in 2.4.4-pre kernels and I gope DRDB does too.

Is there any hope for 2.2 kernels?

Andrea's 2.2 kernels have a stacking patch, you want his 95_GFS-09_generic_map.patch. It makes it possible to stack raid and lvm, and is obvious enough that drdb shouldn't be hard to add.

-chris

#6 lore raw
In reply to Wichert Akkerman
Quoted 3 lines · Wichert

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.

Probably not out of the box. You will need to add the DRDB major number to the list of devices that LVM will check for PVs/VGs. Other than that (and the fact that the Linux kernel doesn't support block devices > 2TB) you should be fine. Hopefully you have some sort of journaled filesystem for this?

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#7 lore raw
Quoted 1 line · Previously Andreas Dilger

Hopefully you have some sort of journaled filesystem for this?

Either ext3 or reiserfs, depending on the kernel we use. Doing a fsck on 5TB of data is not something I would enjoy doing :)

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#8 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Wichert" == Wichert Akkerman <[email protected]> writes:

Quoted 1 line · Wichert> Previously Andreas Dilger wrote:
Quoted 1 line

Hopefully you have some sort of journaled filesystem for this?

Wichert> Either ext3 or reiserfs, depending on the kernel we Wichert> use. Doing a fsck on 5TB of data is not something I would Wichert> enjoy doing :)

For a file system that size you might want to look at XFS instead.

Jes

#9 lore raw
Quoted 1 line · Previously Jes Sorensen

For a file system that size you might want to look at XFS instead.

How stable is XFS compared to ext3 and reiserfs? For this system minimum downtime is very important..

Guess I'll have to add XFS to the things-to-test-soon list.

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#10 lore raw
Quoted 7 lines · Wichert Akkerman
Quoted 1 line · Previously Jes Sorensen

For a file system that size you might want to look at XFS instead.

How stable is XFS compared to ext3 and reiserfs? For this system minimum downtime is very important..

Guess I'll have to add XFS to the things-to-test-soon list.

Might as well add GFS while you're at it. :)

Signature · 13 lines
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: [email protected]
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
A program is a device used to convert data into error messages.
-----End Obligatory Humorous Quote------------------------------------------
#11 lore raw
Quoted 1 line · Previously AJ Lewis

Might as well add GFS while you're at it. :)

That was already on there. I might need to move my change earth rotation to create 34 hour days' plan to the top though so I can get around to the rest. I bet that would be easier then the build time machine' approach.

Wichert.

Signature · 4 lines
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |
#12 lore raw
Quoted 7 lines · Wichert Akkerman
Quoted 1 line · Previously AJ Lewis

Might as well add GFS while you're at it. :)

That was already on there. I might need to move my change earth rotation to create 34 hour days' plan to the top though so I can get around to the rest. I bet that would be easier then the build time machine' approach.

I dunno. Time machines are that hard to build...and they mess the rest of us up less than a 34 hour day would. ;)

Signature · 13 lines
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: [email protected]
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
Employment tip #127: Never take a beer to a job interview.
-----End Obligatory Humorous Quote------------------------------------------
#13 lore raw
In reply to Wichert Akkerman
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Wichert" == Wichert Akkerman <[email protected]> writes:

Quoted 1 line · Wichert> Previously Jes Sorensen wrote:
Quoted 1 line

For a file system that size you might want to look at XFS instead.

Wichert> How stable is XFS compared to ext3 and reiserfs? For this Wichert> system minimum downtime is very important..

I mkfs.xfs'ed the / and /home filesystems on my primary workstation on September 7th last year.

'nuff said... :)

Signature · 3 lines
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
[email protected], http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/
#14 lore raw
Quoted 10 lines · Martin K. Petersen
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Wichert" == Wichert Akkerman <[email protected]> writes:

Quoted 1 line · Wichert> Previously Jes Sorensen wrote:
Quoted 1 line

For a file system that size you might want to look at XFS instead.

Wichert> How stable is XFS compared to ext3 and reiserfs? For this Wichert> system minimum downtime is very important..

I mkfs.xfs'ed the / and /home filesystems on my primary workstation on September 7th last year.

What happens with I/O loads? (I've heard that XFS dies a nasty death - but that was early this year).

Thanks,

Jeff Layton

Quoted 12 lines

'nuff said... :)

--
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc. [email protected], http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

#15 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Jeffrey" == Jeffrey B Layton <[email protected]> writes:

Wichert> How stable is XFS compared to ext3 and reiserfs? For this Wichert> system minimum downtime is very important..

Quoted 3 lines
Quoted 3 lines

I mkfs.xfs'ed the / and /home filesystems on my primary workstation on September 7th last year.

Jeffrey> What happens with I/O loads? (I've heard that XFS dies a Jeffrey> nasty death - but that was early this year).

We're fine to the extent that 2.4 is fine. The latter has had a few rough edges but is getting better.

FWIW, at lot of people are using XFS in production now. So do check it out:

http://oss.sgi.com/projects/xfs/

Signature · 3 lines
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
[email protected], http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/
#16 lore raw
In reply to Wichert Akkerman
Quoted 5 lines · Wichert Akkerman
Quoted 1 line · Previously Jes Sorensen

For a file system that size you might want to look at XFS instead.

How stable is XFS compared to ext3 and reiserfs? For this system minimum downtime is very important..

Well, it is SGI/IRIX technology so it should be hugely scalable and stable itself. It is a bit new on the Linux port, though (like IBM JFS) but a lot of people seem to be trusting it already.

I personally don't think Reiser/ext3 have a significant headstart yet. Reiser does have the odd B(*? +?)-tree magic technology inside =) they so lobby.

I remember seeing a feature comparsion somewhere. LJ perhaps?

Signature · 1 line
md5 sum:	07394dd242eb331be403826f2df92bbf
#17 lore raw
In reply to Wichert Akkerman

What will you be using as a filesystem for your 5TB server. EXT2 isn't much fun on our 1TB server ;-)

--
jeffrey hundstad

Quoted 15 lines · Wichert Akkerman

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.

Wichert.

--
________________________________________________________________
/ Generally uninteresting signature - ignore at your convenience \

| [email protected]                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm

#18 lore raw

sorry... i guess this has been covered....

Quoted 11 lines · Jeffrey Hundstad

What will you be using as a filesystem for your 5TB server. EXT2 isn't much fun on our 1TB server ;-)

--
jeffrey hundstad

Quoted 3 lines · Wichert Akkerman

Does anyone know if LVM will work correctly on top of DRDB? I need to keep an off-site copy of a 5TB fileserver synchronized and that might be an usefull approach.