All of lore.kernel.org
 help / color / mirror / Atom feed
* dracut and multiple iscsi/network disks
@ 2010-06-09 15:47 Harald Hoyer
       [not found] ` <4C0FB779.30005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2010-06-09 15:47 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=169f16715145fd087d61ef7fdfd7e9a3cbb68fc9

adds support for multiple iscsi disks with the syntax:

root=<normal block path or UUID or LABEL>  \
netroot=iscsi:...  netroot=iscsi:... netroot=iscsi:...

which is suboptimal, because you can't specify it in the dhcp protocol.

A better syntax would be a single netroot (also for FCoE disk) something like:

netroot=netdisks:iscsi:...[separator]iscsi:...[separator]fcoe:...

What do you think? Any better ideas?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dracut and multiple iscsi/network disks
       [not found] ` <4C0FB779.30005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-06-10  7:06   ` Luca Berra
       [not found]     ` <20100610070647.GA23726-hdG+WfPrfN2JmafXlB/IVQ@public.gmane.org>
  2010-06-11  6:06   ` Hans de Goede
  1 sibling, 1 reply; 5+ messages in thread
From: Luca Berra @ 2010-06-10  7:06 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

On Wed, Jun 09, 2010 at 05:47:05PM +0200, Harald Hoyer wrote:
> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=169f16715145fd087d61ef7fdfd7e9a3cbb68fc9
>
> adds support for multiple iscsi disks with the syntax:
>
> root=<normal block path or UUID or LABEL>  \
> netroot=iscsi:...  netroot=iscsi:... netroot=iscsi:...
>
> which is suboptimal, because you can't specify it in the dhcp protocol.
>
> A better syntax would be a single netroot (also for FCoE disk) something like:
>
> netroot=netdisks:iscsi:...[separator]iscsi:...[separator]fcoe:...
>
be warned that DHCP option format is generally
code: 1 byte
lenght: 1 byte
data: lenght bytes

which would limit the lenght of the netroot string to 255 charachters
anyway.

L.

-- 
Luca Berra -- bluca-APJUtua8uzqonA0d6jMUrA@public.gmane.org
          Communication Media & Services S.r.l.
   /"\
   \ /     ASCII RIBBON CAMPAIGN
    X        AGAINST HTML MAIL
   / \

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dracut and multiple iscsi/network disks
       [not found]     ` <20100610070647.GA23726-hdG+WfPrfN2JmafXlB/IVQ@public.gmane.org>
@ 2010-06-10  8:19       ` Harald Hoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Harald Hoyer @ 2010-06-10  8:19 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

On 06/10/2010 09:06 AM, Luca Berra wrote:
> On Wed, Jun 09, 2010 at 05:47:05PM +0200, Harald Hoyer wrote:
>> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=169f16715145fd087d61ef7fdfd7e9a3cbb68fc9
>>
>>
>> adds support for multiple iscsi disks with the syntax:
>>
>> root=<normal block path or UUID or LABEL> \
>> netroot=iscsi:... netroot=iscsi:... netroot=iscsi:...
>>
>> which is suboptimal, because you can't specify it in the dhcp protocol.
>>
>> A better syntax would be a single netroot (also for FCoE disk)
>> something like:
>>
>> netroot=netdisks:iscsi:...[separator]iscsi:...[separator]fcoe:...
>>
> be warned that DHCP option format is generally
> code: 1 byte
> lenght: 1 byte
> data: lenght bytes
>
> which would limit the lenght of the netroot string to 255 charachters
> anyway.
>
> L.
>

255 chars can be sufficient for up to 4 disks

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dracut and multiple iscsi/network disks
       [not found] ` <4C0FB779.30005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2010-06-10  7:06   ` Luca Berra
@ 2010-06-11  6:06   ` Hans de Goede
       [not found]     ` <4C11D27C.3020807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2010-06-11  6:06 UTC (permalink / raw)
  To: Harald Hoyer; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

Hi,

On 06/09/2010 05:47 PM, Harald Hoyer wrote:
> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=169f16715145fd087d61ef7fdfd7e9a3cbb68fc9
>
>
> adds support for multiple iscsi disks with the syntax:
>
> root=<normal block path or UUID or LABEL> \
> netroot=iscsi:... netroot=iscsi:... netroot=iscsi:...
>
> which is suboptimal, because you can't specify it in the dhcp protocol.
>
> A better syntax would be a single netroot (also for FCoE disk) something
> like:
>
> netroot=netdisks:iscsi:...[separator]iscsi:...[separator]fcoe:...
>
> What do you think? Any better ideas?
>

I think that will be a pain for the cmdline generating code in anaconda,
one argument per disk please. Note having this as netroot syntax and
a separate iscsi_disk= for the one argument per disk case would be fine.

Regards,

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dracut and multiple iscsi/network disks
       [not found]     ` <4C11D27C.3020807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-06-11 10:40       ` Harald Hoyer
  0 siblings, 0 replies; 5+ messages in thread
From: Harald Hoyer @ 2010-06-11 10:40 UTC (permalink / raw)
  To: Hans de Goede; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 06/11/2010 08:06 AM, Hans de Goede wrote:
> Hi,
>
> On 06/09/2010 05:47 PM, Harald Hoyer wrote:
>> http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=169f16715145fd087d61ef7fdfd7e9a3cbb68fc9
>>
>>
>>
>> adds support for multiple iscsi disks with the syntax:
>>
>> root=<normal block path or UUID or LABEL> \
>> netroot=iscsi:... netroot=iscsi:... netroot=iscsi:...
>>
>> which is suboptimal, because you can't specify it in the dhcp protocol.
>>
>> A better syntax would be a single netroot (also for FCoE disk) something
>> like:
>>
>> netroot=netdisks:iscsi:...[separator]iscsi:...[separator]fcoe:...
>>
>> What do you think? Any better ideas?
>>
>
> I think that will be a pain for the cmdline generating code in anaconda,
> one argument per disk please. Note having this as netroot syntax and
> a separate iscsi_disk= for the one argument per disk case would be fine.
>
> Regards,
>
> Hans

We could support both.. iscsi_disk= and the combined netroot=

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-11 10:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 15:47 dracut and multiple iscsi/network disks Harald Hoyer
     [not found] ` <4C0FB779.30005-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-10  7:06   ` Luca Berra
     [not found]     ` <20100610070647.GA23726-hdG+WfPrfN2JmafXlB/IVQ@public.gmane.org>
2010-06-10  8:19       ` Harald Hoyer
2010-06-11  6:06   ` Hans de Goede
     [not found]     ` <4C11D27C.3020807-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-11 10:40       ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.