Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 May 2020 21:28:17 +0200
From:      Polytropon <freebsd@edvax.de>
To:        David Christensen <dpchrist@holgerdanske.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SSD woes - boot
Message-ID:  <20200507212817.8f8defd4.freebsd@edvax.de>
In-Reply-To: <1df1667c-3b5e-6668-2bad-d7c0e2da897e@holgerdanske.com>
References:  <28BC0AA1-FF58-406A-A5EE-FB0641D2C2B5@kukulies.org> <b5a1c463-e522-f9f1-8bd5-d092953d797b@holgerdanske.com> <E35B2E1F-8BEB-458C-97BF-3EF030CA0643@kukulies.org> <20200507112813.91e445a39bffbcdb906f05e8@sohara.org> <1df1667c-3b5e-6668-2bad-d7c0e2da897e@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 7 May 2020 12:21:59 -0700, David Christensen wrote:
> On 2020-05-07 03:28, Steve O'Hara-Smith wrote:
> > On Thu, 7 May 2020 11:16:25 +0200
> > Christoph Kukulies <kuku@kukulies.org> wrote:
> > 
> >> Now I got to figure out the UUID labeling thing - maybe :)
> > 
> > 	I've just been going three rounds with labelling an iscsi and
> > finally found a solution which may be useful to you since gpt and glabel
> > labels just vanish with iscsi restarts.
> > 
> > 	If kern.geom.label.disk_ident.enable is set to 1 (/boot/loader.conf
> > for persistence) then when a drive is discovered /dev/diskid/<serial_number>
> > gets created.
> 
> That is an intriguing alternative.  I expect it will solve the use-case 
> of adding, removing, and rearranging drives and adapters within a 
> computer.  I also expect it will solve the use-case of moving the system 
> device from one computer to another computer.  But, I expect it will 
> fail to solve the use-case of moving a raw system image from one device 
> to another device using dd(1), because the new device will have a 
> different serial number.

Maybe UFSIDs can help here? When dd'ing a whole disk, the ID of
the UFS filesystem will probably be copied 1:1, so the ID will
be identical. However, this only works for UFS exclusively, if
that scope is enough for your desired application. Please see
my previous posts for more information about UFSIDs.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200507212817.8f8defd4.freebsd>