Skip to contentSkip to conversation

dracut and multiple iscsi/network disks

DISCUSSION Harald Hoyer 3 participants 5 messages Jun 9, 2010 – Jun 11, 2010 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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?

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Harald Hoyer

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

adds support for multiple iscsi disks with the syntax:

Quoted 9 lines

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.

Signature · 6 lines
Luca Berra -- [email protected]
         Communication Media & Services S.r.l.
  /"\
  \ /     ASCII RIBBON CAMPAIGN
   X        AGAINST HTML MAIL
  / \

A message that is not in the archive (sent off-list or not yet received): 20100610070647.GA23726-hdG+WfPrfN2JmafXlB/[email protected]

#4 lore raw
Quoted 21 lines · Luca Berra
Quoted 8 lines · Harald Hoyer

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:...

Quoted 7 lines

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

Quoted 5 lines

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

L.

255 chars can be sufficient for up to 4 disks

#5 lore raw
In reply to a message not in the archive

Hi,

Quoted 8 lines · Harald Hoyer

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:...

Quoted 9 lines

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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 22 lines · Hans de Goede

Hi,

Quoted 9 lines · Harald Hoyer

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:...

Quoted 9 lines

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?

Quoted 7 lines

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=