Re: What files to edit when changing the sdX of hard drives?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On 2/28/19 11:02 AM, Phelps, Matthew wrote:
On Thu, Feb 28, 2019 at 11:52 AM mark <m.roth@xxxxxxxxx> wrote:

Nicolas Kovacs wrote:
Le 28/02/2019 à 04:12, Jobst Schmalenbach a écrit :

I want to lock in the SDA/SDB/SDC for my drives

In short : use UUIDs or labels instead of hardcoding /dev/sdX.

https://wiki.archlinux.org/index.php/persistent_block_device_naming

Yeah - I strongly believe in labels, given the fact that *no* one can
remember a UUID....

       mark


ls -l /dev/disk/by-uuid

(copy)

(paste)


I second Mark about filesystem labels. Labels you can read and type. UUIDs you can only copy and paste. Yes I did type them a few times, but... With upside there certainly comes downside of filesystem labels: if you are moving storage around you sometimes can hit the situation of having two identical labels. Which during last couple of decades I was able to get around.

Valeri




--
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux