All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [linux-lvm] lvm liveCD help needed
@ 2005-02-25  4:18 Bao, Liping
  2005-02-25  5:23 ` [linux-lvm] Building up a RAID5 LVM home server (long) Erik Ohrnberger
  0 siblings, 1 reply; 12+ messages in thread
From: Bao, Liping @ 2005-02-25  4:18 UTC (permalink / raw)
  To: linux-lvm, pantz

 
Hi Paul

Several things:
1.several method to mount your root
	a)using "raidautorun" to detect the MDs.
	b)using "raidstart -a -c $RAIDTAB",
	 here you may can not get the raidtab file, you need to compile
one manually. 
	Alternatilvey, "mount /dev/hda3 /mnt/disks", (because the / is
md1, and I assume that /dev/hda3 is one of the partition in the md1).

2./boot can be installed on md0?


Message: 4
Date: Wed, 23 Feb 2005 16:43:41 -0500
From: Paul Pianta <pantz@lqt.ca>
Subject: [linux-lvm] lvm liveCD help needed
To: linux-lvm@redhat.com
Message-ID: <1109195021.4695.65.camel@aragorn.intranet>
Content-Type: text/plain

Hi people

I have a little problem that I was hoping someone might be able to help
me with.

I 'text mode' installed a FC1 installation and was unable to configure
the volume groups or logical volumes (limitation of text mode :( ...). I
thought "that's ok - I will just create them later!" - and this is where
my problem began :)

I configured the 2 x 200G ide drives with software raid as follows:
/dev/md0 - /boot - 100M
/dev/md1 - /     - 10G
/dev/md2 - swap
/dev/md3 - one big physical volume (lvm) ~185G

The system is installed and I assume that it all went onto /dev/md1.
What I wanted to do was to put /usr, /var, and /home in logical volumes
in one large volume group as such:

/vgRoot/lvUsr - 10G
/vgRoot/lvHome - 20G
/vgRoot/lvVar - 120G
with 30G free for playing around with later

Now ...

I have a gentoo live cd (with lvm support) and I assume this is what I
need to use to 
1. create the volume group vgRoot
2. create the three logical volumes lvUsr, lvHome, lvVar
3. copy /usr, /home, /var from /dev/md1 over to these newly created
logical volumes
4. edit /etc/fstab to reflect the new partition layout
5. reboot and dance around the room with my pants down singing 'oh what
a beautiful morning'


My problem is I don't know how to access the lvm support on the gentoo
live cd and even worse than that - I don't know how to get at my /
partition with the live cd because it is a software raid partition and I
don't know how to go about mounting it.

Any ideas would be much appreciated - and I will promise not to drop my
pants whilst singing if we can get this figured out :)

thanks

pantz

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [linux-lvm] Building up a RAID5 LVM home server (long)
@ 2005-02-26 15:09 Erik Ohrnberger
  2005-03-03 23:10 ` Sam Vilain
  0 siblings, 1 reply; 12+ messages in thread
From: Erik Ohrnberger @ 2005-02-26 15:09 UTC (permalink / raw)
  To: linux-lvm

Dear Peeps of the LVM discussion list,

    In the past you've come to my rescue a number of times, and I wish to
thank you all for this assistance.

    I fear that my desires have once again out stripped my hands on
practical knowledge.  So I pose to you this discussion.  Mind you that if
there is a web page that covers the topic, please don't hesitate to point
into that direction.  This has been a self study project all along.

Some History: (skip if you want - see The Questions below) =============
    I've had a LVM up and running for some time for large file storage.  As
the storage needs grew, it was easy to add another hard disk, add it to the
volume group, and grow the file system.  This worked fairly seamlessly and
easily, and I figured it all out from the howtos and other information
resources.  The same held true for when the need for storage decreased and I
squeezed hard drives out of the file system and then the volume group.
Cool!  Up until one of the active hard disks with data died, and I lost
nearly all my data.  Oh well.  That's the way that it goes.  Thank the
computer gods that there was nothing of the data really all that terribly
irreplaceable, but still....

    After this I just went and got a 200 GB drive and left it at that (I was
going to school and had limited time for my computer addiction).  But now
that I'm done with that, I'm thinking of building a MythTV system, and I'm
certain that I will want to have a large amount of robust storage available
on the network.  So the question is what's the best way to build it?

The Questions:
==============
    It seems to me that RAID5 with at least one hot spare hard disk is one
of the safest ways to go for this type of storage.  The only concern that I
have is specific to the wide variety of hard disk sizes that I have
available (2 40GB, 1 60GB, 2 80GB, and I'll probably add the 200GB drive
once I've migrated that data off it to the array).  My limited understanding
of RAID5 is that it's best if all the hard drives are exactly the same.  Is
this true?  What are the downsides of using such a mix of hard disk sizes?

    Being able to resize the storage is a key, as is having a robust and
reliable storage pool.  As storage demands rise and fall, it's great to have
the flexibility to add and drop hard disks from the storage pool and use
them for other things, resizing the file system and the volume group as you
go along, of course.  If the storage pool is RAID5, and I add a larger hard
disk to the pool as a hot spare, and then use the software tools to fault
out the drive that I want, forcing a reconstruction, couldn't I pull the
faulted drive out, and use it for something else?  What sort of shape or
state will the RAID5 array be in at this point?  Will it use all of the
space on the newly added hot spare?

    Again, if there is a discussion thread that I've not found that covers
these questions and this topic, I will not be offended by a mere pointer to
the web page, I wish to educate myself about the trade offs to arrive at the
best possible compromise for my needs.

    Thanks as always and in advance.
        Erik.

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

end of thread, other threads:[~2005-03-04 15:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-25  4:18 [linux-lvm] lvm liveCD help needed Bao, Liping
2005-02-25  5:23 ` [linux-lvm] Building up a RAID5 LVM home server (long) Erik Ohrnberger
2005-03-01 16:43   ` Scott Serr
2005-03-01 20:14     ` Erik Ohrnberger
2005-03-01 21:21       ` Scott Serr
2005-03-02  3:27         ` Erik Ohrnberger
2005-03-02  4:10           ` Ron Watkins
2005-03-02  4:27             ` Erik Ohrnberger
2005-03-02  7:08               ` Ron Watkins
2005-03-04 15:51                 ` [linux-lvm] LVM home server (more in depth info & analysis) Erik Ohrnberger
  -- strict thread matches above, loose matches on Subject: below --
2005-02-26 15:09 [linux-lvm] Building up a RAID5 LVM home server (long) Erik Ohrnberger
2005-03-03 23:10 ` Sam Vilain

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.