All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LVM2 and Software RAID
@ 2004-09-01  0:44 Yang, Daniel
  2004-09-01 15:22 ` Robin Green
  2004-09-01 17:54 ` [linux-lvm] LVM2 and Software RAID Peter A. Castro
  0 siblings, 2 replies; 7+ messages in thread
From: Yang, Daniel @ 2004-09-01  0:44 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

What information can you give on the reliability of using LVM2 w/ Software
RAID?  I've done some reading that stated that LVM and Software RAID on
Linux is not a good combination.  Especially b/c the combination does not
allow for adding or removing hard drives. Also, LVM does not allow for
mirroring capabilities so there is no way to mirror w/o the software RAID.
Finally, the combination does not support bad-block replacement mechanisms.
What can one do if a bad-block occurs in this type of setup?

 

Thanks,

 

DY


[-- Attachment #2: Type: text/html, Size: 2161 bytes --]

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

* Re: [linux-lvm] LVM2 and Software RAID
  2004-09-01  0:44 [linux-lvm] LVM2 and Software RAID Yang, Daniel
@ 2004-09-01 15:22 ` Robin Green
  2004-09-01 18:00   ` [linux-lvm] LVM and Ghost James P
  2004-09-01 17:54 ` [linux-lvm] LVM2 and Software RAID Peter A. Castro
  1 sibling, 1 reply; 7+ messages in thread
From: Robin Green @ 2004-09-01 15:22 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

On Tue, Aug 31, 2004 at 05:44:04PM -0700, Yang, Daniel wrote:
> Finally, the combination does not support bad-block replacement mechanisms.

Bad block replacement has been implemented in hardware for years so this
is not an issue. If you get a huge number of bad blocks you should really
consider replacing the drive concerned.
-- 
Robin

Weblog: http://lrp.greenrd.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [linux-lvm] LVM2 and Software RAID
  2004-09-01  0:44 [linux-lvm] LVM2 and Software RAID Yang, Daniel
  2004-09-01 15:22 ` Robin Green
@ 2004-09-01 17:54 ` Peter A. Castro
  1 sibling, 0 replies; 7+ messages in thread
From: Peter A. Castro @ 2004-09-01 17:54 UTC (permalink / raw)
  To: LVM general discussion and development

On Tue, 31 Aug 2004, Yang, Daniel wrote:

> What information can you give on the reliability of using LVM2 w/ Software
> RAID?  I've done some reading that stated that LVM and Software RAID on
> Linux is not a good combination.  Especially b/c the combination does not
> allow for adding or removing hard drives. Also, LVM does not allow for
> mirroring capabilities so there is no way to mirror w/o the software RAID.
> Finally, the combination does not support bad-block replacement mechanisms.
> What can one do if a bad-block occurs in this type of setup?

There are always pros and cons for using RAID and LVM.  For my money,
software raid is more flexible and more managable than hardware raid.
Others may disagree, of course :)

RAID is mostly about planning how you want your disks to be spliced
together and what kind of reliability over failure you are willing to
live with.  This is true for software and hardware RAID.  Most hardware
RAID adapters do not allow for resizing an existing array.  It is
possible to resize a software RAID, but there is the potential for data
loss.  The Software-RAID HOWTO has a quick section on RAID resizing which
might interested you.

See: http://tldp.org/HOWTO/Software-RAID-HOWTO.html

Software RAID, as you are aware, uses the computers processor to perform
the raid functions, where as hardware RAID has a separate processor on
the RAID adapter to perform these functions.  If you have a sufficiently
fast computer, the overhead of raid will hardly be noticed.

LVM, by contrast, is geared for adding and removing physical drives from
a volume group allowing one to add more storage or replace smaller drives
with larger ones.  The problem most people have is that they create one
big raid array and thus have only one volume group with only one physical
device in it.  Kinda hard to remove a device and retain your data in this
configuration :)

Most modern drives have automatic bad-block replacement internally.  If
the drive has more bad-blocks than available replacement blocks, then
likely the drive is header for failure anyways and should be replaced.

Perhaps you should consider what you want to do with your arrays.  If you
expect to be needing to add more redundant storage over time, then
perhaps a solution would be to create several small raid arrays on
several drives.  Each array appears as a single "drive" to the system.
This way, you can group several "drives" together in a volume group.  If
you need to add storage, you simple replace one arrays' set of drives.
With LVM, you can move data off of that "drive", remove it from the
volume group, change out the physical drives, create the new array on
these drives, then add it back into the volume group, or simply add new
disks, create a new array and add it to the volume group.

Again, it's all about planning.  With Software RAID and LVM you have more
flexibility, and the above can be done while the system is live.  Most
hardware raids have to be setup from the adapters bios.

Good luck, whichever you choose.

> Thanks,
> DY

-- 
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
	"Cats are just autistic Dogs" -- Dr. Tony Attwood

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

* [linux-lvm] LVM and Ghost
  2004-09-01 15:22 ` Robin Green
@ 2004-09-01 18:00   ` James P
  2004-09-01 18:21     ` Luca Berra
  2004-09-01 18:24     ` Clint Byrum
  0 siblings, 2 replies; 7+ messages in thread
From: James P @ 2004-09-01 18:00 UTC (permalink / raw)
  To: LVM general discussion and development

Some of our admins are running into trouble running Norton Ghost on 
our RHEL ES 3.0 boxes. Ghost claims it doesn't recognize what's on 
the disk so it just does a raw dump of the entire (36 Gig) disk. 
This offers practically zero compression, so we're getting ghost 
images that are many times larger than the amount of actual used 
space on the machine.

The only difference I can think of between these machines and our 
other Linux boxes that ghost perfectly well is that these are using 
LVM. Is this causing the problem with Ghost? Has anyone else run 
into this? What can we do to get Ghost to recognize where the data 
is on the disk so we can get some sort of reasonably sized images? 
Anything?

--James

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

* Re: [linux-lvm] LVM and Ghost
  2004-09-01 18:00   ` [linux-lvm] LVM and Ghost James P
@ 2004-09-01 18:21     ` Luca Berra
  2004-09-01 18:33       ` rich turner
  2004-09-01 18:24     ` Clint Byrum
  1 sibling, 1 reply; 7+ messages in thread
From: Luca Berra @ 2004-09-01 18:21 UTC (permalink / raw)
  To: LVM general discussion and development

do not hijack other people threads,
that said, probably norton ghost does not understand lvm.
you could look at Mondo Rescue (http://www.mondorescue.org/)

L.
On Wed, Sep 01, 2004 at 01:00:40PM -0500, James P wrote:
>The only difference I can think of between these machines and our 
>other Linux boxes that ghost perfectly well is that these are using 
>LVM. Is this causing the problem with Ghost? Has anyone else run 

L.

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

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

* Re: [linux-lvm] LVM and Ghost
  2004-09-01 18:00   ` [linux-lvm] LVM and Ghost James P
  2004-09-01 18:21     ` Luca Berra
@ 2004-09-01 18:24     ` Clint Byrum
  1 sibling, 0 replies; 7+ messages in thread
From: Clint Byrum @ 2004-09-01 18:24 UTC (permalink / raw)
  To: LVM general discussion and development

On Wed, 2004-09-01 at 11:00, James P wrote:
> Some of our admins are running into trouble running Norton Ghost on 
> our RHEL ES 3.0 boxes. Ghost claims it doesn't recognize what's on 
> the disk so it just does a raw dump of the entire (36 Gig) disk. 
> This offers practically zero compression, so we're getting ghost 
> images that are many times larger than the amount of actual used 
> space on the machine.
> 
> The only difference I can think of between these machines and our 
> other Linux boxes that ghost perfectly well is that these are using 
> LVM. Is this causing the problem with Ghost? Has anyone else run 
> into this? What can we do to get Ghost to recognize where the data 
> is on the disk so we can get some sort of reasonably sized images? 
> Anything?
> 

Yes this is a Ghost problem. Ghost has no idea what LVM is. To it, LVM
appears as an unknown filesystem. You'll have to ask symantec to add LVM
support.

Just curious.. why even use ghost with RH Linux servers? I suppose
multicasting everything is nice.. but a two step process where you use a
kickstart for the install, and then a multicast file copy program (like
mcp, http://www.cl.cam.ac.uk/users/kj234/mcp/) for any data would at
least let you use free tools to accomplish your goal, and not leave you
hanging when you switch filesystems. ;)

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

* Re: [linux-lvm] LVM and Ghost
  2004-09-01 18:21     ` Luca Berra
@ 2004-09-01 18:33       ` rich turner
  0 siblings, 0 replies; 7+ messages in thread
From: rich turner @ 2004-09-01 18:33 UTC (permalink / raw)
  To: LVM general discussion and development

or you could look at Storix which definitely supports LVM.

On Wed, 2004-09-01 at 11:21, Luca Berra wrote:
> do not hijack other people threads,
> that said, probably norton ghost does not understand lvm.
> you could look at Mondo Rescue (http://www.mondorescue.org/)
> 
> L.
> On Wed, Sep 01, 2004 at 01:00:40PM -0500, James P wrote:
> >The only difference I can think of between these machines and our 
> >other Linux boxes that ghost perfectly well is that these are using 
> >LVM. Is this causing the problem with Ghost? Has anyone else run 
> 
> L.

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

end of thread, other threads:[~2004-09-01 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-01  0:44 [linux-lvm] LVM2 and Software RAID Yang, Daniel
2004-09-01 15:22 ` Robin Green
2004-09-01 18:00   ` [linux-lvm] LVM and Ghost James P
2004-09-01 18:21     ` Luca Berra
2004-09-01 18:33       ` rich turner
2004-09-01 18:24     ` Clint Byrum
2004-09-01 17:54 ` [linux-lvm] LVM2 and Software RAID Peter A. Castro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.