Date: Tue, 14 May 2019 07:41:42 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: Suggestions for working with unstable nvme dev names in AWS Message-ID: <08660a2a-489f-8172-22ee-47aeba315986@FreeBSD.org> In-Reply-To: <23770.10599.687213.86492@alice.local> References: <23770.10599.687213.86492@alice.local>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GKfm8aQAd8V6b5f7uBrVeMKyCwh2uJEW1 Content-Type: multipart/mixed; boundary="YTZ5rYRznxj4SgywsGP4OrCflY7jhMXHL"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-questions@freebsd.org Message-ID: <08660a2a-489f-8172-22ee-47aeba315986@FreeBSD.org> Subject: Re: Suggestions for working with unstable nvme dev names in AWS References: <23770.10599.687213.86492@alice.local> In-Reply-To: <23770.10599.687213.86492@alice.local> --YTZ5rYRznxj4SgywsGP4OrCflY7jhMXHL Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 14/05/2019 03:35, George Hartzell wrote: > Can anyone speak to the current state of device names for nvme disks > on AWS using the FreeBSD 12 AMI's? Is name-stability an issue? If > so, is there a work-around? >=20 I don't know about device name stability in AWS instances, but if you are using ZFS, then shuffling the disks around should not make any difference. With physical hardware it should be possible to eg. pop the disks out of one chassis and insert them into another in whatever order, and the system will still boot correctly. This sounds like the virtual equivalent of that. Technically, ZFS writes a label onto each disk which identifies it as belonging to a zpool and its role within that zpool. So long as the system can interrogate the disk at boot time, it will work out. If you're using UFS, or you have swap partitions separate to your ZFS then definitely investigate labelling your partitions -- see glabel(8) or gpart(8). This allows you to label a partition as eg. 'root' and then you can mount it by using the label as a device name eg. /dev/gpt/root in fstab(5). The FreeBSD installer defaults to using labelling like this both for ZFS and UFS installs. Cheers, Matthew --YTZ5rYRznxj4SgywsGP4OrCflY7jhMXHL-- --GKfm8aQAd8V6b5f7uBrVeMKyCwh2uJEW1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlzaYydfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OdujhAAq+NMhIbXhOFUkkGpruENq4NE/uuCcbDvmht7EabeRAq02RNERw8bCdsJ fbYTDw+CSm1Fnoahmcw7YwSlGku5r6TIF0w1PhsrljkLUrfPwnP7IooozI7EzkWM pg1T9t5ZGb9sdKr5y0PaYHWFBZaZIbkdMZV3l8r421jvXcp4V5u0dKmg9VpzmYuT I+SvGRslycu4ctEEG2b8ZkwEEUoxt/vQx2bVGPJc4nN0wlRtmN4HUCliGawZlp/S BL0S1bKZmya9jyP4DCgq706PI89tRXyI1ZF2EF10iI8uDA5hZ2xFiiEJWFiaJY6W XcY54NEq/x4KwAekL7plDxvJxDSE+0pew364Jo5OkCVRZKYmCt+xaf0YETc4Hx2o 1j4xGSbUj30/kNi61zlXzw2LYA7sJqwz/PplDbNIwdD5M4awVoDSvAPcIKsfGLO1 D4XYmm/wB+kjAhumWRlMtL5+41UTwRjEiEl/ZmDM9VOECp13vcivBlX9SVsx/5AI hXM5ibVuipQYc4BoNSOcuf8C4H5Wq8xWXV5ADv3cmfmJ4AidJiGY9fL7an6YCJhn /EjToVxYJsfI3SRxgrJ3bpGUSZJDzYI9cvS6yu5nhdeyDCrzjY3qZYB1ktm+G33/ flCZULGMKr2RX8e82Qg73Kb+L7pNGtMOU9L9Ef8953A3gGCs2zw= =D78m -----END PGP SIGNATURE----- --GKfm8aQAd8V6b5f7uBrVeMKyCwh2uJEW1--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08660a2a-489f-8172-22ee-47aeba315986>