setup storage lvm troubles

Benoit Mortier benoit.mortier at opensides.be
Mon Jul 14 23:59:32 CEST 2008


Le Monday 14 July 2008 19:39:54 Henning Sprang, vous avez écrit :
> Hi,

Hi henning,

> Getting back at this -  I didn't even come to work on the machine in
> question, now that's a different one, at work, with nearly the same
> goal:

[..]

> Partitioning local harddisks using setup-storage
> Starting setup-storage 1.0
> disklist was:
> Using config file: /var/lib/fai/config/disk_config/GENERIC-PARTITION
> Input was:
> disk_config sda  bootable:1
> primary     /       5000-10000      ext3    rw
> logical     swap    1024            swap    sw
> logical     -       10000-          -       -
>
> disk_config lvm
> vg data        sda5
> #my_pv-_swap     swap    2048    swap    sw
> #my_pv-_root     /       2048    ext3 rw
>
>
>
> ### old style config:
>
> # generic disk configuration for a fai isntall server
> #
> # <type> <mountpoint> <size in mb> [mount options]     [;extra options]
>
> #disk_config sda
> #primary  /             5000-10000      rw,errors=remount-ro ; -c -j
> ext3 #logical  swap          1024      rw
> # TODO: the rest should be lvm pv?! -> do this with setup storage
> #logical  -             10000-
> No program "vgdisplay" found for your current version of LVM

If this is on etch your are missing the lvm2 package because vgdisplay is 
in 

www:/home/benoit# dpkg -L lvm2 | grep vgdisplay
/usr/share/man/man8/vgdisplay.8.gz
/lib/lvm-200/vgdisplay

Cheers
-- 
Benoit Mortier
CEO 
OpenSides "logiciels libres pour entreprises" : http://www.opensides.be/
Contributor to Gosa Project : http://gosa-project.org/
Contributeur to Nagios Plugins : http://nagiosplugins.org/



More information about the linux-fai-devel mailing list