I just installed Ubuntu 6.10 Server on an extra machine
I needed LVM on that computer so I installed it with the following command..
Code:
sudo apt-get install lvm2
which resulted in this..
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
lvm-common mdadm
Suggested packages:
dmsetup
Recommended packages:
mail-transport-agent
The following NEW packages will be installed:
lvm-common lvm2 mdadm
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 469kB of archives.
After unpacking 1479kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com edgy/main mdadm 2.4.1-6ubuntu5 [152kB]
Get:2 http://us.archive.ubuntu.com edgy/main lvm-common 1.5.20ubuntu7 [16.9kB]
Get:3 http://us.archive.ubuntu.com edgy-updates/main lvm2 2.02.06-2ubuntu3.2 [300kB]
Fetched 469kB in 2s (227kB/s)
Preconfiguring packages ...
Selecting previously deselected package mdadm.
(Reading database ... 16034 files and directories currently installed.)
Unpacking mdadm (from .../mdadm_2.4.1-6ubuntu5_i386.deb) ...
Selecting previously deselected package lvm-common.
Unpacking lvm-common (from .../lvm-common_1.5.20ubuntu7_i386.deb) ...
Selecting previously deselected package lvm2.
Unpacking lvm2 (from .../lvm2_2.02.06-2ubuntu3.2_i386.deb) ...
Setting up mdadm (2.4.1-6ubuntu5) ...
Generating mdadm.conf... done.
update-initramfs: Generating /boot/initrd.img-2.6.17-10-server
* Starting RAID monitoring service mdadm --monitor [ ok ]
Setting up lvm-common (1.5.20ubuntu7) ...
Setting up lvm2 (2.02.06-2ubuntu3.2) ...
Backing up any LVM2 metadata that may exist...done.
Looking pretty good from here, but when i try to run the first command..
Code:
sudo pvcreate /dev/hdb
i get this..
Code:
No program "pvcreate" found for your current version of LVM
why didn't
pvcreate get installed?