public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: james harvey <jamespharvey20@gmail.com>
Cc: kernel list <linux-kernel@vger.kernel.org>
Subject: Re: Who reordered my disks (probably v4.8-rc1 problem)
Date: Sun, 14 Aug 2016 11:09:15 +0200	[thread overview]
Message-ID: <20160814090914.GA24011@amd> (raw)
In-Reply-To: <CA+X5Wn6ioExHdycN5_A1JnVCuB4QpiN-aO8ACT7+MAGxdLaK9w@mail.gmail.com>

Hi!

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

> 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.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2016-08-14  9:09 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-13 19:30 Who reordered my disks (probably v4.8-rc1 problem) Pavel Machek
2016-08-14  9:03 ` james harvey
2016-08-14  9:09   ` Pavel Machek [this message]
2016-08-14 21:40     ` james harvey
2016-08-14 12:38   ` Bob Tracy
2016-08-14  9:20 ` Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)] Pavel Machek
2016-08-14  9:34   ` Tom Yan
2016-08-14 10:01     ` Pavel Machek
2016-08-14 10:07       ` Tom Yan
2016-08-14 10:17         ` Tom Yan
2016-08-14 10:26           ` David Lang
2016-08-14 10:53             ` Tom Yan
2016-08-14 14:14               ` Oliver Neukum
2016-08-14 11:29             ` Greg KH
2016-08-14 12:03               ` Pavel Machek
2016-08-14 14:15                 ` Greg KH
2016-08-14 14:56                 ` Alan Stern
2016-08-14 16:13                   ` Pavel Machek
2016-08-14 11:10           ` Pavel Machek
2016-08-14 11:41             ` Tom Yan
2016-08-14 16:09     ` One Thousand Gnomes
2016-08-14 10:14   ` Pavel Machek
2016-08-14 16:06     ` Pavel Machek
2016-08-14 17:55       ` Pavel Machek
2016-08-14 18:22         ` Hans de Goede
2016-08-15 15:05 ` Who reordered my disks (probably v4.8-rc1 problem) Austin S. Hemmelgarn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160814090914.GA24011@amd \
    --to=pavel@ucw.cz \
    --cc=jamespharvey20@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox