11.2. Setting up LVM on three SCSI disks with stripingFor this recipe, the setup has three SCSI disks that will be put into a logical volume using LVM. The disks are at /dev/sda, /dev/sdb, and /dev/sdc.
11.2.1. Preparing the disk partitionsBefore you can use a disk in a volume group you will have to prepare it:
Run pvcreate on the disks:
11.2.2. Setup a Volume Group
11.2.3. Creating the Logical VolumeIf the volume group looks correct, it is time to create a logical volume on top of the volume group. You can make the logical volume any size you like (up to the size of the VG you are creating it on; it is similar to a partition on a non LVM setup). For this example we will create just a single logical volume of size 1GB on the volume group. The logical volume will be a striped set using for the 4k stripe size. This should increase the performance of the logical volume.
11.2.4. Create the File SystemCreate an ext2 file system on the logical volume
11.2.5. Test the File SystemMount the file system on the logical volume
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |