Mailinglist Archive: opensuse (1660 mails)

< Previous Next >
Re: [opensuse] disk device names and libata
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sun, 13 Dec 2009 01:18:05 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.0912130110130.4905@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Saturday, 2009-12-12 at 18:54 -0500, Brian K. White wrote:

Lars Müller wrote:

The approach of using /dev/disk/by-id makes things more reliable. The
device name stays idependent of the order the controllers get
initialized.

Or think about adding a new disk to an existing system. Your old device
names stay independet if a controller or new disks get added.

Yeah, except, with the old way I could copy an opld drive to a new drive and the new drive would still be that same /dev/sdXx, and all bootloader configs would magically still work without editing or adjusting even though I'd completely replaced the drive.

The by-id way breaks in that case. all the id's change.

No, it doesn't break. You simply have to use /dev/disk/by-uuid/ instead. Just choose the method appropriate to your case.

- -- Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkskMr8ACgkQtTMYHG2NR9XGJACgiMZTKLwPh24eUIDVyOqlteTj
M2gAn1bzPz0dfgS2VMpTfPmZvBydTl/E
=QAjP
-----END PGP SIGNATURE-----
< Previous Next >