Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1462493

Re: Who reordered my disks (probably v4.8-rc1 problem)

From james harvey <jamespharvey20@gmail.com>
Newsgroups linux.kernel
Subject Re: Who reordered my disks (probably v4.8-rc1 problem)
Date 2016-08-14 23:50 +0200
Message-ID <s6bs5-5dv-1@gated-at.bofh.it> (permalink)
References <s5Z7A-5sr-29@gated-at.bofh.it> <s5ZAC-5TR-5@gated-at.bofh.it> <s5ZAC-5TR-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Aug 14, 2016 at 5:09 AM, Pavel Machek <pavel@ucw.cz> wrote:
>> Use static (persistent) naming instead, /dev/disk/by-label,
>> /dev/disk/by-id, /dev/disk/by-uuid, and if gpt /dev/disk/by-partlabel
>> and /dev/disk/by-partuuid
>
> Explain that to my bootloader. Kernel needs root= on a command line.

It does need a root parameter.  Use root=PARTUUID=<partition UUID>.
Note the UUID is the PARTUUID from "blkid" which is for the partition,
not the UUID field which is for the filesystem.


>> As you found, /dev/sdX bus names are assigned in the order they are
>> added, which for some time has not been guaranteed to remain
>> consistent between kernel versions or even subsequent boots on the
>> same kernel.
>
> Well, for usb, order is not guaranteed, for SATA, it worked. So that's
> a regression in v4.8-rc1.
>
> Yes, /dev/disk/by-* is good idea, but this broke my boot, probably
> broke some scripts that used for a long time... and kernel may not
> break working systems.

It's always possible others may disagree, but I don't think something
is a regression when what breaks has long been said to not be expected
to work.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Who reordered my disks (probably v4.8-rc1 problem) Pavel Machek <pavel@ucw.cz> - 2016-08-14 10:40 +0200
  Re: Who reordered my disks (probably v4.8-rc1 problem) james harvey <jamespharvey20@gmail.com> - 2016-08-14 11:10 +0200
    Re: Who reordered my disks (probably v4.8-rc1 problem) Pavel Machek <pavel@ucw.cz> - 2016-08-14 11:10 +0200
      Re: Who reordered my disks (probably v4.8-rc1 problem) james harvey <jamespharvey20@gmail.com> - 2016-08-14 23:50 +0200
    Re: Who reordered my disks (probably v4.8-rc1 problem) Bob Tracy <rct@gherkin.frus.com> - 2016-08-14 15:40 +0200
  Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot.  [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 11:30 +0200
    Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Tom Yan <tom.ty89@gmail.com> - 2016-08-14 11:40 +0200
      Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Tom Yan <tom.ty89@gmail.com> - 2016-08-14 12:10 +0200
        Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Tom Yan <tom.ty89@gmail.com> - 2016-08-14 12:20 +0200
          Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] David Lang <david@lang.hm> - 2016-08-14 12:40 +0200
            Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Tom Yan <tom.ty89@gmail.com> - 2016-08-14 13:00 +0200
              Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Oliver Neukum <oneukum@suse.com> - 2016-08-14 16:20 +0200
            Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Greg KH <gregkh@linuxfoundation.org> - 2016-08-14 14:00 +0200
              Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 14:10 +0200
                Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Greg KH <gregkh@linuxfoundation.org> - 2016-08-14 16:20 +0200
                Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Alan Stern <stern@rowland.harvard.edu> - 2016-08-14 17:00 +0200
                Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 18:20 +0200
          Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 13:20 +0200
            Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Tom Yan <tom.ty89@gmail.com> - 2016-08-14 13:50 +0200
      Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 12:10 +0200
      Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-08-14 18:10 +0200
    Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 12:20 +0200
      Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 18:10 +0200
        Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek <pavel@ucw.cz> - 2016-08-14 20:00 +0200
          Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking  boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Hans de Goede <hdegoede@redhat.com> - 2016-08-14 20:30 +0200
  Re: Who reordered my disks (probably v4.8-rc1 problem) "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-08-15 17:10 +0200

csiph-web