linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM questions
@ 2007-03-29 16:55 Eric A. Hall
  2007-03-29 17:38 ` Stuart D. Gathman
  0 siblings, 1 reply; 17+ messages in thread
From: Eric A. Hall @ 2007-03-29 16:55 UTC (permalink / raw)
  To: linux-lvm


Hi guys,

I'm putting together a storage server for NAS and iSCSI purposes and am
looking to use LVM for some or all of this. I've read up on LVM but I
still have some basic newbie questions for this.

I've got a bunch of Raptor 150 ADFD drives and a 3Ware 9650SE board
providing the basic back-end storage (currently RAID-5 but will move to
RAID-6 soon, with estimated capacity of approx 800-900 GB, although the
entire array may shrink or grow as projects demand). The opsys root
partition will be about 40 GB XFS, with another 4GB swap partition, and
the NAS/storage pool will be about 300 GB XFS, with the remainder of the
space being used by the iSCSI volumes (about another 300 GB, divvied up
among different iSCSI LUNs). I want to be able to shrink and expand these
by about 10 GB per (although swap may only change by +/-4GB) so I figure
I'll use LVM for all of the partitions. A couple of other considerations
here: I need to align the partitions on page boundaries for iSCSI
performance reasons, and I am also thinking about managing blockdev
read-ahead differently for each of the final volumes.

I assume that a single physical extent across /dev/sda will work as well
as anything else here. Will having more partitions make it easier to
shrink and expand the whole RAID if that ever becomes necessary? Anything
else I should take into consideration?

Should I create a single volume group or should I create multiple volume
groups, or does it even matter? What are the issues?

I have seen some people talk about creating hundreds of small partitions
and using those for moving and resizing. Is this needed, desirable, or
just a stupid human trick?

Anything else I should take into consideration here would be appreciated

Thanks!

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [linux-lvm] LVM Questions
@ 2008-03-27 22:27 Nicholas Muguira
  2008-04-02  8:20 ` Jordi Prats
  0 siblings, 1 reply; 17+ messages in thread
From: Nicholas Muguira @ 2008-03-27 22:27 UTC (permalink / raw)
  To: linux-lvm

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

I am trying to judge the ability of LVM to address a problem I currently
have, and I have few questions:

 

1)       Is there a way to configure LVM so that the data on remaining
PV's in a VG are is accessible after a PV fails?

2)       Is there a way to configure LVM so that the LV will still be
accesible and readable/writable if a PV fails while in use?

3)       Assuming groupings of external drives, can a LV be created and
exported on each group of the same name and then imported into different
systems. For example assuming 10 drives, drives a-e are in group 1 and
drives f-j are in group 2. Using System A with drives a-e connect to
/dev/sda-e create a parittion that spans the entire drive for each
drive. Create a PV on each partition (/dev/sd[a-e]1). Create a VG named
test with all partitions (/dev/sd[a-e]1). Create a LV that covers all of
the VG test. Mount the LV and format it (ext3 in this case). Umount and
vgexport the vg test. Repeat the steps with drives f-j with same VG and
LV names. Connect group 1 to System B and vgimport VG test, create LV
with it and mount the filesystem. Umount the filesystem and disconnect
group1. Connect group 2 to System B and vgimport VG test and mount the
filesystem (using LV previously created)?

 

Raid is unavailable due to already deployed hardware, and I realize that
LVM is not Raid and will not give me a means to recover the data on the
failed HDD.

 

Thanks,
Nick

This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed.  If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.



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

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [linux-lvm] LVM Questions
@ 2001-05-03  0:48 Darren Young
  2001-05-03  1:26 ` Glenn Shannon
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Darren Young @ 2001-05-03  0:48 UTC (permalink / raw)
  To: linux-lvm

I have only recently discovered and played with LVM.
If anyone can answer some general questions, it would
be most appreciated.

What I would like to have is a system where I can add
space via new disks and expand file systems at will. I
have used volume managers on HP and Solaris for
precisely these purposes (HP and Veritas). Too many
times I have been called by a customer or a customer
of a friend with the "I underestimated the space
needed for my Oracle databases and I need space,
now!". Adding disks and placing db's on alternate
filesystems gets the job done, but an LVM would be a
great method to move them to.

First, does LVM do RAID or do I need to employ the md
driver to accomplish this? It seems to me (as a
sysadmin) that LVM is great for adding space when
needed, but having RAID capabilities in conjunction
with this would be required to produce a highly
available system.

What ext2 resize utility is the ideal choice for LVM
to use. parted seems to be quite functional, but
having to down the machine to single is a but
annoying. Has anyone successfully used the ext2online
utility on RedHat? It seems as though the version of
e2fsprogs that includes this code is part of RH 7.1
anyways. At least from what I can tell. The online
resizing would definitely be required for a highly
available system as well.

I started with RedHat 7.1 with the 2.4.2 kernel and
patched it. What kernel is ideal to use with LVM? This
one seems to work, but I read a reference in the list
archive that certain components are in 2.4. Is this
the case?

The howto mentions to add a couple of commands to the
RH start script, but a scan of them reveals that RH
7.1 already has them. If they are correct, perhaps the
howto needs to reflect this. Does anyone know if they
are correct?

I picked up on an older thread about the mailing list
rejecting certain email and just had to dump in my .02
worth. I don't want to start a war, but the list
should be completely open. I remember the FreeSWAN
list having wars over open vs closed and open won. The
maintainers are of the opinion (from what I read) that
filtering spam is up to the user and cleaning of any
type of a list is censoring. I had to get that out
since I will most likely be using this product
somewhere down the road.

I also read an older thread on an X11 GUI as well as
some replies to it. The GUI that comes with Veritas is
completely useless and the command line tools are
completely over-engineered. While it would be nice for
a small company trying to save money not to call in a
specialist to create VG's, it certainly wouldn't be a
requirement. Get everything stable, reliable and
consistent than someone will probably have the time to
create the GUI. I'd dedicate time to that type of
project, but why bother when the code isn't quite
there yet. There's no reason.

Guess that's a total of .04 cents...

Thanks in advance,

Darren Young
Senior UNIX Administrator
GSX.com

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

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

end of thread, other threads:[~2008-04-02  8:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-29 16:55 [linux-lvm] LVM questions Eric A. Hall
2007-03-29 17:38 ` Stuart D. Gathman
2007-04-20 13:36   ` Nix
  -- strict thread matches above, loose matches on Subject: below --
2008-03-27 22:27 [linux-lvm] LVM Questions Nicholas Muguira
2008-04-02  8:20 ` Jordi Prats
2001-05-03  0:48 Darren Young
2001-05-03  1:26 ` Glenn Shannon
2001-05-03  1:45 ` Evan Day
2001-05-03  6:56   ` Adrian Phillips
2001-05-04  9:33     ` Heinz J. Mauelshagen
2001-05-04  7:45       ` Adrian Phillips
2001-05-04 10:38         ` Heinz J. Mauelshagen
2001-05-04  9:38           ` Adrian Phillips
2001-05-04 13:39             ` Heinz J. Mauelshagen
2001-05-03 11:15   ` Heinz J. Mauelshagen
2001-05-03 11:41 ` Carlo Marcelo Arenas Belon
2001-05-04  1:59   ` Mark van Walraven

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).