[linux-lvm] Core questions from a LVM neophyte...

Joe Thornber joe at fib011235813.fsnet.co.uk
Mon Mar 10 09:47:02 UTC 2003


On Mon, Mar 10, 2003 at 10:36:31AM -0500, Barry, Christopher wrote:
> In the kernel config, in the RAID section I checked the LVM option to
> be in the kernel. Is this correct? It seems that I'm getting LVM
> version 1. Do/should I select this if I've patched the kernel?

You should just check the 'device-mapper' option.

> I try 'pvcreate /dev/sda' and get an error saying the device is not found. However, 'fdisk /dev/sda' shows the device exists.

Check the device filters in /etc/lvm/config

> Should I use pvcreate directly on the raw RAID 5 device, or partition it first?

The raw device.

> My plan was to use LVM2 to create several logical volumes on a
> single RAID 5 device that I could adjust for size over time and create
> a snapshot volume to extract backups from. Is this a good idea? I mean
> is this a good use of LVM2, or not?

Sounds fine.

- Joe




More information about the linux-lvm mailing list