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


Groups > linux.debian.user > #225216

Re: [Sid] ahci: disk order

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: [Sid] ahci: disk order
Date Fri, 24 Jul 2020 21:10:02 +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>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Jul 24 19:08:35 2020
Old-Return-Path <recoverym4n@enotuniq.net>
X-Amavis-Spam-Status No, score=-7.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=enotuniq.net; s=dkim; h=Message-ID:User-Agent:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Subject:To: From:Date:Sender:Cc:Content-ID:Content-Description; bh=iU/lZlkv6OEA1Xo149KMj3nTOfiYPpEObZHAS/hSbfE=; b=jGcH3hPTTqSaDcIIYUeW41x2na /e7/69ENWxIM0f37AO7tMQjySMDmPXzG6WztDZFKx7n5zs/etatwN2poYjF7DSIAxIDF1RTdoGk2w w27hL5eb1o0ztKcyDK5hmtoOwyG6lWAgR/YYKew4O29ZUx/Js8bVuF3AiIDH0ha0rgGkH8ISCSmqe ybo/E3muVt/6U9deDq8lti8Dn6+QzLxoC1HCfw1KpgbfbUcDPSvxHl8Stg9Cx8s5Luji2gA8zZ3Ze eVKHbQ2V0/yiGQrUHxapN0YT03XP3A2T8Ker4ONC49oLf1AQx3V0PHewoDAfFf6Ijcwd5KNHssARZ lhr5EG8g==;
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Disposition inline
Content-Transfer-Encoding 8bit
User-Agent Mutt/1.10.1 (2018-07-13)
X-Mailing-List <debian-user@lists.debian.org> archive/latest/765542
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/E1jz33N-0007mc-V0@enotuniq.net
Approved robomod@news.nic.it
Lines 30
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 24 Jul 2020 22:08:21 +0300
X-Original-Message-ID <E1jz33N-0007mc-V0@enotuniq.net>
X-Original-References <30cfbe9f-fe60-e1e9-7a3c-65fa819162a8@sojka.co> <20200724185826.oc3ayamwy7nthvr6@acr13.nuvreauspam> <20200724190301.buc76lk72dhflbzq@acr13.nuvreauspam>
Xref csiph.com linux.debian.user:225216

Show key headers only | 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