Re: R: Partition....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	Hi
	LVM stands for: Logical Volume Manager
( http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux) )

	With LVM you create a pool of hardrives/partitions that are shown
together (physical volumes) and over it you create volume groups which
contain "logical volumes" (like partitions in traditional schemas).

	One of the advantages is the ability to resize logical volumes within
boundaries of the containing volume group, even online resizing if using
ext3 (growing).

	Using a schema in kickstart for LVM could be:

clearpart --all
part /boot --fstype ext3 --size=100 --asprimary
part pv.3 --size=100 --grow
volgroup Sat --pesize=32768 pv.3
logvol swap --fstype swap --name=swap --vgname=Sat --size=2048
logvol / --fstype ext3 --name=root --vgname=Sat --size=67200

	Which defines a partition for /boot (must be outside LVM right now),
and a physical volume "pv.3" which contains a volume group "Sat".

	Inside that volume group there are two logical volumes, "swap" for
swapping and "root" for "/"

	Regards
	Pablo




El mar, 04-09-2007 a las 08:35 +0200, Andreano Michele Carmine (EDS)
escribió:
> what is LVM? and as it is used?
> 
> Ciao,
> Mike
> 
> _________________________________
>    Michele Carmine Andreano   
> 
>  mail: m.andreano-eds@xxxxxxxx
> _________________________________
> 
> 
> 
> -----Messaggio originale-----
> Da: kickstart-list-bounces@xxxxxxxxxx per conto di Pablo Iranzo Gómez
> Inviato: lun 03/09/2007 15.31
> A: Discussion list about Kickstart
> Oggetto: Re: Partition....
>  
> 	Ciao Andreano
> 	You should create a kickstart containing:
> 
> part /boot      --fstype ext3 --useexisting
> part /var       --fstype ext3 --useexisting --useexisting
> part /usr       --fstype ext3 --useexisting
> part swap                     --useexisting
> part /          --fstype ext3 --useexisting
> part /tmp       --fstype ext3 --useexisting
> part /home      --fstype ext3 --useexisting
> part /space     --fstype ext3 --useexisting --noformat
> 
> 	Why are you not using LVM?
> 
> 	Please, test it before using it on a production environment!!
> 
> 	Regards
> 	Pablo
> 
> PD: I'm using something similar to allow a reinstallation over already
> created volumes (LVM) keeping data on only one partition
> 
> 
> 
> El lun, 03-09-2007 a las 14:17 +0200, Andreano Michele Carmine (EDS)
> escribió:
> > Hi to all,
> > after the first installation I have this state:
> > 
> > zerombr yes
> > clearpart --all --drives=cciss/c0d0,cciss/c0d1
> > 
> > part /boot      --fstype ext3 --size=2000  --grow --maxsize=2000
> > --ondisk=cciss/c0d0
> > part /var       --fstype ext3 --size=29000 --grow --maxsize=29000
> > --ondisk=cciss/c0d1
> > part /usr       --fstype ext3 --size=12000 --grow --maxsize=12000
> > --ondisk=cciss/c0d0
> > part swap                     --size=12000 --grow --maxsize=12000
> > --ondisk=cciss/c0d0 --asprimary
> > part /          --fstype ext3 --size=6000  --grow --maxsize=6000
> > --ondisk=cciss/c0d0
> > part /tmp       --fstype ext3 --size=8000  --grow --maxsize=8000
> > --ondisk=cciss/c0d0
> > part /home      --fstype ext3 --size=4000  --grow --maxsize=4000
> > --ondisk=cciss/c0d0
> > part /space     --fstype ext3 --size=31000 --grow
> > --ondisk=cciss/c0d1
> > 
> >        
> > In the successive ones installations I must preserve part /space
> > and /var.... and I must format the rest of the partition!!
> > 
> > Excused for the English bad one!!
> > 
> > 
> > _________________________________
> >    Michele Carmine Andreano  
> > 
> >  mail: m.andreano-eds@xxxxxxxx
> > _________________________________
> > 
> > 
> > 
> > _______________________________________________
> > Kickstart-list mailing list
> > Kickstart-list@xxxxxxxxxx
> > https://www.redhat.com/mailman/listinfo/kickstart-list
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/kickstart-list
-- 

Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx)
RHCE/Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D

--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
Directores: Michael Cunningham, Charlie Peters y David Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
Dirección contacto: Paseo de la Castellana 95, Torre Europa – planta 15,
28046 Madrid

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux