πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.hackers
Article #9

How do I tell the kernel to "retaste" a drive for geom multipath "automatic" devices?

#9
From: Peter Eriksson
Date: Fri, 09 Oct 2026 13:57
64 lines
6962 bytes
I plugged in a new SAS drive into a multiported external storage box connected to multiple SAS HBA controllers. The drive shows up fine, but when I create the multipath device it only finds one β€œpath” for the drive - until I reboot the server (or unplugs the SAS cables so the server sees the drive as a β€œnew" one). Surely there must be a better way?


mpr1: Found device <401<SspTarg>,End Device> <12.0Gbps> handle<0x00fa> enclosureHandle<0x000d> slot 82
mpr1: At enclosure level 2 and connector name (C0  )
mpr0: Found device <401<SspTarg>,End Device> <12.0Gbps> handle<0x00fa> enclosureHandle<0x0009> slot 82
mpr0: At enclosure level 2 and connector name (C0  )
da172 at mpr0 bus 0 scbus0 target 913 lun 0
da172: <WDC WUH722422AL5204 CHA2> Fixed Direct Access SPC-5 SCSI device
da172: Serial Number 69HL882E
da172: 1200.000MB/s transfers
da172: Command Queueing enabled
da172: 20981760MB (42970644480 512 byte sectors)
da375 at mpr1 bus 0 scbus1 target 913 lun 0
da375: <WDC WUH722422AL5204 CHA2> Fixed Direct Access SPC-5 SCSI device
da375: Serial Number 69HL882E
da375: 1200.000MB/s transfers
da375: Command Queueing enabled
da375: 20981760MB (42970644480 512 byte sectors)

# gmultipath label -v DISK-69HL882E diskid/DISK-69HL882E

# gmultipath status DISK-69HL882E
                   Name    Status  Components
multipath/DISK-69HL882E  DEGRADED  da375 (ACTIVE)

# gmultipath list DISK-69HL882E
Geom name: DISK-69HL882E
Type: AUTOMATIC
Mode: Active/Passive
UUID: 9fbaa07a-c3e7-11f1-be71-507c6f8a45ae
State: DEGRADED
Providers:
1. Name: multipath/DISK-69HL882E
   Mediasize: 22000969973248 (20T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   State: DEGRADED
Consumers:
1. Name: da375
   Mediasize: 22000969973760 (20T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE

- Peter




--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <25B88680-4D07-4C12-A44F-E382E528FEEA@lysator.liu.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Peter Eriksson <pen@lysator.liu.se>
Newsgroups: muc.lists.freebsd.hackers
Subject: How do I tell the kernel to "retaste" a drive for geom multipath
 "automatic" devices?
Date: Fri, 9 Oct 2026 15:57:38 +0200
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-hackers@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <25B88680-4D07-4C12-A44F-E382E528FEEA@lysator.liu.se>
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3864.700.51.1.3\))
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="7657"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1791554286; h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:list-id:list-help:
	 list-owner:list-unsubscribe:list-subscribe:list-post;
	bh=EcfCREvdUMevd1kK6L92wLMM74QqA+xIb6Qqss86d+A=;
	b=lOnK9QktbZlfg3Aff91vNdyLaPNK3Wt0DetPHrmdMaCPUFkdMOUy3DORWWnmoNk84M5/XV
	2mEp0df6Kc/HGzuPGdo3/4Wd0a0pRl3N6+G+SMhxpkjHLbVJKJ0VRoaz0exGzOnCjX30ab
	xiWjOZFmX4mtViyII/+2o7/wUSCr5Oji9rE8TAfBa0L+Kok4ybd2GMlHlSnDqPv8rW4IIj
	kIyciEz+iSKpCMknxbg4AsOl3xpe5vFE6XkSFLdFQmBV91rMRWIRY3wypiBNMuNdHk0F6l
	n/8I0ArINW6aLgVNmFZxi/gf6LaMvw4NPdpbmrb8GDnfQ40z0kdyquVqNIWySQ==
X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org
Authentication-Results: mx1.freebsd.org;
	dkim=pass header.d=lysator.liu.se header.s=2026 header.b=lsBOSM4G;
	dkim=pass header.d=lysator.liu.se header.s=2026 header.b=KULknApI;
	dkim=pass header.d=lysator.liu.se header.s=2026 header.b="mq/g+aNP";
	spf=pass (mx1.freebsd.org: domain of pen@lysator.liu.se designates 2001:6b0:17:f0a0::3 as permitted sender) smtp.mailfrom=pen@lysator.liu.se;
	dmarc=pass (policy=none) header.from=lysator.liu.se
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lysator.liu.se;
	s=2026; t=1791554271;
	bh=kXCZESIEKi1ruPheEtKQDg+g3RUDy+9O3KV9h+AjKd8=;
	h=From:Subject:Date:To:From;
	b=lsBOSM4GWRF+t8LdEVGK3QhCvURxI9hNR+aWYNVQd+eYTzrsXEw2IBaeeC1KsRFbN
	 TSVFEcTxXo5XEFROUfsQC9FN9gMORUqgOffksTnhQySpCh2xfaCCV+rnAA1dAQeWHD
	 GJbr1AyLbGTmm2hsEtOT8/yomQZ+Dm2CcWQwDYC4dWaQQ/WTUgqSz7ZmqBMfFbI6iq
	 gxujBdwBPjvCf2183WjmkG61BRXq17fi1xoKmuhngAJrfIL0Cr6o9O0ELaVjmFp+OB
	 uCragE5iNtm6tSoWWJWX6WpCfu752sCYwES0KLrj4pP6MFWKCQ+0UzabS3L9xUrjVc
	 iTB5uPj65gC0w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lysator.liu.se;
	s=2026; t=1791554270;
	bh=kXCZESIEKi1ruPheEtKQDg+g3RUDy+9O3KV9h+AjKd8=;
	h=From:Subject:Date:To:From;
	b=KULknApI8vZe2kSZ3VmA4TLacTryXkjU5FLdqO0zzwVJj4caIA/8x3KWJU5tDQgLY
	 2htms0qKvIJzmTFzMlEOd0cCuzPflvu9LrPZImmn+LoomP/r+dkXFIRtjTyFiU3OLS
	 gktOCwGoNm+7LMXqWsEOj0pSYrPsjPNRt7+FPMDIN/by29BpR5MHwsnG6jeyWb82Q7
	 B5o/gYJLBkmmPExjM18DxIa/53rzWM9EgSdQXE0U1+sr4HK26Nbf6y+gHvTUCLSzhZ
	 cGJVs7PHNzC4Z9zWVMK0xHMJEUcARmep1WevE3s0TgfcFcISzL71sNKt1mADbgfotj
	 Q8LOow+h8ryVg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lysator.liu.se;
	s=2026; t=1791554269;
	bh=kXCZESIEKi1ruPheEtKQDg+g3RUDy+9O3KV9h+AjKd8=;
	h=From:Subject:Date:To:From;
	b=mq/g+aNPIavrPHTzGiIR98CJ6VbzA2+ebN7Bv8dvTQdpiD2Ot098+oMm1xOrEGKA5
	 8dh7cs7U5vYLu/6fUlbCGuMU81L4J0usPzRCDGJEiVimrsBp6Dft+a+Logowj71vGY
	 ouFwiO3I65/IFPT3gFhSkfcJEiBY9dvbccHGaw7oBRuS3/VAouiukEfKXFja06TG7r
	 0FMPx3D9so4SOO57BJk5ZSm62Q0qEc1gc4RhdnGNws+5e869qL6Q3viyI73/h3iOuB
	 IQJNZ4IRaIRez6r5Z9UwmaOicBPrRF9SgJfCMVE7jcwWAUERDG9ybzteOkBvqCSpEk
	 JwDXUyRHHd6dQ==
Precedence: list
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.50 / 15.00];
	DWL_DNSWL_LOW(-1.00)[liu.se:dkim];
	SUBJECT_ENDS_QUESTION(1.00)[];
	DMARC_POLICY_ALLOW(-0.50)[lysator.liu.se,none];
	MV_CASE(0.50)[];
	R_SPF_ALLOW(-0.20)[+a:mail.lysator.liu.se];
	R_DKIM_ALLOW(-0.20)[lysator.liu.se:s=2026];
	MIME_GOOD(-0.10)[text/plain];
	PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org];
	RCPT_COUNT_ONE(0.00)[1];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	ASN(0.00)[asn:1653, ipnet:2001:6b0::/32, country:EU];
	FROM_HAS_DN(0.00)[];
	MIME_TRACE(0.00)[0:+];
	TO_DN_ALL(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	RCVD_COUNT_THREE(0.00)[3];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	RCVD_TLS_LAST(0.00)[];
	MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org];
	MID_RHS_MATCH_FROM(0.00)[];
	ARC_NA(0.00)[];
	DKIM_TRACE(0.00)[lysator.liu.se:+]
X-Rspamd-Queue-Id: 4j1T2z3zXPz3R6V
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes