[linux-lvm] Maximum # of PEs Per PV

^chewie chewie at wookimus.net
Thu Feb 1 04:25:37 UTC 2001


On Wed, Jan 31, 2001 at 06:30:37PM +0100, Holger Rauch wrote:
> Hi!
> 
> A friend of mine installed three 80G disks in order to create a 240G LV
> for his file server. The machine had a 2.4.1 kernel and LVM 0.9.1beta3
> installed.
> 
> In order to create the LV, I first created primary partition of type 8e, 
> then the PVs using pvcreate: 

Why didn't you just use the whole disk partitionless?  Zero out the
first 512b and do a pvcreate on /dev/hdf, /dev/hdg, /dev/hdh.

    bash# for i in f g h; do \
    > dd if=/dev/zero of=/dev/hd$i bs=512 count=1\
    > done
    bash# pvcreate -v -y /dev/hdf /dev/hdg /dev/hdh
    bash# vgcreate -v -Ay vg01 /dev/hdf /dev/hdg /dev/hdh


-- 
Chad Walstrom <chewie at wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20010131/5af55c49/attachment.sig>


More information about the linux-lvm mailing list