All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Sanity check: newbie wants strange LVM configuration
@ 2001-01-02 19:24 Chris Worley
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Worley @ 2001-01-02 19:24 UTC (permalink / raw)
  To: linux-lvm

I've got two disk drives, 12 & 16 GB IDE.  I'm adding a third 40GB 
drive.  Time to start using LVM...

I want to get better performance, so, I'll put the 40GB drive on one 
IDE controller, the other two drives on the second controller.  I'll 
make two partitions on the 40GB drive that match the disk sizes of the 
existing drives, and stripe each with it's match on the 40GB drive, 
creating two raid0 arrays (one 12+12, and the other 16+16).  By 
placing the dual-partitioned 40GB drive stand-alone on one IDE 
controller, each striped with a partition/drive on the other 
controller, any given file will only be striped across one partition 
on each controller, so I should see the performance benefit of 
striping (on IDE).

Should I use LVM or MD to do the striping (they both can do it, I was 
just wondering which would be a better choice)?

Even if I use MD to stripe, I'd use LVM to append the two drives together.

Before appending the drives, I'd make a temporary partition on the 
40GB drive, and copy the current contents of the 16GB (/home) drive to 
the temporary partition.  Then, I'd make the 16+16 raid0 a logical 
volume, create a reiserfs on it, and copy the information back from 
the temporary partition, to the new reiserfs.

Since the 12GB drive is the current root partition, it's a bit 
trickier to copy.  I'd copy it's contents to a temporary partition on 
the 40GB drive, boot from that temporary partition, then create the 
second 12+12 raid0, and add it to the first logical volume, then 
expand the reiserfs to cover both, copy the root file system from the 
temporary partition to the new logical volume, and setup a reiserfs 
root and boot.

Is this the correct approach for upgrading?

Finally, I'll have ~10GB unallocated on the 40GB drive.  I was 
thinking of adding this to the end of the current logical volume (and, 
again, expand the reiserfs to cover the additional space).

Since any file system looses performance when more than 90% full, this 
final non-striped partition would be in a position where performance 
would degrade anyway, and keep the raid0's in a position for full 
performance.

Is that correct?

Sort of off-topic (not LVM related)...

I've got an IDE CDROM drive that I want to put on the same controller 
as the 40GB drive.  I've been told that new UDMA drives do not have 
the PIO performance hit associated with CDROM drives, so I should be 
able to get full performance from my 40GB drive, even with a CDROM on 
the same IDE controller.

Is that correct (or should I junk the IDE CDROM)?

Thanks,

Chris

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [linux-lvm] Sanity check: newbie wants strange LVM configuration
@ 2001-01-03  5:22 Chris Worley
  2001-01-03  9:33 ` Joe Thornber
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Worley @ 2001-01-03  5:22 UTC (permalink / raw)
  To: linux-lvm

I've got two disk drives, 12 & 16 GB IDE.  I'm adding a third 40GB
drive.  Time to start using LVM...

I want to get better performance, so, I'll put the 40GB drive on one
IDE controller, the other two drives on the second controller.  I'll
make two partitions on the 40GB drive that match the disk sizes of the
existing drives, and stripe each with it's match on the 40GB drive,
creating two raid0 arrays (one 12+12, and the other 16+16).  By
placing the dual-partitioned 40GB drive stand-alone on one IDE
controller, each striped with a partition/drive on the other
controller, any given file will only be striped across one partition
on each controller, so I should see the performance benefit of
striping (on IDE).

Should I use LVM or MD to do the striping (they both can do it, I was
just wondering which would be a better choice)?

Even if I use MD to stripe, I'd use LVM to append the two drives
together.

Before appending the drives, I'd make a temporary partition on the
40GB drive, and copy the current contents of the 16GB (/home) drive to
the temporary partition.  Then, I'd make the 16+16 raid0 a logical
volume, create a reiserfs on it, and copy the information back from
the temporary partition, to the new reiserfs.

Since the 12GB drive is the current root partition, it's a bit
trickier to copy.  I'd copy it's contents to a temporary partition on
the 40GB drive, boot from that temporary partition, then create the
second 12+12 raid0, and add it to the first logical volume, then
expand the reiserfs to cover both, copy the root file system from the
temporary partition to the new logical volume, and setup a reiserfs
root and boot.

Is this the correct approach for upgrading?

Finally, I'll have ~10GB unallocated on the 40GB drive.  I was
thinking of adding this to the end of the current logical volume (and,
again, expand the reiserfs to cover the additional space).

Since any file system looses performance when more than 90% full, this
final non-striped partition would be in a position where performance
would degrade anyway, and keep the raid0's in a position for full
performance.

Is that correct?

Sort of off-topic (not LVM related)...

I've got an IDE CDROM drive that I want to put on the same controller
as the 40GB drive.  I've been told that new UDMA drives do not have
the PIO performance hit associated with CDROM drives, so I should be
able to get full performance from my 40GB drive, even with a CDROM on
the same IDE controller.

Is that correct (or should I junk the IDE CDROM)?

Thanks,

Chris

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

end of thread, other threads:[~2001-01-10 22:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-02 19:24 [linux-lvm] Sanity check: newbie wants strange LVM configuration Chris Worley
  -- strict thread matches above, loose matches on Subject: below --
2001-01-03  5:22 Chris Worley
2001-01-03  9:33 ` Joe Thornber
2001-01-03 16:40   ` Chris Worley
     [not found]     ` <20010103183937.A2027@66bassett.freeserve.co.uk>
     [not found]       ` <3A537FB6.4090408@liberate.com>
     [not found]         ` <20010104094004.A386@66bassett.freeserve.co.uk>
2001-01-09 16:31           ` Chris Worley
2001-01-10 22:26             ` Luca Berra

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.