linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvm on a brand-new server
@ 2001-02-21 18:34 Timothy Wilson
  2001-02-21 19:03 ` Subosu Guruju
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Timothy Wilson @ 2001-02-21 18:34 UTC (permalink / raw)
  To: linux-lvm

Hi everyone,

I'm just starting out learning about lvm and I have a couple questions.

First, a description of the machine:

Compaq DL380 933 MHz PIII (rack-mount) w/ 640 MB RAM and (2) 18 GB SCSI
disks. The machine has Compaq's built-in hardware RAID controller. My plan
is to mirror the two disks using RAID.

I'd like to use LVM (and likely ReiserFS) on this box, but I'm not sure how
to get it installed on a bare system. I'll likely be using Debian on this
system.

Can anyone suggest a basic outline of the process? I'm certain there's a lot
more reading to do, but I'm not sure where to start. (I have looked over the
LVM How-to and the FAQ.)

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/

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

* Re: [linux-lvm] lvm on a brand-new server
  2001-02-21 18:34 Timothy Wilson
@ 2001-02-21 19:03 ` Subosu Guruju
  2001-02-22  9:06 ` Erik Bågfors
  2001-02-22 21:55 ` hugang
  2 siblings, 0 replies; 7+ messages in thread
From: Subosu Guruju @ 2001-02-21 19:03 UTC (permalink / raw)
  To: linux-lvm

Hi everyone,

  I am looking for cheap hardware to use LVM on linux (Redhat or SUSE). Any
links or references really appreciated.

regards,
scg

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

* Re: [linux-lvm] lvm on a brand-new server
  2001-02-21 18:34 Timothy Wilson
  2001-02-21 19:03 ` Subosu Guruju
@ 2001-02-22  9:06 ` Erik Bågfors
  2001-02-23  4:56   ` Timothy Wilson
  2001-02-23  4:59   ` Timothy Wilson
  2001-02-22 21:55 ` hugang
  2 siblings, 2 replies; 7+ messages in thread
From: Erik Bågfors @ 2001-02-22  9:06 UTC (permalink / raw)
  To: linux-lvm

On 21 Feb 2001 12:34:19 -0600, Timothy Wilson wrote:
> Hi everyone,
> 
> I'm just starting out learning about lvm and I have a couple questions.
> 
> First, a description of the machine:
> 
> Compaq DL380 933 MHz PIII (rack-mount) w/ 640 MB RAM and (2) 18 GB SCSI
> disks. The machine has Compaq's built-in hardware RAID controller. My plan
> is to mirror the two disks using RAID.
> 
> I'd like to use LVM (and likely ReiserFS) on this box, but I'm not sure how
> to get it installed on a bare system. I'll likely be using Debian on this
> system.
> 
> Can anyone suggest a basic outline of the process? I'm certain there's a lot
> more reading to do, but I'm not sure where to start. (I have looked over the
> LVM How-to and the FAQ.)


This is what I did.

* Compile a 2.4.x-kernel with lvm and reiserfs (make-kpkg is your
friend)
* Create tar-balls or debian-packages of the lvm-tools and
reiserfs-tools (at least mkreiserfs) 
* Start the debian-install
* Create a 100-200 MB partition that's ext2
* Create a Swap-partition
* Keep installing untill you get to the point where you should start to
choose packages.
* Go to another terminal and install the kernel-package and the lvm- and
reiserfs-tools.
* Reboot.
* Run fdisk, pvcreate and vgcreate
* Create lv's for /usr, /var, /tmp and whatever else you want.
* For each of them mount them under /mnt and do a cp -a from each of
/usr, /tmp and so on
* mv usr usr.old; mount /dev/disk_vg/usr_lv /usr.  Or whatever you named
your vg and lv.
  do the same for /var, /tmp and so on
* Make sure /tmp has the right permissions :)
* edit /etc/fstab
* run cd /; umount -a and check that everything is unmounted, then run
mount -a to make sure   you edited /etc/fstab correct

Now you have  a system with a 100-200 MB / that's ext2 and a /usr, /var
/tmp and so on that's on lvm.  Make sure lvm is initialized correctly on
bootup.

If you like to go reiserfs all the way simply create a lv for the swap,
reformat the swap-partition to reiserfs and copy everything in the /
partition to it.  Edit your /etc/lilo and /etc/fstab to use the correct
partition.  Make sure you have the latest and greatest lilo.  Run lilo
and reboot.

Now you can reuse the old ext2 / partition as a swappartition or
whatever you want.

Doing it like this means that you are not running / on lvm but I don't
see that as a problem since it's a real small filesystem anyway.

I think I saw somewhere someone made a reiserfs-enable
debian-installdisk but I haven't tried it myself.

Online resize works great with reiserfs which is REALLY nice. 

/Erik

-- 
Erik Bågfors               | http://erik.bagfors.nu/    
erik@bagfors.nu            | Erik.Bagfors@engohol.se
Supporter of free software | GSM +46 733 279 273
fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32

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

* Re: [linux-lvm] lvm on a brand-new server
  2001-02-21 18:34 Timothy Wilson
  2001-02-21 19:03 ` Subosu Guruju
  2001-02-22  9:06 ` Erik Bågfors
@ 2001-02-22 21:55 ` hugang
  2 siblings, 0 replies; 7+ messages in thread
From: hugang @ 2001-02-22 21:55 UTC (permalink / raw)
  To: linux-lvm

On Wed, 21 Feb 2001 12:34:19 -0600 (CST)
Timothy Wilson <wilson@visi.com> wrote:
	I thinks your can do it in folowing :

	1: Use the hardware RAID controller to make mirror .

	2: <Install Linux .	>
		( Your will Can see ONE DISK , Create a partion in it ( < 800MB ),And install a linux in it )

	3: Install LVM and reiserfs patch and software.

	4: <MOVE system to LVM>
		Create  the other partition with LVM ,mkreiserfs ,copy all system to it .
	


>Hi everyone,
>
>I'm just starting out learning about lvm and I have a couple questions.
>
>First, a description of the machine:
>
>Compaq DL380 933 MHz PIII (rack-mount) w/ 640 MB RAM and (2) 18 GB SCSI
>disks. The machine has Compaq's built-in hardware RAID controller. My plan
>is to mirror the two disks using RAID.
>
>I'd like to use LVM (and likely ReiserFS) on this box, but I'm not sure how
>to get it installed on a bare system. I'll likely be using Debian on this
>system.
>
>Can anyone suggest a basic outline of the process? I'm certain there's a lot
>more reading to do, but I'm not sure where to start. (I have looked over the
>LVM How-to and the FAQ.)
>
>-Tim
>
>--
>Tim Wilson      | Visit Sibley online:         | Check out:
>Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
>W. St. Paul, MN |                              | http://slashdot.org/
>wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm


-- 
--------------------------------------------------------------------
                       Hu  Gang 
--------------------------------------------------------------------
Email	: linuxbest@sina.com,linuxhappy@tang.com,gang_hu@soul.com.cn 
Comany  : China Beijing Soul
Phone   : +860168425741~~44
MP	: 13601394711
--------------------------------------------------------------------
Linux Reigstered User ID 	#204016
--------------------------------------------------------------------

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

* Re: [linux-lvm] lvm on a brand-new server
@ 2001-02-23  1:14 hugang
  0 siblings, 0 replies; 7+ messages in thread
From: hugang @ 2001-02-23  1:14 UTC (permalink / raw)
  To: linux-lvm

	I thinks your can do it in folowing :

	1: Use the hardware RAID controller to make mirror .

	2: <Install Linux .	>
		( Your will Can see ONE DISK , Create a partion in it ( < 800MB ),And install a linux in it )

	3: Install LVM and reiserfs patch and software.

	4: <MOVE system to LVM>
		Create  the other partition with LVM ,mkreiserfs ,copy all system to it .
	


>Hi everyone,
>
>I'm just starting out learning about lvm and I have a couple questions.
>
>First, a description of the machine:
>
>Compaq DL380 933 MHz PIII (rack-mount) w/ 640 MB RAM and (2) 18 GB SCSI
>disks. The machine has Compaq's built-in hardware RAID controller. My plan
>is to mirror the two disks using RAID.
>
>I'd like to use LVM (and likely ReiserFS) on this box, but I'm not sure how
>to get it installed on a bare system. I'll likely be using Debian on this
>system.
>
>Can anyone suggest a basic outline of the process? I'm certain there's a lot
>more reading to do, but I'm not sure where to start. (I have looked over the
>LVM How-to and the FAQ.)
>
>-Tim
>
>--
>Tim Wilson      | Visit Sibley online:         | Check out:
>Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
>W. St. Paul, MN |                              | http://slashdot.org/
>wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm


-- 
--------------------------------------------------------------------
                       Hu  Gang 
--------------------------------------------------------------------
Email	: linuxbest@sina.com,linuxhappy@tang.com,gang_hu@soul.com.cn 
Comany  : China Beijing Soul
Phone   : +860168425741~~44
MP	: 13601394711
--------------------------------------------------------------------
Linux Reigstered User ID 	#204016
--------------------------------------------------------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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

* Re: [linux-lvm] lvm on a brand-new server
  2001-02-22  9:06 ` Erik Bågfors
@ 2001-02-23  4:56   ` Timothy Wilson
  2001-02-23  4:59   ` Timothy Wilson
  1 sibling, 0 replies; 7+ messages in thread
From: Timothy Wilson @ 2001-02-23  4:56 UTC (permalink / raw)
  To: linux-lvm

On 22 Feb 2001, Erik [ISO-8859-1] Bågfors wrote:

> > Can anyone suggest a basic outline of the process? I'm certain there's a lot
> > more reading to do, but I'm not sure where to start. (I have looked over the
> > LVM How-to and the FAQ.)
> 
> This is what I did.
> 
> * Compile a 2.4.x-kernel with lvm and reiserfs (make-kpkg is your
> friend)

I've heard that before. I need to look into the kpkg stuff.

> * Create tar-balls or debian-packages of the lvm-tools and
> reiserfs-tools (at least mkreiserfs) 

There aren't any debs for those already? That surprises me. Is the
development just too fast for the packaging to keep up?

Thanks for the tips. That will really help me focus my reading over the next
week or so until the machine arrives.

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/

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

* Re: [linux-lvm] lvm on a brand-new server
  2001-02-22  9:06 ` Erik Bågfors
  2001-02-23  4:56   ` Timothy Wilson
@ 2001-02-23  4:59   ` Timothy Wilson
  1 sibling, 0 replies; 7+ messages in thread
From: Timothy Wilson @ 2001-02-23  4:59 UTC (permalink / raw)
  To: linux-lvm

On 22 Feb 2001, Erik [ISO-8859-1] Bågfors wrote:

> I think I saw somewhere someone made a reiserfs-enable
> debian-installdisk but I haven't tried it myself.

See http://chao.ucsd.edu/debian/boot-floppies/ for more info. At least
that's the first site my Google search turned up.

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/

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

end of thread, other threads:[~2001-02-23  4:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-23  1:14 [linux-lvm] lvm on a brand-new server hugang
  -- strict thread matches above, loose matches on Subject: below --
2001-02-21 18:34 Timothy Wilson
2001-02-21 19:03 ` Subosu Guruju
2001-02-22  9:06 ` Erik Bågfors
2001-02-23  4:56   ` Timothy Wilson
2001-02-23  4:59   ` Timothy Wilson
2001-02-22 21:55 ` hugang

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