[linux-lvm] using 160GB IDE drives under linux with LVM.
Chad C. Walstrom
chewie at wookimus.net
Thu Feb 7 16:10:02 UTC 2002
On Thu, Feb 07, 2002 at 10:33:46PM +0100, Terje Kvernes wrote:
> fdisk is only able to address 128GiB, that's rather obvious. if I
> make one partition,
Why make a partition at all? Why not just make a physical volume out of
the whole disk?
NAME
pvcreate - initialize a disk or partition for use by LVM
SYNOPSIS
pvcreate [-d|--debug] [-f[f]|--force [--force]] [-y|--yes] [-h|--help]
[-v|--verbose] [-V|--version] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvcreate initializes PhysicalVolume for later use by the Logical Volume
Manager (LVM). Each PhysicalVolume can be a disk partition, whole
disk, meta device, or loopback file. For DOS disk partitions, the par
tition id must be set to 0x8e using fdisk(8), cfdisk(8), or a equiva
lent. For whole disk devices only the partition table must be erased,
which will effectively destroy all data on that disk. This can be done
by zeroing the first sector with:
dd if=/dev/zero of=PhysicalVolume bs=512 count=1
Continue with vgcreate(8) to create a new volume group on PhysicalVol
ume, or vgextend(8) to add PhysicalVolume to an existing volume group.
--
Chad Walstrom <chewie at wookimus.net> | a.k.a. ^chewie
http://www.wookimus.net/ | s.k.a. gunnarr
Get my public key, ICQ#, etc. $(mailx -s 'get info' chewie at wookimus.net)
-------------- 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/20020207/19cf094e/attachment.sig>
More information about the linux-lvm
mailing list