Lvm setup-storage mount point

Tsapline Sylvain stsapline at prosodie.com
Mon Feb 18 09:38:03 CET 2008


Hello

Yes well I like magician, i'm just trying to fing out a way to specify a mount point without specifying a /dev/sdaX

For example HP systems use /dev/cciss/cXdXpX and can't handle a /dev/sda mountpoint.

And this might be a problem while it can be handle by FAI classes, It would be easier for me to use a generic disk_config file.

Autodiscovery works when using  is "disk_config disk1" to create primary or logical partition.

So my point is to know is there any way to adress a lvm volume using a generic mount point like "disk_config lvm disk1 3"  for example to set up a lvm group on the third partition of disk 1

And yes well I like magic :)

Regards

Sylvain

-----Message d'origine-----
De : Michael Tautschnig [mailto:tautschn at model.in.tum.de] 
Envoyé : samedi 16 février 2008 17:31
À : Tsapline Sylvain
Cc : linux-fai at uni-koeln.de
Objet : Re: Lvm setup-storage mount point

> Hello
>  
> I'm happily using setup-storage to set-up LVM Volumes.
>  
> I do have a little question about vg volume mount point
>  
> I tried several combinaison without success :
>  
> For example i'd like to use logical mountpoint instead of /dev/sdX.
>  
> For instance something like that
>  
>  
> # Simple LVM example
> disk_config disk bootable:1
> primary /boot 500 ext3 rw
> primary -       4096-   -       -
> 
> disk_config lvm
> vg my_pv        /home
> my_pv-_swap     swap    2048    swap    sw
> my_pv-_root     /       2048    ext3 rw
>

How should that work? After all, /home is not declared to be any partition. And
even more so, it is self-contradictory, isn't it? There is something mounted as
/home and now you put an LVM volume group onto that device, so it cannot be
mounted as /home anymore. Or am I missing some LVM magic?

Best,
Michael





More information about the linux-fai mailing list