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

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



Andy Smith andy@xxxxxxxxxxxxxx wrote:

> 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.
> 

Hi Andy,

Got catch! However a quick look at the documenation reveals the logic
behind the use of eudev. Namely Alpine Linux uses OpenRC
dependency-based init system which was primary reason for Gentoo
developers to work eudev from udev

https://wiki.gentoo.org/wiki/Eudev

Well I have not resolved my "problem" but at least I learnt something
tonight. 

Cheers,
Predrag

> 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®.