From nobody Tue Oct 01 20:40:28 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XJ8vw4KSKz5XMWC for ; Tue, 01 Oct 2024 20:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJ8vw3GkLz4npX for ; Tue, 1 Oct 2024 20:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727815228; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=DD3TmnaDrM3C+xgjA0RvOrvXpnZ7TEsnIdFOf/E3ymk=; b=e9oOTUp+4ny6oQLkcnEg/yntaQtikq3GTvwPjJA/LlrxgbuweHrqfon08zCbeGk7we6+fV k6br76R/HmgyE7nTd9qiVuYTzkEH1PCT+P+nLKmtJanFnKDDgiGg5kIB1bjeJenyybbocy Kn5B3ZMycsefWofVOavtHlldLJWIF4fMNa66GB0jTCdU9BJLPPj7exg+cUe1o36imyXUIm 1MA/IdGqiBmvjv2eQMIxkhKfwaMsdV1MsjuxeJlgx4LczEYJBH8c+KtkzFrahwVOwaZ1rr 74c6iTfumiXVKWugBZ8WMJYbM5o+aEpmzvttzRsDBMlxvl6bmrxnF48rCBozIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727815228; a=rsa-sha256; cv=none; b=fyMQgjbTvKNPxF1yczmvk6eLU0bLtlyUPzy6E1pixiwA6uxc46EnWz7zh1pjxHS7XA2zPP pDKbzVp2y52iLj5XL6HrzNGM2Y5M5EIqV7iR22SzK+TnO4WdMEQLBE3lIvVDMjNqR8S3ET hWBjHUyuhyhclD07quIkkkG/stdqHrx9/Wm3IyhRQNj+o4BCM1BBn6FZqVM0Oz+299KUkE O1Z+kqZPCmCbEmUoL8hvahGoN5eVLO0Hz4CZ7x18ZiEYIB0lTsdtmyhtHhqbk7LAF5KYtA +zOl18ugcVZDl0AnHcsGJblvO1GVdEP78oSlZjwFrrBsOgf26WxMR5uHzJVmZg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XJ8vw2sNSzscK for ; Tue, 1 Oct 2024 20:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 491KeSLY018062 for ; Tue, 1 Oct 2024 20:40:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 491KeSXC018061 for bugs@FreeBSD.org; Tue, 1 Oct 2024 20:40:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 279308] mdmfs does not work as documented Date: Tue, 01 Oct 2024 20:40:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: mike@jellydonut.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279308 --- Comment #12 from Michael Proto --- (In reply to Xin LI from comment #10) Not opining on the TRIM-as-default situation, but in regards to using md di= sks over tmpfs I have one that I use regularly-- remote root-FS maintenance. I = can use a memory-backed md disk with "reboot -r" to ensure continuity of a memo= ry disk while rerooting a system. ** connect to a host via ssh mdmfs -s 16g md /mnt ** creates a 16g disk as /dev/md0 cd /mnt dump -0Laf - / | restore rf - umount /dev/md0 kenv vfs.root.mountfrom=3D"ufs:/dev/md0" reboot -r ** reconnect to the host via ssh Now I can do maintenance on the root-FS on the host remotely. This won't wo= rk with tmpfs as the file system disappears as soon as it is unmounted. --=20 You are receiving this mail because: You are the assignee for the bug.=