~smoser/curtin/trunk.lp1402042

Viewing all changes in revision 215.

  • Committer: Scott Moser
  • Author(s): Oleg Strikov
  • Date: 2015-06-16 18:17:26 UTC
  • mfrom: (214.1.1 multipath-bindings)
  • Revision ID: smoser@ubuntu.com-20150616181726-bdma96y0gexz4xxb
multipath: Generate /etc/multipath/bindings file during installation.

File /etc/multipath/bindings assigns permanent names to the multipath
devices. This file needs to be created during installation to avoid
spontaneous device name shuffling during boot.

We can't use multipath ('multipath -r') utility to generate bindings
because it needs to have dm-multipath kernel module inserted.  That module
might not be available or loaded in the install environment.  So we
manually generate this file.

Currently this only inserts entries into the file for disks that show
up in output of 'blkid'.  Those will be any disk that has a filesystem
on it (root disk or as a partition).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: