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

2019-03-03 Thread Jobst Schmalenbach
On Fri, Mar 01, 2019 at 09:48:55AM -0600, Valeri Galtsev (galt...@kicp.uchicago.edu) wrote: > > > On 2/28/19 10:04 PM, Jobst Schmalenbach wrote: > > On Thu, Feb 28, 2019 at 05:19:49PM +0100, Nicolas Kovacs > > (i...@microlinux.fr) wrote: > > > Le 28/02/2019 à 04:12, Jobst Schmalenbach a écrit 

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

2019-03-01 Thread Valeri Galtsev
On 2/28/19 10:04 PM, Jobst Schmalenbach wrote: On Thu, Feb 28, 2019 at 05:19:49PM +0100, Nicolas Kovacs (i...@microlinux.fr) 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

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

2019-02-28 Thread Jobst Schmalenbach
On Thu, Feb 28, 2019 at 05:19:49PM +0100, Nicolas Kovacs (i...@microlinux.fr) 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. I **KNOW** how to use UUID's ... this

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

2019-02-28 Thread Jonathan Billings
On Feb 28, 2019, at 13:29, mark wrote: > No, I dislike UUIDs. I dislike, strongly, lots of extra typing that > doesn't really get me anything. MAYBE, if you're in a Google or Amazon > datacenter, with 500,000 physical servers (I phone interviewed with them > 10 years ago)... but short of that?

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

2019-02-28 Thread mark
miguel medalha wrote: >> No, I dislike UUIDs. I dislike, strongly, lots of extra typing that >> doesn't really get me anything. MAYBE, if you're in a Google or Amazon >> datacenter, with 500,000 physical servers (I phone interviewed with >> them 10 years ago)... but short of that? Nope. >> > You

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

2019-02-28 Thread miguel medalha
No, I dislike UUIDs. I dislike, strongly, lots of extra typing that doesn't really get me anything. MAYBE, if you're in a Google or Amazon datacenter, with 500,000 physical servers (I phone interviewed with them 10 years ago)... but short of that? Nope. You can (perhaps should...) use the World

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

2019-02-28 Thread mark
Phelps, Matthew wrote: > On Thu, Feb 28, 2019 at 11:52 AM mark 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. >>> >>>

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

2019-02-28 Thread Simon Matter via CentOS
> 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

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

2019-02-28 Thread Valeri Galtsev
On 2/28/19 11:02 AM, Phelps, Matthew wrote: On Thu, Feb 28, 2019 at 11:52 AM mark 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.

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

2019-02-28 Thread Phelps, Matthew
On Thu, Feb 28, 2019 at 11:52 AM mark 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. > > > >

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

2019-02-28 Thread mark
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

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

2019-02-28 Thread Nicolas Kovacs
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 Cheers, Niki -- Microlinux - Solutions informatiques

[CentOS] What files to edit when changing the sdX of hard drives?

2019-02-27 Thread Jobst Schmalenbach
Hi I have read instructions for udev, I also found many example on how to do this. I want to lock in the SDA/SDB/SDC for my drives and I came up with a rule like this KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_SERIAL}=="ST500DM002-1BC142_W2A56H8A", NAME="sda", RUN+="/usr/bin/logger