Dear Jérémie, At the moment there are no existing lvm functions within SALI, however they are being created at the moment but are not quite ready yet.
Within the masterscript you can use standard lvm commando's, here is an example of lvm creation from one of my colleagues ( Please note that he created the volume on software raid ).: ### BEGIN LVM initialization commands -AR- ### logmsg "pvcreate -M2 -ff -y /dev/md1 || shellout" pvcreate -M2 -ff -y /dev/md1 || shellout ### END LVM initialization commands ### ### BEGIN LVM groups creation commands -AR- ### logmsg "lvremove -f /dev/local_vg >/dev/null 2>&1 && vgremove local_vg | /dev/null 2>&1" lvremove -f /dev/local_vg >/dev/null 2>&1 && vgremove local_vg >/dev/null 2>&1 logmsg "vgcreate -M2 -l 0 -p 0 -s 32768K local_vg /dev/md1 || shellout" vgcreate -M2 -l 0 -p 0 -s 32768K local_vg /dev/md1 || shellout ### END LVM groups creation commands ### ### BEGIN LVM volumes creation commands -AR- ### logmsg "lvcreate -L20971520K -n root local_vg || shellout" lvcreate -L20971520K -n root local_vg || shellout logmsg "lvscan > /dev/null; lvchange -a y /dev/local_vg/root || shellout" lvscan > /dev/null; lvchange -a y /dev/local_vg/root || shellout logmsg "lvcreate -L10485760K -n tmp local_vg || shellout" lvcreate -L10485760K -n tmp local_vg || shellout logmsg "lvscan > /dev/null; lvchange -a y /dev/local_vg/tmp || shellout" lvscan > /dev/null; lvchange -a y /dev/local_vg/tmp || shellout logmsg "lvcreate -L20971520K -n home local_vg || shellout" lvcreate -L20971520K -n home local_vg || shellout logmsg "lvscan > /dev/null; lvchange -a y /dev/local_vg/home || shellout" lvscan > /dev/null; lvchange -a y /dev/local_vg/home || shellout logmsg "lvcreate -L20971520K -n var local_vg || shellout" lvcreate -L20971520K -n var local_vg || shellout logmsg "lvscan > /dev/null; lvchange -a y /dev/local_vg/var || shellout" lvscan > /dev/null; lvchange -a y /dev/local_vg/var || shellout logmsg "lvcreate -L33554432K -n swap local_vg || shellout" lvcreate -L33554432K -n swap local_vg || shellout logmsg "lvscan > /dev/null; lvchange -a y /dev/local_vg/swap || shellout" lvscan > /dev/null; lvchange -a y /dev/local_vg/swap || shellout ### END LVM volumes creation commands ### What version of SALI do you use?, I recommend using 1.4.5. Greetings, Michel. On Nov 9, 2011, at 12:33 PM, Jérémie Tétillon wrote: > Hello, > > We used systemimager for 4 years in my company and we decided to try sali as > the old kernel/initrd doesn't work out with some of our servers. > I'm trying to use the new master script and i can't figure out how to create > a lvm partition > > Am i missing something ? is it even possible ? > > Any help would be nice > > -- > Jérémie Tétillon > Administrateur Systèmes et Réseaux > > E-Merchant Service IT / PIXMANIA Group > 43 av. de la grande Armée > 75116 Paris > > > <ATT00001..txt><ATT00002..txt> Michel Scheerman System programmer Supercomputing SARA Science Park 140 T +31 (0)20 592 3087 F +31 (0)20 668 3167 M +31 (0)6 23705420 E [email protected] www.sara.nl
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ sisuite-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-users
