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" ?? 

Regards 
Pablo 

----- Mensaje original -----

> De: "Owen Mann" <owen.m...@interactivedata.com>
> Para: "cobbler mailing list" <cobbler@lists.fedorahosted.org>
> 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 Services
> 60 Codman Hill Rd, Boxborough, MA 01719
> 978-795-3758 owen.m...@interactivedata.com
> “We have to remember that what we observe is not nature in itself,
> but nature exposed to our method of questioning.” -Werner Heisenberg

> From: cobbler-boun...@lists.fedorahosted.org
> [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 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 <
> james.clende...@gmail.com > 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 had to do this when doing bake offs
> with different raid configurations in the past and it works well.

> James

> --
> Sent from my phone.

> On 2012-09-06, at 7:11 PM, Bai Shen < baishen.li...@gmail.com >
> wrote:

> > 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 be the same.
> >
> > Thanks.
> > _______________________________________________
> > cobbler mailing list
> > cobbler@lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/cobbler
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler

> *******************************************************
> This message (including any files transmitted with it) may contain
> confidential and/or proprietary information, is the property of
> Interactive Data Corporation and/or its subsidiaries, and is
> directed only to the addressee(s). If you are not the designated
> recipient or have reason to believe you received this message in
> error, please delete this message from your system and notify the
> sender immediately. An unintended recipient's disclosure, copying,
> distribution, or use of this message or any attachments is
> prohibited and may be unlawful.
> *******************************************************
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler

-- 

Pablo Iranzo Gómez (pablo.ira...@redhat.com) 
Senior Global Profesional Services Consultant (RHCA, RHCSS, RHCDS, RHCVA, RHCE, 
RHCSA, RHCSP) #110-215-852 
Phone: +34 645 01 01 49 (CET/CEST) 
GnuPG KeyID: 0x5BD8E1E4 
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to