Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]
Date: Thu, 19 Mar 2020 09:59:45
Message-Id: 8d303cab-9885-d123-9342-c55ea179edee@web.de
In Reply to: Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet] by n952162
1 I changed the UUID of all the partitions of the second drive and now all
2 my devices are linked to in /dev/disk/by-uuid. I still have
3 no/dev/disk/by-label, though.  Also, my swap file on a mounted drive
4 wasn't mounted, which was my original problem  ;-(
5
6 On 2020-03-19 09:36, n952162 wrote:
7 > On 2020-03-19 09:33, Neil Bothwick wrote:
8 >> On Thu, 19 Mar 2020 08:17:58 +0100, n952162 wrote:
9 >>
10 >>> A couple of years back, I bought these drives to install RAID on them,
11 >>> but gave up on that.  Now, I've decided to do "manual" RAID, but I'm
12 >>> wondering if the fact that the two drives have the same UUID is causing
13 >>> whoever it is who sets up /dev/disk (I'm still trying to find that
14 >>> culprit) is croaking on two different devices with the same UUID.
15 >> udev creates /dev
16 >>
17 >>> Where is the UUID determined?  I'd presumed that it was derived from
18 >>> some characteristics of the drive, determined by the device controller,
19 >>> but now I'm wondering if my initial RAID configuration set some
20 >>> drive-internal variable to be identical?
21 >>>
22 >>> And, how does one /*reset*/ it?
23 >> tune2fs -U [UUID] /dev/sdX
24 >>
25 >> UUID can be either a string in the standard format or the word random.
26 >>
27 >>
28 >
29 > Cool!  I missed that about the "random" keyword.
30 >
31 >

Replies

Subject Author
[gentoo-user] Re: swaps mounted randomly [not out of the woods yet] Ian Zimmerman <itz@××××××××××××.org>
[gentoo-user] Re: swaps mounted randomly [not out of the woods yet] nunojsilva@×××××××.pt