linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] badiane:  Problem
@ 2001-11-01  9:54 gdurand
  2001-11-01 10:08 ` Mitch Miller
  2001-11-01 11:31 ` Andreas Dilger
  0 siblings, 2 replies; 3+ messages in thread
From: gdurand @ 2001-11-01  9:54 UTC (permalink / raw)
  To: linux-lvm

I have created five volume groups (vg0 - vg4) to hold respectively /var,
/home, /home/music, /usr, /usr/local.

I started with a 500MB / partition then created the pv, vg and lv.  Now what
I wanted to know is how to have the system reboot and have the partitions
mounted properly since the lvm binary and library cannot be found properly.
The libraries are in /usr/lib/lvm and should be in /lib and the binary in
/sbin or /bin.

The install is from the debian binaries.  I can't compile on my system
without getting a seg fault (that's another story.)  So I'm thinking that I
would have to move the libraries to /lib and hope that the system will find
them upon boot and proceed without errors.

I would like to know the proper way to do this.

Oh!  I had mounted the lv's on temp mount points /var2/, /home2/ etc and
copied the original's data over and umounted so that upon remount they would
again be avail able.

Thanks in advance.

Badiane

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

* RE: [linux-lvm] badiane:  Problem
  2001-11-01  9:54 [linux-lvm] badiane: Problem gdurand
@ 2001-11-01 10:08 ` Mitch Miller
  2001-11-01 11:31 ` Andreas Dilger
  1 sibling, 0 replies; 3+ messages in thread
From: Mitch Miller @ 2001-11-01 10:08 UTC (permalink / raw)
  To: linux-lvm

On my redhat system, I had to build LVM into the kernel ... but I had to fix
the Segmentation fault you talked about.  Search the archives for that one
... it's a compiler issue.

-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
Behalf Of gdurand@tekmd.com
Sent: Thursday, November 01, 2001 9:57 AM
To: linux-lvm@sistina.com
Subject: [linux-lvm] badiane: Problem


I have created five volume groups (vg0 - vg4) to hold respectively /var,
/home, /home/music, /usr, /usr/local.

I started with a 500MB / partition then created the pv, vg and lv.  Now what
I wanted to know is how to have the system reboot and have the partitions
mounted properly since the lvm binary and library cannot be found properly.
The libraries are in /usr/lib/lvm and should be in /lib and the binary in
/sbin or /bin.

The install is from the debian binaries.  I can't compile on my system
without getting a seg fault (that's another story.)  So I'm thinking that I
would have to move the libraries to /lib and hope that the system will find
them upon boot and proceed without errors.

I would like to know the proper way to do this.

Oh!  I had mounted the lv's on temp mount points /var2/, /home2/ etc and
copied the original's data over and umounted so that upon remount they would
again be avail able.

Thanks in advance.

Badiane




_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

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

* Re: [linux-lvm] badiane:  Problem
  2001-11-01  9:54 [linux-lvm] badiane: Problem gdurand
  2001-11-01 10:08 ` Mitch Miller
@ 2001-11-01 11:31 ` Andreas Dilger
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2001-11-01 11:31 UTC (permalink / raw)
  To: gdurand; +Cc: linux-lvm

On Nov 01, 2001  10:57 -0500, gdurand@tekmd.com wrote:
> I have created five volume groups (vg0 - vg4) to hold respectively /var,
> /home, /home/music, /usr, /usr/local.

Just as an FYI - this is a very bad setup.  You should have 1 (or maybe 2)
VGs set up for these filesystems.  For a normal system, having a single
VG is far more flexible.  You can then "share" all of the unused PEs and
add them to whatever LV needs them.  If you have separate VGs, then you
are not much better off than having DOS partitions.

> Oh!  I had mounted the lv's on temp mount points /var2/, /home2/ etc and
> copied the original's data over and umounted so that upon remount they would
> again be avail able.

I would also suggest that you create these LVs as small as possible.  On
Debian in particular, you can have /usr almost 100% full, and only extend
it as necessary to install new packages.  Same with /home and /home/music -
give yourself a "reasonable" amount of free space in each, and leave the
rest unallocated, so you can add it where it is needed later.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

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

end of thread, other threads:[~2001-11-01 11:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-01  9:54 [linux-lvm] badiane: Problem gdurand
2001-11-01 10:08 ` Mitch Miller
2001-11-01 11:31 ` Andreas Dilger

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