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

Re: [Xen-users] Persistent block device naming by UUID


  • To: xen-users@xxxxxxxxxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Sun, 24 Feb 2019 01:52:29 +0000
  • Delivery-date: Sun, 24 Feb 2019 01:52:47 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

Hello,

On Sat, Feb 23, 2019 at 08:41:42PM -0500, Predrag Punosevac wrote:
> Hans van Kranenburg <hans@xxxxxxxxxxx> wrote:
> > What about...
> > 
> > disk = [
> >     '/dev/disk/by-uuid/839ca898-db1d-4c89-ad3f-faf6909bf448,raw,xvda,rw'
> > ]
> 
> Probably works on Debian. Red Hat also have /dev/disk/by-uuid
> 
> /dev/disk/by-uuid
> [root@lake by-uuid]# ls
> 19cbce97-75fb-4350-bbf4-fc18206129f8
> b67d3f41-ea4a-4581-b1c8-cfc02c573ef5
> b2e35c42-6bca-44b9-b2dd-15ff62750de1
> dd4e82e7-1042-4276-be28-59cc5b1a30ac
> 
> but on Alpine linux that directory doesn't exist

My understanding is that the /dev/disk/by-uuid bits are created by udev,
and that Alpine by default uses eudev which does not do this. I think it
can be replaced with udev.

I have never personally done this though.

Cheers,
Andy

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.