Re: [cobbler] Different partitioning requirements for identical blades

2012-09-12 Thread Stuart Sears
On 11/09/12 15:12, Bai Shen wrote: This is the snippet I'm attempting to get to work. I am calling it in place of the autopart command in the sample kickstart. Did you get this working? If not yet, the reason will be that 'autopart' is a built-in kickstart instruction to anaconda and is not

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Corey Kovacs
ecisions based on the >>>>>> existence of the "d" variables. So if "$d3" exists on a certain machine, >>>>>> add it to the config, otherwise, don't include it's partitioning info >>>>>> etc. >>>>>> Q

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
0, 2012 at 12:04 PM, Pablo Iranzo Gómez < >>>>>> pablo.ira...@redhat.com> wrote: >>>>>> >>>>>>> Why don't you use: >>>>>>> >>>>>>> set $(list-harddrives) >>>>>>> let numd=$#/

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread James Clendenan
t; On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez > wrote: > Why don't you use: > > set $(list-harddrives) > let numd=$#/2 # Number of harddrives > d1=$1 # Device for first drive > S1=$2 # size for first drive > > and then "--ondisk=$d1" ??

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
t; >>>> -C >>>> >>>> >>>> On Tue, Sep 11, 2012 at 5:45 AM, Bai Shen wrote: >>>> >>>>> Can you explain that in more detail? I'm not quite sure I follow what >>>>> it's supposed to do. Do I continue with $3 for the secon

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
gt;>>> >>>>> -- >>>>> >>>>> *De: *"Owen Mann" >>>>> *Para: *"cobbler mailing list" >>>>> *Enviados: *Lunes, 10 de Septiembre 2012 18:02:11 >>>>> *Asunto: *Re:

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Corey Kovacs
gt;> -C >>>> >>>> >>>> On Tue, Sep 11, 2012 at 5:45 AM, Bai Shen wrote: >>>> >>>>> Can you explain that in more detail? I'm not quite sure I follow what >>>>> it's supposed to do. Do I continue wit

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
;>> the second drives size? >>>> >>>> Thanks. >>>> >>>> >>>> On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez < >>>> pablo.ira...@redhat.com> wrote: >>>> >>>>> Why don't you use: &

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Corey Kovacs
plain that in more detail? I'm not quite sure I follow what >>>> it's supposed to do. Do I continue with $3 for the second drive and $4 for >>>> the second drives size? >>>> >>>> Thanks. >>>> >>>> >>>

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Corey Kovacs
gt;>> On Mon, Sep 10, 2012 at 12:04 PM, Pablo Iranzo Gómez < >>> pablo.ira...@redhat.com> wrote: >>> >>>> Why don't you use: >>>> >>>> set $(list-harddrives) >>>> let numd=$#/2 # Number of harddrives >>>> d1=$1 # D

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
This is the snippet I'm attempting to get to work. I am calling it in place of the autopart command in the sample kickstart. #set $vgname = "VolGroup00" set \$(list-harddrives) let numd=\$#/2 d1=\$1 d2=\$3 d3=\$5 d4=\$7 part /boot --fstype ext3 --size=500 --asprimary --ondisk=\$d1 part swap --s

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
ives >>> d1=$1 # Device for first drive >>> S1=$2 # size for first drive >>> >>> and then "--ondisk=$d1" ?? >>> >>> Regards >>> Pablo >>> >>> >>> -- >>> >>> *

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Corey Kovacs
f harddrives >> d1=$1 # Device for first drive >> S1=$2 # size for first drive >> >> and then "--ondisk=$d1" ?? >> >> Regards >> Pablo >> >> >> ------ >> >> *De: *"Owen Mann" >> *Pa

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
*De: *"Owen Mann" > *Para: *"cobbler mailing list" > *Enviados: *Lunes, 10 de Septiembre 2012 18:02:11 > *Asunto: *Re: [cobbler] Different partitioning requirements > foridenticalblades > > > Are you sure there /is/ a /dev/sda? If it’s an HP, try

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-11 Thread Bai Shen
rg [mailto: > cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Bai Shen > *Sent:* Monday, September 10, 2012 11:38 AM > *To:* cobbler mailing list > *Subject:* Re: [cobbler] Different partitioning requirements for > identical blades > > ** ** > > How do you conf

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-10 Thread Pablo Iranzo Gómez
ling list" > Enviados: Lunes, 10 de Septiembre 2012 18:02:11 > Asunto: Re: [cobbler] Different partitioning requirements for > identical blades > Are you sure there /is/ a /dev/sda? If it’s an HP, try "cciss/c0d0". > Owen Mann, Interactive Data Real Time Servic

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-10 Thread Mann, Owen
bbler] Different partitioning requirements for identical blades How do you configure multiple disks when not using raid? I'm trying to specify --ondisk=sda and cobbler keeps giving me an error saying bad keyword '/dev/sda' Any suggestions? On Thu, Sep 6, 2012 at 1:15 PM, James

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-10 Thread Bai Shen
How do you configure multiple disks when not using raid? I'm trying to specify --ondisk=sda and cobbler keeps giving me an error saying bad keyword '/dev/sda' Any suggestions? On Thu, Sep 6, 2012 at 1:15 PM, James Clendenan wrote: > Personally I would just use a tag and in the partitioning sec

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-10 Thread Bai Shen
I tried doing it with the if statement but it kept erroring out for some reason. I ended up getting it to work using the advance snippet setup using per_system. https://github.com/cobbler/cobbler/wiki/Kickstart%20snippets On Thu, Sep 6, 2012 at 2:06 PM, James Cammarata wrote: > On Thu, Sep 6,

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-06 Thread James Cammarata
On Thu, Sep 6, 2012 at 12:15 PM, James Clendenan wrote: > Personally I would just use a tag and in the partitioning section test if > that tag is set or not. It gets a bit more interesting when you start merging > roles so keeping each of the tags as atomic as possible is useful. But I have > h

Re: [cobbler] Different partitioning requirements for identical blades

2012-09-06 Thread James Clendenan
Personally I would just use a tag and in the partitioning section test if that tag is set or not. It gets a bit more interesting when you start merging roles so keeping each of the tags as atomic as possible is useful. But I have had to do this when doing bake offs with different raid configurat

[cobbler] Different partitioning requirements for identical blades

2012-09-06 Thread Bai Shen
I have a blade server that I'm building using cobbler to be a hadoop cluster. Since the data nodes like seeing the individual drives, I'm going to partition those differently than the other nodes. Is there a recommended method to handling the parititions? Everything else about the kickstart will