From owner-freebsd-questions@freebsd.org Wed May 15 08:05:37 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77F3015AEEB0 for ; Wed, 15 May 2019 08:05:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A568380B5F for ; Wed, 15 May 2019 08:05:36 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4E099C5F6 for ; Wed, 15 May 2019 08:05:36 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2607:fea8:be5f:f976:945d:fcb7:9a81:dde6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 9ECC316F85 for ; Wed, 15 May 2019 08:05:33 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk/9ECC316F85; dkim=none; dkim-atps=neutral Subject: Re: Suggestions for working with unstable nvme dev names in AWS To: freebsd-questions@freebsd.org References: <23770.10599.687213.86492@alice.local> <08660a2a-489f-8172-22ee-47aeba315986@FreeBSD.org> <23770.58821.826610.399467@alice.local> <20190514210203.3d951fb8.freebsd@edvax.de> <23771.5612.105696.170743@alice.local> <23771.11429.855191.658934@alice.local> From: Matthew Seaman Openpgp: preference=signencrypt Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFJIL80BEADi7/VbnnErDU6pjEhI/SzEZ/HbDRkJ5g7HroAtqIRm6nj8ZwOAgZ/2ZnWn 5F+fXTuLsG0FLNtkd17FoVcuCi5e/GPliXI5cmamV7E1Yz4T8UsJ7RQolimyxVexccKd16Tc AA7B9bFlJSKkBUSD0buj7VjT07xWhRzu6Vgi5r0UjLALYJz977uZA0F1aOGOXREDEAOhdcNc kSNjynqAwDA6dCT1Elpi4key1fYjv4jyDF+GU/YXul2Y/rguA8FCkHd9vyym5eAsLQ5mG00V V9fkEHIpH5KorNVnl/ufHXnkZqmHAZVpFDcrshb7aZ/pL45PXyWgLj+e6etelgj3a2bZi0JF cVdXCnBZVP2oIyYblM11ugTbfCwodORU8a5KfPeztMdAtDr4e+32NTrPdPi5rLT+GUsYz+PL 3A3m3u8bdsFp40DlIrBtSByVjqERxcfhphrEB4J8BXHUG7OAtXkZMlW/PGKDwXJq0O6Z5Tcg YHAoEiSWbXiexHgXNJyP+sqnIlhLWhSJGeJ+C83wqI6oYlZUCW00NkPxcIHnQPV/z+5wQVci TMyaWC2YCIHz4Ljs+TnwWMz0E8PNFDfHVbQ0W4PRGV7gRAqxfL+yKufauIEGbEq8rNDbSwL3 bcUCxR4ZDlaUEUwT4J8naf7rjdgiEYHs2Ig3jeK1+ER4FPG1sQARAQABtDBNYXR0aGV3IFNl YW1hbiA8bS5zZWFtYW5AaW5mcmFjYW5pbm9waGlsZS5jby51az6JAlcEEwEKAEECGwMFCwkI BwMFFQoJCAsFFgIDAQACHgECF4ACGQEWIQRyz6whebywJLW1RZADb2ye5/OevwUCWttU4QUJ DFmAlAAKCRADb2ye5/Oevwb5EACipbOazgwl5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tp/1TpsYOBdME1 QLM1TPanYXa7tb+IrRZN+Oi9i9VVym16DK7q21k3j0qRC0s= Message-ID: <86623e16-744e-e366-5049-70ef69ea81df@FreeBSD.org> Date: Wed, 15 May 2019 04:06:58 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <23771.11429.855191.658934@alice.local> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8GhZuDA08EIXzCWaErRpuFRf7MqB7QyhC" X-Rspamd-Queue-Id: A568380B5F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2019 08:05:37 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8GhZuDA08EIXzCWaErRpuFRf7MqB7QyhC Content-Type: multipart/mixed; boundary="3idUNXaEIeHCm0bqADw9PbH0Upxfb48Og"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <86623e16-744e-e366-5049-70ef69ea81df@FreeBSD.org> Subject: Re: Suggestions for working with unstable nvme dev names in AWS References: <23770.10599.687213.86492@alice.local> <08660a2a-489f-8172-22ee-47aeba315986@FreeBSD.org> <23770.58821.826610.399467@alice.local> <20190514210203.3d951fb8.freebsd@edvax.de> <23771.5612.105696.170743@alice.local> <23771.11429.855191.658934@alice.local> In-Reply-To: <23771.11429.855191.658934@alice.local> --3idUNXaEIeHCm0bqADw9PbH0Upxfb48Og Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 14/05/2019 22:01, George Hartzell wrote: > But when I boot, I find that I have two devices (in addition to the > root device), `/dev/nvme1` and `/dev/nvme2`. There's no way to know > which is the big-slow one that I wanted to call `/dev/sdh` and which > is the small-fast `/dev/sdz`. In fact, if I reboot the machine, > sometimes the big-slow one will be `/dev/nvme1` and sometimes it will > be `/dev/nvme2`. >=20 > Given that situation, how do you write an automated script that will > label the big-slow one `backups` and the small-fast one `speedy`? This is a pretty difficult problem. Unless AWS can supply some sort of identification of the device beyond the /dev/nvme1 device specials or else somehow guarantee ordering so the device names are consistent across multiple EC2 instances then about your only possible choice is to develop some heuristics like "if the device is 300MB in size then it's the special high-IOPS device I want to use for my separate zlog." You should be able to do that with the facts generated by ansible for example. You can use '{{ jinja2 }}' contexts to pretty much run arbitrary code within your playbooks based on those facts, so you can eg. generate a label name based on the disk size. It's not ideal, and it means that if you ever amend the spec for the instances you're running up, then you will probably need to simultaneously modify your heuristics. Hmmm.... camcontrol(8) might be a possibility. You'll have to experiment though -- e.g. see if 'camcontrol inquiry' or 'camcontrol devlist' gives you enough information to distinguish the different types of devices you can specify. Another thing to investigate is devd(8) which you can use to trigger an arbitrary command based on parameters discovered when the kernel probes the device. Again, it's not clear if there will be suitable information in the kernel probe results for you to make the sort of distinction you want to. Cheers, Matthew --3idUNXaEIeHCm0bqADw9PbH0Upxfb48Og-- --8GhZuDA08EIXzCWaErRpuFRf7MqB7QyhC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAlzbyKJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Oce1A//SblpQByPi4I7I+XHGjbGcg7FHPqanKfPe5MiiSq6HdHRHSAJ/1KhvW9x l7cZY/vI6vD8fZ7Fo0oOgO/USUJCwMaMdp4o07lnKgZb5xeY+4etl+0tZDexwpN0 J/RI+SloebkGXN1rxPpq9K9J/0Gp3auLIOIdTUF6DkhHYMYBgNfyHEV5u8XM+k1O ESJkTRqMEhixnRjjF8YK43q+TjWSVDZBfPsnioIGzluBgZ1kr/BpMB9+YW+dXeBV pV8O1NFVftone9Lzhllmq4T8uKDOwmWOEowbpg0zZfsFxtoPRtz1xhIV9wqXk3bK dt9pm8rrGN/IlU6W3BvIcAr1vao/bwYrHcy7KdHv3nt/E/JJcDp2OgeYhJ46h+p3 jG9S546AH79lsxSIxULvYkm2u2vYzt+p8+y0InI3vSnMi3XbiwtgELKbkjfrG3zB Y90fIAIZe6voTpswwFItitO/uvH7f6CRBTvhrauhWr3rgu3Prry8lQBY0J6RnL00 ZNvmZNoptsw12zHn86J8R7tOTHrVmwjwnvCXQnD41b6xrfdVBjDC68WQFubMXzl9 iTOJA43D+h4l73jFdrNzAoQ8Vf/ZlXt3fH5H85OAbfZ5REbvMf+Z3DdWA9hwXoNj TN4F3qLZWzQlJL3yLqK0jHwW2nNGrQiZldrhXXEWmzyChQxOgJ8= =nE/h -----END PGP SIGNATURE----- --8GhZuDA08EIXzCWaErRpuFRf7MqB7QyhC--