Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-22 Thread Wols Lists
On 19/03/20 07:17, n952162 wrote: > Where is the UUID determined? I'd presumed that it was derived from > some characteristics of the drive, determined by the device controller, > but now I'm wondering if my initial RAID configuration set some > drive-internal variable to be identical? Did you

[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-21 Thread nunojsilva
On 2020-03-19, n952162 wrote: > On 2020-03-19 09:36, n952162 wrote: >> On 2020-03-19 09:33, Neil Bothwick wrote: >>> On Thu, 19 Mar 2020 08:17:58 +0100, n952162 wrote: >>> A couple of years back, I bought these drives to install RAID on them, but gave up on that.  Now, I've decided to

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-20 Thread Michael
On Friday, 20 March 2020 01:27:27 GMT Ian Zimmerman wrote: > On 2020-03-20 00:30, Michael wrote: > > Finally, I don't think you can use the hardware specific ID, found > > under /dev/ disk/by-id/wwn-xx-part1, which is a > > symlink to the /dev/sda1 name. > > Why not? I think you

[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Ian Zimmerman
On 2020-03-20 00:30, Michael wrote: > Finally, I don't think you can use the hardware specific ID, found > under /dev/ disk/by-id/wwn-xx-part1, which is a > symlink to the /dev/sda1 name. Why not? I think you can just use it directly, in place of the /dev/sdaX. After all, it's

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Michael
On Thursday, 19 March 2020 19:08:55 GMT n952162 wrote: > On 2020-03-19 19:43, Michael wrote: > > On Thursday, 19 March 2020 18:32:12 GMT n952162 wrote: > >> On 2020-03-19 19:04, Michael wrote: > >>> On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote: > On 2020-03-19 10:59, n952162

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
On 2020-03-19 19:43, Michael wrote: On Thursday, 19 March 2020 18:32:12 GMT n952162 wrote: On 2020-03-19 19:04, Michael wrote: On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote: On 2020-03-19 10:59, n952162 wrote: I changed the UUID of all the partitions of the second drive and now

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Michael
On Thursday, 19 March 2020 18:32:12 GMT n952162 wrote: > On 2020-03-19 19:04, Michael wrote: > > On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote: > >> On 2020-03-19 10:59, n952162 wrote: > >>> I changed the UUID of all the partitions of the second drive and now > >>> all my devices are

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
On 2020-03-19 19:04, Michael wrote: On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote: On 2020-03-19 10:59, n952162 wrote: I changed the UUID of all the partitions of the second drive and now all my devices are linked to in /dev/disk/by-uuid. I still have no/dev/disk/by-label,

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Michael
On Thursday, 19 March 2020 17:03:15 GMT Ian Zimmerman wrote: > On 2020-03-19 10:59, n952162 wrote: > > I changed the UUID of all the partitions of the second drive and now > > all my devices are linked to in /dev/disk/by-uuid. I still have > > no/dev/disk/by-label, though. Also, my swap file on a

[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Ian Zimmerman
On 2020-03-19 10:59, n952162 wrote: > I changed the UUID of all the partitions of the second drive and now > all my devices are linked to in /dev/disk/by-uuid. I still have > no/dev/disk/by-label, though. Also, my swap file on a mounted drive > wasn't mounted, which was my original problem ;-(

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
I changed the UUID of all the partitions of the second drive and now all my devices are linked to in /dev/disk/by-uuid. I still have no/dev/disk/by-label, though.  Also, my swap file on a mounted drive wasn't mounted, which was my original problem  ;-( On 2020-03-19 09:36, n952162 wrote: On

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
On 2020-03-19 09:33, Neil Bothwick wrote: On Thu, 19 Mar 2020 08:17:58 +0100, n952162 wrote: A couple of years back, I bought these drives to install RAID on them, but gave up on that.  Now, I've decided to do "manual" RAID, but I'm wondering if the fact that the two drives have the same UUID

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread Neil Bothwick
On Thu, 19 Mar 2020 08:17:58 +0100, n952162 wrote: > A couple of years back, I bought these drives to install RAID on them, > but gave up on that.  Now, I've decided to do "manual" RAID, but I'm > wondering if the fact that the two drives have the same UUID is causing > whoever it is who sets up

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
On 2020-03-19 08:17, n952162 wrote: I just discovered that two of my disks have exactly the same UUIDs. A couple of years back, I bought these drives to install RAID on them, but gave up on that.  Now, I've decided to do "manual" RAID, but I'm wondering if the fact that the two drives have the

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
I just discovered that two of my disks have exactly the same UUIDs. A couple of years back, I bought these drives to install RAID on them, but gave up on that.  Now, I've decided to do "manual" RAID, but I'm wondering if the fact that the two drives have the same UUID is causing whoever it is

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-19 Thread n952162
On 2020-03-19 00:12, Ian Zimmerman wrote: On 2020-03-18 22:57, n952162 wrote: Well, some new recognitions ... It turns out that those /dev/disk subdirectories don't necessarily have all the disk devices represented: 1. by-id/ 2. by-partuuid/ 3. by-path/ 4. by-uuid/ There is also by-label,

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Dale
Neil Bothwick wrote: > On Wed, 18 Mar 2020 16:46:35 -0700, Ian Zimmerman wrote: > >> On 2020-03-18 18:25, Dale wrote: >> >>> BTW, can a label be changed without redoing the file system? I seem to >>> recall that being done during the file system creation. >> Yes, e2label for ext[2-4] , fatlabel

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Neil Bothwick
On Wed, 18 Mar 2020 16:46:35 -0700, Ian Zimmerman wrote: > On 2020-03-18 18:25, Dale wrote: > > > BTW, can a label be changed without redoing the file system? I seem to > > recall that being done during the file system creation. > > Yes, e2label for ext[2-4] , fatlabel for vfat. Don't know

[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Ian Zimmerman
On 2020-03-18 18:25, Dale wrote: > BTW, can a label be changed without redoing the file system? I seem to > recall that being done during the file system creation. Yes, e2label for ext[2-4] , fatlabel for vfat. Don't know about others but probably most of them allow something similar. -- Ian

Re: [gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Dale
Ian Zimmerman wrote: > On 2020-03-18 22:57, n952162 wrote: > >> Well, some new recognitions ... >> >> It turns out that those /dev/disk subdirectories don't necessarily have >> all the disk devices represented: >> >> 1. by-id/ >> 2. by-partuuid/ >> 3. by-path/ >> 4. by-uuid/ > There is also

[gentoo-user] Re: swaps mounted randomly [not out of the woods yet]

2020-03-18 Thread Ian Zimmerman
On 2020-03-18 22:57, n952162 wrote: > Well, some new recognitions ... > > It turns out that those /dev/disk subdirectories don't necessarily have > all the disk devices represented: > > 1. by-id/ > 2. by-partuuid/ > 3. by-path/ > 4. by-uuid/ There is also by-label, which you can reference from