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


Groups > linux.debian.user > #225216

Re: [Sid] ahci: disk order

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: [Sid] ahci: disk order
Date 2020-07-24 21:10 +0200
Message-ID <AwbeW-2Gh-21@gated-at.bofh.it> (permalink)
References <Aw9PQ-1Ht-3@gated-at.bofh.it> <Awb5g-2nl-3@gated-at.bofh.it> <AwbeV-2Gh-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	Hi.

On Fri, Jul 24, 2020 at 10:03:01PM +0300, Andrei POPESCU wrote:
> On Vi, 24 iul 20, 21:58:26, Andrei POPESCU wrote:
> > On Vi, 24 iul 20, 19:39:21, Grzesiek Sójka wrote:
> > > Hi there,
> > > 
> > > I noticed that SATA disks appear in random order. More precisely, I have two
> > > disks, HDD and SSD. Sometimes HDD=/dev/sda, SSD=/dev/sdb and sometimes
> > > HDD=/dev/sdb, SSD=/dev/sda. Is there any way to fix the disk order?
> > 
> > Not that I know of.
> > 
> > > I would
> > > like the disk connected to port 1 to be sda, disk connected to port 2 to be
> > > sdb and so on (like it was in the past)
> > 
> > It might be possible with some special udev rules,
> 
> Correction: probably not, since those names are assigned by the kernel.

A correction over the correction ;) :

- it's possible, it's called RENAME= in udev rules.
- it's unneeded in about every case, given that wonderful /dev/disk
  directory.
- and if it is needed for some reason, one's always better to use SYMLINK
  over the RENAME.

Reco

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[Sid] ahci: disk order Grzesiek Sójka <pld@sojka.co> - 2020-07-24 19:40 +0200
  Re: [Sid] ahci: disk order Cindy Sue Causey <butterflybytes@gmail.com> - 2020-07-24 20:10 +0200
  Re: [Sid] ahci: disk order Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 21:00 +0200
    Re: [Sid] ahci: disk order Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 21:10 +0200
      Re: [Sid] ahci: disk order Reco <recoverym4n@enotuniq.net> - 2020-07-24 21:10 +0200
        Re: [Sid] ahci: disk order Grzesiek Sójka <pld@sojka.co> - 2020-07-25 14:50 +0200
  Re: [Sid] ahci: disk order Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 21:30 +0200

csiph-web