From nobody Sun Jun 09 15:30:21 2024 X-Original-To: freebsd-stable@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 4VxzR10vBRz5MKpW for ; Sun, 09 Jun 2024 15:30:37 +0000 (UTC) (envelope-from artemhevorhian@gmail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VxzR02Rqdz4NQh for ; Sun, 9 Jun 2024 15:30:36 +0000 (UTC) (envelope-from artemhevorhian@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=CzwTpDZp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of artemhevorhian@gmail.com designates 2a00:1450:4864:20::42f as permitted sender) smtp.mailfrom=artemhevorhian@gmail.com Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-35f1bc63981so500307f8f.1 for ; Sun, 09 Jun 2024 08:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717947034; x=1718551834; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=XK9iHWxWJDvjJR3H2QcpNk1niBLwKvL/BHz12Goc+K4=; b=CzwTpDZpqev5pOyKD1B6ufZ/rhmhqkL+YcdvcBYunyysioKACDIcDViAJAJjMa2iVz X10MqYLAu9cTRT2ilMK9GVIMT9hp05B5y0bV7MtLiZytsZHI/7nyMEj3amKYadkCS8Cv 5Vnc3GIWrgJOLAHBpwIGkyhb425jnP9qXZ9MKBQwtTaTMoJkdsB7NWz3TC9SQapCvZUs rslhfpqH/jTrKLcoH36OfYH0Blnx79iW46Djm68W0wevYFCdI/v6WM3uwJWoWSs47Ywz m0uTNRHvTfWbgkj63rq0nfO+Za+9zKcxlsslQcmbUcvn0I6uhxAlCU4FcyVGutQNZ0o+ 5k8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717947034; x=1718551834; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XK9iHWxWJDvjJR3H2QcpNk1niBLwKvL/BHz12Goc+K4=; b=fotukgjI65ZQ/pIbTpi9zvGjt89By28lG05I8pCJ6mV+y9NDepIo5AUrnRpycJeY1M neX0tiaJDFihzxmAD1LlGiAlTmBRteSCO9GXCR7azSWDxFVteve9+XvngRYvpvAaoWxH iZeaTs64Dy9JWiugYbMbMkNfmbxc/XonyXLqYkp4dhUjm60rJCLSvGjSqxie6w1+3t2v QqrspLXfPG07J7YbIAevUqOfl87c7G1aa2ch1cr4PzG2I03TNcdPtD0nnncuwfAuASBo ALFCGLcKPcIvZodXGww0yWBOUcgRhnkVrsmkbl2TjIfUN50lhPqzfXPukpMaa/dbaYym N0tQ== X-Gm-Message-State: AOJu0Ywi6Qb6l3de09XogDXNdIBuYzsvRd3sElTImumNbBmwmUzS0qHO HXzsnsnktQK+BEEsN8ivcf04k5n8L+deWQj1bjNW13lj+3fVKoZubJOSI2LgqH5waqFeYcwAVJm UUlnX8zrIpwkd/EUALqdBelAv2TrOL2VQ X-Google-Smtp-Source: AGHT+IFxrOHBEQnOru/roNLVFG5dj5mei/ixaZdD611Z2fKCMzAYYQxLKx1/ryP9efcnB/wLAjM5BvJhM6WdxMB6gaw= X-Received: by 2002:adf:e25f:0:b0:35f:bcc:98e7 with SMTP id ffacd0b85a97d-35f0bcc9a73mr4694522f8f.3.1717947033586; Sun, 09 Jun 2024 08:30:33 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.org MIME-Version: 1.0 From: Artem Hevorhian Date: Sun, 9 Jun 2024 18:30:21 +0300 Message-ID: Subject: FreeBSD 14-0 file swapping broken. To: freebsd-stable@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ae1640061a76b651" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.21 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.79)[0.792]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:from] X-Rspamd-Queue-Id: 4VxzR02Rqdz4NQh --000000000000ae1640061a76b651 Content-Type: text/plain; charset="UTF-8" Hello! I would like to report that, likely, in FreeBSD version 14.0-stable, file swapping is broken. To confirm, here is what I tried to do and what I achieved. In order to reproduce the problem, please follow the following steps. I was following this tutorial https://www.cyberciti.biz/faq/create-a-freebsd-swap-file/ I created a large swap file (8192 MiB) and saved it to /root/swap.8G.bin. After that, I ran sudo chmod 0600 /root/swap.8G.bin After that, I updated fstab by adding the following line to the end. md42 none swap sw,file=/root/swap.8G.bin 0 0 On running sudo swapon -aq I got the swap file working initially, and I saw it after running swapinfo. But on reboot, it disappeared. Thank you for your help. Artyom. --000000000000ae1640061a76b651 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

I wou= ld like to report that, likely, in FreeBSD version 14.0-stable, file swappi= ng is broken. To confirm, here is what I tried to do and what I achieved. I= n order to reproduce the problem, please follow the following steps.
<= div dir=3D"auto">

I created a large swap file (8192 MiB) and= saved it to /root/swap.8G.bin.

After that, I ran=C2=A0

sudo chmod 0600 /root/swap.8G.bin

After that, I updated fstab by adding the following lin= e to the end.

md42 none = swap sw,file=3D/root/swap.8G.bin 0 0

On running=C2=A0

sudo swapon -aq

I = got the swap file working initially, and I saw it after running swapinfo. B= ut on reboot, it disappeared.=C2=A0

Thank you for your help.=C2=A0

Artyom.

--000000000000ae1640061a76b651--