Date: Sun, 8 Dec 2019 12:28:01 +0100 (CET) From: Wojciech Puchar <wojtek@puchar.net> To: =?ISO-8859-15?Q?Trond_Endrest=F8l?= <trond.endrestol@ximalas.info> Cc: freebsd-hackers@freebsd.org Subject: Re: first time using NVMe SSD Message-ID: <alpine.BSF.2.20.1912081227320.72218@puchar.net> In-Reply-To: <alpine.BSF.2.21.99999.352.1912081131470.5621@enterprise.ximalas.info> References: <alpine.BSF.2.20.1912081112580.39777@puchar.net> <alpine.BSF.2.21.99999.352.1912081131470.5621@enterprise.ximalas.info>
next in thread | previous in thread | raw e-mail | index | archive | help
thank you. i tried /dev/nvd0 instead of /dev/nvme0 and assumed different tool is needed for NVMe. now all works. On Sun, 8 Dec 2019, Trond Endrestøl wrote: > On Sun, 8 Dec 2019 11:13+0100, Wojciech Puchar wrote: > >> what is an equivalent (if exist) to SMART (smartctl/smartd) for NVMe drives? > > sysutils/smartmontools has no problems detecting mine: > > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: smartd 7.0 2018-12-30 r4883 [FreeBSD 13.0-CURRENT amd64] (local build) > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Opened configuration file /usr/local/etc/smartd.conf > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Drive: DEVICESCAN, implied '-a' Directive on line 23 of file /usr/local/etc/smartd.conf > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Configuration file /usr/local/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Device: /dev/nvme0, opened > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Device: /dev/nvme0, Samsung SSD 970 EVO Plus 2TB, S/N:XXXXXXXXXXXXXXX, FW:2B2QEXM7, 2.00 TB > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Device: /dev/nvme0, is SMART capable. Adding to "monitor" list. > Dec 6 20:43:58 <daemon.info> E590T smartd[1307]: Monitoring 0 ATA/SATA, 0 SCSI/SAS and 1 NVMe devices > > -- > Trond. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@freebsd.org Sun Dec 8 22:47:17 2019 Return-Path: <owner-freebsd-hackers@freebsd.org> Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 67F521BCBAE for <freebsd-hackers@mailman.nyi.freebsd.org>; Sun, 8 Dec 2019 22:47:17 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47WM046jDyz3xnm for <freebsd-hackers@freebsd.org>; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id E46221BCBAD; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) Delivered-To: hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E42721BCBAC for <hackers@mailman.nyi.freebsd.org>; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (107-204-234-170.lightspeed.sntcca.sbcglobal.net [107.204.234.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47WM032sbWz3xnl for <hackers@freebsd.org>; Sun, 8 Dec 2019 22:47:14 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id xB8MlCN8003420 for <hackers@freebsd.org>; Sun, 8 Dec 2019 22:47:12 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id xB8MlCOV003419 for hackers@freebsd.org; Sun, 8 Dec 2019 14:47:12 -0800 (PST) (envelope-from david) Date: Sun, 8 Dec 2019 14:47:12 -0800 From: David Wolfskill <david@catwhisker.org> To: hackers@freebsd.org Subject: I seem to be getting mixed messages from savecore(8) Message-ID: <20191208224712.GC1227@albert.catwhisker.org> Reply-To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47WM032sbWz3xnl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-2.36 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[hackers@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.96)[ip: (-9.86), ipnet: 107.192.0.0/12(-4.93), asn: 7018(0.04), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD <freebsd-hackers.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/> List-Post: <mailto:freebsd-hackers@freebsd.org> List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-hackers>, <mailto:freebsd-hackers-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 08 Dec 2019 22:47:17 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is running a system based on head at r354689. (I realize that it claims r354207; there was an "issue" with respect to git notes & refs....) Evidence: test_host# savecore -v -v -C /dev/nda0p5 checking for kernel dump on device /dev/nda0p5 mediasize =3D 17179869184 bytes sectorsize =3D 512 bytes First dump headers: Dump header from device: /dev/nda0p5 Architecture: amd64 Architecture Version: 2 Dump Length: 247502187 Blocksize: 512 Compression: gzip Dumptime: Sun Dec 8 22:05:20 2019 Hostname: test_host.ix.nflxvideo.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(rele= ase-2 019Q4.3.1): Wed Dec 4 11:43:57 PST 2019 root@build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64 /sys/RE Panic String: kdb_sysctl_panic Dump Parity: 3584057358 Bounds: 0 Dump Status: unknown Last dump headers: Dump header from device: /dev/nda0p5 Architecture: amd64 Architecture Version: 2 Dump Length: 247502187 Blocksize: 512 Compression: gzip Dumptime: Sun Dec 8 22:05:20 2019 Hostname: test_host.ix.nflxvideo.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(rele= ase-2 019Q4.3.1): Wed Dec 4 11:43:57 PST 2019 root@build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64 /sys/RE Panic String: kdb_sysctl_panic Dump Parity: 3584057358 Bounds: 0 Dump Status: unknown A dump exists on /dev/nda0p5 test_host# savecore -v -v -m3 --libxo json /var/log/coredumps /dev/nda0p5 unable to open bounds file, using 0 checking for kernel dump on device /dev/nda0p5 test_host# echo $? 0 test_host# So: If I understand correctly, "savecore -C" detacts that a dump exists on the cited device, but invoking savecore to actually ... save ... the dump does not actually do that. Any suggestions for expressing my request in a way that savecore is a bit more likely to accept? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org With respect to Trump's impeachment and his willful delaying of that proces= s: "Justice delayed is justice denied" See http://www.catwhisker.org/~david/publickey.gpg for my public key. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl3tfXBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcmf6ggAqUCZcYx6Wu1dOClqnA4C5fJeim3WekyUlo/doqUTVQCHYcZ+0ntKqYkf +Q3ej9EXV1rYuJwaHTehDwG7p/zP5EmdWZlYOvxLGD9ONgHwJVZ91F+fuwVjlEYC FWcCIBe4QqjEGEXUxRVIIkgp2EymPCNCmcozmYNUqS9cRyfFDmCe530wlC9sc57i VKtyY6M4+3ZTBsROK04WWPtlPvvz2djeAh+aDgVquHdPUY8GpEkd/RMfHxrm5on0 7TH578IhU+/86YeezDp9m2CaVidNdBFK5F4wkea2fZKTsVGdbILbK3YIMDLxbS3E Y7bPeN5LGEqFWc6phK2yf/RJA2SD+g== =hLvf -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1912081227320.72218>
