From owner-freebsd-questions@freebsd.org Mon Sep 7 01:47:33 2020 Return-Path: Delivered-To: freebsd-questions@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 F22873E6162 for ; Mon, 7 Sep 2020 01:47:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BlB455Vmxz4k7x for ; Mon, 7 Sep 2020 01:47:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id BCEF73E5F60; Mon, 7 Sep 2020 01:47:33 +0000 (UTC) Delivered-To: questions@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 BCB4F3E5E6A for ; Mon, 7 Sep 2020 01:47:33 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BlB444BJgz4k5Z for ; Mon, 7 Sep 2020 01:47:32 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x329.google.com with SMTP id 109so11066508otv.3 for ; Sun, 06 Sep 2020 18:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=r0x/I/ch2MoTulrpuP+u2WZibWIwljLVqAgoGdX0+pM=; b=CNXrp2UeHa/GRzeP2Q7ofRI6H23CQ//onRJbdTq270WP3mECoPlbAhQ52PszNBk3Yc hT1PU0jJlDrRpQu9JgVFz8+0yc6Wdvu7X3yrSpC/3Z/TlvjSITbmen4lFfsfUnSKGu11 j/7ZlRASINnideEg9NPDB4lsuBl18BniFvMqcWcCn2FJo5Rm5HLQ27gzz7w1DFXHpe2p T0fvCV0pP1SFET6odFPC0V7yFw1V1TVzRSWQ2cDZ06ccPNzSheEZKksJpaj4WffJhv7k yB5hpIVJs0lMWzMkK4Je/OGBfS164utsyTgRBEpxmXG/YQ19dZZyCkt60hS2M1764vdO svZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=r0x/I/ch2MoTulrpuP+u2WZibWIwljLVqAgoGdX0+pM=; b=mpTZRcrFP7KrgdL38by7GeoUkYaBnbqrlluEqLWrHVEGIuhK+K5ebRGP0ukWHnhQ4M AyNXw4qZ1kHW6ma9WNNyOBMVoaMf+vnR9skSY4kwjSyOWk1wjzSFUkQ1/disHbeyYJ7S DzhyDYQ0eTuuP/HIHrqpPY4rZjx7wZyEBEG0Av0uoEXmCe53CcDlniqamK5SJ7wsmMRt H5Bm6gxGdFe96QWXqhL0mp6OTW36puKYWRTAAPcFxDqUv59JB8sgCM2HRwgw2Wq0wA/F Y9iwHL5z1yvkTaAFPzbKmChbtEa/1UYAjaweHGTwzTxQNtZRsGINZCAEJlsS5we8IQ8t kYtA== X-Gm-Message-State: AOAM531yiJWFOoBqabwN9efAyJV3sGnVg3AiGOJZ8sXHBAHz5VmW69GL HqH6zX7STb7SrAmRFjGQRgXQRhMjAmpnFgJpJdCxYprCsVs= X-Google-Smtp-Source: ABdhPJwlcJUNFipeYDs6oiJ8jxh8S9uzH/AbkE4iOmlf1h+TDU9kg6ijx10UUUXjpgzPSMa3N3yIafif95i4E2P5LtY= X-Received: by 2002:a9d:128f:: with SMTP id g15mr12650511otg.93.1599443250688; Sun, 06 Sep 2020 18:47:30 -0700 (PDT) MIME-Version: 1.0 From: Kevin Oberman Date: Sun, 6 Sep 2020 18:47:14 -0700 Message-ID: Subject: Booting EFI system without EFI loader To: questions@freebsd.org X-Rspamd-Queue-Id: 4BlB444BJgz4k5Z X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CNXrp2Ue; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::329 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.96 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.96)[-0.963]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.024]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::329:from]; NEURAL_HAM_SHORT(-0.28)[-0.276]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 01:47:34 -0000 I know it's possible, because I did it once by accident. Now I need to do it again. I had completed the installation and tried to boot the new system. It worked when I tried to boot the USB stick, but something failed with the message that no valid system was found and prompted for the bot drive. I entered ufs:disk0p6: and the newly installed system came up! I then updated to current and built the world and kernel and installed the kernel. Now I need to reboot. I can't figure out how to get the loader to ask for the boot disk (partition). I tried installing the loader into the efi partition as per the handbook, but my system was too smart. It didn't like the new bootx86.efi file and "fixed" it! ARG! Any clue as to how to force my system to boot and NOT "AUTOREPAIR" itself? I want to install rEFInd using Niclas Z's instructions as soon as can. I seem to be asking for help a lot, but I have not had to deal with this stuff since going to EFI. FWIW, the system is a Lenovo L15 (Intel). -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Mon Sep 7 16:17:20 2020 Return-Path: Delivered-To: freebsd-questions@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 873DF3CEBC0 for ; Mon, 7 Sep 2020 16:17:20 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BlYMg2KbYz4LYJ for ; Mon, 7 Sep 2020 16:17:19 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qv1-xf36.google.com with SMTP id cv8so6524664qvb.12 for ; Mon, 07 Sep 2020 09:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=pZ5Kq9cNEC37BVTNF+ndeqRS9uVxNXODFVS/AW19fN4=; b=CjH+L+ucsr26Le5fV6IteyhMqMCx41T2qruCUo7vNGhNjiIEqMDCIAcFSzT+ovGVWQ NBdhVpqb6CDpcAq2sThmBZfVsjZYVPz4lIJSYnd78OXSLeosMpPvF10+UrMGTPpeo3D3 ggaNlZ2FP5YTE7YuK/F1hnZx4XR18fx16k82BW+J8unAsBty5Kl/1sda5RvpbGwD+wd1 dWXW0rtd04za2BFga450tqgizXctPzN+fqfpmGXCRtp88npARIuGqrcSdRXvdn3KFono UId2hiieQd8A5x/JWygkfPYke9UkvXt5WuSTUV6cgy5AjB0HSZR9DzUY1NpiF1jYadyW xsYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=pZ5Kq9cNEC37BVTNF+ndeqRS9uVxNXODFVS/AW19fN4=; b=YcS5AXx3OkcyPxmeyxcvkXdtMEen4PZdX0OWqjihpG99lwh2A/U421NxLLyhfg4mAM hAze2qiKk10RFrOdOhwb4uzr4PXmr9kLHIenfdC8GFYW3PWeEzwV7LITpqUz8KeQhRqY NxFoYmqQEQZv74JaxLfbcaButAujyw9jdU8ThkqZcTiD9kt0aQIT94/4VmyTbHQvEOMo t55rIqjD5YZs4/NoO/flZph4ZY4Tl43kRDmGtD1ALWn4mfb5Cs8fIkYRKK9gLjYL0JEI W7Eq9+88t0B6Lgr+WycDXyH1K2ExOL2C6lpID7J+kFzo7JQApbjm038ttWzATN3ORkBf V3zA== X-Gm-Message-State: AOAM530xb57TdWyBUE1I5GEuIrHcF/Ka9418/nTCE/rTZ2lKXfDBglz/ egA878ifGLABf5oPMJtBvvjb7S7RUnI= X-Google-Smtp-Source: ABdhPJyioewQGrUY3Zbqp7/3EKOnAi1sfL+OWg5Sc8eMhUzLs4O7MX38tCqXj832d8MFeR1rbHBsiA== X-Received: by 2002:a0c:c391:: with SMTP id o17mr13736039qvi.92.1599495438217; Mon, 07 Sep 2020 09:17:18 -0700 (PDT) Received: from [10.0.10.8] (cpe-65-25-51-0.neo.res.rr.com. [65.25.51.0]) by smtp.googlemail.com with ESMTPSA id y9sm11756853qka.0.2020.09.07.09.17.17 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Sep 2020 09:17:17 -0700 (PDT) Message-ID: <5F565D0E.6040902@gmail.com> Date: Mon, 07 Sep 2020 12:17:18 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: what is cmd to show port listen on Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BlYMg2KbYz4LYJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CjH+L+uc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::f36 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.26 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.28)[-0.285]; RECEIVED_SPAMHAUS_PBL(0.00)[65.25.51.0:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.964]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.015]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f36:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 16:17:20 -0000 I have not used in a long time. What is the command that shows the ports listened on. From owner-freebsd-questions@freebsd.org Mon Sep 7 16:18:34 2020 Return-Path: Delivered-To: freebsd-questions@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 874513CED0F for ; Mon, 7 Sep 2020 16:18:34 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from bede.qeng-ho.org (bede.qeng-ho.org [217.155.128.241]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4BlYP54kXLz4LxN for ; Mon, 7 Sep 2020 16:18:33 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (arthur.home.qeng-ho.org [172.23.1.2]) by bede.qeng-ho.org (Postfix) with ESMTP id 02EF210645; Mon, 7 Sep 2020 17:18:25 +0100 (BST) Subject: Re: what is cmd to show port listen on To: Ernie Luzar , "freebsd-questions@freebsd.org" References: <5F565D0E.6040902@gmail.com> From: Arthur Chance Message-ID: Date: Mon, 7 Sep 2020 17:18:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <5F565D0E.6040902@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BlYP54kXLz4LxN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.241 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-2.41 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-0.99)[-0.988]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[qeng-ho.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.12)[-0.121]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.004]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 16:18:34 -0000 On 07/09/2020 17:17, Ernie Luzar wrote: > I have not used in a long time. What is the command that shows the ports > listened on. sockstat -l -- The number of people predicting the demise of Moore's Law doubles every 18 months. From owner-freebsd-questions@freebsd.org Mon Sep 7 17:21:31 2020 Return-Path: Delivered-To: freebsd-questions@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 112193D062A for ; Mon, 7 Sep 2020 17:21:31 +0000 (UTC) (envelope-from daniel@dstev.xyz) Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BlZnh6HQWz4Qs9 for ; Mon, 7 Sep 2020 17:21:28 +0000 (UTC) (envelope-from daniel@dstev.xyz) Date: Mon, 07 Sep 2020 17:21:18 +0000 To: freebsd-questions@freebsd.org From: Daniel Stevenson Reply-To: Daniel Stevenson Subject: Re: Booting EFI system without EFI loader Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.9 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,T_PDS_OTHER_BAD_TLD shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4BlZnh6HQWz4Qs9 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.79 / 15.00]; HAS_REPLYTO(0.00)[daniel@dstev.xyz]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[dstev.xyz:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.947]; NEURAL_HAM_MEDIUM(-0.94)[-0.942]; NEURAL_SPAM_SHORT(0.10)[0.099]; DKIM_TRACE(0.00)[dstev.xyz:+]; DMARC_POLICY_ALLOW(-0.50)[dstev.xyz,quarantine]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.136:from]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.136:from]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 17:21:31 -0000 On Sun, Sep 06, 2020 at 06:47:14PM -0700, Kevin Oberman wrote: >=20 > I know it's possible, because I did it once by accident. Now I need to do > it again. > I had completed the installation and tried to boot the new system. It > worked when I tried to boot the USB stick, but something failed with the > message that no valid system was found and prompted for the bot drive. I > entered ufs:disk0p6: and the newly installed system came up! I then updat= ed > to current and built the world and kernel and installed the kernel. Now I > need to reboot. >=20 > I can't figure out how to get the loader to ask for the boot disk > (partition). I tried installing the loader into the efi partition as per > the handbook, but my system was too smart. It didn't like the new > bootx86.efi file and "fixed" it! ARG! >=20 > Any clue as to how to force my system to boot and NOT "AUTOREPAIR" itself= ? > I want to install rEFInd using Niclas Z's instructions as soon as can. >=20 > I seem to be asking for help a lot, but I have not had to deal with this > stuff since going to EFI. FWIW, the system is a Lenovo L15 (Intel). You should be able to set the default boot loader from your BIOS, probably from the "Boot" tab or similar. -- Daniel Stevenson From owner-freebsd-questions@freebsd.org Mon Sep 7 17:37:03 2020 Return-Path: Delivered-To: freebsd-questions@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 A2FAC3D0B6B for ; Mon, 7 Sep 2020 17:37:03 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Blb7f6GHkz4RgN for ; Mon, 7 Sep 2020 17:37:02 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id v123so1730087qkd.9 for ; Mon, 07 Sep 2020 10:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=e/NDPs9SBDabyXC7ADbH2g6G3SgNrYFyirkHuYRTi8w=; b=hDeY3P0r0bjVyL3iH5vuwxmyx8OfXBmhzbX7gQ+YsKjf2pRlNxz2FnT3/9qgZl9EZ7 Lwodnes9WEmY5m11L1L+otsud1oqjUkGtLZbu0pqP3DaMccNR6uKfOxH7jnAhqlILq9a SvNAux1iW5Oi+SKS5hYNo5kQlKJBRVcj1ZIf29iDnVMAjYYgP1BMraj0bQDIYXBKPuvv N+aaj22LbcQ53CZO58vPiL+cyKm4n9TQiFkZ2uMrd4XqAhGkGXHok6ZzDFapEXHD6MdI i8GAoOL9lSdV2BGNsmGEujEXl+5G6ZTsOKf4/ddhnrx5qt1Z70+mSjxoSrv/J38ldjwK uCqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=e/NDPs9SBDabyXC7ADbH2g6G3SgNrYFyirkHuYRTi8w=; b=YYr4FxTeNL1k2JzleW2ypAmZq0lxrMYEa1asKZgv8DasvJ4ofo13kwYmlmZl/mNWtf QD7x7wpaitz1Nmcdk1Zm+B0WCBYjAZbKIl4XGrywUf6ei57eXXbfiLVUbfiX5XHKTjsA 8XmzKd5Yb46u8ZD9XDRsWYi3yGpzBwVf0/pxo3Uev/Jr1Uf+DXXfz4GMOGY+MqGPyHKz saKtmLJQaiGtXeolSY/XAjOj7QZWVGwppSLwwaaI3ftTM3qENQdFvP8xGuQywP6lKdCd /AYGLO9YFAgQUf4EHUsDPNFC6ILGIhNuoc7vg3C+daWeuCsuA0WA8AEDEZ69TzauamU1 Or2Q== X-Gm-Message-State: AOAM5311NjhXxwvEFBZw17smmHAs7yp0H6QpMk8z17O6aCERMgomu9hv SpOOJcsA0T30yNO1+T0+BPZPYxEy+mI= X-Google-Smtp-Source: ABdhPJyOugTFO40Gj6HRX56XZUOugwXtbcEz6xkhIZxhX0RhucZqtPNw3q39oB1TNPIHs2wsH/sgyQ== X-Received: by 2002:a05:620a:2014:: with SMTP id c20mr17091336qka.89.1599500221963; Mon, 07 Sep 2020 10:37:01 -0700 (PDT) Received: from [10.0.10.8] (cpe-65-25-51-0.neo.res.rr.com. [65.25.51.0]) by smtp.googlemail.com with ESMTPSA id h18sm3645750qkl.12.2020.09.07.10.37.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Sep 2020 10:37:01 -0700 (PDT) Message-ID: <5F566FBE.4050502@gmail.com> Date: Mon, 07 Sep 2020 13:37:02 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: browser url for ipv4 address port other than 80 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Blb7f6GHkz4RgN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hDeY3P0r; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.51)[-0.515]; RECEIVED_SPAMHAUS_PBL(0.00)[65.25.51.0:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.970]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 17:37:03 -0000 What is the syntax of browser url to target an ip address and a custom port number. From owner-freebsd-questions@freebsd.org Mon Sep 7 17:58:42 2020 Return-Path: Delivered-To: freebsd-questions@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 6CE9A3D119A for ; Mon, 7 Sep 2020 17:58:42 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from plockton.cent.gla.ac.uk (plockton.cent.gla.ac.uk [130.209.16.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Blbcd4J1zz4SWH for ; Mon, 7 Sep 2020 17:58:41 +0000 (UTC) (envelope-from Norman.Gray@glasgow.ac.uk) Received: from cas08.campus.gla.ac.uk ([130.209.14.165]) by plockton.cent.gla.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1kFLPa-0006An-TK; Mon, 07 Sep 2020 18:58:38 +0100 Received: from CAS08.campus.gla.ac.uk (130.209.14.165) by cas08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 7 Sep 2020 18:58:37 +0100 Received: from GBR01-CWL-obe.outbound.protection.outlook.com (104.47.20.57) by CAS08.campus.gla.ac.uk (130.209.14.165) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 7 Sep 2020 18:58:37 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mu2deQ29FRAmUBhXbGbAxhNQMRQXoDFuBcZ87xwhyqPm0x0EbXCXYKcW9viGSTFricLxeY2pJmhN2yOe2CdJ340VTTWkAkJkD3Kma1tlxI/smVC+NiwG3KsqRrAqH4yjcNgcRJ/30fNvnbrWcYEExRPxcP0uW2iM2DQBetbU7q1E0m7s9xBrojhpMkslDMhTG3oRN99KrR03cPvxAKFIDplmk8OXgRITQCkD5u2AoXQgKMbwA29Qc7ohrem7iotwPNCQOx1JAuoY/upQgiWOcbCq8OatApKKZtYUfgAMjwqCRFvq5Ij+BB6e2r4T2d5CHN6Oc/Fd4erQcIZgrnJF4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QwY4/2bdfD7F7+Oon2j/sKYPue1gUlnQG4wtv3KRg4Y=; b=Mz4gWWvfmuVRyHJkzLm3ZyrDSktZZiJnH3U/QcCfI3tmvV3uJ2M0j61PDUzIeVeCaCk6P+tV5claDTo17AA0yVxXkmNkgwSnAewm4A2RfCVVFGHIXRK/y/4sI0q72r4wBVtENOwv2yKAmjP1iTCzmUIl4wVwXJ2/iyIc+1gMssYxMhOTfZ3ur+GcPDUUz2/HTPAIZFJMB3NlREpMv7TMROYDet+lEQdLIYIsOG0XNXI4gbC5XPteBNu6S0fjZQG604dBLJq66GRtm7z5TOU9aLQKdZA+gSDY1TGqzi40+TeCVfpUsMORBKVQkJ5yTOrJPPq1pmdi35Ui4ZQRjDynfg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=glasgow.ac.uk; dmarc=pass action=none header.from=glasgow.ac.uk; dkim=pass header.d=glasgow.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gla.onmicrosoft.com; s=selector2-gla-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QwY4/2bdfD7F7+Oon2j/sKYPue1gUlnQG4wtv3KRg4Y=; b=eQbyZsDwV3TJLFenhMykoqBIrmsoXXSlSJELWKq8TISZykc058IRfxJ8cA1G2+FjIvySKkkmlFZN+X1Fx0b2YUW/7A110QGbAAuF6Obh02ht+6l7yNXGB8cysukmygmgbWh1SWlNbC4i2KWwC154RmDIG9Qr6364Im2eBOfAsgk= Received: from CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:8::19) by CWLP265MB1396.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:2d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15; Mon, 7 Sep 2020 17:58:36 +0000 Received: from CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM ([fe80::9cfe:860:b9a2:31b9]) by CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM ([fe80::9cfe:860:b9a2:31b9%6]) with mapi id 15.20.3348.019; Mon, 7 Sep 2020 17:58:36 +0000 From: "Norman Gray" To: Ernie Luzar CC: Subject: Re: browser url for ipv4 address port other than 80 Date: Mon, 07 Sep 2020 18:58:34 +0100 X-Mailer: MailMate (1.13.2r5673) Message-ID: <054ABAD0-E4A2-4392-B359-AA11002F1D08@glasgow.ac.uk> In-Reply-To: <5F566FBE.4050502@gmail.com> References: <5F566FBE.4050502@gmail.com> Content-Type: text/plain; format=flowed X-ClientProxiedBy: LNXP123CA0018.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::30) To CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:8::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [130.209.33.150] (81.2.70.164) by LNXP123CA0018.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.15 via Frontend Transport; Mon, 7 Sep 2020 17:58:35 +0000 X-Mailer: MailMate (1.13.2r5673) X-Originating-IP: [81.2.70.164] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 293a7d64-1126-4a45-d3dc-08d85357a471 X-MS-TrafficTypeDiagnostic: CWLP265MB1396: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ++JmfDmzGGBGoKCKXkaHxmQOXdMaOLUgAqtQ0S/4ZLjPwYUYPr+wgUqNfGgFTxUaCkxCmHHmR3ILTbB6wlgpKVTCj8rvx2bf0W8iEIcliA3nOdvquomSfk6a8MF+bTWqjh2L292Jl9mjxm3PMLldrEF+X7d+LNfod371aQ+eXHlOpvmeLY3JZKPumyy52Yau8K/l3jKG35oMVaXjS+GtTbQR/tJa+cLrkhkFodABwjQltxdMvu0rJVjzTYx+9Gnm2BUYzAMRfj8NkP1+3jRBBYAd2gnh289i8ZyJ1hx0Tdm8Tm9avjTmN4WifYIerXWTI9SyZrGcy/cfxkPs/bdDq0aohdgT5MEuZWIlrphdz0ORmjxDxbFJDhGKqHCKqL/L1yZtOGPEr6dKYLv2D8wrfezb60WVWCRnPz2TZb+fq0OOKkRDHGpL3ZFR1JOd6gmVkbfsQAgBOcXPF7UxIWmV8Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(6019001)(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(8676002)(16526019)(316002)(26005)(86362001)(4326008)(956004)(2616005)(53546011)(66946007)(36756003)(66574015)(83080400001)(5660300002)(2906002)(66556008)(186003)(66476007)(786003)(4744005)(33656002)(6916009)(6706004)(52116002)(16576012)(8936002)(6486002)(966005)(478600001)(78286006); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: hg3nINaS3CsEDycjURAZ6pXh0Tv0cxEyd2XVVCdVkFe805k8acpkylFeGP7iU6RINp56X7Ub2YMhfu0+luhPXgXefQk2sKiXYIeQ5kHr0jwBMiPmqIOzycYsF4s9aMRwRXDDOul3uIyUiY7Je/iSxcwG9JcoRRxjaYVGZGpe4huMSHHDF9cxOpm3x+haYsE+9XMRJI0yQDlQbNW9Wpb4/r3iZ62TFMyslWALfoRf08AG4pKfzGXdzW9wrGb5YPKuOdKiLjD3ROrGEYaxQE9RuwmCpveu14uVo2KtZzu1addryc1DiAsm2OLDacfs+gtVsd8ohSVhOipExTkDA4t7P5nilhY+xl2fPz/NO0JtqFs1WvN2zvYQJJRYBgIWafCUEC8FyWQYrxk/ayS9wCXHj8vtdlvdrfTy5BlUQ9i8JT35QJSUgn27tj81fPIrx5kGC4/iuUKJJ41Dwrbntp2IbFRpfYVPUbXrz/Bw2LJA/fdnfBRq00a+xCBeJux9VIjqb5vL8s6UzjhusibHsRdk/Wx69YN8ChlcqhJTROzv5TIY83I0MzqZH7aYD8ZyIoKDgZwKgPf60z6/4G8vO33AiLDFb6JHbcpLW6U9EeZro3DFrLmXf0FBdwFbKY/dMvuQSRxf7TcqyOjr6OXScFCABQ== X-MS-Exchange-CrossTenant-Network-Message-Id: 293a7d64-1126-4a45-d3dc-08d85357a471 X-MS-Exchange-CrossTenant-AuthSource: CWXP265MB0149.GBRP265.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2020 17:58:36.1597 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 6e725c29-763a-4f50-81f2-2e254f0133c8 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: A3uFnnQBTkWTBkMcAzK9x964OXejOOpmF36zI+a0dYNElj1sJ9b+jNNhevA8f8FQuSUy+yEkw3x8qYh5HcUAG7Gka4E7rJchHVr8N6XOHSc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CWLP265MB1396 X-OriginatorOrg: glasgow.ac.uk X-Rspamd-Queue-Id: 4Blbcd4J1zz4SWH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gla.onmicrosoft.com header.s=selector2-gla-onmicrosoft-com header.b=eQbyZsDw; dmarc=none; spf=none (mx1.freebsd.org: domain of Norman.Gray@glasgow.ac.uk has no SPF policy when checking 130.209.16.75) smtp.mailfrom=Norman.Gray@glasgow.ac.uk X-Spamd-Result: default: False [-4.59 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974]; R_DKIM_ALLOW(-0.20)[gla.onmicrosoft.com:s=selector2-gla-onmicrosoft-com]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[130.209.16.75:from]; NEURAL_HAM_LONG(-0.96)[-0.957]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[glasgow.ac.uk]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; NEURAL_HAM_SHORT(-0.66)[-0.660]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[130.209.16.75:from]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gla.onmicrosoft.com:+]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:786, ipnet:130.209.0.0/16, country:GB]; RCVD_COUNT_SEVEN(0.00)[7]; MAILMAN_DEST(0.00)[freebsd-questions]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Sep 2020 17:58:42 -0000 Ernie, hello. On 7 Sep 2020, at 18:37, Ernie Luzar wrote: > What is the syntax of browser url to target an ip address and a custom > port number. Simply add the port number to the domain name or IP address: http://example.org:8080/path http://10.0.0.1:8080/path The URI generic syntax is in RFC 3986 Best wishes, Norman -- Norman Gray : http://www.astro.gla.ac.uk/users/norman/it/ Research IT Coordinator : School of Physics and Astronomy // My current template week for IT tasks is: Monday, Tuesday, and Friday From owner-freebsd-questions@freebsd.org Tue Sep 8 00:34:54 2020 Return-Path: Delivered-To: freebsd-questions@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 533143DACCD for ; Tue, 8 Sep 2020 00:34:54 +0000 (UTC) (envelope-from wesley@magenta.de) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BlmPn3x13z3fy7 for ; Tue, 8 Sep 2020 00:34:52 +0000 (UTC) (envelope-from wesley@magenta.de) Received: from fwd29.aul.t-online.de (fwd29.aul.t-online.de [172.20.26.134]) by mailout12.t-online.de (Postfix) with SMTP id 137F741FD3CF for ; Tue, 8 Sep 2020 02:34:51 +0200 (CEST) Received: from spica30.aul.t-online.de (XjqZLyZl8hhZKdVlsYeik9xWWOZLtoy7daljp2EPQjbNymk3eIySd+J5Iuc8XiZg6b@[172.20.102.129]) by fwd29.aul.t-online.de with esmtp id 1kFRa3-36UEa00; Tue, 8 Sep 2020 02:33:51 +0200 Received: from 173.82.105.227:13012 by spica30.aul.t-online.de:8080; Tue, 8 Sep 2020 01:43:34 +0200 (CEST) Received: from 173.82.105.227:18126 by spica30.aul.t-online.de:8080; Tue, 8 Sep 2020 02:33:51 +0200 (CEST) Date: Tue, 8 Sep 2020 02:33:51 +0200 (CEST) From: wesley@magenta.de Sender: wesley@magenta.de Reply-To: wesley@magenta.de To: "freebsd-questions@freebsd.org" Message-ID: <1599522214733.631160.8cca193c2d3d42dbe7e584dc0892e33cac698c39@spica.telekom.de> In-Reply-To: <5F565D0E.6040902@gmail.com> References: <5F565D0E.6040902@gmail.com> Subject: AW: what is cmd to show port listen on MIME-Version: 1.0 X-ID: XjqZLyZl8hhZKdVlsYeik9xWWOZLtoy7daljp2EPQjbNymk3eIySd+J5Iuc8XiZg6b@t-dialin.net X-TOI-EXPURGATEID: 150726::1599525231-0000FF93-5AECF3D7/0/0 CLEAN NORMAL X-TOI-MSGID: 23071f15-f0d8-4edc-88cb-b7fce24fd259 X-Rspamd-Queue-Id: 4BlmPn3x13z3fy7 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of wesley@magenta.de has no SPF policy when checking 194.25.134.22) smtp.mailfrom=wesley@magenta.de X-Spamd-Result: default: False [0.33 / 15.00]; HAS_REPLYTO(0.00)[wesley@magenta.de]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; REPLYTO_EQ_FROM(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[194.25.134.22:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.70)[-0.702]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[magenta.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.21)[0.210]; NEURAL_HAM_SHORT(-0.08)[-0.081]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.22:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 00:34:54 -0000 I use =E2=80=9Cnetstat -ntl=E2=80=9D Regards -----Original-Nachricht----- Von: Ernie Luzar Betreff: what is cmd to show port listen on Datum: 08.09.2020, 00:17 Uhr An: freebsd-questions@freebsd.org I have not used in a long time. What is the command that shows the ports listened on. _______________________________________________ freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to=20 "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Tue Sep 8 06:05:04 2020 Return-Path: Delivered-To: freebsd-questions@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 DF7163E49EC for ; Tue, 8 Sep 2020 06:05:04 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: from serafino.rm-rf.it (serafino.rm-rf.it [192.165.67.94]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Blvkl3vYDz4Jfj for ; Tue, 8 Sep 2020 06:05:03 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: by serafino.fdc.rm-rf.it (OpenSMTPD) with ESMTP id 77e4f21a for ; Tue, 8 Sep 2020 08:04:54 +0200 (CEST) Received: from robinhood.fdc.rm-rf.it (robinhood.fdc.rm-rf.it [192.168.192.50]) by valentina.fdc.rm-rf.it (Postfix) with ESMTP id 18BA61F9FE for ; Tue, 8 Sep 2020 08:04:53 +0200 (CEST) Received: from gpiero (uid 1000) (envelope-from gpiero@rm-rf.it) id 5a00a7 by robinhood.fdc.rm-rf.it (DragonFly Mail Agent v0.12); Tue, 08 Sep 2020 08:04:53 +0200 Date: Tue, 8 Sep 2020 08:04:53 +0200 From: Gian Piero Carrubba To: freebsd-questions@freebsd.org Subject: Re: what is cmd to show port listen on Message-ID: <20200908060453.hdkfi2gtsqfsfa7t@robinhood.fdc.rm-rf.it> References: <5F565D0E.6040902@gmail.com> <1599522214733.631160.8cca193c2d3d42dbe7e584dc0892e33cac698c39@spica.telekom.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1599522214733.631160.8cca193c2d3d42dbe7e584dc0892e33cac698c39@spica.telekom.de> X-Rspamd-Queue-Id: 4Blvkl3vYDz4Jfj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gpiero@rm-rf.it designates 192.165.67.94 as permitted sender) smtp.mailfrom=gpiero@rm-rf.it X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.78)[-0.783]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:192.165.67.94]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.95)[-0.945]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[rm-rf.it]; NEURAL_SPAM_SHORT(0.01)[0.013]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:34971, ipnet:192.165.67.0/24, country:IT]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 06:05:04 -0000 * [Tue, Sep 08, 2020 at 02:33:51AM +0200] wesley@magenta.de: > I use “netstat -ntl” Do you happen to have a non-standard netstat incarnation installed? Those parameters are fine on Linux (though you assumed OP only looked for TCP ports), but aren't recognized by the standard FreeBSD netstat. From owner-freebsd-questions@freebsd.org Tue Sep 8 10:21:15 2020 Return-Path: Delivered-To: freebsd-questions@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 3FDFF331CF4 for ; Tue, 8 Sep 2020 10:21:15 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from echo.brtsvcs.net (echo.brtsvcs.net [208.111.40.118]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Bm1QL2nYHz4X6Y for ; Tue, 8 Sep 2020 10:21:14 +0000 (UTC) (envelope-from list_freebsd@bluerosetech.com) Received: from chombo.houseloki.net (65-100-43-2.dia.static.qwest.net [65.100.43.2]) (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 "chombo.houseloki.net", Issuer "brtsvcs.net CA" (verified OK)) by echo.brtsvcs.net (Postfix) with ESMTPS id EFBC038D25 for ; Tue, 8 Sep 2020 10:21:06 +0000 (UTC) Received: from [IPv6:2602:41:642b:630:dd2a:ba9e:2d4a:7c5f] (unknown [IPv6:2602:41:642b:630:dd2a:ba9e:2d4a:7c5f]) by chombo.houseloki.net (Postfix) with ESMTPSA id B6443FD for ; Tue, 8 Sep 2020 03:21:05 -0700 (PDT) To: freebsd-questions@freebsd.org From: Mel Pilgrim Subject: Is an HP P812 (ciss(4) RAID) usable for ZFS? Message-ID: Date: Tue, 8 Sep 2020 03:21:06 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bm1QL2nYHz4X6Y X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of list_freebsd@bluerosetech.com designates 208.111.40.118 as permitted sender) smtp.mailfrom=list_freebsd@bluerosetech.com X-Spamd-Result: default: False [-0.61 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.88)[-0.885]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.35)[0.351]; DMARC_NA(0.00)[bluerosetech.com]; NEURAL_HAM_MEDIUM(-0.77)[-0.771]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:208.111.40.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 10:21:15 -0000 I've gotten my hands on a couple of HP Smart Array P812 RAID controllers. They'd be a nice upgrade from the aging LSI cards I have now, but I'm not sure if they'll work. I know they're supported by ciss(4), but my use case is ZFS and searching has gotten me conflicting answers. Some comments say there is an HBA mode flag that can be set, others say that flag doesn't work. I know about the "make a bunch of 1-disk RAID 0 volumes" workaround, but that's leaving the RAID controller between ZFS and the disks, which I don't want to do. Is an HP Smart Array P812 RAID card usable as an HBA for ZFS? From owner-freebsd-questions@freebsd.org Tue Sep 8 11:36:06 2020 Return-Path: Delivered-To: freebsd-questions@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 2491B333E6E for ; Tue, 8 Sep 2020 11:36:06 +0000 (UTC) (envelope-from rustam-m@ukr.net) Received: from frv196.fwdcdn.com (frv196.fwdcdn.com [212.42.77.196]) (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 (2048 bits) client-digest SHA256) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bm34h6tXYz4bhV for ; Tue, 8 Sep 2020 11:36:04 +0000 (UTC) (envelope-from rustam-m@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Type:MIME-Version:Message-Id:Cc:To:Subject:From:Date:Sender: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=N3XCzcSvTEQ0vjpA+iTRu6FkezxPv+qV6aI41YtKABg=; b=e wEBXbhIhT7zVgYSs5nVT9jeKh+P2hgMArmp8IYYRfL+9REuCE4u92c0aZZ3UakldH+fRDA0NRHGhs qsBfB99V9B7sdD3N9BGxnXVoXq1XWfvn+ODe1y8a0Om/GZJEVrlTC1kj2E5KQeq1bK6evxDeqtFRH 83YrM7SIaASvD8hU=; Received: from [10.10.80.12] (helo=frv50.fwdcdn.com) by frv196.fwdcdn.com with smtp ID 1kFbum-0009n0-OL for freebsd-questions@freebsd.org; Tue, 08 Sep 2020 14:35:56 +0300 Date: Tue, 08 Sep 2020 14:35:56 +0300 From: Rustam Subject: Can't get working USB modem Huawei E3372h-320 To: freebsd-questions@freebsd.org Cc: Received: from rustam-m@ukr.net by frv50.fwdcdn.com; Tue, 08 Sep 2020 14:35:56 +0300 Message-Id: <1599564061.688364000.y450x494@frv50.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Bm34h6tXYz4bhV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ukr.net header.s=ffe header.b=e wEBXbh; dmarc=pass (policy=none) header.from=ukr.net; spf=pass (mx1.freebsd.org: domain of rustam-m@ukr.net designates 212.42.77.196 as permitted sender) smtp.mailfrom=rustam-m@ukr.net X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[212.42.77.196:from]; R_DKIM_ALLOW(-0.20)[ukr.net:s=ffe]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[ukr.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.02)[-1.024]; MIME_BASE64_TEXT_BOGUS(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[ukr.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.42.77.0/24]; DKIM_TRACE(0.00)[ukr.net:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[ukr.net,none]; NEURAL_HAM_SHORT(-0.37)[-0.372]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[ukr.net]; ASN(0.00)[asn:8856, ipnet:212.42.77.0/24, country:UA]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 11:36:06 -0000 We use a FreeBSD gateway. Lately we have to change our ISP and chose wireless Internet via modem Huawei E3372h-320 (HiLink). Modem works fine on different Windows PC's (Win7/Win10/USB2.0/USB3.0) - internet available. But when connect to our FreeBSD - modem can't be detected correctly. On console repeatedly appears messages like: ugen7.4: at usbus7 cdce1 on uhub8 cdce1: on usbus7 ue1: on cdce1 ue1: Ethernet address: 00:1e:10:1f:00:00 ugen7.4: at usbus7 (disconnected) cdce1: at uhub8, port 1, addr 4 (disconnected) cdce1: detached usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_IOERROR usb_alloc_device: Failure selecting configuration index 0:USB_ERR_IOERROR, port 1, addr 4 (ignored) See photo of the screen: https://picua.org/image/Me2Hvf When executing 'usbconfig' command repeatedly, most of times results shows empty usb ports. But sometime I can see device 'HUAWEIMOBILE HUAWEIMOBILE' for short time (it disappears at next time). When repeatedly execute 'ifconfig -a' sometimes we got an automatically created interface ue0/ue1, which then vanishes. This looks like modem repeatedly connects/disconnects from USB port. First we assume this is because of not enough power from USB. We move HDD with FreeBSD into another PC - the same behavior. Then I solder hand-made USB cable - attach an extra 2 wires in parallel to V+/G wires of factory cable and turn on them into an external 5V USB charger while modem keep connected via factory cable. Got no effect. So, this is not a hardware problem (or am I wrong?). I try increase values of hw.usb.timings.* in 'loader.conf' - no effect. May be someone can point me to another variables? May be I need load/unload/configure some kernel modules? Previously we have another modem Huawei EC315 (VID=0x12d1/PID=0x1f01), which works fine connected to that system (with help of 'usb_modeswitch'). So, my question: does anyone make this modem works on FreeBSD or have similar troubles with other devices? Can you point me in right direction? My system: FreeBSD 12.1-RELEASE-p9 GENERIC  i386 Modem info: H/W version = CL4E3372HM, F/W version = 10.0.3.1(H192SP2C983) 'dmesg' of worked modem EC315 ('ue0' appears after 'usb_modeswitch' by startup script): ugen7.2: at usbus7 umass0 on uhub1 umass0: on usbus7 umass0:  SCSI over Bulk-Only; quirks = 0x0100 umass0:6:0: Attached to scbus6 cd0 at umass-sim0 bus 0 scbus6 target 0 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd0: quirks=0x10<10_BYTE_ONLY> umass0: at uhub1, port 1, addr 2 (disconnected) cd0 at umass-sim0 bus 0 scbus6 target 0 lun 0 cd0:  detached (cd0:umass-sim0:0:0:0): Periph destroyed umass0: detached ugen7.2: at usbus7 (disconnected) lo0: link state changed to UP em1: link state changed to UP WARNING: attempt to domain_add(netgraph) after domainfinalize() ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled ugen7.2: at usbus7 cdce0 on uhub1 cdce0: on usbus7 ue0: on cdce0 ue0: Ethernet address: 00:a0:c6:xxxxxx From owner-freebsd-questions@freebsd.org Tue Sep 8 17:12:16 2020 Return-Path: Delivered-To: freebsd-questions@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 F38F93D0046 for ; Tue, 8 Sep 2020 17:12:16 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BmBXc5Q68z43Sy for ; Tue, 8 Sep 2020 17:12:16 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B9CF33D018A; Tue, 8 Sep 2020 17:12:16 +0000 (UTC) Delivered-To: questions@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 B997B3CFF55 for ; Tue, 8 Sep 2020 17:12:16 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmBXc0Vc1z43QX for ; Tue, 8 Sep 2020 17:12:15 +0000 (UTC) (envelope-from kowalczt.fbsd@gmail.com) Received: by mail-lj1-x22b.google.com with SMTP id n25so10123773ljj.4 for ; Tue, 08 Sep 2020 10:12:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MIFuALn6rbJ/2+IcsdmkKNmQ2y3zW1xmbTYc0W11x+4=; b=Mh7NyCbu8JFoSQVEPcFy5XAdNazQejGlrJU9mpQ5OxHTsxhYEsjWl+OnUBy/8B2GwT tksrDvOwaYtDxIB4ob0v2vXzHYDUYqTbu1IaqB+x/HObasrkERJ5juwAw14gMtxNKDww 30SbJljZFb37A5d3cLYBJUWU4F+boED3+Vuji19GugZMFESlfOLg/yebEjOPPnxYWgyu aDMg4pm+HfpQshnppKvP3cLzrEqjtv9MeRvlbKcNsvKWf9RCIgc56JXbb8c1pws9tggv EkWclDXOAUFQb9Mk3qxm03JpJH8I3Iz6TU3DTkRi8sLGW+wEztFLiy7N8V+HdQPm8ePR Esew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=MIFuALn6rbJ/2+IcsdmkKNmQ2y3zW1xmbTYc0W11x+4=; b=Zv8qKDZW/KETOsuTgT3LliQU245IqpYCDeWZoiNfoNscBGJLKBsVaweTEZFGVZ96// F2MKQFLxfZarumvZwWFmABRfY0Q7PGFte/Elqs578laZbWv9Bqfsl9Auajys8m2CZ4ND IDRnjtbKZDkEYq68Eqe9x6QScjR6sSVkmBmRBPiWT989aEXEBdCD3qzyjzTih3s+fsNm 1NX6kzEUlqjDWEAq3pYy99AiJWEMJhutEFHGlLsX+MrCdaSSwgKaQ3cvpan7O8S1Tdnn 0wrM0NOvOcP5V5WgiB9aHQdtJ+ShVkA7mpI1X3hFZsN38zFrv99hWWskklZLYt5KJA4B LRlQ== X-Gm-Message-State: AOAM533eWlJ+Y0KsyCPE2Xv+fNxh5IpTiQN5Rbji9SEwvCKJD/PBWrPS z31z80Wax9AnYe+XTUtqiYU= X-Google-Smtp-Source: ABdhPJxH96hWpKCnWuPXOJnPgSQgNsQ+pU0zAmgQCR4UkZfJypo0Bu5txY1DZ3Uxr9g2AY1Gn9NYMA== X-Received: by 2002:a2e:141c:: with SMTP id u28mr2030841ljd.72.1599585133387; Tue, 08 Sep 2020 10:12:13 -0700 (PDT) Received: from [192.168.0.10] (94-172-76-61.dynamic.chello.pl. [94.172.76.61]) by smtp.gmail.com with ESMTPSA id q6sm50872lji.0.2020.09.08.10.12.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Sep 2020 10:12:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.6\)) Subject: Re: Booting EFI system without EFI loader From: Tomasz Kowalczyk In-Reply-To: Date: Tue, 8 Sep 2020 19:12:11 +0200 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <73648D9F-23F0-439E-AA03-5591C21EB520@gmail.com> References: To: Kevin Oberman X-Mailer: Apple Mail (2.3445.9.6) X-Rspamd-Queue-Id: 4BmBXc0Vc1z43QX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Mh7NyCbu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kowalcztfbsd@gmail.com designates 2a00:1450:4864:20::22b as permitted sender) smtp.mailfrom=kowalcztfbsd@gmail.com X-Spamd-Result: default: False [-3.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.60)[-0.599]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[94.172.76.61:received]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 17:12:17 -0000 In general, if you have EFI partition on your disk, u can use it to = store boot loaders. If u can boot FreeBSD in any way, u can check there : gpart show Then mount_msdosfs /dev/adaXpY /anywhere your EFI partition. Next you do mkdir -p /yourEFImountpoint/EFI/freebsd cp /boot/loader.efi /yourEFImountpoint/EFI/freebsd/ Next part is adding your FreeBSD boot loader to your Bios. efibootmgr -c -L FreeBSD -l /yourEFImountpoint/EFI/freebsd/loader.efi Reboot system, and hit F12(or any other key) to select boot option You should see FreeBSD there. > On 7 Sep 2020, at 03:47, Kevin Oberman wrote: >=20 > I know it's possible, because I did it once by accident. Now I need to = do > it again. > I had completed the installation and tried to boot the new system. It > worked when I tried to boot the USB stick, but something failed with = the > message that no valid system was found and prompted for the bot drive. = I > entered ufs:disk0p6: and the newly installed system came up! I then = updated > to current and built the world and kernel and installed the kernel. = Now I > need to reboot. >=20 > I can't figure out how to get the loader to ask for the boot disk > (partition). I tried installing the loader into the efi partition as = per > the handbook, but my system was too smart. It didn't like the new > bootx86.efi file and "fixed" it! ARG! >=20 > Any clue as to how to force my system to boot and NOT "AUTOREPAIR" = itself? > I want to install rEFInd using Niclas Z's instructions as soon as can. >=20 > I seem to be asking for help a lot, but I have not had to deal with = this > stuff since going to EFI. FWIW, the system is a Lenovo L15 (Intel). > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Tue Sep 8 18:49:59 2020 Return-Path: Delivered-To: freebsd-questions@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 76B733D35AE for ; Tue, 8 Sep 2020 18:49:59 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BmDjM1vZxz4H2K for ; Tue, 8 Sep 2020 18:49:59 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 3F8E13D35AD; Tue, 8 Sep 2020 18:49:59 +0000 (UTC) Delivered-To: questions@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 3F49F3D3456 for ; Tue, 8 Sep 2020 18:49:59 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmDjL41cnz4Grg for ; Tue, 8 Sep 2020 18:49:58 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id 185so17418369oie.11 for ; Tue, 08 Sep 2020 11:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jDSeXHVxtcfnh0sAY6zPV7wQ171mVw/pfWPTvEBAcoQ=; b=A1v5Pq92GtfnRY5iNYbb7qIVMgLOtvItTOcSiAQ9vrrZc/xfNfI1rkKaIogZnZMck/ meVjDIr3EdmZ372A+zOzF5XySNXanDurFavpWO/IWKDgnXFzMdpoZzDZmNplmQWiz/D0 ptLEZyHrZcYTP/BuLILeTcLf9HLIDXdvbqHshQztjVTZxTLRLis2zFTfeaS2RN5HKqJ0 QB3SHsuRTg0efjhW4+74yK5yt5Chpp2fzc4lKwrDBEXxDiX4wtfnmO55vs4gjiC73wx6 o7mscfZv+nh4psY8bGEPxUey6d1TixVEZsqzpzI/YLaPseOG1r5cPJ+1gQPwqV3HlvSs MylA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jDSeXHVxtcfnh0sAY6zPV7wQ171mVw/pfWPTvEBAcoQ=; b=ZqLAG+W0B5qgoIdXzJ/FNo7tXIAjoep1s7vcDRMaXPUhH5/PsJbnI/RejuSYXcY/Qr sFMWWPLCSXz/EA7Bak0HzzXCjC4EWmIDmrGifmWYgFGdd7GEmZprBCSiffLwFja7vg/h Wya22plWpUgh/4mRkqYF2RjlYLs5RysD9wpwbL+TCgmFF6e6vOXXygfO8QeEwwFRVvmw CrejVQrt+jC4nDb8i83ulO8pCpYwUb8LZZghlaOdCHuN/Rl6vmrL0qA4zyhHDyARVIEe /lCGYD7p3KxlGFHQVEwI1dXRkbVR/El5QTMOQDwyKZ5ykhcxaFMrigX3P1cDYOFd3bil UOhA== X-Gm-Message-State: AOAM530ebJmtTztGxumCBcCHdWeJ/NpNTmavm+4pN6g/HYmnD9RAQRLU q2pa5XckyC571L433VdS3kgh9M5+E4H6/caV2yfQZPmxAOQ= X-Google-Smtp-Source: ABdhPJzTjovfPZ4csi5p3MY3xmrSU4D9tgrxkb1d86aFjLeeWovOxEeEG3JNVk3SA0Qb22vG/XiD0g/jKSpC9lqjPjY= X-Received: by 2002:aca:c50b:: with SMTP id v11mr250831oif.76.1599590997103; Tue, 08 Sep 2020 11:49:57 -0700 (PDT) MIME-Version: 1.0 From: "S. Franks" Date: Tue, 8 Sep 2020 11:49:45 -0700 Message-ID: Subject: first use of virtualbox on fbsd host To: questions@freebsd.org X-Rspamd-Queue-Id: 4BmDjL41cnz4Grg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=A1v5Pq92; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bahamasfranks@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=bahamasfranks@gmail.com X-Spamd-Result: default: False [-2.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.993]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22d:from]; NEURAL_SPAM_SHORT(0.02)[0.024]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 18:49:59 -0000 Y'all, I've got some machines on my linux host I'd like to try on the fbsd host. On linux, it's easy: copy the .vbox, and .vdi file to /home/$USER/.VirtualBox folder, run the gui, and it's right there in the list. If not, manually edit the vbox file with a txt editor to fix the path that's causing compliants. Edit vbox.xml file worst-case. Simple. I suppose I should mention the fbsd server is headless, which is probably 9/10th's of the problem, since I can't run the control gui so it's never created the deafult files? I searched the entire system, there's no vbox xml file, probably cause I haven't ever successfully loaded a machine on this system? There doesn't seem to be any vbox folders or files in /etc, /usr/local/etc, /usr/share, etc. The handbook only tells you how to install vbox, with zero info on making it run (so I guess it's supposed to 'just work' for people who aren't idiots; sadly not a set which includes myself apparently). I did convince some of the shell commands to error out with references to /root/.config/virtualbox, but I can't seem to get the commands to recognize the vbox and vdi files when I place them in that path either. Totally stumpped! Many thanks! From owner-freebsd-questions@freebsd.org Tue Sep 8 18:56:41 2020 Return-Path: Delivered-To: freebsd-questions@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 EB79F3D3A5A for ; Tue, 8 Sep 2020 18:56:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) 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 4BmDs55Kpvz4Hkc for ; Tue, 8 Sep 2020 18:56:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mailman.nyi.freebsd.org (Postfix) id B6F473D3B3B; Tue, 8 Sep 2020 18:56:41 +0000 (UTC) Delivered-To: questions@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 B6BAC3D3CB8 for ; Tue, 8 Sep 2020 18:56:41 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmDs42bZmz4Hvc for ; Tue, 8 Sep 2020 18:56:40 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd2b.google.com with SMTP id d18so434129iop.13 for ; Tue, 08 Sep 2020 11:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=FaVOxcZ5wECPcTLKBp8E7XpAQlrgvMawpkajnZVaslY=; b=AZF5SHzTPh5YBRjAZqQ3WsyCisRsuLiSqwxV2jA2j7mc7g1NsH7GKILV+UvaZbQXO2 uXYA7g6Pkl/DJBzFTAD31a/t//I2iYH/OZtD6JCLR4yPyVAFX6tFaK2JYV0aSN5zq8uG 10mtfZ6TryllCHD2BujEcev4DIBGO/AeHUHes= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=FaVOxcZ5wECPcTLKBp8E7XpAQlrgvMawpkajnZVaslY=; b=SZhsGM6s6pYwQfWKVOq6LWUtlTYvMZqINQc1mPi/R9z784+WYARi8d3iTMKTGLAcWd qPM92mZloBKQY9H/eiQG6Viyo03D4kP5O5ae9a1u5hBqBaTbSECVLdl0ipvVq/m+bsgI geIKy2gKkU97TL71YU+S8D2nvtqRh1YthdOQGKa4rdPnXfz7q2f0jx/n0FJF3kODlPcq zFNc9eESm3X2MHOgbFwkNAgoey3nYyeNthmDxLvjfOCNz2gwkNMyNQgYLLfscgMIxd1R zR3IxM6eyLRH6UFAcGq9mKe9TTX+yPabnAsfdjq624H6U6SeM+GbF43tcFS/I3rk6uOC 17Lw== X-Gm-Message-State: AOAM530Ctvp0FxoT4vb8djfYyRkjoN1fBZg39VzFaVHT8VuV6pGjxbGE Ft4Wl4/xylL882JtGhWUoNrVSwQLbWp/iKVD5F1SxEAyMfY= X-Google-Smtp-Source: ABdhPJxDWyOagyp2GVjpiI2BBIzSjBOYIcay+dM0uaFQZ6VE9MHH7LTsR7mLO0p1uAUSnJfKuDA/aEE/J0gGxdz2wAc= X-Received: by 2002:a5d:995a:: with SMTP id v26mr246270ios.176.1599591399183; Tue, 08 Sep 2020 11:56:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mario Lobo Date: Tue, 8 Sep 2020 15:56:27 -0300 Message-ID: Subject: Re: first use of virtualbox on fbsd host To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BmDs42bZmz4Hvc X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=AZF5SHzT; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-2.28 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.890]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.977]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2b:from]; NEURAL_SPAM_SHORT(0.09)[0.090]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 18:56:42 -0000 On Tue, Sep 8, 2020 at 3:50 PM S. Franks wrote: > Y'all, > > I've got some machines on my linux host I'd like to try on the fbsd host. > > On linux, it's easy: copy the .vbox, and .vdi file to > /home/$USER/.VirtualBox folder, run the gui, and it's right there in the > list. If not, manually edit the vbox file with a txt editor to fix the path > that's causing compliants. Edit vbox.xml file worst-case. Simple. > > I suppose I should mention the fbsd server is headless, which is probably > 9/10th's of the problem, since I can't run the control gui so it's never > created the deafult files? I searched the entire system, there's no vbox > xml file, probably cause I haven't ever successfully loaded a machine on > this system? There doesn't seem to be any vbox folders or files in /etc, > /usr/local/etc, /usr/share, etc. The handbook only tells you how to install > vbox, with zero info on making it run (so I guess it's supposed to 'just > work' for people who aren't idiots; sadly not a set which includes myself > apparently). > > I did convince some of the shell commands to error out with references to > /root/.config/virtualbox, but I can't seem to get the commands to recognize > the vbox and vdi files when I place them in that path either. Totally > stumpped! > > Many thanks! > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Even if it's headless, you can still run VirtualBox GUI through SSH with x-forwarding. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] From owner-freebsd-questions@freebsd.org Tue Sep 8 19:07:59 2020 Return-Path: Delivered-To: freebsd-questions@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 F18533D3E57 for ; Tue, 8 Sep 2020 19:07:59 +0000 (UTC) (envelope-from kob6558@gmail.com) 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 4BmF675Mznz4JL9 for ; Tue, 8 Sep 2020 19:07:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B83E63D4067; Tue, 8 Sep 2020 19:07:59 +0000 (UTC) Delivered-To: questions@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 B7FCB3D4211 for ; Tue, 8 Sep 2020 19:07:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmF670M9zz4JNx for ; Tue, 8 Sep 2020 19:07:58 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x330.google.com with SMTP id n61so127299ota.10 for ; Tue, 08 Sep 2020 12:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PUWQTqjQ/V0jKsPJ/4aS2RMD5ZyPl/i0nd7nA+SrZFk=; b=YxPx4XgnWQ11VSdkcSNwdKmgMUPROU79S9jsIZTGgciC01WdR7PvN+xwEMvUguEKAO CGmXOJLeBT9/uGnFHn3alPj+gUIttbMxVt8vAL/QmLpGhZQ2GNNq2HyCnm224pPjeiTM ttzLtPI7Chqfg6Xptx15PTVewhzs1/J8jKbZNsFXFDXeQGmbIcj4ZJJcoN0NsFloTshJ pPMxtbsc+DNW45VE/LZwD8ibOnUDjBamodcIy5HWML2NFjwBbkfMvh4P+vgmf5TJ0cQN 1fPfMs1RjLwv1HFaskpo7Qn1sn0aeL7o2GgJY/8qyUiwQNwjFJmgzmBUEFkAgWAhiMTq dnqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PUWQTqjQ/V0jKsPJ/4aS2RMD5ZyPl/i0nd7nA+SrZFk=; b=nsEBk2ACCeLa8rQz+5ovaXwgLO6a5WmwvY70kiThY5qjEqKV/E7pFgC2D3kuuIUaRJ lWPmffbPcdEDO4okdop+a1HkNvjbpY3h/6MiLWPIk6SQAITuvQ8oalcDlCLhPyezNNcz IrPiB76/QsSpvYW6GEpfDfDhVwnynEvF3IphI7BrDPtISoD4Q/OZ8t6pxGR/hR0IM2ap wwh6zE4PUjuRAA+uTBB+H4+57oMH7Jur2exFjvD/F6HM17cUf5v2hj3ys2lYSLTl49Gd tsChl7a2YPAHSH/5Amy6Avj70ubKraqqmXSoaHnXjzRZtrTo6O9IqgDHMWcKx52MboKK OJQw== X-Gm-Message-State: AOAM532t5SrAF/KLiXf6ks2oebJ6YgP717br57NJVsDGdxxNlXjgHYnw 1tYXU0jU5qLW8vUltGPj8S7O4b9fm3oEGTC9AbY= X-Google-Smtp-Source: ABdhPJyRx4XtGrWnpoTt9OKCm75nyu83+uEzJ/QPnC0t17MWogqueK5BIdp2uvRBeb37XB+9w1qtvrRMScvjZUwTROY= X-Received: by 2002:a9d:ea5:: with SMTP id 34mr371970otj.199.1599592077664; Tue, 08 Sep 2020 12:07:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Tue, 8 Sep 2020 12:07:48 -0700 Message-ID: Subject: Re: first use of virtualbox on fbsd host To: Mario Lobo Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BmF670M9zz4JNx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YxPx4Xgn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::330 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.988]; NEURAL_HAM_SHORT(-0.79)[-0.789]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::330:from]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 19:08:00 -0000 To cleanly move a VB VM to a new system, it's usually best to export it to an OVA, copy the .ova file to the new system, and import it. I Google and found a page with a nice set of commands to do it without a GUI, but my system is in transition to a new box and it will take a bit of hunting to find it. If I find it, I'll follow up. Or, maybe someone else will post it. On Tue, Sep 8, 2020, 11:56 Mario Lobo wrote: > On Tue, Sep 8, 2020 at 3:50 PM S. Franks wrote: > > > Y'all, > > > > I've got some machines on my linux host I'd like to try on the fbsd host. > > > > On linux, it's easy: copy the .vbox, and .vdi file to > > /home/$USER/.VirtualBox folder, run the gui, and it's right there in the > > list. If not, manually edit the vbox file with a txt editor to fix the > path > > that's causing compliants. Edit vbox.xml file worst-case. Simple. > > > > I suppose I should mention the fbsd server is headless, which is probably > > 9/10th's of the problem, since I can't run the control gui so it's never > > created the deafult files? I searched the entire system, there's no vbox > > xml file, probably cause I haven't ever successfully loaded a machine on > > this system? There doesn't seem to be any vbox folders or files in /etc, > > /usr/local/etc, /usr/share, etc. The handbook only tells you how to > install > > vbox, with zero info on making it run (so I guess it's supposed to 'just > > work' for people who aren't idiots; sadly not a set which includes myself > > apparently). > > > > I did convince some of the shell commands to error out with references to > > /root/.config/virtualbox, but I can't seem to get the commands to > recognize > > the vbox and vdi files when I place them in that path either. Totally > > stumpped! > > > > Many thanks! > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > > Even if it's headless, you can still run VirtualBox GUI through SSH with > x-forwarding. > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Sep 8 19:46:30 2020 Return-Path: Delivered-To: freebsd-questions@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 EA4B73D571D for ; Tue, 8 Sep 2020 19:46:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BmFyZ599Qz4Lng for ; Tue, 8 Sep 2020 19:46:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id B13F53D578E; Tue, 8 Sep 2020 19:46:30 +0000 (UTC) Delivered-To: questions@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 B10193D526E for ; Tue, 8 Sep 2020 19:46:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmFyY52lnz4LfZ for ; Tue, 8 Sep 2020 19:46:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id o6so269884ota.2 for ; Tue, 08 Sep 2020 12:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PMC5Filo8dlLH5J8YM0inpDcbItgn/UMOI2NJ4IHMnk=; b=nYK/linACbb3x0/M6F8kdZw9R8yw521SntWOV1OMQp2M13shpNLv9n8wg6LyHjwuNc /36uZy4bNcWlk5RcpC2pwhMupWsJGfpYtOv+Pn+dAmF1boNVN7KDPCtQLXM2g4c82FVW k1vw0VqdwdXrSNrBtN9VvmqVLaIScFfQ6Iz+jWfGuzVXwnrR3G+Ex3M8Kr3cfZn7qC9W bM6KkVwxSg9JFs3NgKHHFhaaV2t4qR8D7oLZChfaMa8qZc699fh/ywxsSYBkZwaoHld3 Birxwa64fFUbfKCTdCRskNC2+h2WGtWcB8Fa5ZY62R6SZ+R1GAUYRGjGnZtvEwzBgIPj DBrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PMC5Filo8dlLH5J8YM0inpDcbItgn/UMOI2NJ4IHMnk=; b=dNMguNVGvQhdIL183KfkNKRH/aWHObNyllDOPhCnoLx+IugrvgsYrwH9a3XgHrkZ9J wz/42H1YXJStWNA0pjHREm1k038gVhjvjeo3biySONUcs0SpCqAnUU71tKaWulGt4vk9 DGKtUszHwecEjXZyjWqHNIgHJaZHTliYD+XObjGlCMoL6FPfIDcyeR1LQl7nTXt8KvZo Zu0055xZIckxGDhLONXBulL3FPm0fiNkmnfBunyALc4YHGEzwUfSDoAAKmUfTo/cFD/O 96zeoldPSQlYPwl3wyua8mDngiFCe0ClY49C0ePrIc6TJWaqQllurRjqEE99XS1Lii8y FFvw== X-Gm-Message-State: AOAM5317FhXUQpAvzyp6HRlBNsy0iPuP7qkgWIXy22ip/gomuf/5Kp60 4yrlnHUc7MMRhjxqWXJBz3iD9LRA3wa6R2sfK3R6jhnJRPc= X-Google-Smtp-Source: ABdhPJynxPDo3MrBMaLAxCrRKXbjf7397jH69hOF06CjO1ewlVfnVkYnEFSrb1U/U0NmFqwg5+6tgKpSUWC67cJ0BEc= X-Received: by 2002:a9d:ea5:: with SMTP id 34mr478424otj.199.1599594388473; Tue, 08 Sep 2020 12:46:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Tue, 8 Sep 2020 12:46:19 -0700 Message-ID: Subject: Re: first use of virtualbox on fbsd host To: Mario Lobo Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BmFyY52lnz4LfZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=nYK/linA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::32b as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.989]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32b:from]; NEURAL_HAM_SHORT(-0.79)[-0.792]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 19:46:31 -0000 There are many sites with information on use of vboxmanage, but the first I found is https://www.techrepublic.com/article/how-to-import-and-export-vitualbox-appliances-from-the-command-line/ On Tue, Sep 8, 2020, 12:07 Kevin Oberman wrote: > To cleanly move a VB VM to a new system, it's usually best to export it to > an OVA, copy the .ova file to the new system, and import it. I Google and > found a page with a nice set of commands to do it without a GUI, but my > system is in transition to a new box and it will take a bit of hunting to > find it. > > If I find it, I'll follow up. Or, maybe someone else will post it. > > On Tue, Sep 8, 2020, 11:56 Mario Lobo wrote: > >> On Tue, Sep 8, 2020 at 3:50 PM S. Franks wrote: >> >> > Y'all, >> > >> > I've got some machines on my linux host I'd like to try on the fbsd >> host. >> > >> > On linux, it's easy: copy the .vbox, and .vdi file to >> > /home/$USER/.VirtualBox folder, run the gui, and it's right there in the >> > list. If not, manually edit the vbox file with a txt editor to fix the >> path >> > that's causing compliants. Edit vbox.xml file worst-case. Simple. >> > >> > I suppose I should mention the fbsd server is headless, which is >> probably >> > 9/10th's of the problem, since I can't run the control gui so it's never >> > created the deafult files? I searched the entire system, there's no vbox >> > xml file, probably cause I haven't ever successfully loaded a machine on >> > this system? There doesn't seem to be any vbox folders or files in /etc, >> > /usr/local/etc, /usr/share, etc. The handbook only tells you how to >> install >> > vbox, with zero info on making it run (so I guess it's supposed to 'just >> > work' for people who aren't idiots; sadly not a set which includes >> myself >> > apparently). >> > >> > I did convince some of the shell commands to error out with references >> to >> > /root/.config/virtualbox, but I can't seem to get the commands to >> recognize >> > the vbox and vdi files when I place them in that path either. Totally >> > stumpped! >> > >> > Many thanks! >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> > freebsd-questions-unsubscribe@freebsd.org" >> > >> >> >> Even if it's headless, you can still run VirtualBox GUI through SSH with >> x-forwarding. >> -- >> Mario Lobo >> http://www.mallavoodoo.com.br >> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > From owner-freebsd-questions@freebsd.org Tue Sep 8 19:50:12 2020 Return-Path: Delivered-To: freebsd-questions@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 CA5A33D584A for ; Tue, 8 Sep 2020 19:50:12 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BmG2r4CKgz4MJy for ; Tue, 8 Sep 2020 19:50:12 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 9055E3D55ED; Tue, 8 Sep 2020 19:50:12 +0000 (UTC) Delivered-To: questions@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 901CE3D55EC for ; Tue, 8 Sep 2020 19:50:12 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com [IPv6:2607:f8b0:4864:20::22e]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmG2q57TPz4M5n for ; Tue, 8 Sep 2020 19:50:11 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x22e.google.com with SMTP id 185so17593986oie.11 for ; Tue, 08 Sep 2020 12:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f4D6e+tb8LqPeL1FzDNgog/Y6KoV1HMBEqalohP/X3o=; b=eOhnRCPQK5ZpzJ3bQxAsRW3o2nvOuv2MiQsaTrADHB8yh5ycO8mak6mEvCqkW6+x+Z yZxr5tAUJHQL3MqweePoM9TwZRNnGcBOuNMuwRlJhaH44rKt3eEVlsuFXLOeGqMJ6UWx IVXv9Ox2hoW1SJtTxdI8Vfvdnoa1bL2z6SoO5HkdLhoBIWtggnX/uObpBMbcrLTBt5YP rT8beBoQX1c6/N8L0kPtjYL2wyLyGqT/QltUgKjNbm8BsGqMBxyc1omh7BEoNRLwY+5X 6Jjn9EauEQ8D8QcBLdc2U7Yyfg6/tXXPKwzF1veRWxXjwRGW3IAbbtbnlNhTd3HDnnSy qi2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f4D6e+tb8LqPeL1FzDNgog/Y6KoV1HMBEqalohP/X3o=; b=Sk0AHGUQqdu+h1no0YQfa6Qh9j4ANCGqtVavC5kHGU/S9RgzBjhl1ntTZniaqwj5Kt SzVYQH0Xp5j1iNb/9wkGva6SmAmrWmBcHvs+Bq7Jbo2rtRzaDsfB8Qh3Rk9DmEBQX6iB BQfj9o/2AFIohwS7odTwJmGG5rXRulBcTZIp6JksnVG72Pt5yW1pjzfhaznSLn3t7r/F XOStu9nIpp9WpEwaV1vofOddButSCiHsfyc45ZEBQhJ2T9xX6xWmW9l3lFDOzyq24avf +G1gG/3pPAEKwpWBFtm5KYPXDXjlCesn4FJMDi8obNDvb36Cd4oRfehdHqJ8BSBGLl8G 49tw== X-Gm-Message-State: AOAM533L/j+oteCmpqM+kDGhNzJppLrvho+8yFgRxwU4aR7H/iesX7kS T/kBgN1PW0q014dM27pr7095F3sZmaIjxt1RP1ZPnYZWYME= X-Google-Smtp-Source: ABdhPJw9EvXokf0G0K3OElSi4Nbxyw5GWSzXGNqOG2XQ2ZRobyzmJOSQxIYLphTO4w42awqO4NodyoHWAWaudFAyxoU= X-Received: by 2002:a05:6808:1ce:: with SMTP id x14mr391897oic.133.1599594610261; Tue, 08 Sep 2020 12:50:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Tue, 8 Sep 2020 12:50:00 -0700 Message-ID: Subject: Re: first use of virtualbox on fbsd host To: Mario Lobo Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BmG2q57TPz4M5n X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=eOhnRCPQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::22e as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.988]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22e:from]; NEURAL_HAM_SHORT(-0.79)[-0.792]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; MAILMAN_DEST(0.00)[questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 19:50:12 -0000 You might also read "Controllimg VirtualBox from the Command Line" a nice "How-to" from Oracle. On Tue, Sep 8, 2020, 12:46 Kevin Oberman wrote: > There are many sites with information on use of vboxmanage, but the first > I found is > https://www.techrepublic.com/article/how-to-import-and-export-vitualbox-appliances-from-the-command-line/ > > On Tue, Sep 8, 2020, 12:07 Kevin Oberman wrote: > >> To cleanly move a VB VM to a new system, it's usually best to export it >> to an OVA, copy the .ova file to the new system, and import it. I Google >> and found a page with a nice set of commands to do it without a GUI, but my >> system is in transition to a new box and it will take a bit of hunting to >> find it. >> >> If I find it, I'll follow up. Or, maybe someone else will post it. >> >> On Tue, Sep 8, 2020, 11:56 Mario Lobo wrote: >> >>> On Tue, Sep 8, 2020 at 3:50 PM S. Franks >>> wrote: >>> >>> > Y'all, >>> > >>> > I've got some machines on my linux host I'd like to try on the fbsd >>> host. >>> > >>> > On linux, it's easy: copy the .vbox, and .vdi file to >>> > /home/$USER/.VirtualBox folder, run the gui, and it's right there in >>> the >>> > list. If not, manually edit the vbox file with a txt editor to fix the >>> path >>> > that's causing compliants. Edit vbox.xml file worst-case. Simple. >>> > >>> > I suppose I should mention the fbsd server is headless, which is >>> probably >>> > 9/10th's of the problem, since I can't run the control gui so it's >>> never >>> > created the deafult files? I searched the entire system, there's no >>> vbox >>> > xml file, probably cause I haven't ever successfully loaded a machine >>> on >>> > this system? There doesn't seem to be any vbox folders or files in >>> /etc, >>> > /usr/local/etc, /usr/share, etc. The handbook only tells you how to >>> install >>> > vbox, with zero info on making it run (so I guess it's supposed to >>> 'just >>> > work' for people who aren't idiots; sadly not a set which includes >>> myself >>> > apparently). >>> > >>> > I did convince some of the shell commands to error out with references >>> to >>> > /root/.config/virtualbox, but I can't seem to get the commands to >>> recognize >>> > the vbox and vdi files when I place them in that path either. Totally >>> > stumpped! >>> > >>> > Many thanks! >>> > _______________________________________________ >>> > freebsd-questions@freebsd.org mailing list >>> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> > To unsubscribe, send any mail to " >>> > freebsd-questions-unsubscribe@freebsd.org" >>> > >>> >>> >>> Even if it's headless, you can still run VirtualBox GUI through SSH with >>> x-forwarding. >>> -- >>> Mario Lobo >>> http://www.mallavoodoo.com.br >>> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> From owner-freebsd-questions@freebsd.org Tue Sep 8 22:22:47 2020 Return-Path: Delivered-To: freebsd-questions@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 C08A23D9EAC for ; Tue, 8 Sep 2020 22:22:47 +0000 (UTC) (envelope-from doug@safeport.com) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4BmKQv1Rq6z4Y94 for ; Tue, 8 Sep 2020 22:22:47 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 340B98FE9F for ; Tue, 8 Sep 2020 22:12:51 +0000 (UTC) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 088MCpjL033927 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 8 Sep 2020 22:12:51 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 088MCoFC033924 for ; Tue, 8 Sep 2020 22:12:51 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Tue, 8 Sep 2020 22:12:50 +0000 (UTC) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: freebsd-questions@freebsd.org Subject: Re: Postfix-sasl on FreeBSD will not authenticate In-Reply-To: Message-ID: References: <523ffb82f14da9944a5368f28eddecac.squirrel@webmail.harte-lyne.ca> <0970ea44-1438-171a-4f44-221c4f9facd4@nethead.se> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4BmKQv1Rq6z4Y94 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of doug@safeport.com does not designate 204.107.128.30 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [6.54 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all:c]; DMARC_NA(0.00)[safeport.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.40)[0.404]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.83)[0.827]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(0.81)[0.813]; FROM_NO_DN(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 22:22:47 -0000 On Tue, 3 Jul 2018, James B. Byrne via freebsd-questions wrote: > > On Tue, July 3, 2018 18:12, Per olof Ljungmark wrote: >> >> >> On 07/03/18 22:39, James B. Byrne via freebsd-questions wrote: >>> On server A we have cyrus-imapd running with spiped listening on >>> TCP:143. On server B we have postfix-sasl-3.3.0 running with spiped >>> listening on TCP:143 linked to server A. >>> >>> On server A saslauthd is configured in rc.conf to use rimap to the >>> localhost: >>> >>> saslauthd_flags="-a rimap \ >>> -O localhost" # Use Remote IMAP to authenticat >>> >>> Postfix is configured to use saslauth to authenticate outgoing >>> senders: >>> >>> smtpd_sasl_auth_enable = yes >>> smtpd_sasl_authenticated_header = no >>> smtpd_sasl_exceptions_networks = >>> smtpd_sasl_local_domain = >>> smtpd_sasl_path = smtpd >>> smtpd_sasl_security_options = noanonymous >>> smtpd_sasl_service = smtp >>> smtpd_sasl_tls_security_options = $smtpd_sasl_security_options >>> smtpd_sasl_type = cyrus >>> >>> >>> But I cannot find any such file named smtpd.conf which, according to >>> the Postfix documentation, should exist and should contain: >>> >>> pwcheck_method: saslauthd >>> mech_list: PLAIN >>> >>> It appears to me that postfix is directly looking in >>> /usr/local/etc/sasldb2.db itself and, finding no entries, failing to >>> authenticate. How do I tell postfix to use the saslauthd daemon >>> instead? >>> >> >> You must create the file yourself and adjust it to whatever mech you >> use, in our case it is saslauthd: >> >> cat /usr/local/lib/sasl2/smtpd.conf >> pwcheck_method: saslauthd >> mech_list: plain login >> > > Thank you. Do you know where the path to the file location is > specified in the FreeBSD documentation? It is in the postfix docs. As I recall it says put it in ../sasls (or some such). From owner-freebsd-questions@freebsd.org Wed Sep 9 11:51:13 2020 Return-Path: Delivered-To: freebsd-questions@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 B4CC83CCC77 for ; Wed, 9 Sep 2020 11:51:13 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmgMh2Sx7z478J for ; Wed, 9 Sep 2020 11:51:12 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-pf1-x442.google.com with SMTP id d6so1917603pfn.9 for ; Wed, 09 Sep 2020 04:51:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=qrcAPY9x/QHZUgBgPNUE97zGpqnTlAIRm5tSWyzW730=; b=aln+0C8JY0qqr2gP+dN4FXi/cvFe8uNs9BmNvLvTWwAck6Moy52xbJWV09bhgh/kW9 9WSic2v+O5L+LcX/D53FU9EIgLA5t7ZbyJ+EPbpvrJa3QZEhggmShKh5SjcsPSevz6o9 PyR87gxGPLs7TI+FMH//F1QSMrpJkce1H7qpI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version; bh=qrcAPY9x/QHZUgBgPNUE97zGpqnTlAIRm5tSWyzW730=; b=qziCG8eRgvekEdRo6crWiYuMK0O3Y2QhkVc9qdwv2kQv03L5u+mAUEe9wAXqOXK2rY HmzxYrQlwYH+KMNP14mzb/I4dM6xeMixh3Sn7HNOs8eIPauTK7joiVOsfsAXTZsAl+qL ECdtUClITxebP6YKHFM3H0c1bP0g5sWT8YML4JvGBuQDY1mg08b/ZYNWbqXtwsnwmBmr WqQ4y0kTDkilUkFmc+Wy3WwJNtQUFxQ/TlnppxqAKQvu1qVCNmF3KDYS2i+SxduP87tU f5WYcT2GYMhi/rMJt9e/cS6SwVXAyXvdEy3VDtCL4lw6dn9udUrkEuc6PosSdgeiyzPx A84Q== X-Gm-Message-State: AOAM532dLUlETmffhR8TGSbXv80di7RxzM2nEs8eUf4/0ZUXPoAldrJm MECL+m++sTPbr24FZoPOxxvQsc/jwPMNTg== X-Google-Smtp-Source: ABdhPJyEM0zz1qHACSnNZI6cLXoPS5cn+pc8OOwp4SHywRzSHZ1pPxxetLlRkrqglDlRNMNk97kymw== X-Received: by 2002:a0c:e904:: with SMTP id a4mr3615026qvo.28.1599651808492; Wed, 09 Sep 2020 04:43:28 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-231-236.nc.res.rr.com. [174.109.231.236]) by smtp.gmail.com with ESMTPSA id 201sm2237633qkf.103.2020.09.09.04.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 04:43:27 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by scorpio.seibercom.net (Postfix) with ESMTPS id 4BmgBk0GZ0ztyY for ; Wed, 9 Sep 2020 07:43:25 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at scorpio.seibercom.net Date: Wed, 9 Sep 2020 07:43:18 -0400 From: Jerry To: "User Questions" Subject: Re: Postfix-sasl on FreeBSD will not authenticate Message-ID: <20200909074318.4cf75f6d@scorpio.seibercom.net> In-Reply-To: References: <523ffb82f14da9944a5368f28eddecac.squirrel@webmail.harte-lyne.ca> <0970ea44-1438-171a-4f44-221c4f9facd4@nethead.se> Reply-To: "User Questions" Organization: seibercom NET X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd11.4) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/=1V9ilOS5OtX_Lcd6sFjnJ="; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4BmgMh2Sx7z478J X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=aln+0C8J; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::442 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [2.39 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; NEURAL_HAM_SHORT(-0.34)[-0.338]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; REPLYTO_EQ_TO_ADDR(5.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RECEIVED_SPAMHAUS_PBL(0.00)[174.109.231.236:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.72)[-0.722]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.95)[-0.953]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::442:from]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 11:51:13 -0000 --Sig_/=1V9ilOS5OtX_Lcd6sFjnJ= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 8 Sep 2020 22:12:50 +0000 (UTC), doug@safeport.com stated: >On Tue, 3 Jul 2018, James B. Byrne via freebsd-questions wrote: > >> On Tue, July 3, 2018 18:12, Per olof Ljungmark wrote: =20 >>> >>> On 07/03/18 22:39, James B. Byrne via freebsd-questions wrote: =20 >>>> On server A we have cyrus-imapd running with spiped listening on >>>> TCP:143. On server B we have postfix-sasl-3.3.0 running with >>>> spiped listening on TCP:143 linked to server A. >>>> >>>> On server A saslauthd is configured in rc.conf to use rimap to the >>>> localhost: >>>> >>>> saslauthd_flags=3D"-a rimap \ >>>> -O localhost" # Use Remote IMAP to authenticat >>>> >>>> Postfix is configured to use saslauth to authenticate outgoing >>>> senders: >>>> >>>> smtpd_sasl_auth_enable =3D yes >>>> smtpd_sasl_authenticated_header =3D no >>>> smtpd_sasl_exceptions_networks =3D >>>> smtpd_sasl_local_domain =3D >>>> smtpd_sasl_path =3D smtpd >>>> smtpd_sasl_security_options =3D noanonymous >>>> smtpd_sasl_service =3D smtp >>>> smtpd_sasl_tls_security_options =3D $smtpd_sasl_security_options >>>> smtpd_sasl_type =3D cyrus >>>> >>>> But I cannot find any such file named smtpd.conf which, according >>>> to the Postfix documentation, should exist and should contain: >>>> >>>> pwcheck_method: saslauthd >>>> mech_list: PLAIN >>>> >>>> It appears to me that postfix is directly looking in >>>> /usr/local/etc/sasldb2.db itself and, finding no entries, failing >>>> to authenticate. How do I tell postfix to use the saslauthd daemon >>>> instead? >>>> =20 >>> >>> You must create the file yourself and adjust it to whatever mech you >>> use, in our case it is saslauthd: >>> >>> cat /usr/local/lib/sasl2/smtpd.conf >>> pwcheck_method: saslauthd >>> mech_list: plain login >> >> Thank you. Do you know where the path to the file location is >> specified in the FreeBSD documentation? =20 > >It is in the postfix docs. As I recall it says put it in ../sasls (or >some such). This question really belongs on the Postfix forum. In any case, have you investigated: http://www.postfix.org/DEBUG_README.html http://www.postfix.org/DEBUG_README.html#mail http://www.postfix.org/SASL_README.html I would highly recommend the following two suggestions: Better, provide output from the postfinger tool. This can be found at http://ftp.wl0.org/SOURCES/postfinger. If the problem is SASL related, consider including the output from the saslfinger tool. This can be found at http://postfix.state-of-mind.de/patrick.koetter/saslfinger/. --=20 Jerry --Sig_/=1V9ilOS5OtX_Lcd6sFjnJ= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl9Yv9YACgkQOHMGOIfe xWTUiAf9HF/71PhtCP7ZDTUiDk4VLIeCy4oGpqPgxwR4/khFfk9qYOUp6q7T8Auj yAvBKWcXPxL6YrE3BN3y8MRpKAL0w0kV0GTUw0/d0hChotz7s52sla6NG6/bkF1q cPK+U3JUXORCLUoD57JtS1kYqUiZamY9f6bndXEtBK1BCz4xD1F9Brsi+18owKUy FclLYbpULCobu41DS9r84xerAbKHqAjpH5t738m8j8o1W5uI+nYOeT4Q7n1/vMGR e/BhpFHNE3d59oIT6CddYOVlF8lDSei6pNZbMDjkel0EzOIXuFIhBh79FRfpq/7W LroTUJrW1t20aoI9fBUO3SdUniJ17Q== =YT75 -----END PGP SIGNATURE----- --Sig_/=1V9ilOS5OtX_Lcd6sFjnJ=-- From owner-freebsd-questions@freebsd.org Wed Sep 9 18:17:33 2020 Return-Path: Delivered-To: freebsd-questions@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 828BC3D7B55 for ; Wed, 9 Sep 2020 18:17:33 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmqxS2CnCz4Zh8 for ; Wed, 9 Sep 2020 18:17:32 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id m1so3226803ilj.10 for ; Wed, 09 Sep 2020 11:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tggrv0v/SI2Tx8ynA7R1MnarkBTjIKVWrNp9v6XrLxk=; b=JthkrUSLe9mzGsNoyHuAX2+GDwXkef8jNin+6lPgMjRPbUY7NMkK3JEzFhxwPTmSyp F8htLv1iX201Jehhfnyde9t5ziQeB3Fg5ehHYjUVCDmDNutfUNate+miXxvqy6Lw8R9s /OGki6fDFE5uymzvOaXgBa6hq2A8AgaVGI0B4/FZFudnNfgdYIdEGp7GuLNAe0BVp4bX vP99CMXZZNDrV0+c+vb0vwZzWS6MvsjCGM9UARWRK7WDU5NNU2GCcDxnv0tUECutGXLN vlCXbPWmnTuhe35F9DTNiXJvAosfI3dJwXzysnshGLGs3ueoJV43OaaZUFBI1bugo/lg FWGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tggrv0v/SI2Tx8ynA7R1MnarkBTjIKVWrNp9v6XrLxk=; b=nBV+H9aeklbtynhIAbOK3DknaIHjLuUq+7ttMqqbByzuzlSl4uZG8pQ7ZHUZW+moq/ LZFdilBV1BvNZqD8imUmWsCFF/2o/lIqpXMgxpFkh9GYiW1D43MAHGxtraWkdL4duVhj KSQ/GKJEiaz2y5I33Gj9Hnp7BfCax785PhB8S6rKH1flrOgQEkvmJSt20c/nZPaPjcaT /Hle5ZwuMXfz1U+x0qk+oBe6kjrd8c5wQJyA2BUF4D3cU77F/VWzZXWvC5xV547bJRPH Yn8sUCKqWIOLy1Ga/ec+w0GhitNXntBPLfIwIhV9yKQC4geIaKvYxK33M2dpBc4mwCbW nvzw== X-Gm-Message-State: AOAM531Q3M1AsRaGlTGiZzTixE+yFi7Dkyugs2SyoXYFKB87NmQOB1ix PSSTGzW/UYQDyN8Kj83a+ssZ+TR3z0y1wLww0oDWsdEg6XpZ3w== X-Google-Smtp-Source: ABdhPJwkA8C+ZvpDq2Ivivnnoz/U8buIuu9W42MZysgqbxAsdvQhcLororIFj+olvicNIPsAt6AGRVynXaI5s556wqk= X-Received: by 2002:a92:91ca:: with SMTP id e71mr4475637ill.185.1599675450634; Wed, 09 Sep 2020 11:17:30 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Wed, 9 Sep 2020 14:17:19 -0400 Message-ID: Subject: mounting a windows 10 drive To: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BmqxS2CnCz4Zh8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JthkrUSL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::12e as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-4.17 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.04)[-1.036]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.02)[-1.023]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12e:from]; NEURAL_HAM_SHORT(-1.11)[-1.111]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:17:33 -0000 I have just installed Windows 10 1903 on a new drive (UEFI), /dev/ada0, on the same machine I have FreeBSD 12.1pl9 on an older drive (MBR/BIOS), dev/ada1. Both boot fine independently but I can't seem to figure out how to mount the windows "C:" drive in FreeBSD. Both OS's where installed using automatic disk allocation. I tried sysutils/fuse-ntfs to no avail. Ideas? Here is the gpart info on the drives: Geom name: ada0 modified: false state: OK fwheads: 16 fwsectors: 63 last: 2000409230 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ada0p1 Mediasize: 554696704 (529M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r0w0e0 efimedia: HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac label: Basic data partition length: 554696704 offset: 1048576 type: ms-recovery index: 1 end: 1085439 start: 2048 2. Name: ada0p2 Mediasize: 104857600 (100M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 555745280 Mode: r0w0e0 efimedia: HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: EFI system partition length: 104857600 offset: 555745280 type: efi index: 2 end: 1290239 start: 1085440 3. Name: ada0p3 Mediasize: 16777216 (16M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 660602880 Mode: r0w0e0 efimedia: HD(3,GPT,32110ac5-d958-4d7d-aad6-2941e7c974c7,0x13b000,0x8000) rawuuid: 32110ac5-d958-4d7d-aad6-2941e7c974c7 rawtype: e3c9e316-0b5c-4db8-817d-f92df00215ae label: Microsoft reserved partition length: 16777216 offset: 660602880 type: ms-reserved index: 3 end: 1323007 start: 1290240 4. Name: ada0p4 Mediasize: 1023531810816 (953G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 677380096 Mode: r0w0e0 efimedia: HD(4,GPT,eb391931-f6c1-43a5-baa8-302337e015b7,0x143000,0x7727a000) rawuuid: eb391931-f6c1-43a5-baa8-302337e015b7 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: Basic data partition length: 1023531810816 offset: 677380096 type: ms-basic-data index: 4 end: 2000408575 start: 1323008 Consumers: 1. Name: ada0 Mediasize: 1024209543168 (954G) Sectorsize: 512 Mode: r0w0e0 Geom name: ada1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 2000409263 first: 63 entries: 4 scheme: MBR Providers: 1. Name: ada1s1 Mediasize: 1024209510400 (954G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 32768 Mode: r2w2e3 efimedia: HD(1,MBR,0x90909090,0x40,0x773bd270) attrib: active rawtype: 165 length: 1024209510400 offset: 32768 type: freebsd index: 1 end: 2000409263 start: 64 Consumers: 1. Name: ada1 Mediasize: 1024209543168 (954G) Sectorsize: 512 Mode: r2w2e5 Geom name: ada1s1 modified: false state: OK fwheads: 16 fwsectors: 63 last: 2000409199 first: 0 entries: 8 scheme: BSD Providers: 1. Name: ada1s1a Mediasize: 1020054732800 (950G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 32768 Mode: r1w1e1 rawtype: 7 length: 1020054732800 offset: 0 type: freebsd-ufs index: 1 end: 1992294399 start: 0 2. Name: ada1s1b Mediasize: 4154777600 (3.9G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 2147516416 Mode: r1w1e0 rawtype: 1 length: 4154777600 offset: 1020054732800 type: freebsd-swap index: 2 end: 2000409199 start: 1992294400 Consumers: 1. Name: ada1s1 Mediasize: 1024209510400 (954G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 32768 Mode: r2w2e3 Geom name: da0 modified: false state: OK fwheads: 255 fwsectors: 63 last: 31266782 first: 34 entries: 128 scheme: GPT Providers: 1. Name: da0p1 Mediasize: 16006459392 (15G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r0w0e0 efimedia: HD(1,GPT,966e8420-1d64-42e2-9ced-8596e6140eec,0x800,0x1dd0798) rawuuid: 966e8420-1d64-42e2-9ced-8596e6140eec rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: Main Data Partition length: 16006459392 offset: 1048576 type: ms-basic-data index: 1 end: 31264663 start: 2048 2. Name: da0p2 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3122606080 Mode: r0w0e0 efimedia: HD(2,GPT,ee4f9815-cd1f-4153-9aa7-20fff44b7499,0x1dd0f98,0x400) rawuuid: ee4f9815-cd1f-4153-9aa7-20fff44b7499 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: UEFI:NTFS length: 524288 offset: 16007507968 type: ms-basic-data index: 2 end: 31265687 start: 31264664 Consumers: 1. Name: da0 Mediasize: 16008609792 (15G) Sectorsize: 512 Mode: r0w0e0 Geom name: diskid/DISK-2005174012169C622671 modified: false state: OK fwheads: 255 fwsectors: 63 last: 31266782 first: 34 entries: 128 scheme: GPT Providers: 1. Name: diskid/DISK-2005174012169C622671p1 Mediasize: 16006459392 (15G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r0w0e0 efimedia: HD(1,GPT,966e8420-1d64-42e2-9ced-8596e6140eec,0x800,0x1dd0798) rawuuid: 966e8420-1d64-42e2-9ced-8596e6140eec rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: Main Data Partition length: 16006459392 offset: 1048576 type: ms-basic-data index: 1 end: 31264663 start: 2048 2. Name: diskid/DISK-2005174012169C622671p2 Mediasize: 524288 (512K) Sectorsize: 512 Stripesize: 0 Stripeoffset: 3122606080 Mode: r0w0e0 efimedia: HD(2,GPT,ee4f9815-cd1f-4153-9aa7-20fff44b7499,0x1dd0f98,0x400) rawuuid: ee4f9815-cd1f-4153-9aa7-20fff44b7499 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: UEFI:NTFS length: 524288 offset: 16007507968 type: ms-basic-data index: 2 end: 31265687 start: 31264664 Consumers: 1. Name: diskid/DISK-2005174012169C622671 Mediasize: 16008609792 (15G) Sectorsize: 512 Mode: r0w0e0 Geom name: ufsid/5f5856886eda8a94 modified: false state: OK fwheads: 16 fwsectors: 63 last: 2000409230 first: 34 entries: 128 scheme: GPT Providers: 1. Name: ufsid/5f5856886eda8a94p1 Mediasize: 554696704 (529M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r0w0e0 efimedia: HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac label: Basic data partition length: 554696704 offset: 1048576 type: ms-recovery index: 1 end: 1085439 start: 2048 2. Name: ufsid/5f5856886eda8a94p2 Mediasize: 104857600 (100M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 555745280 Mode: r0w0e0 efimedia: HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: EFI system partition length: 104857600 offset: 555745280 type: efi index: 2 end: 1290239 start: 1085440 3. Name: ufsid/5f5856886eda8a94p3 Mediasize: 16777216 (16M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 660602880 Mode: r0w0e0 efimedia: HD(3,GPT,32110ac5-d958-4d7d-aad6-2941e7c974c7,0x13b000,0x8000) rawuuid: 32110ac5-d958-4d7d-aad6-2941e7c974c7 rawtype: e3c9e316-0b5c-4db8-817d-f92df00215ae label: Microsoft reserved partition length: 16777216 offset: 660602880 type: ms-reserved index: 3 end: 1323007 start: 1290240 4. Name: ufsid/5f5856886eda8a94p4 Mediasize: 1023531810816 (953G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 677380096 Mode: r0w0e0 efimedia: HD(4,GPT,eb391931-f6c1-43a5-baa8-302337e015b7,0x143000,0x7727a000) rawuuid: eb391931-f6c1-43a5-baa8-302337e015b7 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: Basic data partition length: 1023531810816 offset: 677380096 type: ms-basic-data index: 4 end: 2000408575 start: 1323008 Consumers: 1. Name: ufsid/5f5856886eda8a94 Mediasize: 1024209543168 (954G) Sectorsize: 512 Mode: r0w0e0 Geom name: diskid/DISK-20070110240883 modified: false state: OK fwheads: 16 fwsectors: 63 last: 2000409230 first: 34 entries: 128 scheme: GPT Providers: 1. Name: diskid/DISK-20070110240883p1 Mediasize: 554696704 (529M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 1048576 Mode: r0w0e0 efimedia: HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac label: Basic data partition length: 554696704 offset: 1048576 type: ms-recovery index: 1 end: 1085439 start: 2048 2. Name: diskid/DISK-20070110240883p2 Mediasize: 104857600 (100M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 555745280 Mode: r0w0e0 efimedia: HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: EFI system partition length: 104857600 offset: 555745280 type: efi index: 2 end: 1290239 start: 1085440 3. Name: diskid/DISK-20070110240883p3 Mediasize: 16777216 (16M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 660602880 Mode: r0w0e0 efimedia: HD(3,GPT,32110ac5-d958-4d7d-aad6-2941e7c974c7,0x13b000,0x8000) rawuuid: 32110ac5-d958-4d7d-aad6-2941e7c974c7 rawtype: e3c9e316-0b5c-4db8-817d-f92df00215ae label: Microsoft reserved partition length: 16777216 offset: 660602880 type: ms-reserved index: 3 end: 1323007 start: 1290240 4. Name: diskid/DISK-20070110240883p4 Mediasize: 1023531810816 (953G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 677380096 Mode: r0w0e0 efimedia: HD(4,GPT,eb391931-f6c1-43a5-baa8-302337e015b7,0x143000,0x7727a000) rawuuid: eb391931-f6c1-43a5-baa8-302337e015b7 rawtype: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 label: Basic data partition length: 1023531810816 offset: 677380096 type: ms-basic-data index: 4 end: 2000408575 start: 1323008 Consumers: 1. Name: diskid/DISK-20070110240883 Mediasize: 1024209543168 (954G) Sectorsize: 512 Mode: r0w0e0 -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 9 18:47:40 2020 Return-Path: Delivered-To: freebsd-questions@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 560903D84CE for ; Wed, 9 Sep 2020 18:47:40 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.12]) (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 4BmrcC2C0mz4bxM for ; Wed, 9 Sep 2020 18:47:39 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: (wp-smtpd smtp.wp.pl 26895 invoked from network); 9 Sep 2020 20:47:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1599677255; bh=CsxOU6VeyDfE/ZlIldMP/JC5P29P0QG1fTdHeGgU81A=; h=Subject:To:From; b=AqwoZoUwkYJjasKvBFyLTglyepuWVwuSApYIxzLtfGGHqLxDusueZ64wmlWrdb0pO YShwAfwnppegLwsbpzcw3ntyMk+WbvasHoS2VZSE3otYKD0OnhvMTAbw/Fg0rhXRYn nqYJ3JRKnpvVoExvZqV5QqI43rosd70ITWl9r7MY= Received: from cqs36.neoplus.adsl.tpnet.pl (HELO [10.0.0.98]) (ipluta@wp.pl@[83.31.250.36]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 9 Sep 2020 20:47:35 +0200 Subject: Re: mounting a windows 10 drive To: Aryeh Friedman , FreeBSD Mailing List References: From: "Ireneusz Pluta/wp.pl" Message-ID: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> Date: Wed, 9 Sep 2020 20:47:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: fee4623f57240fe93d8808377b2304d0 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [QZN0] X-Rspamd-Queue-Id: 4BmrcC2C0mz4bxM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wp.pl header.s=1024a header.b=AqwoZoUw; dmarc=pass (policy=none) header.from=wp.pl; spf=pass (mx1.freebsd.org: domain of ipluta@wp.pl designates 212.77.101.12 as permitted sender) smtp.mailfrom=ipluta@wp.pl X-Spamd-Result: default: False [-4.31 / 15.00]; FREEMAIL_FROM(0.00)[wp.pl]; R_SPF_ALLOW(-0.20)[+ip4:212.77.96.0/19]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[wp.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[wp.pl,none]; NEURAL_HAM_SHORT(-1.30)[-1.299]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[wp.pl]; ASN(0.00)[asn:12827, ipnet:212.77.101.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[wp.pl:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.023]; R_DKIM_ALLOW(-0.20)[wp.pl:s=1024a]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.77.101.12:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.77.101.12:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:47:40 -0000 W dniu 2020-09-09 o 20:17, Aryeh Friedman pisze: > I tried sysutils/fuse-ntfs to no avail. > Ideas? per man ntfs-3g: NTFS-3G(8)              FreeBSD System Manager's Manual             NTFS-3G(8) NAME        ntfs-3g - Third Generation Read/Write NTFS Driver SYNOPSIS        ntfs-3g [-o option[,...]] volume mount_point        mount -t ntfs-3g [-o option[,...]] volume mount_point        lowntfs-3g [-o option[,...]] volume mount_point        mount -t lowntfs-3g [-o option[,...]] volume mount_point [...] did you try: mount -t ntfs-3g /dev/ada0p4 /mnt ? From owner-freebsd-questions@freebsd.org Wed Sep 9 18:50:38 2020 Return-Path: Delivered-To: freebsd-questions@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 D9ABB3D8C22 for ; Wed, 9 Sep 2020 18:50:38 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bmrgf081zz4cfq for ; Wed, 9 Sep 2020 18:50:37 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12f.google.com with SMTP id t18so2718922ilp.5 for ; Wed, 09 Sep 2020 11:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s/uUYTHoJWfbf7FywgPP0mSaEx1bo1GO+iVkRjhuMEg=; b=rCKYRo9MfsfJjkuVNOVzJMWjM2jq24w6d3Io4tu9kcJ9fdWysdiHHe8XwPTbcTvKvH DQktaYrSg7+53mVmLRsZf6bl/2iL575onAtJN1cziNlOIYYbtoIonIoIjSfajXotm3UR /4G7kg44bD0pGA77O9VABtz0b+v6YtM8258cl2xLdSoYxpuZWlsN0XH7o+NsRZBfe8uf jkiO8kef0AMOI7IDxnd9FVt0+uFA6vc896rOaRZU5KBrbpBJoyI50qhQafjd+yF8CgSm eIAHRbVKKW3EyoRkZMHuuWcDOdMIAT33EMiTZnkuD4vfHADoLsS4S7SgKhnNODI98zqp DX4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s/uUYTHoJWfbf7FywgPP0mSaEx1bo1GO+iVkRjhuMEg=; b=K7J97j589e/OahUTOMP0yTR3kzL/D0MTJ9oZ1tYCqqXjpjJ4/kbwnR11ua6Il2OzsD FlLRrqsgQM1tSJxPKf6hDym2c8nNB+6i4P2Hlg+d/itFqlKG/kP8ch8udbZm+xydtHi5 k2HYl8uiycWkAT2YzzgVvupfUqtIRCzf1wKBM2A32VZzOOI/zTaT4p1ZjWf7OI2dJi2V Kb3guLhqM1k+j4Fk394SlkbPixAVql9nPy9iph1exJ7Z0TToMs4u9YG++3Pmm58r8o+a WDZS1IuO0XLbBfSfuNw0hZaZ0R85H6hHKn46DWXa+uihgVAZ9tbH8nTyb0EYHZOWEHDv 31eg== X-Gm-Message-State: AOAM5314gJwX72EAqRC/2ZIvCx7IZiJfzaM9yKjrnymqRGN/Sf5dqShJ o33Pwwap74XEPwbFErVVa2EvD6mcjbFKnV3zftU= X-Google-Smtp-Source: ABdhPJyu5VjkUs4OVX36DalxjptVHF2O+4V+5S+7lZDHl2x2N+5PbehEcZyF7IncPt+VA2WfO5lMGV7ZPvvHd4RB9rg= X-Received: by 2002:a92:740b:: with SMTP id p11mr4813461ilc.119.1599677436750; Wed, 09 Sep 2020 11:50:36 -0700 (PDT) MIME-Version: 1.0 References: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> In-Reply-To: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> From: Aryeh Friedman Date: Wed, 9 Sep 2020 14:50:25 -0400 Message-ID: Subject: Re: mounting a windows 10 drive To: "Ireneusz Pluta/wp.pl" Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4Bmrgf081zz4cfq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rCKYRo9M; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::12f as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-4.41 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.40)[-1.399]; FREEMAIL_TO(0.00)[wp.pl]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:50:38 -0000 On Wed, Sep 9, 2020 at 2:47 PM Ireneusz Pluta/wp.pl wrote: > W dniu 2020-09-09 o 20:17, Aryeh Friedman pisze: > > I tried sysutils/fuse-ntfs to no avail. > > Ideas? > > per man ntfs-3g: > > NTFS-3G(8) FreeBSD System Manager's Manual > NTFS-3G(8) > > NAME > ntfs-3g - Third Generation Read/Write NTFS Driver > > SYNOPSIS > ntfs-3g [-o option[,...]] volume mount_point > mount -t ntfs-3g [-o option[,...]] volume mount_point > lowntfs-3g [-o option[,...]] volume mount_point > mount -t lowntfs-3g [-o option[,...]] volume mount_point > > [...] > > did you try: > > mount -t ntfs-3g /dev/ada0p4 /mnt > > ? > > # mount -t ntfs-3g /dev/ada0p4 /mnt mount: /dev/ada0p4: Operation not supported by device # ntfs-3g /dev/ada0p4 /mnt fuse: failed to open fuse device: No such file or directory -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 9 18:51:15 2020 Return-Path: Delivered-To: freebsd-questions@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 DD9993D8DA5 for ; Wed, 9 Sep 2020 18:51:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmrhM1CVcz4cgw for ; Wed, 9 Sep 2020 18:51:14 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12c.google.com with SMTP id w8so3327790ilj.8 for ; Wed, 09 Sep 2020 11:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+XOrouUkpavIhlFt0uQWenRS6TUuWM5GHnNJNxBmflE=; b=dBfQrha2DWKv8M1bksWD8SQlYlCixdds28U8fWW+exm9CBMioD5iT9Qfh+ekI/mZx3 +5vKf5n7Ibyz7byd9qjL0XcByzyIOD0GIbWeln9w0Ukbws/Tx5N/ZYGceD46A/4Ddc/O G5NWO1qS4JRP2QCfXpSaSFtTEF/19DdWm34gonstHNJsG54S8LC0WWXY+QLoo2kE+h9/ Y0fhBmmOaDPwio0pFXCr8SgMFlCSoOmk4SOI/jDkB2/JDKYUoIOAyMas2veMOhgxh74B /4ZqgR1oJ8BRSUhNCmqn10cXW8v6UiJBtbsExut9RgO5ua1kFRh02GO5TZ99qFmjbUJc W/WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+XOrouUkpavIhlFt0uQWenRS6TUuWM5GHnNJNxBmflE=; b=ixvwFi0n4DflA33PthAFAzSR0RnetwYkCuEKePct+2cct1deqishIeeVCjkEAHVlDf u8sejCvtdgJXEpXLca/SaUwQOTt8U6+jrrff4GqVPTxBfcKDfNkUfqS+mLzhxwJ76urh 8+726d3sjOHhMNvJFaVz7MY1h5yDaNIk+jF76pZBFTwZVpE9XPRmhusDJ9Yob81jpbwc B7ExHSLyJHGprLOjNKxXhLYsZVHVC7ytnfXZYEps5hAgoyrILdgvBxW0seJ6sBH7a5xK SPtJQKQfqlTX4DzKTRr4pKsJg5LMS+k+6Lp0MrWC1uqjws+Z4GGIop2MHbe6lTMJ8ms5 aoJQ== X-Gm-Message-State: AOAM531koP7Zy6LShX0gnEt5+Yi+AV3Vdlw68s+CXFBBCBE7V6U9cE9L jvHU7RmoHhVt/l5G5CkYgOYqt8ptzxEz4m3p0iyd5gbX6PJosg== X-Google-Smtp-Source: ABdhPJwCkXkFWuFuxFB8Pmzb8PFYAUt6uPqmyO4FwNa7NPDsP8vrVQfswwAsWwMYqRuZgU7rWAmVPGEwDzoZu62dOmw= X-Received: by 2002:a92:91ca:: with SMTP id e71mr4589435ill.185.1599677474063; Wed, 09 Sep 2020 11:51:14 -0700 (PDT) MIME-Version: 1.0 References: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> In-Reply-To: From: Aryeh Friedman Date: Wed, 9 Sep 2020 14:51:02 -0400 Message-ID: Subject: Re: mounting a windows 10 drive To: Manish Jain Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BmrhM1CVcz4cgw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dBfQrha2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::12c as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-4.41 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.40)[-1.395]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.993]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:51:16 -0000 On Wed, Sep 9, 2020 at 2:47 PM Manish Jain wrote: > > > On 2020-09-10 00:14, Manish Jain wrote: > > > > > > On 2020-09-09 23:47, Aryeh Friedman wrote: > >> I have just installed Windows 10 1903 on a new drive (UEFI), > >> /dev/ada0, on > >> the same machine I have FreeBSD 12.1pl9 on an older drive (MBR/BIOS), > >> dev/ada1. Both boot fine independently but I can't seem to figure > >> out how > >> to mount the windows "C:" drive in FreeBSD. Both OS's where installed > >> using automatic disk allocation. I tried sysutils/fuse-ntfs to no > avail. > >> Ideas? > >> > >> Here is the gpart info on the drives: > >> > >> Geom name: ada0 > >> modified: false > >> state: OK > >> fwheads: 16 > >> fwsectors: 63 > >> last: 2000409230 > >> first: 34 > >> entries: 128 > >> scheme: GPT > >> Providers: > >> 1. Name: ada0p1 > >> Mediasize: 554696704 (529M) > >> Sectorsize: 512 > >> Stripesize: 0 > >> Stripeoffset: 1048576 > >> Mode: r0w0e0 > >> efimedia: > >> HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) > >> rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 > >> rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac > >> label: Basic data partition > >> length: 554696704 > >> offset: 1048576 > >> type: ms-recovery > >> index: 1 > >> end: 1085439 > >> start: 2048 > >> 2. Name: ada0p2 > >> Mediasize: 104857600 (100M) > >> Sectorsize: 512 > >> Stripesize: 0 > >> Stripeoffset: 555745280 > >> Mode: r0w0e0 > >> efimedia: > >> HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) > >> rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 > >> rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b > >> label: EFI system partition > >> length: 104857600 > >> offset: 555745280 > >> type: efi > >> index: 2 > >> end: 1290239 > >> start: 1085440 > > > > Have you tried `mount -t msdosfs -o rw /dev/ada0p2 /mnt` ? > > > > Regards, > > Manish Jain > > The other thing to try is : > > ntfs-3g /dev/ada0p3 /mnt > > I have taken 3 as an example. It could be anything greater than 0. > # mount -t msdosfs -o rw /dev/ada0p2 /mnt # ls /mnt EFI # umount /mnt # ntfs-3g /dev/ada0p3 /mnt NTFS signature is missing. Failed to mount '/dev/ada0p3': Invalid argument The device '/dev/ada0p3' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 9 18:59:25 2020 Return-Path: Delivered-To: freebsd-questions@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 B8BBD3D9382 for ; Wed, 9 Sep 2020 18:59:25 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074010.outbound.protection.outlook.com [40.92.74.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bmrsm58Cqz4djt for ; Wed, 9 Sep 2020 18:59:24 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RvvdzYB2Qd9LqzZJIFxypB6SXCHLBDva2e+/NqqUEUzqFR9eRjuYJqtGq3mD6Gwm20ZqalgCuWGsAkPzNy0B1etWGEzXjDMZtsAhpb+gnXpmCBkvrQ43EcAjeGdiTI7FTDcuxEQvXGbxEDqKrlJo4nLpssHpN9VRkhXtQFP9rNIFC1Kfp2FhUioZdFWlDDWW0+L7md3TwkHAHxSRDUj/JcFzhr63shWaDu3J6B1VKE/L7eAnoIWkB2AgdimfomBnMOzrS0t+UIOZZkgoeCLjMKHwTANL7mWcP0p+ChYAJvXJfbaue+wmobNoQKNZP7/3Ebk6ljREZUB7A484K/A19g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PCXpQ//EBd+WVVx3ETi718IwthUpVi7N3qJASMRW8ZQ=; b=M3wgGto86FthijPuNY7fduIbaT+q5bF8rb7OoeFAm5MvrNUh3fdYPC2Xe2oYQA7mDwnOKaBbof8dtEf6nDGhT/eNU670FCAWwKB+9qvPgr2rtM5sKymYuy0+v0m96uA8ybKcruyVev+vl7T55rY75C1q43o/aIda3E1e7H+2CEt1/1Its3ZqeHPrAZIJzz0B6IvZykI/r5/qFlQby9I5P3H1oawMf/fuJhjTUBpcjaJzQ5nziAhONK1m1mRYvtMy5oj0KqcYczoY7rChj1zSHCRYtAHEKhts5mvSUVOU8XhsGe/qRuQzjcgj7lUMWmJT/LPOo2yoW8AigpEwuGya9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PCXpQ//EBd+WVVx3ETi718IwthUpVi7N3qJASMRW8ZQ=; b=YEMRwXsVXetNcngVnXoj4an+BLT3j4+5s1D7oV6evwChFwM94Zrc7i+Jl+TXzmos1CQyZ5+A1pWZ/A7v4kBjqpHsMYdaxhjantMamGhuo/wuKBZZm18hBqwM/KfuV7JUUV0xTvJq6UBi1+3HPDruK+PNFhEsCTIwR7+DE2Bv2uM6pVW8glyuWSlZBNFMC7PEfciJSsvwfh+Rb9886g6gwZgivY1kLmRy7DZjVWI83Zc3k4U+AsXHyBZ3ZHIIQhs0gjKiqbUnms4XpoZ3olqYaJXTiW0bZJzLosEquOxku+FXIhUmlKVgCgne7ZISGOk/nh6zejhNenlYkqwPShYbqw== Received: from DB3EUR04FT007.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::49) by DB3EUR04HT250.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::405) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 9 Sep 2020 18:44:12 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e0c::43) by DB3EUR04FT007.mail.protection.outlook.com (2a01:111:e400:7e0c::178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 18:44:12 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:AF26475705CEBCC6F31BAE74FF72E4D175D31006B2D0D238D63CF673212FCCF6; UpperCasedChecksum:8B56C4A215C83898CA97AFFB8D0961A6A2D35B6CE6332EEB9A73E00A0ECD0AEB; SizeAsReceived:3556; Count:47 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%7]) with mapi id 15.20.3370.016; Wed, 9 Sep 2020 18:44:11 +0000 Subject: Re: mounting a windows 10 drive To: Aryeh Friedman , FreeBSD Mailing List References: From: Manish Jain Message-ID: Date: Thu, 10 Sep 2020 00:14:09 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BM1PR0101CA0049.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::11) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.159) by BM1PR0101CA0049.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 18:44:11 +0000 X-Microsoft-Original-Message-ID: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> X-TMN: [1dsPqLtWyvUiLwctVV4oA/1v1QCUwQW+NT0yC5cL/gA=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: e878378d-d2bf-45fe-de7d-08d854f057eb X-MS-TrafficTypeDiagnostic: DB3EUR04HT250: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Wk4BtQMrvFGL2EC+1dAIS51ic3L1TeAKPD+cecy7aQbFhtFn8OuB5Rib1azYWOmCkeiPj8l2IXWSRoAqjIlw9WqVXGwCyRcn/v8DfXWrYYoV02UXkSPDVK95tfS1uBHdpwAZmKldaV3t0/KT/m/HDjtKjTAoVJyBpRDVeE7NZp6Wc3eb58Tl1gqM+OkXMlAN X-MS-Exchange-AntiSpam-MessageData: lUWYogYAD8ZRC27yCVmejdvVnpbzSJ4hO0ISxllUwfu9lRxpSk2sG71iFO7s5et3HSwUMBxJULstdQJxdT4POrZoX1osX2Hn/crNl6QFVIdnBruPjRPVxsMtydhL3p2YTU+RrD9KAUal9Ifasw/ZaA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: e878378d-d2bf-45fe-de7d-08d854f057eb X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2020 18:44:11.7980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB3EUR04FT007.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3EUR04HT250 X-Rspamd-Queue-Id: 4Bmrsm58Cqz4djt X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=YEMRwXsV; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.74.10 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [7.07 / 15.00]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15:c]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.82)[-0.822]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.159:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.159:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.03)[-0.032]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.42)[0.420]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.74.10:from]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.74.10:from]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 18:59:25 -0000 On 2020-09-09 23:47, Aryeh Friedman wrote: > I have just installed Windows 10 1903 on a new drive (UEFI), /dev/ada0, on > the same machine I have FreeBSD 12.1pl9 on an older drive (MBR/BIOS), > dev/ada1. Both boot fine independently but I can't seem to figure out how > to mount the windows "C:" drive in FreeBSD. Both OS's where installed > using automatic disk allocation. I tried sysutils/fuse-ntfs to no avail. > Ideas? > > Here is the gpart info on the drives: > > Geom name: ada0 > modified: false > state: OK > fwheads: 16 > fwsectors: 63 > last: 2000409230 > first: 34 > entries: 128 > scheme: GPT > Providers: > 1. Name: ada0p1 > Mediasize: 554696704 (529M) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 1048576 > Mode: r0w0e0 > efimedia: HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) > rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 > rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac > label: Basic data partition > length: 554696704 > offset: 1048576 > type: ms-recovery > index: 1 > end: 1085439 > start: 2048 > 2. Name: ada0p2 > Mediasize: 104857600 (100M) > Sectorsize: 512 > Stripesize: 0 > Stripeoffset: 555745280 > Mode: r0w0e0 > efimedia: HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) > rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 > rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b > label: EFI system partition > length: 104857600 > offset: 555745280 > type: efi > index: 2 > end: 1290239 > start: 1085440 Have you tried `mount -t msdosfs -o rw /dev/ada0p2 /mnt` ? Regards, Manish Jain From owner-freebsd-questions@freebsd.org Wed Sep 9 19:01:40 2020 Return-Path: Delivered-To: freebsd-questions@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 6BA563D96AA for ; Wed, 9 Sep 2020 19:01:40 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-oln040092074035.outbound.protection.outlook.com [40.92.74.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmrwM23tMz4f2R for ; Wed, 9 Sep 2020 19:01:39 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EfYkIkwa7oBJH5jH+Jtu0Vxf0GgHnR+NIvszhlBHpQfL2o05GtCujLysa/5DQwJ1ZxB5RKx94oDQFxVka/bAOHgThZc8mxEIE5z4LmiUxmp30AY4d/LF1WMPBxfZ3t1KOvN01+TgjmasZUCOlgj8rxQ26C3ftJp7xJpsWbybAvo2CeKRD4x5nadLA9Sb5QdOLQhqpz8RSqvoXLGBKE5CsEKQJMjQZ/IMarR7jr3KvWjZSyjJSsKiDtuuFJArihoHXnyA+3Whxst1F9r9SE5GR1VLInjroyCtWsYxOVbht+T8j6HhtwSdg7oKfaBFqhqfJLxsgdCxDvIlWuVJHGk0jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9j4CgHxubVobk951YuoW++GsoTFNnIxBAcS1sq5KdFQ=; b=af/IyQs44GGsC1HnHXoO58A/vqH7l47KQKh5x11QpjQrHlml7sphWzqskjUqv8f9qe2KaByEVGrr0BDb4boSNLHmb9pL90Pvb4X7NLgKYeCHY6Nue3c1qXeejM0JzruRtObBbcJi8Q820NahdyuQo9hwDtmcP5il0Y0VrWwfgK1F0iJ9egdbpWNnrDnLoWMLSNaVm2QgGB3SRd+6IgBiiHMVupjglfYrpq8F0wJS3dtieg0Yk//u9NRuHnO3Qo6qtTkTfPxJ8UwIiy+Ly3GrPtczM1Mejum6OBpjNy1qSQzjhS5gZQnO1fPsb6sXBb6uQyHEEsIOZ1txNjmJqQV5CA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9j4CgHxubVobk951YuoW++GsoTFNnIxBAcS1sq5KdFQ=; b=awsN5Ta+d8yjDh6HK+xfVEDD+xekGHEYl/IQ5Y+vgdqYZFm8KkDg/zARe597N9/6JNAwIp8xjDRHHzFH05q3/BJ8OO7DGDjB0QICaNqTrK4qVfTdniSzvHWrMVtLV6y33VyQGOjsxCVXOtD+Y1YJu0XbafycK+dn0lCGHRQ/DNRl+VEp5T/CvTOPOXKD6sQmkHApo3KTcCHia8VIeIj0IF9ZcNDrzFj7Kn1odzCWJMBSBufvHZuX2vg/+GHTqyDuD7gVfbpfahu1XAdMXM3JwaKuR6tru1+1l8Rdqdho5lxUs0znRdIWe73v8uzHwlbz/Qc6tzpu+Q+X+Pk3zZWpzw== Received: from DB3EUR04FT007.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::51) by DB3EUR04HT107.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0c::346) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 9 Sep 2020 18:47:21 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e0c::43) by DB3EUR04FT007.mail.protection.outlook.com (2a01:111:e400:7e0c::178) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 18:47:21 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:CA5900157A7838184CEB26905D4B750190B6D898A192DD53451D6EF7D23B4D4E; UpperCasedChecksum:7D7A8E8556ACECBC1586D93E3380F45B4C95B004467403F36D909059CB790413; SizeAsReceived:3591; Count:47 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea]) by DB8PR06MB6442.eurprd06.prod.outlook.com ([fe80::71dd:33c7:29cb:19ea%7]) with mapi id 15.20.3370.016; Wed, 9 Sep 2020 18:47:20 +0000 Subject: Re: mounting a windows 10 drive From: Manish Jain To: Aryeh Friedman , FreeBSD Mailing List References: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> Message-ID: Date: Thu, 10 Sep 2020 00:17:17 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: <5e6835d9-c556-6059-feb4-f9195cfbab5f@hotmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BM1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::16) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <3f7f92c5-5c82-6401-56f6-71b7ecc9c0db@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.159) by BM1PR0101CA0006.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Wed, 9 Sep 2020 18:47:20 +0000 X-Microsoft-Original-Message-ID: <3f7f92c5-5c82-6401-56f6-71b7ecc9c0db@hotmail.com> X-TMN: [4K7gsy+m+6dE6Mz9OpO6XsMhYLuWdoy0OYJXYFSf5Pw=] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: f2501370-0f33-48bb-e294-08d854f0c88b X-MS-TrafficTypeDiagnostic: DB3EUR04HT107: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WhJe2uBFhe/5MgiAbLkn6GmppBCxlTrD91fl86P9FcOxVoPc0AqEvMe26euqAQ7YriV1NbGDr0viX9We9exfswAQwmsbVRNQEXGFzC+MuiGBXUQdvcDowaTJhpUI4xDPp5DUgRsQ3SHQSKHwzRI5yl9c+kRZZc5/J51nJ1TUMAmWbSSxT/Of0gHZshwgnbOg X-MS-Exchange-AntiSpam-MessageData: Kw5dV/L5lmMrlI1FKuR4EHDVbnb1GsUpK4z1Ukt1E62upXqd9L7XH02L8q+7v0HNsk8d24NdGuRk1gUEPUd42iZ5RyqvCYu3Ctd9FMyej6nln0FR6vM3Jm5cL/bBIUydkjPQoDhfV8VrdFFXUzRiMA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2501370-0f33-48bb-e294-08d854f0c88b X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Sep 2020 18:47:20.7425 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: DB3EUR04FT007.eop-eur04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3EUR04HT107 X-Rspamd-Queue-Id: 4BmrwM23tMz4f2R X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=awsN5Ta+; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.74.35 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [7.39 / 15.00]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15:c]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.50)[-0.500]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.159:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.159:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.03)[-0.028]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.42)[0.421]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.74.35:from]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.74.35:from]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 19:01:40 -0000 On 2020-09-10 00:14, Manish Jain wrote: > > > On 2020-09-09 23:47, Aryeh Friedman wrote: >> I have just installed Windows 10 1903 on a new drive (UEFI), >> /dev/ada0, on >> the same machine I have FreeBSD 12.1pl9 on an older drive (MBR/BIOS), >> dev/ada1.   Both boot fine independently but I can't seem to figure >> out how >> to mount the windows "C:" drive in FreeBSD.   Both OS's where installed >> using automatic disk allocation.  I tried sysutils/fuse-ntfs to no avail. >> Ideas? >> >> Here is the gpart info on the drives: >> >> Geom name: ada0 >> modified: false >> state: OK >> fwheads: 16 >> fwsectors: 63 >> last: 2000409230 >> first: 34 >> entries: 128 >> scheme: GPT >> Providers: >> 1. Name: ada0p1 >>     Mediasize: 554696704 (529M) >>     Sectorsize: 512 >>     Stripesize: 0 >>     Stripeoffset: 1048576 >>     Mode: r0w0e0 >>     efimedia: >> HD(1,GPT,73c6a8f0-5211-4bb4-a143-13c4d89949a4,0x800,0x108800) >>     rawuuid: 73c6a8f0-5211-4bb4-a143-13c4d89949a4 >>     rawtype: de94bba4-06d1-4d40-a16a-bfd50179d6ac >>     label: Basic data partition >>     length: 554696704 >>     offset: 1048576 >>     type: ms-recovery >>     index: 1 >>     end: 1085439 >>     start: 2048 >> 2. Name: ada0p2 >>     Mediasize: 104857600 (100M) >>     Sectorsize: 512 >>     Stripesize: 0 >>     Stripeoffset: 555745280 >>     Mode: r0w0e0 >>     efimedia: >> HD(2,GPT,193621c7-305e-4a91-9b61-03dccc2d6892,0x109000,0x32000) >>     rawuuid: 193621c7-305e-4a91-9b61-03dccc2d6892 >>     rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b >>     label: EFI system partition >>     length: 104857600 >>     offset: 555745280 >>     type: efi >>     index: 2 >>     end: 1290239 >>     start: 1085440 > > Have you tried `mount -t msdosfs -o rw /dev/ada0p2 /mnt` ? > > Regards, > Manish Jain The other thing to try is : ntfs-3g /dev/ada0p3 /mnt I have taken 3 as an example. It could be anything greater than 0. From owner-freebsd-questions@freebsd.org Wed Sep 9 19:11:27 2020 Return-Path: Delivered-To: freebsd-questions@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 EBF5D3D9AB8 for ; Wed, 9 Sep 2020 19:11:27 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) (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 4Bms7f6SSRz4fxH for ; Wed, 9 Sep 2020 19:11:26 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: (wp-smtpd smtp.wp.pl 30520 invoked from network); 9 Sep 2020 21:11:24 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1599678684; bh=miwdg/7iYYbzISdJSWXGZWzADurM1u4SB5SP/zzoWeE=; h=Subject:To:Cc:From; b=GaGNLOyKnWMfNZl+kqYWqTdHxrXYBmV2dA0e+FdRYhpII3WFjDQdokVQRaEdOLvEN l38DWo4NffKH+TeJovfH2fwGPz60GwfKnJm98TkQulfr0Vlnm9rfV6L6W7CuVxL1ff JeV53SkFIELPs1dZHzra8iR4VCnIGndC4Ij86H/U= Received: from cqs36.neoplus.adsl.tpnet.pl (HELO [10.0.0.98]) (ipluta@wp.pl@[83.31.250.36]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 9 Sep 2020 21:11:24 +0200 Subject: Re: mounting a windows 10 drive To: Aryeh Friedman Cc: FreeBSD Mailing List References: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> From: "Ireneusz Pluta/wp.pl" Message-ID: Date: Wed, 9 Sep 2020 21:11:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: c445555774f9c50368e4175f3e5b57ed X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [EXO0] X-Rspamd-Queue-Id: 4Bms7f6SSRz4fxH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wp.pl header.s=1024a header.b=GaGNLOyK; dmarc=pass (policy=none) header.from=wp.pl; spf=pass (mx1.freebsd.org: domain of ipluta@wp.pl designates 212.77.101.11 as permitted sender) smtp.mailfrom=ipluta@wp.pl X-Spamd-Result: default: False [-4.17 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:212.77.96.0/19:c]; FREEMAIL_FROM(0.00)[wp.pl]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[wp.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[wp.pl,none]; NEURAL_HAM_SHORT(-1.16)[-1.160]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[wp.pl]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:12827, ipnet:212.77.101.0/24, country:PL]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[wp.pl:s=1024a]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[wp.pl:dkim]; NEURAL_HAM_LONG(-0.99)[-0.988]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.77.101.11:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.77.101.11:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 19:11:28 -0000 W dniu 2020-09-09 o 20:50, Aryeh Friedman pisze: > > did you try: > > mount -t ntfs-3g /dev/ada0p4 /mnt > > ? > > > # mount -t ntfs-3g /dev/ada0p4 /mnt > mount: /dev/ada0p4: Operation not supported by device > # ntfs-3g /dev/ada0p4 /mnt > fuse: failed to open fuse device: No such file or directory > you may need to: $ kldload fuse prior to mount attempt ... From owner-freebsd-questions@freebsd.org Wed Sep 9 19:13:53 2020 Return-Path: Delivered-To: freebsd-questions@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 1185E3D9B67 for ; Wed, 9 Sep 2020 19:13:53 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmsBS3fTSz4g4b for ; Wed, 9 Sep 2020 19:13:52 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id p13so3417959ils.3 for ; Wed, 09 Sep 2020 12:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9i5wyj+QZz34RKqOAehtghb9pPxjb5tUQMTRM6unXlo=; b=aOTuXZLUpFtvsZWlqbLw/gnfBa609m+k00cCQq8aALmU9NffTNJ54Ec2CL6sG0QUbq LRBf65D5bxCTj298kj0/6rfH5GqWBrAZhyqv081BBOfnuax0WGxFFJRmULSF3y2hJMpj NR+TeKfLMIoZZ/RIHTrcYSUtZrz3ts/jyKVgWWSx5l8zoq6i53CSBfOduUt+93QidGW8 3KMn463PjDSORQS8r2lB0nWpsGBIK4wF1eBnt2wsv3fBlbnKjmeV1c6Nn/I7zrAWJNE6 y06jaLNLTADWbgrceUgbNIRiaBuvSI1EqO1LB57+m59rGq8z2vzsQcWe7fwuf02Xvg2l wOIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9i5wyj+QZz34RKqOAehtghb9pPxjb5tUQMTRM6unXlo=; b=SfE0IsMuUlcPkaGfiKaL92PhDhlpP2dJfj14h3czDT0+XhHf5YykjNXI/AivZVzxdV XHzcS+kv/puomY0lsB6eUVqa/M3Fv+zXJ6MTaIUG/perYPI5jqtkTV13PqFcABi2Tsae lxT3aGtJDClySuYn6Mfiu+xAKZpLP+glEcy+M1DTDa0px/DfWzztVNn8ZJvGbV52Ezh2 CEkheclkDfqXrpcpZzdSsA9VaGXZmT1RYZCbj7i5D6OKoDkXyw4EJwK1q4EFgj6S71fe 300Dsu01mOtTfUerP5mMGFJlS19bIoFLeNQ7hrKeeGBne6Z4sVqnS3Kf5up4MkqQm9wq FVxg== X-Gm-Message-State: AOAM533fF2725/ev/YAdIngLuDrGwew7QTalBeuzhRc29waFukv5A+77 bZl+WNGObNylnDTGc1HGwOAt/Cvx+pUQJj6KRs1cBsDuIS6chQ== X-Google-Smtp-Source: ABdhPJzrG43F1b8dgYENsH4bzNm/sna2kFsiD18BWHJlb0cqoqkg4oaHY4/9j8T26NK62iFDbnjNdSziY1n6ODsqrHg= X-Received: by 2002:a92:740b:: with SMTP id p11mr4894031ilc.119.1599678831765; Wed, 09 Sep 2020 12:13:51 -0700 (PDT) MIME-Version: 1.0 References: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> In-Reply-To: From: Aryeh Friedman Date: Wed, 9 Sep 2020 15:13:40 -0400 Message-ID: Subject: Re: mounting a windows 10 drive To: "Ireneusz Pluta/wp.pl" Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BmsBS3fTSz4g4b X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aOTuXZLU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::12e as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-4.27 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.26)[-1.260]; FREEMAIL_TO(0.00)[wp.pl]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.992]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12e:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 19:13:53 -0000 On Wed, Sep 9, 2020 at 3:11 PM Ireneusz Pluta/wp.pl wrote: > W dniu 2020-09-09 o 20:50, Aryeh Friedman pisze: > > > > did you try: > > > > mount -t ntfs-3g /dev/ada0p4 /mnt > > > > ? > > > > > > # mount -t ntfs-3g /dev/ada0p4 /mnt > > mount: /dev/ada0p4: Operation not supported by device > > # ntfs-3g /dev/ada0p4 /mnt > > fuse: failed to open fuse device: No such file or directory > > > you may need to: > > $ kldload fuse > > prior to mount attempt ... > > Desktop@neomarx% kldstat Id Refs Address Size Name 1 39 0xffffffff80200000 2448f20 kernel 2 3 0xffffffff82649000 88a58 vboxdrv.ko 3 3 0xffffffff826d2000 b7bd8 linux.ko 4 4 0xffffffff8278a000 96f8 linux_common.ko 5 1 0xffffffff82794000 165920 nvidia-modeset.ko 6 2 0xffffffff828fa000 15b6608 nvidia.ko 7 1 0xffffffff84019000 2668 intpm.ko 8 1 0xffffffff8401c000 b50 smbus.ko 9 1 0xffffffff8401d000 18a0 uhid.ko 10 1 0xffffffff8401f000 1aa0 wmt.ko 11 2 0xffffffff84021000 2ce0 vboxnetflt.ko 12 2 0xffffffff84024000 9e30 netgraph.ko 13 1 0xffffffff8402e000 1710 ng_ether.ko 14 1 0xffffffff84030000 3f30 vboxnetadp.ko 15 1 0xffffffff84034000 2928 ums.ko Desktop@neomarx% sudo su - # kldload fuse # ntfs-3g /dev/ada0p3 /mnt NTFS signature is missing. Failed to mount '/dev/ada0p3': Invalid argument The device '/dev/ada0p3' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? # kldstat Id Refs Address Size Name 1 41 0xffffffff80200000 2448f20 kernel 2 3 0xffffffff82649000 88a58 vboxdrv.ko 3 3 0xffffffff826d2000 b7bd8 linux.ko 4 4 0xffffffff8278a000 96f8 linux_common.ko 5 1 0xffffffff82794000 165920 nvidia-modeset.ko 6 2 0xffffffff828fa000 15b6608 nvidia.ko 7 1 0xffffffff84019000 2668 intpm.ko 8 1 0xffffffff8401c000 b50 smbus.ko 9 1 0xffffffff8401d000 18a0 uhid.ko 10 1 0xffffffff8401f000 1aa0 wmt.ko 11 2 0xffffffff84021000 2ce0 vboxnetflt.ko 12 2 0xffffffff84024000 9e30 netgraph.ko 13 1 0xffffffff8402e000 1710 ng_ether.ko 14 1 0xffffffff84030000 3f30 vboxnetadp.ko 15 1 0xffffffff84034000 2928 ums.ko 16 1 0xffffffff84037000 fcf0 fuse.ko # -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 9 19:22:54 2020 Return-Path: Delivered-To: freebsd-questions@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 3C03A3DA10C for ; Wed, 9 Sep 2020 19:22:54 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.11]) (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 4BmsNs2MSHz4gHw for ; Wed, 9 Sep 2020 19:22:52 +0000 (UTC) (envelope-from ipluta@wp.pl) Received: (wp-smtpd smtp.wp.pl 32587 invoked from network); 9 Sep 2020 21:22:51 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1599679371; bh=/bkIqSZqQQeXN27VcW9S/FNMhebcuYNWSsfvZ09VsiI=; h=Subject:To:Cc:From; b=Y1O3aLpGYxOaIUqA90srCTVPMO9woiFviRse0SoXUo4DzbXIbf9iCpwCh6LV1lkxz IVYI0sElby3f4rIZV5Nw/fiCPW5V3Y4L090FIOldMIr1BgF1KsUBx7QVs/flocMIFV nQW27m+WQ0qvytqpNMlMIi8RCRBfz3ii3SrGaDRA= Received: from cqs36.neoplus.adsl.tpnet.pl (HELO [10.0.0.98]) (ipluta@wp.pl@[83.31.250.36]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 9 Sep 2020 21:22:51 +0200 Subject: Re: mounting a windows 10 drive To: Aryeh Friedman Cc: FreeBSD Mailing List References: <22da6dc2-2592-d809-6ad4-9c6703f71c55@wp.pl> From: "Ireneusz Pluta/wp.pl" Message-ID: Date: Wed, 9 Sep 2020 21:22:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: pl X-WP-MailID: 89e28b57262ba7aeaebe6a72a5109740 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [ESME] X-Rspamd-Queue-Id: 4BmsNs2MSHz4gHw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=wp.pl header.s=1024a header.b=Y1O3aLpG; dmarc=pass (policy=none) header.from=wp.pl; spf=pass (mx1.freebsd.org: domain of ipluta@wp.pl designates 212.77.101.11 as permitted sender) smtp.mailfrom=ipluta@wp.pl X-Spamd-Result: default: False [-4.17 / 15.00]; FREEMAIL_FROM(0.00)[wp.pl]; R_SPF_ALLOW(-0.20)[+ip4:212.77.96.0/19]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[wp.pl:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[wp.pl,none]; NEURAL_HAM_SHORT(-1.16)[-1.160]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[wp.pl]; ASN(0.00)[asn:12827, ipnet:212.77.101.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[wp.pl:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.022]; R_DKIM_ALLOW(-0.20)[wp.pl:s=1024a]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.77.101.11:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.77.101.11:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 19:22:54 -0000 W dniu 2020-09-09 o 21:13, Aryeh Friedman pisze: > Desktop@neomarx% sudo su - > # kldload fuse > # ntfs-3g /dev/ada0p3 /mnt > NTFS signature is missing. > Failed to mount '/dev/ada0p3': Invalid argument > The device '/dev/ada0p3' doesn't seem to have a valid NTFS. > Maybe the wrong device is used? Or the whole disk instead of a > partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around? isn't /dev/ada0p4 your C: drive? From owner-freebsd-questions@freebsd.org Thu Sep 10 14:18:42 2020 Return-Path: Delivered-To: freebsd-questions@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 11BD73D846F for ; Thu, 10 Sep 2020 14:18:42 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnLbP0z70z44SP for ; Thu, 10 Sep 2020 14:18:40 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-oo1-xc2b.google.com with SMTP id 4so1469043ooh.11 for ; Thu, 10 Sep 2020 07:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=qtBQI2eK9yXdC26KQfOQZsz/0TeV7S18Ov7I2Nap7YQ=; b=mNBVPG0s1iL+e+Qlg8YOThEy/LOg7L6taMKfu8niODsnVs374XZybaNbN9dUaMBgcd Ohl0r35OZVrwSIKY+ojQuiTpAYKnreNULdNAkZvS84Jq0P0JcxXasu3eH1YMOtT9nPqD AoaTxJJMw+IW1MeAppCZ68AbhrwHmIc5/Da7g14BLhq74am7q+qFnDK/7J35/6Fkap8R FCxHmkHkc11F3TqvZFpS/b2HeqP6uiMO4BeXP2Lqej21/DPKnu3BdFPmVWfiM2hKf16y HBGgYEV/xrL9rI50mL8Iut0taKcv1/czNlGEWAFKuXd8OOv6vvfeOo9ZqSvyJ3DzN/5C xJNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=qtBQI2eK9yXdC26KQfOQZsz/0TeV7S18Ov7I2Nap7YQ=; b=L18yDxsq80fhEtEEzDTTcI0nTWs2Dr5YUUcQhRxIo5+77WialwiE2zJcGcKYovTvMk fNw1OukTgw363KMRt+Rd3yDwMkrZX8pPxX0Zo6tPOVi+Q1xjlRLmDWX7lo1KzipGNKPm Hi9GQOECyUoGojsaAs68zcgjfcPv12VRPGmGPG+jzIyJeHe38ofaUf10yxbBByn36NPR +1hyeUFvHqmhFW/MztAehbf+6AV81kke7QyTkWB+uw1V2y7Akdx/Se2peZf7n8qtrVNR YNz2eKnWkuK9VIcTrXuOYkv3vAjvocXLIt58YiBBSJfKk5rqhZt8F6JoqEh0H2Ca9w+T XxEg== X-Gm-Message-State: AOAM533s4i02/w2LGL9quy6xUMzezNJ6KOslIXIY9YunBb1SnVy+GVz2 91zVlqjoyeAYgrrvMhVLJrIxmBoht3pu3l4ZyMbrYHSG X-Google-Smtp-Source: ABdhPJxwgEUWFiqsiv/726SmUYUVTYBkn1+RivzYhnLthHPFOOu6Z8Omk5s8MS7rWjqzZxmmBDZbCXULJp06nR1NnQ8= X-Received: by 2002:a4a:e516:: with SMTP id r22mr4622434oot.3.1599747519687; Thu, 10 Sep 2020 07:18:39 -0700 (PDT) MIME-Version: 1.0 Sender: ludovit.koren@gmail.com Received: by 2002:a9d:6518:0:0:0:0:0 with HTTP; Thu, 10 Sep 2020 07:18:39 -0700 (PDT) From: Ludovit Koren Date: Thu, 10 Sep 2020 16:18:39 +0200 X-Google-Sender-Auth: -SkypHIINoExW4MHByeuBOK8f1I Message-ID: Subject: ZFS snapshot - rollback problem To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4BnLbP0z70z44SP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mNBVPG0s; dmarc=none; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2607:f8b0:4864:20::c2b as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-1.86 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[ludovit_koren@tempest.sk,ludovitkoren@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ludovit_koren@tempest.sk,ludovitkoren@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.970]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tempest.sk]; RCPT_COUNT_ONE(0.00)[1]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c2b:from]; NEURAL_SPAM_SHORT(0.30)[0.301]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 14:18:42 -0000 Hi, I have the following configuration: ~>uname -a FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 ~>zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 244G 0 10.7G /mnt zroot/Centos8 6.80G 4.13G 2.67G - zroot/msw7 44.9G 25.8G 19.1G - zroot/swapdisk0 40.8G 20.6G 20.2G - zroot/usr 131G 0 50.9G /usr zroot/usr/home 80.1G 0 80.1G /usr/home zroot/var 9.94G 0 9.94G /var After zfs snapshot, which I did on the root, I got: ~>zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT zroot@200909 1K - 10.7G - zroot/Centos8@200909 1K - 2.67G - zroot/msw7@200909 1K - 19.1G - zroot/swapdisk0@200909 0 - 20.2G - zroot/usr@200909 1K - 50.9G - zroot/usr/home@200909 1K - 80.1G - zroot/var@200909 1K - 9.94G - i.e. whole filesystem is read only. I am not able to do neither rollback, nor destroy of the snapshot. Is there any possibility to reset the filesystem to the read-write mode? Any help is greatly appreciated. Regards, lk From owner-freebsd-questions@freebsd.org Thu Sep 10 14:35:04 2020 Return-Path: Delivered-To: freebsd-questions@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 C775A3D904F for ; Thu, 10 Sep 2020 14:35:04 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnLyH6RnNz45DX for ; Thu, 10 Sep 2020 14:35:03 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd12.aul.t-online.de (fwd12.aul.t-online.de [172.20.26.241]) by mailout07.t-online.de (Postfix) with SMTP id B44CB420AB45; Thu, 10 Sep 2020 16:35:01 +0200 (CEST) Received: from esprimo.local (GiGmFkZFwhNMMIjjKEuHcHvhICdk1+cjdXYRL1FB1cK-BZxCV6VjDhjAAbaIWBaZN1@[93.238.32.241]) by fwd12.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kGNf9-1P19Yu0; Thu, 10 Sep 2020 16:34:59 +0200 Received: by esprimo.local (Postfix, from userid 1001) id 5EA1E38258; Thu, 10 Sep 2020 16:34:58 +0200 (CEST) Date: Thu, 10 Sep 2020 16:34:58 +0200 From: Christoph Brinkhaus To: Ludovit Koren Cc: freebsd-questions@freebsd.org Subject: Re: ZFS snapshot - rollback problem Message-ID: <20200910143458.GA83264@esprimo> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ID: GiGmFkZFwhNMMIjjKEuHcHvhICdk1+cjdXYRL1FB1cK-BZxCV6VjDhjAAbaIWBaZN1 X-TOI-EXPURGATEID: 150726::1599748499-0000C495-E9255839/0/0 CLEAN NORMAL X-TOI-MSGID: 7505f72e-df1e-49bd-8d7b-cbf9017594ad X-Rspamd-Queue-Id: 4BnLyH6RnNz45DX X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of c.brinkhaus@t-online.de has no SPF policy when checking 194.25.134.83) smtp.mailfrom=c.brinkhaus@t-online.de X-Spamd-Result: default: False [1.89 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[t-online.de]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.08)[-0.081]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[93.238.32.241:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[t-online.de]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[t-online.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.09)[0.091]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.48)[0.483]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.83:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.83:from]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 14:35:04 -0000 On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: > Hi, > > I have the following configuration: > > ~>uname -a > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > ~>zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 244G 0 10.7G /mnt > zroot/Centos8 6.80G 4.13G 2.67G - > zroot/msw7 44.9G 25.8G 19.1G - > zroot/swapdisk0 40.8G 20.6G 20.2G - > zroot/usr 131G 0 50.9G /usr > zroot/usr/home 80.1G 0 80.1G /usr/home > zroot/var 9.94G 0 9.94G /var > > After zfs snapshot, which I did on the root, I got: > ~>zfs list -t snapshot > NAME USED AVAIL REFER MOUNTPOINT > zroot@200909 1K - 10.7G - > zroot/Centos8@200909 1K - 2.67G - > zroot/msw7@200909 1K - 19.1G - > zroot/swapdisk0@200909 0 - 20.2G - > zroot/usr@200909 1K - 50.9G - > zroot/usr/home@200909 1K - 80.1G - > zroot/var@200909 1K - 9.94G - > > i.e. whole filesystem is read only. I am not able to do neither > rollback, nor destroy of the snapshot. Is there any possibility to > reset the filesystem to the read-write mode? I do not see there if it is read only or not. To change the readyonly property: zfs set readonly=off Mount to make it effective: zfs mount -a > > Any help is greatly appreciated. I hope my notes are correct and help you. Kind regards, Christoph From owner-freebsd-questions@freebsd.org Thu Sep 10 15:08:29 2020 Return-Path: Delivered-To: freebsd-questions@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 05F8B3DA088 for ; Thu, 10 Sep 2020 15:08:29 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnMhr0nV9z47VZ for ; Thu, 10 Sep 2020 15:08:27 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-ot1-x32c.google.com with SMTP id n61so5594690ota.10 for ; Thu, 10 Sep 2020 08:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=XIlqG7A2diyMJ52uZFF8W+q+HwhPTjJ/zl41HKcs70U=; b=m7xgQ0QO74ByoFdwiT4vb5T+ilQfCFZ2HtRs6Yoq3sZSIseu7tZwQ+DhF9vKfOBBMw G0+mnHBygQVdx321rNWGTWAz6C5dC6MM1om2vSjfx8h9Mr0mVr/eNypwHXk5fAQuHWvg 2UrKIaGodu2PLONYiqg5g10ogMLK6rJOHh9OqCOI+V4YzpJVNuX+YqJNzBsZx7LmGyie HAfHM2t/dBUJU372sEDGUz4oXtrv1ObVTC3pjoAgoqykszE7A7tvoiT1x/X1SED9i/B5 JAnDcK8wVoX7WqTIKAjjZufbTQobQwYmBVIK8er1FJwZ7eVEexVAriIhmIrHqJmGreor gZSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=XIlqG7A2diyMJ52uZFF8W+q+HwhPTjJ/zl41HKcs70U=; b=pC+W2Wh+1lELK8CjN+3+M4m0hBlVqUr0q5MyA9MGdiY5WCvVDoIBiTRI+DboiIAu/C 6AKKrm7lhlZYheyKqjaaLv93/DYi6USzcWhH7B8K4mLoyH2j4DlSZRUD8tsU+Fh/DuRd vnxg4CUWwyuDStnBfQ5rWInfg+Wi6xEL+Si1lq4q++swHCCRvhKdGj/NcD1BnA0lGZ6O 1H8HEK+sBEUx3R8lxK8Dnd/Cklc2fSE5/u3/5wPW+zO+aNxUynwTYKdLKprp3Ddc6UvE /CawnUooX/cRpErVo4rF2bumQDOX0GBrh08FPkpIRo5uWPS1eJfCLkNRjB+lb+IwS60w WlOA== X-Gm-Message-State: AOAM533qdKeKuzXwaZpxFe+2otv8B0Ugfwo6M5swYQBAj5dILL8Oc3L/ K16jLialvgXjLYW7JI7455ksRDG1yKsFDLITmOc= X-Google-Smtp-Source: ABdhPJwyQ5z0S1HI2XELRPln+NNEmp0GmRnnCA6miQviWQopaLiRn4HbraUiGUP0u5QvNX69rMIacvGwhY7Y0jwxxBs= X-Received: by 2002:a9d:621a:: with SMTP id g26mr4539567otj.209.1599750506727; Thu, 10 Sep 2020 08:08:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6518:0:0:0:0:0 with HTTP; Thu, 10 Sep 2020 08:08:26 -0700 (PDT) In-Reply-To: <20200910143458.GA83264@esprimo> References: <20200910143458.GA83264@esprimo> From: Ludovit Koren Date: Thu, 10 Sep 2020 17:08:26 +0200 Message-ID: Subject: Re: ZFS snapshot - rollback problem To: Christoph Brinkhaus , freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4BnMhr0nV9z47VZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=m7xgQ0QO; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-3.18 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.21)[-0.210]; FREEMAIL_TO(0.00)[t-online.de,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_HAM_LONG(-0.99)[-0.994]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 15:08:29 -0000 On Thursday, September 10, 2020, Christoph Brinkhaus < c.brinkhaus@t-online.de> wrote: > On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: > > Hi, > > > > I have the following configuration: > > > > ~>uname -a > > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > > ~>zfs list > > NAME USED AVAIL REFER MOUNTPOINT > > zroot 244G 0 10.7G /mnt > > zroot/Centos8 6.80G 4.13G 2.67G - > > zroot/msw7 44.9G 25.8G 19.1G - > > zroot/swapdisk0 40.8G 20.6G 20.2G - > > zroot/usr 131G 0 50.9G /usr > > zroot/usr/home 80.1G 0 80.1G /usr/home > > zroot/var 9.94G 0 9.94G /var > > > > After zfs snapshot, which I did on the root, I got: > > ~>zfs list -t snapshot > > NAME USED AVAIL REFER MOUNTPOINT > > zroot@200909 1K - 10.7G - > > zroot/Centos8@200909 1K - 2.67G - > > zroot/msw7@200909 1K - 19.1G - > > zroot/swapdisk0@200909 0 - 20.2G - > > zroot/usr@200909 1K - 50.9G - > > zroot/usr/home@200909 1K - 80.1G - > > zroot/var@200909 1K - 9.94G - > > > > i.e. whole filesystem is read only. I am not able to do neither > > rollback, nor destroy of the snapshot. Is there any possibility to > > reset the filesystem to the read-write mode? > > I do not see there if it is read only or not. > To change the readyonly property: > zfs set readonly=off > > Mount to make it effective: > zfs mount -a > > > > Any help is greatly appreciated. > I hope my notes are correct and help you. > > If it would be so easy... The problem is the snapshot is over the zfs root file system. And on the snapshot I cannot change the property. Here are options: ~>zfs get all NAME PROPERTY VALUE SOURCE zroot type filesystem - zroot creation Mon May 27 23:30 2013 - zroot used 244G - zroot available 0 - zroot referenced 10.7G - zroot compressratio 1.00x - zroot mounted yes - zroot quota none default zroot reservation none default zroot recordsize 128K default zroot mountpoint /mnt local zroot sharenfs off default zroot checksum fletcher4 local zroot compression off default zroot atime on default zroot devices on default zroot exec on default zroot setuid on default zroot readonly off local zroot jailed off default zroot snapdir hidden default zroot aclmode discard default zroot aclinherit restricted default zroot createtxg 1 - zroot canmount on default zroot xattr off temporary zroot copies 1 default zroot version 5 - zroot utf8only off - zroot normalization none - zroot casesensitivity sensitive - zroot vscan off default zroot nbmand off default zroot sharesmb off default zroot refquota none default zroot refreservation none default zroot guid 15663691137267636586 - zroot primarycache all default zroot secondarycache all default zroot usedbysnapshots 1K - zroot usedbydataset 10.7G - zroot usedbychildren 234G - zroot usedbyrefreservation 0 - zroot logbias latency default zroot dedup off default zroot mlslabel - zroot sync standard default zroot refcompressratio 1.00x - zroot written 1K - zroot logicalused 193G - zroot logicalreferenced 10.7G - zroot volmode default default zroot filesystem_limit none default zroot snapshot_limit none default zroot filesystem_count none default zroot snapshot_count none default zroot redundant_metadata all default zroot@200909 type snapshot - zroot@200909 creation Wed Sep 9 11:12 2020 - zroot@200909 used 1K - zroot@200909 referenced 10.7G - zroot@200909 compressratio 1.00x - zroot@200909 devices on default zroot@200909 exec on default zroot@200909 setuid on default zroot@200909 createtxg 20490195 - zroot@200909 xattr on default zroot@200909 version 5 - zroot@200909 utf8only off - zroot@200909 normalization none - zroot@200909 casesensitivity sensitive - zroot@200909 nbmand off default zroot@200909 guid 2206615480070071196 - zroot@200909 primarycache all default zroot@200909 secondarycache all default zroot@200909 defer_destroy off - zroot@200909 userrefs 0 - zroot@200909 mlslabel - zroot@200909 refcompressratio 1.00x - zroot@200909 written 10.7G - zroot@200909 clones - zroot@200909 logicalreferenced 10.7G - zroot@200909 volmode default default zroot/Centos8 type volume - zroot/Centos8 creation Thu Oct 31 14:12 2019 - zroot/Centos8 used 6.80G - zroot/Centos8 available 4.13G - zroot/Centos8 referenced 2.67G - zroot/Centos8 compressratio 1.00x - zroot/Centos8 reservation none default zroot/Centos8 volsize 4G local zroot/Centos8 volblocksize 8K default zroot/Centos8 checksum fletcher4 inherited from zroot zroot/Centos8 compression off default zroot/Centos8 readonly off inherited from zroot zroot/Centos8 createtxg 16467672 - zroot/Centos8 copies 1 default zroot/Centos8 refreservation 4.13G local zroot/Centos8 guid 5814621169889103161 - zroot/Centos8 primarycache all default zroot/Centos8 secondarycache all default zroot/Centos8 usedbysnapshots 1K - zroot/Centos8 usedbydataset 2.67G - zroot/Centos8 usedbychildren 0 - zroot/Centos8 usedbyrefreservation 4.13G - zroot/Centos8 logbias latency default zroot/Centos8 dedup off default zroot/Centos8 mlslabel - zroot/Centos8 sync standard default zroot/Centos8 refcompressratio 1.00x - zroot/Centos8 written 1K - zroot/Centos8 logicalused 2.66G - zroot/Centos8 logicalreferenced 2.66G - zroot/Centos8 volmode dev local zroot/Centos8 snapshot_limit none default zroot/Centos8 snapshot_count none default zroot/Centos8 redundant_metadata all default zroot/Centos8@200909 type snapshot - zroot/Centos8@200909 creation Wed Sep 9 11:12 2020 - zroot/Centos8@200909 used 1K - zroot/Centos8@200909 referenced 2.67G - zroot/Centos8@200909 compressratio 1.00x - zroot/Centos8@200909 devices on default zroot/Centos8@200909 exec on default zroot/Centos8@200909 setuid on default zroot/Centos8@200909 createtxg 20490195 - zroot/Centos8@200909 xattr on default zroot/Centos8@200909 nbmand off default zroot/Centos8@200909 guid 10823844225552088614 - zroot/Centos8@200909 primarycache all default zroot/Centos8@200909 secondarycache all default zroot/Centos8@200909 defer_destroy off - zroot/Centos8@200909 userrefs 0 - zroot/Centos8@200909 mlslabel - zroot/Centos8@200909 refcompressratio 1.00x - zroot/Centos8@200909 written 2.67G - zroot/Centos8@200909 clones - zroot/Centos8@200909 logicalreferenced 2.66G - zroot/Centos8@200909 volmode dev inherited from zroot/Centos8 zroot/msw7 type volume - zroot/msw7 creation Thu Feb 22 15:19 2018 - zroot/msw7 used 44.9G - zroot/msw7 available 25.8G - zroot/msw7 referenced 19.1G - zroot/msw7 compressratio 1.00x - zroot/msw7 reservation none default zroot/msw7 volsize 25G local zroot/msw7 volblocksize 8K default zroot/msw7 checksum fletcher4 inherited from zroot zroot/msw7 compression off default zroot/msw7 readonly off inherited from zroot zroot/msw7 createtxg 10775012 - zroot/msw7 copies 1 default zroot/msw7 refreservation 25.8G local zroot/msw7 guid 16581387537923661645 - zroot/msw7 primarycache all default zroot/msw7 secondarycache all default zroot/msw7 usedbysnapshots 1K - zroot/msw7 usedbydataset 19.1G - zroot/msw7 usedbychildren 0 - zroot/msw7 usedbyrefreservation 25.8G - zroot/msw7 logbias latency default zroot/msw7 dedup off default zroot/msw7 mlslabel - zroot/msw7 sync standard default zroot/msw7 refcompressratio 1.00x - zroot/msw7 written 1K - zroot/msw7 logicalused 19.0G - zroot/msw7 logicalreferenced 19.0G - zroot/msw7 volmode dev local zroot/msw7 snapshot_limit none default zroot/msw7 snapshot_count none default zroot/msw7 redundant_metadata all default zroot/msw7@200909 type snapshot - zroot/msw7@200909 creation Wed Sep 9 11:12 2020 - zroot/msw7@200909 used 1K - zroot/msw7@200909 referenced 19.1G - zroot/msw7@200909 compressratio 1.00x - zroot/msw7@200909 devices on default zroot/msw7@200909 exec on default zroot/msw7@200909 setuid on default zroot/msw7@200909 createtxg 20490195 - zroot/msw7@200909 xattr on default zroot/msw7@200909 nbmand off default zroot/msw7@200909 guid 3899706450355491715 - zroot/msw7@200909 primarycache all default zroot/msw7@200909 secondarycache all default zroot/msw7@200909 defer_destroy off - zroot/msw7@200909 userrefs 0 - zroot/msw7@200909 mlslabel - zroot/msw7@200909 refcompressratio 1.00x - zroot/msw7@200909 written 19.1G - zroot/msw7@200909 clones - zroot/msw7@200909 logicalreferenced 19.0G - zroot/msw7@200909 volmode dev inherited from zroot/msw7 zroot/swapdisk0 type volume - zroot/swapdisk0 creation Mon Feb 13 11:03 2017 - zroot/swapdisk0 used 40.8G - zroot/swapdisk0 available 20.6G - zroot/swapdisk0 referenced 20.2G - zroot/swapdisk0 compressratio 1.00x - zroot/swapdisk0 reservation none default zroot/swapdisk0 volsize 20G local zroot/swapdisk0 volblocksize 8K default zroot/swapdisk0 checksum fletcher4 inherited from zroot zroot/swapdisk0 compression off default zroot/swapdisk0 readonly off inherited from zroot zroot/swapdisk0 createtxg 8265142 - zroot/swapdisk0 copies 1 default zroot/swapdisk0 refreservation 20.6G local zroot/swapdisk0 guid 12592813906271140067 - zroot/swapdisk0 primarycache all default zroot/swapdisk0 secondarycache all default zroot/swapdisk0 usedbysnapshots 0 - zroot/swapdisk0 usedbydataset 20.2G - zroot/swapdisk0 usedbychildren 0 - zroot/swapdisk0 usedbyrefreservation 20.6G - zroot/swapdisk0 logbias latency default zroot/swapdisk0 dedup off default zroot/swapdisk0 mlslabel - zroot/swapdisk0 sync standard default zroot/swapdisk0 refcompressratio 1.00x - zroot/swapdisk0 written 0 - zroot/swapdisk0 logicalused 20.1G - zroot/swapdisk0 logicalreferenced 20.1G - zroot/swapdisk0 volmode geom local zroot/swapdisk0 snapshot_limit none default zroot/swapdisk0 snapshot_count none default zroot/swapdisk0 redundant_metadata all default zroot/swapdisk0@200909 type snapshot - zroot/swapdisk0@200909 creation Wed Sep 9 11:12 2020 - zroot/swapdisk0@200909 used 0 - zroot/swapdisk0@200909 referenced 20.2G - zroot/swapdisk0@200909 compressratio 1.00x - zroot/swapdisk0@200909 devices on default zroot/swapdisk0@200909 exec on default zroot/swapdisk0@200909 setuid on default zroot/swapdisk0@200909 createtxg 20490195 - zroot/swapdisk0@200909 xattr on default zroot/swapdisk0@200909 nbmand off default zroot/swapdisk0@200909 guid 6778261312202608185 - zroot/swapdisk0@200909 primarycache all default zroot/swapdisk0@200909 secondarycache all default zroot/swapdisk0@200909 defer_destroy off - zroot/swapdisk0@200909 userrefs 0 - zroot/swapdisk0@200909 mlslabel - zroot/swapdisk0@200909 refcompressratio 1.00x - zroot/swapdisk0@200909 written 20.2G - zroot/swapdisk0@200909 clones - zroot/swapdisk0@200909 logicalreferenced 20.1G - zroot/swapdisk0@200909 volmode geom inherited from zroot/swapdisk0 zroot/usr type filesystem - zroot/usr creation Mon May 27 23:31 2013 - zroot/usr used 131G - zroot/usr available 0 - zroot/usr referenced 50.9G - zroot/usr compressratio 1.00x - zroot/usr mounted yes - zroot/usr quota none default zroot/usr reservation none default zroot/usr recordsize 128K default zroot/usr mountpoint /usr local zroot/usr sharenfs off default zroot/usr checksum fletcher4 inherited from zroot zroot/usr compression off default zroot/usr atime on default zroot/usr devices on default zroot/usr exec on default zroot/usr setuid on default zroot/usr readonly off inherited from zroot zroot/usr jailed off default zroot/usr snapdir hidden default zroot/usr aclmode discard default zroot/usr aclinherit restricted default zroot/usr createtxg 21 - zroot/usr canmount on default zroot/usr xattr off temporary zroot/usr copies 1 default zroot/usr version 5 - zroot/usr utf8only off - zroot/usr normalization none - zroot/usr casesensitivity sensitive - zroot/usr vscan off default zroot/usr nbmand off default zroot/usr sharesmb off default zroot/usr refquota none default zroot/usr refreservation none default zroot/usr guid 3173040953131777265 - zroot/usr primarycache all default zroot/usr secondarycache all default zroot/usr usedbysnapshots 1K - zroot/usr usedbydataset 50.9G - zroot/usr usedbychildren 80.1G - zroot/usr usedbyrefreservation 0 - zroot/usr logbias latency default zroot/usr dedup off default zroot/usr mlslabel - zroot/usr sync standard default zroot/usr refcompressratio 1.00x - zroot/usr written 1K - zroot/usr logicalused 131G - zroot/usr logicalreferenced 50.7G - zroot/usr volmode default default zroot/usr filesystem_limit none default zroot/usr snapshot_limit none default zroot/usr filesystem_count none default zroot/usr snapshot_count none default zroot/usr redundant_metadata all default zroot/usr@200909 type snapshot - zroot/usr@200909 creation Wed Sep 9 11:12 2020 - zroot/usr@200909 used 1K - zroot/usr@200909 referenced 50.9G - zroot/usr@200909 compressratio 1.00x - zroot/usr@200909 devices on default zroot/usr@200909 exec on default zroot/usr@200909 setuid on default zroot/usr@200909 createtxg 20490195 - zroot/usr@200909 xattr on default zroot/usr@200909 version 5 - zroot/usr@200909 utf8only off - zroot/usr@200909 normalization none - zroot/usr@200909 casesensitivity sensitive - zroot/usr@200909 nbmand off default zroot/usr@200909 guid 15403344970624252860 - zroot/usr@200909 primarycache all default zroot/usr@200909 secondarycache all default zroot/usr@200909 defer_destroy off - zroot/usr@200909 userrefs 0 - zroot/usr@200909 mlslabel - zroot/usr@200909 refcompressratio 1.00x - zroot/usr@200909 written 50.9G - zroot/usr@200909 clones - zroot/usr@200909 logicalreferenced 50.7G - zroot/usr@200909 volmode default default zroot/usr/home type filesystem - zroot/usr/home creation Mon May 27 23:33 2013 - zroot/usr/home used 80.1G - zroot/usr/home available 0 - zroot/usr/home referenced 80.1G - zroot/usr/home compressratio 1.00x - zroot/usr/home mounted yes - zroot/usr/home quota none default zroot/usr/home reservation none default zroot/usr/home recordsize 128K default zroot/usr/home mountpoint /usr/home local zroot/usr/home sharenfs off default zroot/usr/home checksum fletcher4 inherited from zroot zroot/usr/home compression off default zroot/usr/home atime on default zroot/usr/home devices on default zroot/usr/home exec on default zroot/usr/home setuid on default zroot/usr/home readonly off inherited from zroot zroot/usr/home jailed off default zroot/usr/home snapdir hidden default zroot/usr/home aclmode discard default zroot/usr/home aclinherit restricted default zroot/usr/home createtxg 41 - zroot/usr/home canmount on default zroot/usr/home xattr off temporary zroot/usr/home copies 1 default zroot/usr/home version 5 - zroot/usr/home utf8only off - zroot/usr/home normalization none - zroot/usr/home casesensitivity sensitive - zroot/usr/home vscan off default zroot/usr/home nbmand off default zroot/usr/home sharesmb off default zroot/usr/home refquota none default zroot/usr/home refreservation none default zroot/usr/home guid 16701701910904504413 - zroot/usr/home primarycache all default zroot/usr/home secondarycache all default zroot/usr/home usedbysnapshots 1K - zroot/usr/home usedbydataset 80.1G - zroot/usr/home usedbychildren 0 - zroot/usr/home usedbyrefreservation 0 - zroot/usr/home logbias latency default zroot/usr/home dedup off default zroot/usr/home mlslabel - zroot/usr/home sync standard default zroot/usr/home refcompressratio 1.00x - zroot/usr/home written 1K - zroot/usr/home logicalused 80.0G - zroot/usr/home logicalreferenced 80.0G - zroot/usr/home volmode default default zroot/usr/home filesystem_limit none default zroot/usr/home snapshot_limit none default zroot/usr/home filesystem_count none default zroot/usr/home snapshot_count none default zroot/usr/home redundant_metadata all default zroot/usr/home@200909 type snapshot - zroot/usr/home@200909 creation Wed Sep 9 11:12 2020 - zroot/usr/home@200909 used 1K - zroot/usr/home@200909 referenced 80.1G - zroot/usr/home@200909 compressratio 1.00x - zroot/usr/home@200909 devices on default zroot/usr/home@200909 exec on default zroot/usr/home@200909 setuid on default zroot/usr/home@200909 createtxg 20490195 - zroot/usr/home@200909 xattr on default zroot/usr/home@200909 version 5 - zroot/usr/home@200909 utf8only off - zroot/usr/home@200909 normalization none - zroot/usr/home@200909 casesensitivity sensitive - zroot/usr/home@200909 nbmand off default zroot/usr/home@200909 guid 14302389932766417239 - zroot/usr/home@200909 primarycache all default zroot/usr/home@200909 secondarycache all default zroot/usr/home@200909 defer_destroy off - zroot/usr/home@200909 userrefs 0 - zroot/usr/home@200909 mlslabel - zroot/usr/home@200909 refcompressratio 1.00x - zroot/usr/home@200909 written 80.1G - zroot/usr/home@200909 clones - zroot/usr/home@200909 logicalreferenced 80.0G - zroot/usr/home@200909 volmode default default zroot/var type filesystem - zroot/var creation Mon May 27 23:40 2013 - zroot/var used 9.94G - zroot/var available 0 - zroot/var referenced 9.94G - zroot/var compressratio 1.00x - zroot/var mounted yes - zroot/var quota none default zroot/var reservation none default zroot/var recordsize 128K default zroot/var mountpoint /var local zroot/var sharenfs off default zroot/var checksum fletcher4 inherited from zroot zroot/var compression off default zroot/var atime on default zroot/var devices on default zroot/var exec on default zroot/var setuid on default zroot/var readonly off inherited from zroot zroot/var jailed off default zroot/var snapdir hidden default zroot/var aclmode discard default zroot/var aclinherit restricted default zroot/var createtxg 133 - zroot/var canmount on default zroot/var xattr off temporary zroot/var copies 1 default zroot/var version 5 - zroot/var utf8only off - zroot/var normalization none - zroot/var casesensitivity sensitive - zroot/var vscan off default zroot/var nbmand off default zroot/var sharesmb off default zroot/var refquota none default zroot/var refreservation none default zroot/var guid 15336045084130388053 - zroot/var primarycache all default zroot/var secondarycache all default zroot/var usedbysnapshots 1K - zroot/var usedbydataset 9.94G - zroot/var usedbychildren 0 - zroot/var usedbyrefreservation 0 - zroot/var logbias latency default zroot/var dedup off default zroot/var mlslabel - zroot/var sync standard default zroot/var refcompressratio 1.00x - zroot/var written 1K - zroot/var logicalused 9.93G - zroot/var logicalreferenced 9.93G - zroot/var volmode default default zroot/var filesystem_limit none default zroot/var snapshot_limit none default zroot/var filesystem_count none default zroot/var snapshot_count none default zroot/var redundant_metadata all default zroot/var@200909 type snapshot - zroot/var@200909 creation Wed Sep 9 11:12 2020 - zroot/var@200909 used 1K - zroot/var@200909 referenced 9.94G - zroot/var@200909 compressratio 1.00x - zroot/var@200909 devices on default zroot/var@200909 exec on default zroot/var@200909 setuid on default zroot/var@200909 createtxg 20490195 - zroot/var@200909 xattr on default zroot/var@200909 version 5 - zroot/var@200909 utf8only off - zroot/var@200909 normalization none - zroot/var@200909 casesensitivity sensitive - zroot/var@200909 nbmand off default zroot/var@200909 guid 12205140544561506623 - zroot/var@200909 primarycache all default zroot/var@200909 secondarycache all default zroot/var@200909 defer_destroy off - zroot/var@200909 userrefs 0 - zroot/var@200909 mlslabel - zroot/var@200909 refcompressratio 1.00x - zroot/var@200909 written 9.94G - zroot/var@200909 clones - zroot/var@200909 logicalreferenced 9.93G - zroot/var@200909 volmode default default I am lost lk From owner-freebsd-questions@freebsd.org Thu Sep 10 16:13:28 2020 Return-Path: Delivered-To: freebsd-questions@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 263D03DB988 for ; Thu, 10 Sep 2020 16:13:28 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnP7p72VFz4F8v for ; Thu, 10 Sep 2020 16:13:26 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de [172.20.27.147]) by mailout11.t-online.de (Postfix) with SMTP id A515A423D0DD; Thu, 10 Sep 2020 18:13:24 +0200 (CEST) Received: from esprimo.local (ZYtm1aZFZhkdqIMiNzDx4Z-yVil3iez9Qk4GIgMIkGf2ZVO2Xm2Hz6xoqacDnyWQMx@[93.238.32.241]) by fwd01.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kGPCA-09mswC0; Thu, 10 Sep 2020 18:13:10 +0200 Received: by esprimo.local (Postfix, from userid 1001) id 8E65F3826C; Thu, 10 Sep 2020 18:13:09 +0200 (CEST) Date: Thu, 10 Sep 2020 18:13:09 +0200 From: Christoph Brinkhaus To: Ludovit Koren Cc: FreeBSD Mailing List Subject: Re: ZFS snapshot - rollback problem Message-ID: <20200910161309.GA56432@esprimo> References: <20200910143458.GA83264@esprimo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ID: ZYtm1aZFZhkdqIMiNzDx4Z-yVil3iez9Qk4GIgMIkGf2ZVO2Xm2Hz6xoqacDnyWQMx X-TOI-EXPURGATEID: 150726::1599754390-0000355B-76B3D19E/0/0 CLEAN NORMAL X-TOI-MSGID: d5362474-6a03-44ba-b9c8-ff942bf178f6 X-Rspamd-Queue-Id: 4BnP7p72VFz4F8v X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of c.brinkhaus@t-online.de has no SPF policy when checking 194.25.134.85) smtp.mailfrom=c.brinkhaus@t-online.de X-Spamd-Result: default: False [2.92 / 15.00]; FREEMAIL_FROM(0.00)[t-online.de]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.238.32.241:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[t-online.de]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_SPAM_SHORT(0.56)[0.561]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[t-online.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.60)[0.596]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.36)[0.364]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.85:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.85:from]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 16:13:28 -0000 On Thu, Sep 10, 2020 at 05:08:26PM +0200, Ludovit Koren wrote: > On Thursday, September 10, 2020, Christoph Brinkhaus < > c.brinkhaus@t-online.de> wrote: > > > On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: Dear Ludovit, I make one comment here and some below. > > > Hi, > > > > > > I have the following configuration: > > > > > > ~>uname -a > > > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > > > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > > > ~>zfs list > > > NAME USED AVAIL REFER MOUNTPOINT > > > zroot 244G 0 10.7G /mnt > > > zroot/Centos8 6.80G 4.13G 2.67G - > > > zroot/msw7 44.9G 25.8G 19.1G - > > > zroot/swapdisk0 40.8G 20.6G 20.2G - > > > zroot/usr 131G 0 50.9G /usr > > > zroot/usr/home 80.1G 0 80.1G /usr/home > > > zroot/var 9.94G 0 9.94G /var > > > Can it be that the disk is just full? It might make sense to disable swap temporary and free that space to help the system to recover. > > > After zfs snapshot, which I did on the root, I got: > > > ~>zfs list -t snapshot > > > NAME USED AVAIL REFER MOUNTPOINT > > > zroot@200909 1K - 10.7G - > > > zroot/Centos8@200909 1K - 2.67G - > > > zroot/msw7@200909 1K - 19.1G - > > > zroot/swapdisk0@200909 0 - 20.2G - > > > zroot/usr@200909 1K - 50.9G - > > > zroot/usr/home@200909 1K - 80.1G - > > > zroot/var@200909 1K - 9.94G - > > > > > > i.e. whole filesystem is read only. I am not able to do neither > > > rollback, nor destroy of the snapshot. Is there any possibility to > > > reset the filesystem to the read-write mode? > > > > I do not see there if it is read only or not. > > To change the readyonly property: > > zfs set readonly=off > > > > Mount to make it effective: > > zfs mount -a > > > > > > Any help is greatly appreciated. > > I hope my notes are correct and help you. > > > > If it would be so easy... The problem is the snapshot is over the zfs root > file system. And on the snapshot I cannot change the property. Here are > options: > > > ~>zfs get all > NAME PROPERTY VALUE SOURCE > zroot type filesystem - > zroot creation Mon May 27 23:30 2013 - > zroot used 244G - > zroot available 0 - > zroot referenced 10.7G - > zroot compressratio 1.00x - > zroot mounted yes - > zroot quota none default > zroot reservation none default > zroot recordsize 128K default > zroot mountpoint /mnt local > zroot sharenfs off default > zroot checksum fletcher4 local > zroot compression off default > zroot atime on default > zroot devices on default > zroot exec on default > zroot setuid on default > zroot readonly off local readyonly=off means read/write. It should be ok and is similar on my box. The source here is default but not local. May be at that time this setting has been default. > zroot jailed off default > zroot snapdir hidden default > zroot aclmode discard default > zroot aclinherit restricted default > zroot createtxg 1 - > zroot canmount on default > zroot xattr off temporary > zroot copies 1 default > zroot version 5 - > zroot utf8only off - > zroot normalization none - > zroot casesensitivity sensitive - > zroot vscan off default > zroot nbmand off default > zroot sharesmb off default > zroot refquota none default > zroot refreservation none default > zroot guid 15663691137267636586 - > zroot primarycache all default > zroot secondarycache all default > zroot usedbysnapshots 1K - > zroot usedbydataset 10.7G - > zroot usedbychildren 234G - > zroot usedbyrefreservation 0 - > zroot logbias latency default > zroot dedup off default > zroot mlslabel - > zroot sync standard default > zroot refcompressratio 1.00x - > zroot written 1K - > zroot logicalused 193G - > zroot logicalreferenced 10.7G - > zroot volmode default default > zroot filesystem_limit none default > zroot snapshot_limit none default > zroot filesystem_count none default > zroot snapshot_count none default > zroot redundant_metadata all default > zroot@200909 type snapshot - > zroot@200909 creation Wed Sep 9 11:12 2020 - > zroot@200909 used 1K - > zroot@200909 referenced 10.7G - > zroot@200909 compressratio 1.00x - > zroot@200909 devices on default > zroot@200909 exec on default > zroot@200909 setuid on default > zroot@200909 createtxg 20490195 - > zroot@200909 xattr on default > zroot@200909 version 5 - > zroot@200909 utf8only off - > zroot@200909 normalization none - > zroot@200909 casesensitivity sensitive - > zroot@200909 nbmand off default > zroot@200909 guid 2206615480070071196 - > zroot@200909 primarycache all default > zroot@200909 secondarycache all default > zroot@200909 defer_destroy off - > zroot@200909 userrefs 0 - > zroot@200909 mlslabel - > zroot@200909 refcompressratio 1.00x - > zroot@200909 written 10.7G - > zroot@200909 clones - > zroot@200909 logicalreferenced 10.7G - > zroot@200909 volmode default default > zroot/Centos8 type volume - > zroot/Centos8 creation Thu Oct 31 14:12 2019 - > zroot/Centos8 used 6.80G - > zroot/Centos8 available 4.13G - > zroot/Centos8 referenced 2.67G - > zroot/Centos8 compressratio 1.00x - > zroot/Centos8 reservation none default > zroot/Centos8 volsize 4G local > zroot/Centos8 volblocksize 8K default > zroot/Centos8 checksum fletcher4 > inherited from zroot > zroot/Centos8 compression off default > zroot/Centos8 readonly off > inherited from zroot > zroot/Centos8 createtxg 16467672 - > zroot/Centos8 copies 1 default > zroot/Centos8 refreservation 4.13G local > zroot/Centos8 guid 5814621169889103161 - > zroot/Centos8 primarycache all default > zroot/Centos8 secondarycache all default > zroot/Centos8 usedbysnapshots 1K - > zroot/Centos8 usedbydataset 2.67G - > zroot/Centos8 usedbychildren 0 - > zroot/Centos8 usedbyrefreservation 4.13G - > zroot/Centos8 logbias latency default > zroot/Centos8 dedup off default > zroot/Centos8 mlslabel - > zroot/Centos8 sync standard default > zroot/Centos8 refcompressratio 1.00x - > zroot/Centos8 written 1K - > zroot/Centos8 logicalused 2.66G - > zroot/Centos8 logicalreferenced 2.66G - > zroot/Centos8 volmode dev local > zroot/Centos8 snapshot_limit none default > zroot/Centos8 snapshot_count none default > zroot/Centos8 redundant_metadata all default > zroot/Centos8@200909 type snapshot - > zroot/Centos8@200909 creation Wed Sep 9 11:12 2020 - > zroot/Centos8@200909 used 1K - > zroot/Centos8@200909 referenced 2.67G - > zroot/Centos8@200909 compressratio 1.00x - > zroot/Centos8@200909 devices on default > zroot/Centos8@200909 exec on default > zroot/Centos8@200909 setuid on default > zroot/Centos8@200909 createtxg 20490195 - > zroot/Centos8@200909 xattr on default > zroot/Centos8@200909 nbmand off default > zroot/Centos8@200909 guid 10823844225552088614 - > zroot/Centos8@200909 primarycache all default > zroot/Centos8@200909 secondarycache all default > zroot/Centos8@200909 defer_destroy off - > zroot/Centos8@200909 userrefs 0 - > zroot/Centos8@200909 mlslabel - > zroot/Centos8@200909 refcompressratio 1.00x - > zroot/Centos8@200909 written 2.67G - > zroot/Centos8@200909 clones - > zroot/Centos8@200909 logicalreferenced 2.66G - > zroot/Centos8@200909 volmode dev > inherited from zroot/Centos8 > zroot/msw7 type volume - > zroot/msw7 creation Thu Feb 22 15:19 2018 - > zroot/msw7 used 44.9G - > zroot/msw7 available 25.8G - > zroot/msw7 referenced 19.1G - > zroot/msw7 compressratio 1.00x - > zroot/msw7 reservation none default > zroot/msw7 volsize 25G local > zroot/msw7 volblocksize 8K default > zroot/msw7 checksum fletcher4 > inherited from zroot > zroot/msw7 compression off default > zroot/msw7 readonly off > inherited from zroot > zroot/msw7 createtxg 10775012 - > zroot/msw7 copies 1 default > zroot/msw7 refreservation 25.8G local > zroot/msw7 guid 16581387537923661645 - > zroot/msw7 primarycache all default > zroot/msw7 secondarycache all default > zroot/msw7 usedbysnapshots 1K - > zroot/msw7 usedbydataset 19.1G - > zroot/msw7 usedbychildren 0 - > zroot/msw7 usedbyrefreservation 25.8G - > zroot/msw7 logbias latency default > zroot/msw7 dedup off default > zroot/msw7 mlslabel - > zroot/msw7 sync standard default > zroot/msw7 refcompressratio 1.00x - > zroot/msw7 written 1K - > zroot/msw7 logicalused 19.0G - > zroot/msw7 logicalreferenced 19.0G - > zroot/msw7 volmode dev local > zroot/msw7 snapshot_limit none default > zroot/msw7 snapshot_count none default > zroot/msw7 redundant_metadata all default > zroot/msw7@200909 type snapshot - > zroot/msw7@200909 creation Wed Sep 9 11:12 2020 - > zroot/msw7@200909 used 1K - > zroot/msw7@200909 referenced 19.1G - > zroot/msw7@200909 compressratio 1.00x - > zroot/msw7@200909 devices on default > zroot/msw7@200909 exec on default > zroot/msw7@200909 setuid on default > zroot/msw7@200909 createtxg 20490195 - > zroot/msw7@200909 xattr on default > zroot/msw7@200909 nbmand off default > zroot/msw7@200909 guid 3899706450355491715 - > zroot/msw7@200909 primarycache all default > zroot/msw7@200909 secondarycache all default > zroot/msw7@200909 defer_destroy off - > zroot/msw7@200909 userrefs 0 - > zroot/msw7@200909 mlslabel - > zroot/msw7@200909 refcompressratio 1.00x - > zroot/msw7@200909 written 19.1G - > zroot/msw7@200909 clones - > zroot/msw7@200909 logicalreferenced 19.0G - > zroot/msw7@200909 volmode dev > inherited from zroot/msw7 This space can be used if swap is disabled. At that time no resource hungry application should run of course. > zroot/swapdisk0 type volume - > zroot/swapdisk0 creation Mon Feb 13 11:03 2017 - > zroot/swapdisk0 used 40.8G - > zroot/swapdisk0 available 20.6G - > zroot/swapdisk0 referenced 20.2G - > zroot/swapdisk0 compressratio 1.00x - > zroot/swapdisk0 reservation none default > zroot/swapdisk0 volsize 20G local > zroot/swapdisk0 volblocksize 8K default > zroot/swapdisk0 checksum fletcher4 > inherited from zroot > zroot/swapdisk0 compression off default > zroot/swapdisk0 readonly off > inherited from zroot > zroot/swapdisk0 createtxg 8265142 - > zroot/swapdisk0 copies 1 default > zroot/swapdisk0 refreservation 20.6G local > zroot/swapdisk0 guid 12592813906271140067 - > zroot/swapdisk0 primarycache all default > zroot/swapdisk0 secondarycache all default > zroot/swapdisk0 usedbysnapshots 0 - > zroot/swapdisk0 usedbydataset 20.2G - > zroot/swapdisk0 usedbychildren 0 - > zroot/swapdisk0 usedbyrefreservation 20.6G - > zroot/swapdisk0 logbias latency default > zroot/swapdisk0 dedup off default > zroot/swapdisk0 mlslabel - > zroot/swapdisk0 sync standard default > zroot/swapdisk0 refcompressratio 1.00x - > zroot/swapdisk0 written 0 - > zroot/swapdisk0 logicalused 20.1G - > zroot/swapdisk0 logicalreferenced 20.1G - > zroot/swapdisk0 volmode geom local > zroot/swapdisk0 snapshot_limit none default > zroot/swapdisk0 snapshot_count none default > zroot/swapdisk0 redundant_metadata all default > zroot/swapdisk0@200909 type snapshot - > zroot/swapdisk0@200909 creation Wed Sep 9 11:12 2020 - > zroot/swapdisk0@200909 used 0 - > zroot/swapdisk0@200909 referenced 20.2G - > zroot/swapdisk0@200909 compressratio 1.00x - > zroot/swapdisk0@200909 devices on default > zroot/swapdisk0@200909 exec on default > zroot/swapdisk0@200909 setuid on default > zroot/swapdisk0@200909 createtxg 20490195 - > zroot/swapdisk0@200909 xattr on default > zroot/swapdisk0@200909 nbmand off default > zroot/swapdisk0@200909 guid 6778261312202608185 - > zroot/swapdisk0@200909 primarycache all default > zroot/swapdisk0@200909 secondarycache all default > zroot/swapdisk0@200909 defer_destroy off - > zroot/swapdisk0@200909 userrefs 0 - > zroot/swapdisk0@200909 mlslabel - > zroot/swapdisk0@200909 refcompressratio 1.00x - > zroot/swapdisk0@200909 written 20.2G - > zroot/swapdisk0@200909 clones - > zroot/swapdisk0@200909 logicalreferenced 20.1G - > zroot/swapdisk0@200909 volmode geom > inherited from zroot/swapdisk0 > zroot/usr type filesystem - > zroot/usr creation Mon May 27 23:31 2013 - > zroot/usr used 131G - > zroot/usr available 0 - > zroot/usr referenced 50.9G - > zroot/usr compressratio 1.00x - > zroot/usr mounted yes - > zroot/usr quota none default > zroot/usr reservation none default > zroot/usr recordsize 128K default > zroot/usr mountpoint /usr local > zroot/usr sharenfs off default > zroot/usr checksum fletcher4 > inherited from zroot > zroot/usr compression off default > zroot/usr atime on default > zroot/usr devices on default > zroot/usr exec on default > zroot/usr setuid on default > zroot/usr readonly off > inherited from zroot > zroot/usr jailed off default > zroot/usr snapdir hidden default > zroot/usr aclmode discard default > zroot/usr aclinherit restricted default > zroot/usr createtxg 21 - > zroot/usr canmount on default > zroot/usr xattr off temporary > zroot/usr copies 1 default > zroot/usr version 5 - > zroot/usr utf8only off - > zroot/usr normalization none - > zroot/usr casesensitivity sensitive - > zroot/usr vscan off default > zroot/usr nbmand off default > zroot/usr sharesmb off default > zroot/usr refquota none default > zroot/usr refreservation none default > zroot/usr guid 3173040953131777265 - > zroot/usr primarycache all default > zroot/usr secondarycache all default > zroot/usr usedbysnapshots 1K - > zroot/usr usedbydataset 50.9G - > zroot/usr usedbychildren 80.1G - > zroot/usr usedbyrefreservation 0 - > zroot/usr logbias latency default > zroot/usr dedup off default > zroot/usr mlslabel - > zroot/usr sync standard default > zroot/usr refcompressratio 1.00x - > zroot/usr written 1K - > zroot/usr logicalused 131G - > zroot/usr logicalreferenced 50.7G - > zroot/usr volmode default default > zroot/usr filesystem_limit none default > zroot/usr snapshot_limit none default > zroot/usr filesystem_count none default > zroot/usr snapshot_count none default > zroot/usr redundant_metadata all default > zroot/usr@200909 type snapshot - > zroot/usr@200909 creation Wed Sep 9 11:12 2020 - > zroot/usr@200909 used 1K - > zroot/usr@200909 referenced 50.9G - > zroot/usr@200909 compressratio 1.00x - > zroot/usr@200909 devices on default > zroot/usr@200909 exec on default > zroot/usr@200909 setuid on default > zroot/usr@200909 createtxg 20490195 - > zroot/usr@200909 xattr on default > zroot/usr@200909 version 5 - > zroot/usr@200909 utf8only off - > zroot/usr@200909 normalization none - > zroot/usr@200909 casesensitivity sensitive - > zroot/usr@200909 nbmand off default > zroot/usr@200909 guid 15403344970624252860 - > zroot/usr@200909 primarycache all default > zroot/usr@200909 secondarycache all default > zroot/usr@200909 defer_destroy off - > zroot/usr@200909 userrefs 0 - > zroot/usr@200909 mlslabel - > zroot/usr@200909 refcompressratio 1.00x - > zroot/usr@200909 written 50.9G - > zroot/usr@200909 clones - > zroot/usr@200909 logicalreferenced 50.7G - > zroot/usr@200909 volmode default default > zroot/usr/home type filesystem - > zroot/usr/home creation Mon May 27 23:33 2013 - > zroot/usr/home used 80.1G - > zroot/usr/home available 0 - > zroot/usr/home referenced 80.1G - > zroot/usr/home compressratio 1.00x - > zroot/usr/home mounted yes - > zroot/usr/home quota none default > zroot/usr/home reservation none default > zroot/usr/home recordsize 128K default > zroot/usr/home mountpoint /usr/home local > zroot/usr/home sharenfs off default > zroot/usr/home checksum fletcher4 > inherited from zroot > zroot/usr/home compression off default > zroot/usr/home atime on default > zroot/usr/home devices on default > zroot/usr/home exec on default > zroot/usr/home setuid on default > zroot/usr/home readonly off > inherited from zroot > zroot/usr/home jailed off default > zroot/usr/home snapdir hidden default > zroot/usr/home aclmode discard default > zroot/usr/home aclinherit restricted default > zroot/usr/home createtxg 41 - > zroot/usr/home canmount on default > zroot/usr/home xattr off temporary > zroot/usr/home copies 1 default > zroot/usr/home version 5 - > zroot/usr/home utf8only off - > zroot/usr/home normalization none - > zroot/usr/home casesensitivity sensitive - > zroot/usr/home vscan off default > zroot/usr/home nbmand off default > zroot/usr/home sharesmb off default > zroot/usr/home refquota none default > zroot/usr/home refreservation none default > zroot/usr/home guid 16701701910904504413 - > zroot/usr/home primarycache all default > zroot/usr/home secondarycache all default > zroot/usr/home usedbysnapshots 1K - > zroot/usr/home usedbydataset 80.1G - > zroot/usr/home usedbychildren 0 - > zroot/usr/home usedbyrefreservation 0 - > zroot/usr/home logbias latency default > zroot/usr/home dedup off default > zroot/usr/home mlslabel - > zroot/usr/home sync standard default > zroot/usr/home refcompressratio 1.00x - > zroot/usr/home written 1K - > zroot/usr/home logicalused 80.0G - > zroot/usr/home logicalreferenced 80.0G - > zroot/usr/home volmode default default > zroot/usr/home filesystem_limit none default > zroot/usr/home snapshot_limit none default > zroot/usr/home filesystem_count none default > zroot/usr/home snapshot_count none default > zroot/usr/home redundant_metadata all default > zroot/usr/home@200909 type snapshot - > zroot/usr/home@200909 creation Wed Sep 9 11:12 2020 - > zroot/usr/home@200909 used 1K - > zroot/usr/home@200909 referenced 80.1G - > zroot/usr/home@200909 compressratio 1.00x - > zroot/usr/home@200909 devices on default > zroot/usr/home@200909 exec on default > zroot/usr/home@200909 setuid on default > zroot/usr/home@200909 createtxg 20490195 - > zroot/usr/home@200909 xattr on default > zroot/usr/home@200909 version 5 - > zroot/usr/home@200909 utf8only off - > zroot/usr/home@200909 normalization none - > zroot/usr/home@200909 casesensitivity sensitive - > zroot/usr/home@200909 nbmand off default > zroot/usr/home@200909 guid 14302389932766417239 - > zroot/usr/home@200909 primarycache all default > zroot/usr/home@200909 secondarycache all default > zroot/usr/home@200909 defer_destroy off - > zroot/usr/home@200909 userrefs 0 - > zroot/usr/home@200909 mlslabel - > zroot/usr/home@200909 refcompressratio 1.00x - > zroot/usr/home@200909 written 80.1G - > zroot/usr/home@200909 clones - > zroot/usr/home@200909 logicalreferenced 80.0G - > zroot/usr/home@200909 volmode default default > zroot/var type filesystem - > zroot/var creation Mon May 27 23:40 2013 - > zroot/var used 9.94G - > zroot/var available 0 - > zroot/var referenced 9.94G - > zroot/var compressratio 1.00x - > zroot/var mounted yes - > zroot/var quota none default > zroot/var reservation none default > zroot/var recordsize 128K default > zroot/var mountpoint /var local > zroot/var sharenfs off default > zroot/var checksum fletcher4 > inherited from zroot > zroot/var compression off default > zroot/var atime on default > zroot/var devices on default > zroot/var exec on default > zroot/var setuid on default > zroot/var readonly off > inherited from zroot > zroot/var jailed off default > zroot/var snapdir hidden default > zroot/var aclmode discard default > zroot/var aclinherit restricted default > zroot/var createtxg 133 - > zroot/var canmount on default > zroot/var xattr off temporary > zroot/var copies 1 default > zroot/var version 5 - > zroot/var utf8only off - > zroot/var normalization none - > zroot/var casesensitivity sensitive - > zroot/var vscan off default > zroot/var nbmand off default > zroot/var sharesmb off default > zroot/var refquota none default > zroot/var refreservation none default > zroot/var guid 15336045084130388053 - > zroot/var primarycache all default > zroot/var secondarycache all default > zroot/var usedbysnapshots 1K - > zroot/var usedbydataset 9.94G - > zroot/var usedbychildren 0 - > zroot/var usedbyrefreservation 0 - > zroot/var logbias latency default > zroot/var dedup off default > zroot/var mlslabel - > zroot/var sync standard default > zroot/var refcompressratio 1.00x - > zroot/var written 1K - > zroot/var logicalused 9.93G - > zroot/var logicalreferenced 9.93G - > zroot/var volmode default default > zroot/var filesystem_limit none default > zroot/var snapshot_limit none default > zroot/var filesystem_count none default > zroot/var snapshot_count none default > zroot/var redundant_metadata all default > zroot/var@200909 type snapshot - > zroot/var@200909 creation Wed Sep 9 11:12 2020 - > zroot/var@200909 used 1K - > zroot/var@200909 referenced 9.94G - > zroot/var@200909 compressratio 1.00x - > zroot/var@200909 devices on default > zroot/var@200909 exec on default > zroot/var@200909 setuid on default > zroot/var@200909 createtxg 20490195 - > zroot/var@200909 xattr on default > zroot/var@200909 version 5 - > zroot/var@200909 utf8only off - > zroot/var@200909 normalization none - > zroot/var@200909 casesensitivity sensitive - > zroot/var@200909 nbmand off default > zroot/var@200909 guid 12205140544561506623 - > zroot/var@200909 primarycache all default > zroot/var@200909 secondarycache all default > zroot/var@200909 defer_destroy off - > zroot/var@200909 userrefs 0 - > zroot/var@200909 mlslabel - > zroot/var@200909 refcompressratio 1.00x - > zroot/var@200909 written 9.94G - > zroot/var@200909 clones - > zroot/var@200909 logicalreferenced 9.93G - > zroot/var@200909 volmode default default > > > > I am lost > > lk Please stop hungry applications as far as possible. Then swap should become unnecessary and you can use the space to clean up. >From my understanding the setting readonly=off should not be the root cause. I will you success! Be patient - as if it would be so easy... Kind regards, Christoph > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Thu Sep 10 16:25:59 2020 Return-Path: Delivered-To: freebsd-questions@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 18DB73DBC7C for ; Thu, 10 Sep 2020 16:25:59 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnPQG1hlVz4FXZ for ; Thu, 10 Sep 2020 16:25:58 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-oi1-x231.google.com with SMTP id i17so6467702oig.10 for ; Thu, 10 Sep 2020 09:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zjPJJuCJlExiE+fGUshj4hdawJOJRR/0X06WOD+QMow=; b=J2lLN40VYA0v9yxE55M582i3QroNUUUg8YRxA1bb6MCYw7l5Jg8X9y3KkpNXsFwnYA piMukTO04FepZReN9LmV1oZbm79cajRhvumQj+pZkEPpeb71uclNISdvL6w75CT5U78s qlu9SbtN02w3pZb3VlGCfdCNphLwf4+NW3LJWnNwii+8KVDNb6mlIetDgwrdppiYuoi5 QzT+UuNNbUGXx/eLvau9beB1z6r5rpsS7toSa75D7vruMDeoh4LyXAfFn9NsArkEx9x5 aByyIpuNc9BtXMvSUP3Y0Ru3LJ3iJy46hynqzBRui5RQb61NwmCTHR0v3LEseAh6UL1O PDUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zjPJJuCJlExiE+fGUshj4hdawJOJRR/0X06WOD+QMow=; b=BTlCLsW9wb7BpH8FpVbm+Br9jZd2MPr154hIgciibDhlPWGZGy+w7AZNbLufn1ZINg qq039o3L0C6afYjqkPYF3+9MSjXyxQwbN/DMX/s8dmtH40zFUWSInHyTKpqbvEKzP0xH dTVdKygvX6DdYK7jPjkpq9RVgIimuwuZGP1FCRSXTEwWdD8xwpOLWy4UhGuulGY0xX0+ Yplw+UcCr2d6IU3aCeAxQbssenYkwptMyDiDRjWkAd2XQOtQy1fVn7+zTReaA8wtU7WX SVyXOXUkQQyUY+E3LVIKGyxvOCpJRznY0S8h1XkFaGyHRw8SS7LIE5momSA/gEyJ8qHf RVJg== X-Gm-Message-State: AOAM532Wce0BCipO9LHexgNwVi7Csu+l+by2UkARpUQOay1oYrqMUeXu locIJRJihzjHmkVOir0TXmkN314gTd8Cone5vjfwZPS4 X-Google-Smtp-Source: ABdhPJwQ77i23daZRpPZRhnXijWQL+Bot35OnDhR1oT9eCLPhysmCiXbkLVEto0ZNLn30ToklR0Xx4QWj2WBoPLNaRE= X-Received: by 2002:aca:a905:: with SMTP id s5mr474048oie.93.1599755156772; Thu, 10 Sep 2020 09:25:56 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6518:0:0:0:0:0 with HTTP; Thu, 10 Sep 2020 09:25:56 -0700 (PDT) In-Reply-To: <20200910161309.GA56432@esprimo> References: <20200910143458.GA83264@esprimo> <20200910161309.GA56432@esprimo> From: Ludovit Koren Date: Thu, 10 Sep 2020 18:25:56 +0200 Message-ID: Subject: Re: ZFS snapshot - rollback problem To: Christoph Brinkhaus Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BnPQG1hlVz4FXZ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=J2lLN40V; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2607:f8b0:4864:20::231 as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-2.30 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[t-online.de]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_SPAM_SHORT(0.58)[0.584]; NEURAL_HAM_LONG(-0.99)[-0.995]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::231:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 16:25:59 -0000 On Thursday, September 10, 2020, Christoph Brinkhaus < c.brinkhaus@t-online.de> wrote: > On Thu, Sep 10, 2020 at 05:08:26PM +0200, Ludovit Koren wrote: > > On Thursday, September 10, 2020, Christoph Brinkhaus < > > c.brinkhaus@t-online.de> wrote: > > > > > On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: > > Dear Ludovit, > > I make one comment here and some below. > > > > Hi, > > > > > > > > I have the following configuration: > > > > > > > > ~>uname -a > > > > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > > > > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > > > > ~>zfs list > > > > NAME USED AVAIL REFER MOUNTPOINT > > > > zroot 244G 0 10.7G /mnt > > > > zroot/Centos8 6.80G 4.13G 2.67G - > > > > zroot/msw7 44.9G 25.8G 19.1G - > > > > zroot/swapdisk0 40.8G 20.6G 20.2G - > > > > zroot/usr 131G 0 50.9G /usr > > > > zroot/usr/home 80.1G 0 80.1G /usr/home > > > > zroot/var 9.94G 0 9.94G /var > > > > > Can it be that the disk is just full? > It might make sense to disable swap temporary and free that space > to help the system to recover. > > Swap is not in use. When I run zfs destroy -r zroot/swapdisk0, I get: internal error: Numerical argument out of domain Abort trap Regards, lk > > > > After zfs snapshot, which I did on the root, I got: > > > > ~>zfs list -t snapshot > > > > NAME USED AVAIL REFER MOUNTPOINT > > > > zroot@200909 1K - 10.7G - > > > > zroot/Centos8@200909 1K - 2.67G - > > > > zroot/msw7@200909 1K - 19.1G - > > > > zroot/swapdisk0@200909 0 - 20.2G - > > > > zroot/usr@200909 1K - 50.9G - > > > > zroot/usr/home@200909 1K - 80.1G - > > > > zroot/var@200909 1K - 9.94G - > > > > > > > > i.e. whole filesystem is read only. I am not able to do neither > > > > rollback, nor destroy of the snapshot. Is there any possibility to > > > > reset the filesystem to the read-write mode? > > > > > > I do not see there if it is read only or not. > > > To change the readyonly property: > > > zfs set readonly=off > > > > > > Mount to make it effective: > > > zfs mount -a > > > > > > > > Any help is greatly appreciated. > > > I hope my notes are correct and help you. > > > > > > If it would be so easy... The problem is the snapshot is over the zfs > root > > file system. And on the snapshot I cannot change the property. Here are > > options: > > > > > > ~>zfs get all > > NAME PROPERTY VALUE > SOURCE > > zroot type filesystem - > > zroot creation Mon May 27 23:30 2013 - > > zroot used 244G - > > zroot available 0 - > > zroot referenced 10.7G - > > zroot compressratio 1.00x - > > zroot mounted yes - > > zroot quota none > default > > zroot reservation none > default > > zroot recordsize 128K > default > > zroot mountpoint /mnt > local > > zroot sharenfs off > default > > zroot checksum fletcher4 > local > > zroot compression off > default > > zroot atime on > default > > zroot devices on > default > > zroot exec on > default > > zroot setuid on > default > > zroot readonly off > local > readyonly=off means read/write. It should be ok and is similar on my > box. The source here is default but not local. May be at that time > this setting has been default. > > zroot jailed off > default > > zroot snapdir hidden > default > > zroot aclmode discard > default > > zroot aclinherit restricted > default > > zroot createtxg 1 - > > zroot canmount on > default > > zroot xattr off > temporary > > zroot copies 1 > default > > zroot version 5 - > > zroot utf8only off - > > zroot normalization none - > > zroot casesensitivity sensitive - > > zroot vscan off > default > > zroot nbmand off > default > > zroot sharesmb off > default > > zroot refquota none > default > > zroot refreservation none > default > > zroot guid 15663691137267636586 - > > zroot primarycache all > default > > zroot secondarycache all > default > > zroot usedbysnapshots 1K - > > zroot usedbydataset 10.7G - > > zroot usedbychildren 234G - > > zroot usedbyrefreservation 0 - > > zroot logbias latency > default > > zroot dedup off > default > > zroot mlslabel - > > zroot sync standard > default > > zroot refcompressratio 1.00x - > > zroot written 1K - > > zroot logicalused 193G - > > zroot logicalreferenced 10.7G - > > zroot volmode default > default > > zroot filesystem_limit none > default > > zroot snapshot_limit none > default > > zroot filesystem_count none > default > > zroot snapshot_count none > default > > zroot redundant_metadata all > default > > zroot@200909 type snapshot - > > zroot@200909 creation Wed Sep 9 11:12 2020 - > > zroot@200909 used 1K - > > zroot@200909 referenced 10.7G - > > zroot@200909 compressratio 1.00x - > > zroot@200909 devices on > default > > zroot@200909 exec on > default > > zroot@200909 setuid on > default > > zroot@200909 createtxg 20490195 - > > zroot@200909 xattr on > default > > zroot@200909 version 5 - > > zroot@200909 utf8only off - > > zroot@200909 normalization none - > > zroot@200909 casesensitivity sensitive - > > zroot@200909 nbmand off > default > > zroot@200909 guid 2206615480070071196 - > > zroot@200909 primarycache all > default > > zroot@200909 secondarycache all > default > > zroot@200909 defer_destroy off - > > zroot@200909 userrefs 0 - > > zroot@200909 mlslabel - > > zroot@200909 refcompressratio 1.00x - > > zroot@200909 written 10.7G - > > zroot@200909 clones - > > zroot@200909 logicalreferenced 10.7G - > > zroot@200909 volmode default > default > > zroot/Centos8 type volume - > > zroot/Centos8 creation Thu Oct 31 14:12 2019 - > > zroot/Centos8 used 6.80G - > > zroot/Centos8 available 4.13G - > > zroot/Centos8 referenced 2.67G - > > zroot/Centos8 compressratio 1.00x - > > zroot/Centos8 reservation none > default > > zroot/Centos8 volsize 4G > local > > zroot/Centos8 volblocksize 8K > default > > zroot/Centos8 checksum fletcher4 > > inherited from zroot > > zroot/Centos8 compression off > default > > zroot/Centos8 readonly off > > inherited from zroot > > zroot/Centos8 createtxg 16467672 - > > zroot/Centos8 copies 1 > default > > zroot/Centos8 refreservation 4.13G > local > > zroot/Centos8 guid 5814621169889103161 - > > zroot/Centos8 primarycache all > default > > zroot/Centos8 secondarycache all > default > > zroot/Centos8 usedbysnapshots 1K - > > zroot/Centos8 usedbydataset 2.67G - > > zroot/Centos8 usedbychildren 0 - > > zroot/Centos8 usedbyrefreservation 4.13G - > > zroot/Centos8 logbias latency > default > > zroot/Centos8 dedup off > default > > zroot/Centos8 mlslabel - > > zroot/Centos8 sync standard > default > > zroot/Centos8 refcompressratio 1.00x - > > zroot/Centos8 written 1K - > > zroot/Centos8 logicalused 2.66G - > > zroot/Centos8 logicalreferenced 2.66G - > > zroot/Centos8 volmode dev > local > > zroot/Centos8 snapshot_limit none > default > > zroot/Centos8 snapshot_count none > default > > zroot/Centos8 redundant_metadata all > default > > zroot/Centos8@200909 type snapshot - > > zroot/Centos8@200909 creation Wed Sep 9 11:12 2020 - > > zroot/Centos8@200909 used 1K - > > zroot/Centos8@200909 referenced 2.67G - > > zroot/Centos8@200909 compressratio 1.00x - > > zroot/Centos8@200909 devices on > default > > zroot/Centos8@200909 exec on > default > > zroot/Centos8@200909 setuid on > default > > zroot/Centos8@200909 createtxg 20490195 - > > zroot/Centos8@200909 xattr on > default > > zroot/Centos8@200909 nbmand off > default > > zroot/Centos8@200909 guid 10823844225552088614 - > > zroot/Centos8@200909 primarycache all > default > > zroot/Centos8@200909 secondarycache all > default > > zroot/Centos8@200909 defer_destroy off - > > zroot/Centos8@200909 userrefs 0 - > > zroot/Centos8@200909 mlslabel - > > zroot/Centos8@200909 refcompressratio 1.00x - > > zroot/Centos8@200909 written 2.67G - > > zroot/Centos8@200909 clones - > > zroot/Centos8@200909 logicalreferenced 2.66G - > > zroot/Centos8@200909 volmode dev > > inherited from zroot/Centos8 > > zroot/msw7 type volume - > > zroot/msw7 creation Thu Feb 22 15:19 2018 - > > zroot/msw7 used 44.9G - > > zroot/msw7 available 25.8G - > > zroot/msw7 referenced 19.1G - > > zroot/msw7 compressratio 1.00x - > > zroot/msw7 reservation none > default > > zroot/msw7 volsize 25G > local > > zroot/msw7 volblocksize 8K > default > > zroot/msw7 checksum fletcher4 > > inherited from zroot > > zroot/msw7 compression off > default > > zroot/msw7 readonly off > > inherited from zroot > > zroot/msw7 createtxg 10775012 - > > zroot/msw7 copies 1 > default > > zroot/msw7 refreservation 25.8G > local > > zroot/msw7 guid 16581387537923661645 - > > zroot/msw7 primarycache all > default > > zroot/msw7 secondarycache all > default > > zroot/msw7 usedbysnapshots 1K - > > zroot/msw7 usedbydataset 19.1G - > > zroot/msw7 usedbychildren 0 - > > zroot/msw7 usedbyrefreservation 25.8G - > > zroot/msw7 logbias latency > default > > zroot/msw7 dedup off > default > > zroot/msw7 mlslabel - > > zroot/msw7 sync standard > default > > zroot/msw7 refcompressratio 1.00x - > > zroot/msw7 written 1K - > > zroot/msw7 logicalused 19.0G - > > zroot/msw7 logicalreferenced 19.0G - > > zroot/msw7 volmode dev > local > > zroot/msw7 snapshot_limit none > default > > zroot/msw7 snapshot_count none > default > > zroot/msw7 redundant_metadata all > default > > zroot/msw7@200909 type snapshot - > > zroot/msw7@200909 creation Wed Sep 9 11:12 2020 - > > zroot/msw7@200909 used 1K - > > zroot/msw7@200909 referenced 19.1G - > > zroot/msw7@200909 compressratio 1.00x - > > zroot/msw7@200909 devices on > default > > zroot/msw7@200909 exec on > default > > zroot/msw7@200909 setuid on > default > > zroot/msw7@200909 createtxg 20490195 - > > zroot/msw7@200909 xattr on > default > > zroot/msw7@200909 nbmand off > default > > zroot/msw7@200909 guid 3899706450355491715 - > > zroot/msw7@200909 primarycache all > default > > zroot/msw7@200909 secondarycache all > default > > zroot/msw7@200909 defer_destroy off - > > zroot/msw7@200909 userrefs 0 - > > zroot/msw7@200909 mlslabel - > > zroot/msw7@200909 refcompressratio 1.00x - > > zroot/msw7@200909 written 19.1G - > > zroot/msw7@200909 clones - > > zroot/msw7@200909 logicalreferenced 19.0G - > > zroot/msw7@200909 volmode dev > > inherited from zroot/msw7 > This space can be used if swap is disabled. > At that time no resource hungry application should run of course. > > zroot/swapdisk0 type volume - > > zroot/swapdisk0 creation Mon Feb 13 11:03 2017 - > > zroot/swapdisk0 used 40.8G - > > zroot/swapdisk0 available 20.6G - > > zroot/swapdisk0 referenced 20.2G - > > zroot/swapdisk0 compressratio 1.00x - > > zroot/swapdisk0 reservation none > default > > zroot/swapdisk0 volsize 20G > local > > zroot/swapdisk0 volblocksize 8K > default > > zroot/swapdisk0 checksum fletcher4 > > inherited from zroot > > zroot/swapdisk0 compression off > default > > zroot/swapdisk0 readonly off > > inherited from zroot > > zroot/swapdisk0 createtxg 8265142 - > > zroot/swapdisk0 copies 1 > default > > zroot/swapdisk0 refreservation 20.6G > local > > zroot/swapdisk0 guid 12592813906271140067 - > > zroot/swapdisk0 primarycache all > default > > zroot/swapdisk0 secondarycache all > default > > zroot/swapdisk0 usedbysnapshots 0 - > > zroot/swapdisk0 usedbydataset 20.2G - > > zroot/swapdisk0 usedbychildren 0 - > > zroot/swapdisk0 usedbyrefreservation 20.6G - > > zroot/swapdisk0 logbias latency > default > > zroot/swapdisk0 dedup off > default > > zroot/swapdisk0 mlslabel - > > zroot/swapdisk0 sync standard > default > > zroot/swapdisk0 refcompressratio 1.00x - > > zroot/swapdisk0 written 0 - > > zroot/swapdisk0 logicalused 20.1G - > > zroot/swapdisk0 logicalreferenced 20.1G - > > zroot/swapdisk0 volmode geom > local > > zroot/swapdisk0 snapshot_limit none > default > > zroot/swapdisk0 snapshot_count none > default > > zroot/swapdisk0 redundant_metadata all > default > > zroot/swapdisk0@200909 type snapshot - > > zroot/swapdisk0@200909 creation Wed Sep 9 11:12 2020 - > > zroot/swapdisk0@200909 used 0 - > > zroot/swapdisk0@200909 referenced 20.2G - > > zroot/swapdisk0@200909 compressratio 1.00x - > > zroot/swapdisk0@200909 devices on > default > > zroot/swapdisk0@200909 exec on > default > > zroot/swapdisk0@200909 setuid on > default > > zroot/swapdisk0@200909 createtxg 20490195 - > > zroot/swapdisk0@200909 xattr on > default > > zroot/swapdisk0@200909 nbmand off > default > > zroot/swapdisk0@200909 guid 6778261312202608185 - > > zroot/swapdisk0@200909 primarycache all > default > > zroot/swapdisk0@200909 secondarycache all > default > > zroot/swapdisk0@200909 defer_destroy off - > > zroot/swapdisk0@200909 userrefs 0 - > > zroot/swapdisk0@200909 mlslabel - > > zroot/swapdisk0@200909 refcompressratio 1.00x - > > zroot/swapdisk0@200909 written 20.2G - > > zroot/swapdisk0@200909 clones - > > zroot/swapdisk0@200909 logicalreferenced 20.1G - > > zroot/swapdisk0@200909 volmode geom > > inherited from zroot/swapdisk0 > > zroot/usr type filesystem - > > zroot/usr creation Mon May 27 23:31 2013 - > > zroot/usr used 131G - > > zroot/usr available 0 - > > zroot/usr referenced 50.9G - > > zroot/usr compressratio 1.00x - > > zroot/usr mounted yes - > > zroot/usr quota none > default > > zroot/usr reservation none > default > > zroot/usr recordsize 128K > default > > zroot/usr mountpoint /usr > local > > zroot/usr sharenfs off > default > > zroot/usr checksum fletcher4 > > inherited from zroot > > zroot/usr compression off > default > > zroot/usr atime on > default > > zroot/usr devices on > default > > zroot/usr exec on > default > > zroot/usr setuid on > default > > zroot/usr readonly off > > inherited from zroot > > zroot/usr jailed off > default > > zroot/usr snapdir hidden > default > > zroot/usr aclmode discard > default > > zroot/usr aclinherit restricted > default > > zroot/usr createtxg 21 - > > zroot/usr canmount on > default > > zroot/usr xattr off > temporary > > zroot/usr copies 1 > default > > zroot/usr version 5 - > > zroot/usr utf8only off - > > zroot/usr normalization none - > > zroot/usr casesensitivity sensitive - > > zroot/usr vscan off > default > > zroot/usr nbmand off > default > > zroot/usr sharesmb off > default > > zroot/usr refquota none > default > > zroot/usr refreservation none > default > > zroot/usr guid 3173040953131777265 - > > zroot/usr primarycache all > default > > zroot/usr secondarycache all > default > > zroot/usr usedbysnapshots 1K - > > zroot/usr usedbydataset 50.9G - > > zroot/usr usedbychildren 80.1G - > > zroot/usr usedbyrefreservation 0 - > > zroot/usr logbias latency > default > > zroot/usr dedup off > default > > zroot/usr mlslabel - > > zroot/usr sync standard > default > > zroot/usr refcompressratio 1.00x - > > zroot/usr written 1K - > > zroot/usr logicalused 131G - > > zroot/usr logicalreferenced 50.7G - > > zroot/usr volmode default > default > > zroot/usr filesystem_limit none > default > > zroot/usr snapshot_limit none > default > > zroot/usr filesystem_count none > default > > zroot/usr snapshot_count none > default > > zroot/usr redundant_metadata all > default > > zroot/usr@200909 type snapshot - > > zroot/usr@200909 creation Wed Sep 9 11:12 2020 - > > zroot/usr@200909 used 1K - > > zroot/usr@200909 referenced 50.9G - > > zroot/usr@200909 compressratio 1.00x - > > zroot/usr@200909 devices on > default > > zroot/usr@200909 exec on > default > > zroot/usr@200909 setuid on > default > > zroot/usr@200909 createtxg 20490195 - > > zroot/usr@200909 xattr on > default > > zroot/usr@200909 version 5 - > > zroot/usr@200909 utf8only off - > > zroot/usr@200909 normalization none - > > zroot/usr@200909 casesensitivity sensitive - > > zroot/usr@200909 nbmand off > default > > zroot/usr@200909 guid 15403344970624252860 - > > zroot/usr@200909 primarycache all > default > > zroot/usr@200909 secondarycache all > default > > zroot/usr@200909 defer_destroy off - > > zroot/usr@200909 userrefs 0 - > > zroot/usr@200909 mlslabel - > > zroot/usr@200909 refcompressratio 1.00x - > > zroot/usr@200909 written 50.9G - > > zroot/usr@200909 clones - > > zroot/usr@200909 logicalreferenced 50.7G - > > zroot/usr@200909 volmode default > default > > zroot/usr/home type filesystem - > > zroot/usr/home creation Mon May 27 23:33 2013 - > > zroot/usr/home used 80.1G - > > zroot/usr/home available 0 - > > zroot/usr/home referenced 80.1G - > > zroot/usr/home compressratio 1.00x - > > zroot/usr/home mounted yes - > > zroot/usr/home quota none > default > > zroot/usr/home reservation none > default > > zroot/usr/home recordsize 128K > default > > zroot/usr/home mountpoint /usr/home > local > > zroot/usr/home sharenfs off > default > > zroot/usr/home checksum fletcher4 > > inherited from zroot > > zroot/usr/home compression off > default > > zroot/usr/home atime on > default > > zroot/usr/home devices on > default > > zroot/usr/home exec on > default > > zroot/usr/home setuid on > default > > zroot/usr/home readonly off > > inherited from zroot > > zroot/usr/home jailed off > default > > zroot/usr/home snapdir hidden > default > > zroot/usr/home aclmode discard > default > > zroot/usr/home aclinherit restricted > default > > zroot/usr/home createtxg 41 - > > zroot/usr/home canmount on > default > > zroot/usr/home xattr off > temporary > > zroot/usr/home copies 1 > default > > zroot/usr/home version 5 - > > zroot/usr/home utf8only off - > > zroot/usr/home normalization none - > > zroot/usr/home casesensitivity sensitive - > > zroot/usr/home vscan off > default > > zroot/usr/home nbmand off > default > > zroot/usr/home sharesmb off > default > > zroot/usr/home refquota none > default > > zroot/usr/home refreservation none > default > > zroot/usr/home guid 16701701910904504413 - > > zroot/usr/home primarycache all > default > > zroot/usr/home secondarycache all > default > > zroot/usr/home usedbysnapshots 1K - > > zroot/usr/home usedbydataset 80.1G - > > zroot/usr/home usedbychildren 0 - > > zroot/usr/home usedbyrefreservation 0 - > > zroot/usr/home logbias latency > default > > zroot/usr/home dedup off > default > > zroot/usr/home mlslabel - > > zroot/usr/home sync standard > default > > zroot/usr/home refcompressratio 1.00x - > > zroot/usr/home written 1K - > > zroot/usr/home logicalused 80.0G - > > zroot/usr/home logicalreferenced 80.0G - > > zroot/usr/home volmode default > default > > zroot/usr/home filesystem_limit none > default > > zroot/usr/home snapshot_limit none > default > > zroot/usr/home filesystem_count none > default > > zroot/usr/home snapshot_count none > default > > zroot/usr/home redundant_metadata all > default > > zroot/usr/home@200909 type snapshot - > > zroot/usr/home@200909 creation Wed Sep 9 11:12 2020 - > > zroot/usr/home@200909 used 1K - > > zroot/usr/home@200909 referenced 80.1G - > > zroot/usr/home@200909 compressratio 1.00x - > > zroot/usr/home@200909 devices on > default > > zroot/usr/home@200909 exec on > default > > zroot/usr/home@200909 setuid on > default > > zroot/usr/home@200909 createtxg 20490195 - > > zroot/usr/home@200909 xattr on > default > > zroot/usr/home@200909 version 5 - > > zroot/usr/home@200909 utf8only off - > > zroot/usr/home@200909 normalization none - > > zroot/usr/home@200909 casesensitivity sensitive - > > zroot/usr/home@200909 nbmand off > default > > zroot/usr/home@200909 guid 14302389932766417239 - > > zroot/usr/home@200909 primarycache all > default > > zroot/usr/home@200909 secondarycache all > default > > zroot/usr/home@200909 defer_destroy off - > > zroot/usr/home@200909 userrefs 0 - > > zroot/usr/home@200909 mlslabel - > > zroot/usr/home@200909 refcompressratio 1.00x - > > zroot/usr/home@200909 written 80.1G - > > zroot/usr/home@200909 clones - > > zroot/usr/home@200909 logicalreferenced 80.0G - > > zroot/usr/home@200909 volmode default > default > > zroot/var type filesystem - > > zroot/var creation Mon May 27 23:40 2013 - > > zroot/var used 9.94G - > > zroot/var available 0 - > > zroot/var referenced 9.94G - > > zroot/var compressratio 1.00x - > > zroot/var mounted yes - > > zroot/var quota none > default > > zroot/var reservation none > default > > zroot/var recordsize 128K > default > > zroot/var mountpoint /var > local > > zroot/var sharenfs off > default > > zroot/var checksum fletcher4 > > inherited from zroot > > zroot/var compression off > default > > zroot/var atime on > default > > zroot/var devices on > default > > zroot/var exec on > default > > zroot/var setuid on > default > > zroot/var readonly off > > inherited from zroot > > zroot/var jailed off > default > > zroot/var snapdir hidden > default > > zroot/var aclmode discard > default > > zroot/var aclinherit restricted > default > > zroot/var createtxg 133 - > > zroot/var canmount on > default > > zroot/var xattr off > temporary > > zroot/var copies 1 > default > > zroot/var version 5 - > > zroot/var utf8only off - > > zroot/var normalization none - > > zroot/var casesensitivity sensitive - > > zroot/var vscan off > default > > zroot/var nbmand off > default > > zroot/var sharesmb off > default > > zroot/var refquota none > default > > zroot/var refreservation none > default > > zroot/var guid 15336045084130388053 - > > zroot/var primarycache all > default > > zroot/var secondarycache all > default > > zroot/var usedbysnapshots 1K - > > zroot/var usedbydataset 9.94G - > > zroot/var usedbychildren 0 - > > zroot/var usedbyrefreservation 0 - > > zroot/var logbias latency > default > > zroot/var dedup off > default > > zroot/var mlslabel - > > zroot/var sync standard > default > > zroot/var refcompressratio 1.00x - > > zroot/var written 1K - > > zroot/var logicalused 9.93G - > > zroot/var logicalreferenced 9.93G - > > zroot/var volmode default > default > > zroot/var filesystem_limit none > default > > zroot/var snapshot_limit none > default > > zroot/var filesystem_count none > default > > zroot/var snapshot_count none > default > > zroot/var redundant_metadata all > default > > zroot/var@200909 type snapshot - > > zroot/var@200909 creation Wed Sep 9 11:12 2020 - > > zroot/var@200909 used 1K - > > zroot/var@200909 referenced 9.94G - > > zroot/var@200909 compressratio 1.00x - > > zroot/var@200909 devices on > default > > zroot/var@200909 exec on > default > > zroot/var@200909 setuid on > default > > zroot/var@200909 createtxg 20490195 - > > zroot/var@200909 xattr on > default > > zroot/var@200909 version 5 - > > zroot/var@200909 utf8only off - > > zroot/var@200909 normalization none - > > zroot/var@200909 casesensitivity sensitive - > > zroot/var@200909 nbmand off > default > > zroot/var@200909 guid 12205140544561506623 - > > zroot/var@200909 primarycache all > default > > zroot/var@200909 secondarycache all > default > > zroot/var@200909 defer_destroy off - > > zroot/var@200909 userrefs 0 - > > zroot/var@200909 mlslabel - > > zroot/var@200909 refcompressratio 1.00x - > > zroot/var@200909 written 9.94G - > > zroot/var@200909 clones - > > zroot/var@200909 logicalreferenced 9.93G - > > zroot/var@200909 volmode default > default > > > > > > > > I am lost > > > > lk > > Please stop hungry applications as far as possible. Then swap should > become unnecessary and you can use the space to clean up. > From my understanding the setting readonly=off should not be the root > cause. > > I will you success! Be patient - as if it would be so easy... > > Kind regards, > Christoph > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Sep 10 16:54:17 2020 Return-Path: Delivered-To: freebsd-questions@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 C281B3DDBAB for ; Thu, 10 Sep 2020 16:54:17 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnQ2w4l9Wz4K2y for ; Thu, 10 Sep 2020 16:54:16 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout11.t-online.de (Postfix) with SMTP id 5860A4254578; Thu, 10 Sep 2020 18:54:15 +0200 (CEST) Received: from esprimo.local (rACWPQZHYhdCw6RwxNrMgIhdBGi-TwlHKgsLFyubY8Y4h7UA8wdcOlRWjH+-eSkwdF@[93.238.32.241]) by fwd00.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kGPpo-2TkXQG0; Thu, 10 Sep 2020 18:54:08 +0200 Received: by esprimo.local (Postfix, from userid 1001) id 11ABB38277; Thu, 10 Sep 2020 18:54:08 +0200 (CEST) Date: Thu, 10 Sep 2020 18:54:08 +0200 From: Christoph Brinkhaus To: Ludovit Koren Cc: FreeBSD Mailing List Subject: Re: ZFS snapshot - rollback problem Message-ID: <20200910165408.GA12834@esprimo> References: <20200910143458.GA83264@esprimo> <20200910161309.GA56432@esprimo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ID: rACWPQZHYhdCw6RwxNrMgIhdBGi-TwlHKgsLFyubY8Y4h7UA8wdcOlRWjH+-eSkwdF X-TOI-EXPURGATEID: 150726::1599756848-00010A86-8DEB7437/0/0 CLEAN NORMAL X-TOI-MSGID: c8e84494-a07c-4e1d-8a00-f1ce41a5d0de X-Rspamd-Queue-Id: 4BnQ2w4l9Wz4K2y X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of c.brinkhaus@t-online.de has no SPF policy when checking 194.25.134.85) smtp.mailfrom=c.brinkhaus@t-online.de X-Spamd-Result: default: False [2.92 / 15.00]; FREEMAIL_FROM(0.00)[t-online.de]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[93.238.32.241:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[t-online.de]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_SPAM_SHORT(0.60)[0.598]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[t-online.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.58)[0.584]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.34)[0.342]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.85:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.85:from]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 16:54:17 -0000 On Thu, Sep 10, 2020 at 06:25:56PM +0200, Ludovit Koren wrote: > On Thursday, September 10, 2020, Christoph Brinkhaus < > c.brinkhaus@t-online.de> wrote: > > > On Thu, Sep 10, 2020 at 05:08:26PM +0200, Ludovit Koren wrote: > > > On Thursday, September 10, 2020, Christoph Brinkhaus < > > > c.brinkhaus@t-online.de> wrote: > > > > > > > On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: > > > > Dear Ludovit, > > > > I make one comment here and some below. > > > > > Hi, > > > > > > > > > > I have the following configuration: > > > > > > > > > > ~>uname -a > > > > > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > > > > > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > > > > > ~>zfs list > > > > > NAME USED AVAIL REFER MOUNTPOINT > > > > > zroot 244G 0 10.7G /mnt > > > > > zroot/Centos8 6.80G 4.13G 2.67G - > > > > > zroot/msw7 44.9G 25.8G 19.1G - > > > > > zroot/swapdisk0 40.8G 20.6G 20.2G - > > > > > zroot/usr 131G 0 50.9G /usr > > > > > zroot/usr/home 80.1G 0 80.1G /usr/home > > > > > zroot/var 9.94G 0 9.94G /var > > > > > > > Can it be that the disk is just full? > > It might make sense to disable swap temporary and free that space > > to help the system to recover. > > > > > Swap is not in use. When I run zfs destroy -r zroot/swapdisk0, I get: > internal error: Numerical argument out of domain > Abort trap Dear Ludovit, I am running out of ideas. swapinfo shows no use of swap? May be you should first delete the snapshot of zroot/swapdisk0@200909. If that does not work you might have to boot from a different medium as the USB installer stick and handle the pool when it is inactive. Kind regards, Christoph > > Regards, > > lk > > > > > > > After zfs snapshot, which I did on the root, I got: > > > > > ~>zfs list -t snapshot > > > > > NAME USED AVAIL REFER MOUNTPOINT > > > > > zroot@200909 1K - 10.7G - > > > > > zroot/Centos8@200909 1K - 2.67G - > > > > > zroot/msw7@200909 1K - 19.1G - > > > > > zroot/swapdisk0@200909 0 - 20.2G - > > > > > zroot/usr@200909 1K - 50.9G - > > > > > zroot/usr/home@200909 1K - 80.1G - > > > > > zroot/var@200909 1K - 9.94G - > > > > > > > > > > i.e. whole filesystem is read only. I am not able to do neither > > > > > rollback, nor destroy of the snapshot. Is there any possibility to > > > > > reset the filesystem to the read-write mode? > > > > > > > > I do not see there if it is read only or not. > > > > To change the readyonly property: > > > > zfs set readonly=off > > > > > > > > Mount to make it effective: > > > > zfs mount -a > > > > > > > > > > Any help is greatly appreciated. > > > > I hope my notes are correct and help you. > > > > > > > > If it would be so easy... The problem is the snapshot is over the zfs > > root > > > file system. And on the snapshot I cannot change the property. Here are > > > options: > > > > > > > > > ~>zfs get all > > > NAME PROPERTY VALUE > > SOURCE > > > zroot type filesystem - > > > zroot creation Mon May 27 23:30 2013 - > > > zroot used 244G - > > > zroot available 0 - > > > zroot referenced 10.7G - > > > zroot compressratio 1.00x - > > > zroot mounted yes - > > > zroot quota none > > default > > > zroot reservation none > > default > > > zroot recordsize 128K > > default > > > zroot mountpoint /mnt > > local > > > zroot sharenfs off > > default > > > zroot checksum fletcher4 > > local > > > zroot compression off > > default > > > zroot atime on > > default > > > zroot devices on > > default > > > zroot exec on > > default > > > zroot setuid on > > default > > > zroot readonly off > > local > > readyonly=off means read/write. It should be ok and is similar on my > > box. The source here is default but not local. May be at that time > > this setting has been default. > > > zroot jailed off > > default > > > zroot snapdir hidden > > default > > > zroot aclmode discard > > default > > > zroot aclinherit restricted > > default > > > zroot createtxg 1 - > > > zroot canmount on > > default > > > zroot xattr off > > temporary > > > zroot copies 1 > > default > > > zroot version 5 - > > > zroot utf8only off - > > > zroot normalization none - > > > zroot casesensitivity sensitive - > > > zroot vscan off > > default > > > zroot nbmand off > > default > > > zroot sharesmb off > > default > > > zroot refquota none > > default > > > zroot refreservation none > > default > > > zroot guid 15663691137267636586 - > > > zroot primarycache all > > default > > > zroot secondarycache all > > default > > > zroot usedbysnapshots 1K - > > > zroot usedbydataset 10.7G - > > > zroot usedbychildren 234G - > > > zroot usedbyrefreservation 0 - > > > zroot logbias latency > > default > > > zroot dedup off > > default > > > zroot mlslabel - > > > zroot sync standard > > default > > > zroot refcompressratio 1.00x - > > > zroot written 1K - > > > zroot logicalused 193G - > > > zroot logicalreferenced 10.7G - > > > zroot volmode default > > default > > > zroot filesystem_limit none > > default > > > zroot snapshot_limit none > > default > > > zroot filesystem_count none > > default > > > zroot snapshot_count none > > default > > > zroot redundant_metadata all > > default > > > zroot@200909 type snapshot - > > > zroot@200909 creation Wed Sep 9 11:12 2020 - > > > zroot@200909 used 1K - > > > zroot@200909 referenced 10.7G - > > > zroot@200909 compressratio 1.00x - > > > zroot@200909 devices on > > default > > > zroot@200909 exec on > > default > > > zroot@200909 setuid on > > default > > > zroot@200909 createtxg 20490195 - > > > zroot@200909 xattr on > > default > > > zroot@200909 version 5 - > > > zroot@200909 utf8only off - > > > zroot@200909 normalization none - > > > zroot@200909 casesensitivity sensitive - > > > zroot@200909 nbmand off > > default > > > zroot@200909 guid 2206615480070071196 - > > > zroot@200909 primarycache all > > default > > > zroot@200909 secondarycache all > > default > > > zroot@200909 defer_destroy off - > > > zroot@200909 userrefs 0 - > > > zroot@200909 mlslabel - > > > zroot@200909 refcompressratio 1.00x - > > > zroot@200909 written 10.7G - > > > zroot@200909 clones - > > > zroot@200909 logicalreferenced 10.7G - > > > zroot@200909 volmode default > > default > > > zroot/Centos8 type volume - > > > zroot/Centos8 creation Thu Oct 31 14:12 2019 - > > > zroot/Centos8 used 6.80G - > > > zroot/Centos8 available 4.13G - > > > zroot/Centos8 referenced 2.67G - > > > zroot/Centos8 compressratio 1.00x - > > > zroot/Centos8 reservation none > > default > > > zroot/Centos8 volsize 4G > > local > > > zroot/Centos8 volblocksize 8K > > default > > > zroot/Centos8 checksum fletcher4 > > > inherited from zroot > > > zroot/Centos8 compression off > > default > > > zroot/Centos8 readonly off > > > inherited from zroot > > > zroot/Centos8 createtxg 16467672 - > > > zroot/Centos8 copies 1 > > default > > > zroot/Centos8 refreservation 4.13G > > local > > > zroot/Centos8 guid 5814621169889103161 - > > > zroot/Centos8 primarycache all > > default > > > zroot/Centos8 secondarycache all > > default > > > zroot/Centos8 usedbysnapshots 1K - > > > zroot/Centos8 usedbydataset 2.67G - > > > zroot/Centos8 usedbychildren 0 - > > > zroot/Centos8 usedbyrefreservation 4.13G - > > > zroot/Centos8 logbias latency > > default > > > zroot/Centos8 dedup off > > default > > > zroot/Centos8 mlslabel - > > > zroot/Centos8 sync standard > > default > > > zroot/Centos8 refcompressratio 1.00x - > > > zroot/Centos8 written 1K - > > > zroot/Centos8 logicalused 2.66G - > > > zroot/Centos8 logicalreferenced 2.66G - > > > zroot/Centos8 volmode dev > > local > > > zroot/Centos8 snapshot_limit none > > default > > > zroot/Centos8 snapshot_count none > > default > > > zroot/Centos8 redundant_metadata all > > default > > > zroot/Centos8@200909 type snapshot - > > > zroot/Centos8@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/Centos8@200909 used 1K - > > > zroot/Centos8@200909 referenced 2.67G - > > > zroot/Centos8@200909 compressratio 1.00x - > > > zroot/Centos8@200909 devices on > > default > > > zroot/Centos8@200909 exec on > > default > > > zroot/Centos8@200909 setuid on > > default > > > zroot/Centos8@200909 createtxg 20490195 - > > > zroot/Centos8@200909 xattr on > > default > > > zroot/Centos8@200909 nbmand off > > default > > > zroot/Centos8@200909 guid 10823844225552088614 - > > > zroot/Centos8@200909 primarycache all > > default > > > zroot/Centos8@200909 secondarycache all > > default > > > zroot/Centos8@200909 defer_destroy off - > > > zroot/Centos8@200909 userrefs 0 - > > > zroot/Centos8@200909 mlslabel - > > > zroot/Centos8@200909 refcompressratio 1.00x - > > > zroot/Centos8@200909 written 2.67G - > > > zroot/Centos8@200909 clones - > > > zroot/Centos8@200909 logicalreferenced 2.66G - > > > zroot/Centos8@200909 volmode dev > > > inherited from zroot/Centos8 > > > zroot/msw7 type volume - > > > zroot/msw7 creation Thu Feb 22 15:19 2018 - > > > zroot/msw7 used 44.9G - > > > zroot/msw7 available 25.8G - > > > zroot/msw7 referenced 19.1G - > > > zroot/msw7 compressratio 1.00x - > > > zroot/msw7 reservation none > > default > > > zroot/msw7 volsize 25G > > local > > > zroot/msw7 volblocksize 8K > > default > > > zroot/msw7 checksum fletcher4 > > > inherited from zroot > > > zroot/msw7 compression off > > default > > > zroot/msw7 readonly off > > > inherited from zroot > > > zroot/msw7 createtxg 10775012 - > > > zroot/msw7 copies 1 > > default > > > zroot/msw7 refreservation 25.8G > > local > > > zroot/msw7 guid 16581387537923661645 - > > > zroot/msw7 primarycache all > > default > > > zroot/msw7 secondarycache all > > default > > > zroot/msw7 usedbysnapshots 1K - > > > zroot/msw7 usedbydataset 19.1G - > > > zroot/msw7 usedbychildren 0 - > > > zroot/msw7 usedbyrefreservation 25.8G - > > > zroot/msw7 logbias latency > > default > > > zroot/msw7 dedup off > > default > > > zroot/msw7 mlslabel - > > > zroot/msw7 sync standard > > default > > > zroot/msw7 refcompressratio 1.00x - > > > zroot/msw7 written 1K - > > > zroot/msw7 logicalused 19.0G - > > > zroot/msw7 logicalreferenced 19.0G - > > > zroot/msw7 volmode dev > > local > > > zroot/msw7 snapshot_limit none > > default > > > zroot/msw7 snapshot_count none > > default > > > zroot/msw7 redundant_metadata all > > default > > > zroot/msw7@200909 type snapshot - > > > zroot/msw7@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/msw7@200909 used 1K - > > > zroot/msw7@200909 referenced 19.1G - > > > zroot/msw7@200909 compressratio 1.00x - > > > zroot/msw7@200909 devices on > > default > > > zroot/msw7@200909 exec on > > default > > > zroot/msw7@200909 setuid on > > default > > > zroot/msw7@200909 createtxg 20490195 - > > > zroot/msw7@200909 xattr on > > default > > > zroot/msw7@200909 nbmand off > > default > > > zroot/msw7@200909 guid 3899706450355491715 - > > > zroot/msw7@200909 primarycache all > > default > > > zroot/msw7@200909 secondarycache all > > default > > > zroot/msw7@200909 defer_destroy off - > > > zroot/msw7@200909 userrefs 0 - > > > zroot/msw7@200909 mlslabel - > > > zroot/msw7@200909 refcompressratio 1.00x - > > > zroot/msw7@200909 written 19.1G - > > > zroot/msw7@200909 clones - > > > zroot/msw7@200909 logicalreferenced 19.0G - > > > zroot/msw7@200909 volmode dev > > > inherited from zroot/msw7 > > This space can be used if swap is disabled. > > At that time no resource hungry application should run of course. > > > zroot/swapdisk0 type volume - > > > zroot/swapdisk0 creation Mon Feb 13 11:03 2017 - > > > zroot/swapdisk0 used 40.8G - > > > zroot/swapdisk0 available 20.6G - > > > zroot/swapdisk0 referenced 20.2G - > > > zroot/swapdisk0 compressratio 1.00x - > > > zroot/swapdisk0 reservation none > > default > > > zroot/swapdisk0 volsize 20G > > local > > > zroot/swapdisk0 volblocksize 8K > > default > > > zroot/swapdisk0 checksum fletcher4 > > > inherited from zroot > > > zroot/swapdisk0 compression off > > default > > > zroot/swapdisk0 readonly off > > > inherited from zroot > > > zroot/swapdisk0 createtxg 8265142 - > > > zroot/swapdisk0 copies 1 > > default > > > zroot/swapdisk0 refreservation 20.6G > > local > > > zroot/swapdisk0 guid 12592813906271140067 - > > > zroot/swapdisk0 primarycache all > > default > > > zroot/swapdisk0 secondarycache all > > default > > > zroot/swapdisk0 usedbysnapshots 0 - > > > zroot/swapdisk0 usedbydataset 20.2G - > > > zroot/swapdisk0 usedbychildren 0 - > > > zroot/swapdisk0 usedbyrefreservation 20.6G - > > > zroot/swapdisk0 logbias latency > > default > > > zroot/swapdisk0 dedup off > > default > > > zroot/swapdisk0 mlslabel - > > > zroot/swapdisk0 sync standard > > default > > > zroot/swapdisk0 refcompressratio 1.00x - > > > zroot/swapdisk0 written 0 - > > > zroot/swapdisk0 logicalused 20.1G - > > > zroot/swapdisk0 logicalreferenced 20.1G - > > > zroot/swapdisk0 volmode geom > > local > > > zroot/swapdisk0 snapshot_limit none > > default > > > zroot/swapdisk0 snapshot_count none > > default > > > zroot/swapdisk0 redundant_metadata all > > default > > > zroot/swapdisk0@200909 type snapshot - > > > zroot/swapdisk0@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/swapdisk0@200909 used 0 - > > > zroot/swapdisk0@200909 referenced 20.2G - > > > zroot/swapdisk0@200909 compressratio 1.00x - > > > zroot/swapdisk0@200909 devices on > > default > > > zroot/swapdisk0@200909 exec on > > default > > > zroot/swapdisk0@200909 setuid on > > default > > > zroot/swapdisk0@200909 createtxg 20490195 - > > > zroot/swapdisk0@200909 xattr on > > default > > > zroot/swapdisk0@200909 nbmand off > > default > > > zroot/swapdisk0@200909 guid 6778261312202608185 - > > > zroot/swapdisk0@200909 primarycache all > > default > > > zroot/swapdisk0@200909 secondarycache all > > default > > > zroot/swapdisk0@200909 defer_destroy off - > > > zroot/swapdisk0@200909 userrefs 0 - > > > zroot/swapdisk0@200909 mlslabel - > > > zroot/swapdisk0@200909 refcompressratio 1.00x - > > > zroot/swapdisk0@200909 written 20.2G - > > > zroot/swapdisk0@200909 clones - > > > zroot/swapdisk0@200909 logicalreferenced 20.1G - > > > zroot/swapdisk0@200909 volmode geom > > > inherited from zroot/swapdisk0 > > > zroot/usr type filesystem - > > > zroot/usr creation Mon May 27 23:31 2013 - > > > zroot/usr used 131G - > > > zroot/usr available 0 - > > > zroot/usr referenced 50.9G - > > > zroot/usr compressratio 1.00x - > > > zroot/usr mounted yes - > > > zroot/usr quota none > > default > > > zroot/usr reservation none > > default > > > zroot/usr recordsize 128K > > default > > > zroot/usr mountpoint /usr > > local > > > zroot/usr sharenfs off > > default > > > zroot/usr checksum fletcher4 > > > inherited from zroot > > > zroot/usr compression off > > default > > > zroot/usr atime on > > default > > > zroot/usr devices on > > default > > > zroot/usr exec on > > default > > > zroot/usr setuid on > > default > > > zroot/usr readonly off > > > inherited from zroot > > > zroot/usr jailed off > > default > > > zroot/usr snapdir hidden > > default > > > zroot/usr aclmode discard > > default > > > zroot/usr aclinherit restricted > > default > > > zroot/usr createtxg 21 - > > > zroot/usr canmount on > > default > > > zroot/usr xattr off > > temporary > > > zroot/usr copies 1 > > default > > > zroot/usr version 5 - > > > zroot/usr utf8only off - > > > zroot/usr normalization none - > > > zroot/usr casesensitivity sensitive - > > > zroot/usr vscan off > > default > > > zroot/usr nbmand off > > default > > > zroot/usr sharesmb off > > default > > > zroot/usr refquota none > > default > > > zroot/usr refreservation none > > default > > > zroot/usr guid 3173040953131777265 - > > > zroot/usr primarycache all > > default > > > zroot/usr secondarycache all > > default > > > zroot/usr usedbysnapshots 1K - > > > zroot/usr usedbydataset 50.9G - > > > zroot/usr usedbychildren 80.1G - > > > zroot/usr usedbyrefreservation 0 - > > > zroot/usr logbias latency > > default > > > zroot/usr dedup off > > default > > > zroot/usr mlslabel - > > > zroot/usr sync standard > > default > > > zroot/usr refcompressratio 1.00x - > > > zroot/usr written 1K - > > > zroot/usr logicalused 131G - > > > zroot/usr logicalreferenced 50.7G - > > > zroot/usr volmode default > > default > > > zroot/usr filesystem_limit none > > default > > > zroot/usr snapshot_limit none > > default > > > zroot/usr filesystem_count none > > default > > > zroot/usr snapshot_count none > > default > > > zroot/usr redundant_metadata all > > default > > > zroot/usr@200909 type snapshot - > > > zroot/usr@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/usr@200909 used 1K - > > > zroot/usr@200909 referenced 50.9G - > > > zroot/usr@200909 compressratio 1.00x - > > > zroot/usr@200909 devices on > > default > > > zroot/usr@200909 exec on > > default > > > zroot/usr@200909 setuid on > > default > > > zroot/usr@200909 createtxg 20490195 - > > > zroot/usr@200909 xattr on > > default > > > zroot/usr@200909 version 5 - > > > zroot/usr@200909 utf8only off - > > > zroot/usr@200909 normalization none - > > > zroot/usr@200909 casesensitivity sensitive - > > > zroot/usr@200909 nbmand off > > default > > > zroot/usr@200909 guid 15403344970624252860 - > > > zroot/usr@200909 primarycache all > > default > > > zroot/usr@200909 secondarycache all > > default > > > zroot/usr@200909 defer_destroy off - > > > zroot/usr@200909 userrefs 0 - > > > zroot/usr@200909 mlslabel - > > > zroot/usr@200909 refcompressratio 1.00x - > > > zroot/usr@200909 written 50.9G - > > > zroot/usr@200909 clones - > > > zroot/usr@200909 logicalreferenced 50.7G - > > > zroot/usr@200909 volmode default > > default > > > zroot/usr/home type filesystem - > > > zroot/usr/home creation Mon May 27 23:33 2013 - > > > zroot/usr/home used 80.1G - > > > zroot/usr/home available 0 - > > > zroot/usr/home referenced 80.1G - > > > zroot/usr/home compressratio 1.00x - > > > zroot/usr/home mounted yes - > > > zroot/usr/home quota none > > default > > > zroot/usr/home reservation none > > default > > > zroot/usr/home recordsize 128K > > default > > > zroot/usr/home mountpoint /usr/home > > local > > > zroot/usr/home sharenfs off > > default > > > zroot/usr/home checksum fletcher4 > > > inherited from zroot > > > zroot/usr/home compression off > > default > > > zroot/usr/home atime on > > default > > > zroot/usr/home devices on > > default > > > zroot/usr/home exec on > > default > > > zroot/usr/home setuid on > > default > > > zroot/usr/home readonly off > > > inherited from zroot > > > zroot/usr/home jailed off > > default > > > zroot/usr/home snapdir hidden > > default > > > zroot/usr/home aclmode discard > > default > > > zroot/usr/home aclinherit restricted > > default > > > zroot/usr/home createtxg 41 - > > > zroot/usr/home canmount on > > default > > > zroot/usr/home xattr off > > temporary > > > zroot/usr/home copies 1 > > default > > > zroot/usr/home version 5 - > > > zroot/usr/home utf8only off - > > > zroot/usr/home normalization none - > > > zroot/usr/home casesensitivity sensitive - > > > zroot/usr/home vscan off > > default > > > zroot/usr/home nbmand off > > default > > > zroot/usr/home sharesmb off > > default > > > zroot/usr/home refquota none > > default > > > zroot/usr/home refreservation none > > default > > > zroot/usr/home guid 16701701910904504413 - > > > zroot/usr/home primarycache all > > default > > > zroot/usr/home secondarycache all > > default > > > zroot/usr/home usedbysnapshots 1K - > > > zroot/usr/home usedbydataset 80.1G - > > > zroot/usr/home usedbychildren 0 - > > > zroot/usr/home usedbyrefreservation 0 - > > > zroot/usr/home logbias latency > > default > > > zroot/usr/home dedup off > > default > > > zroot/usr/home mlslabel - > > > zroot/usr/home sync standard > > default > > > zroot/usr/home refcompressratio 1.00x - > > > zroot/usr/home written 1K - > > > zroot/usr/home logicalused 80.0G - > > > zroot/usr/home logicalreferenced 80.0G - > > > zroot/usr/home volmode default > > default > > > zroot/usr/home filesystem_limit none > > default > > > zroot/usr/home snapshot_limit none > > default > > > zroot/usr/home filesystem_count none > > default > > > zroot/usr/home snapshot_count none > > default > > > zroot/usr/home redundant_metadata all > > default > > > zroot/usr/home@200909 type snapshot - > > > zroot/usr/home@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/usr/home@200909 used 1K - > > > zroot/usr/home@200909 referenced 80.1G - > > > zroot/usr/home@200909 compressratio 1.00x - > > > zroot/usr/home@200909 devices on > > default > > > zroot/usr/home@200909 exec on > > default > > > zroot/usr/home@200909 setuid on > > default > > > zroot/usr/home@200909 createtxg 20490195 - > > > zroot/usr/home@200909 xattr on > > default > > > zroot/usr/home@200909 version 5 - > > > zroot/usr/home@200909 utf8only off - > > > zroot/usr/home@200909 normalization none - > > > zroot/usr/home@200909 casesensitivity sensitive - > > > zroot/usr/home@200909 nbmand off > > default > > > zroot/usr/home@200909 guid 14302389932766417239 - > > > zroot/usr/home@200909 primarycache all > > default > > > zroot/usr/home@200909 secondarycache all > > default > > > zroot/usr/home@200909 defer_destroy off - > > > zroot/usr/home@200909 userrefs 0 - > > > zroot/usr/home@200909 mlslabel - > > > zroot/usr/home@200909 refcompressratio 1.00x - > > > zroot/usr/home@200909 written 80.1G - > > > zroot/usr/home@200909 clones - > > > zroot/usr/home@200909 logicalreferenced 80.0G - > > > zroot/usr/home@200909 volmode default > > default > > > zroot/var type filesystem - > > > zroot/var creation Mon May 27 23:40 2013 - > > > zroot/var used 9.94G - > > > zroot/var available 0 - > > > zroot/var referenced 9.94G - > > > zroot/var compressratio 1.00x - > > > zroot/var mounted yes - > > > zroot/var quota none > > default > > > zroot/var reservation none > > default > > > zroot/var recordsize 128K > > default > > > zroot/var mountpoint /var > > local > > > zroot/var sharenfs off > > default > > > zroot/var checksum fletcher4 > > > inherited from zroot > > > zroot/var compression off > > default > > > zroot/var atime on > > default > > > zroot/var devices on > > default > > > zroot/var exec on > > default > > > zroot/var setuid on > > default > > > zroot/var readonly off > > > inherited from zroot > > > zroot/var jailed off > > default > > > zroot/var snapdir hidden > > default > > > zroot/var aclmode discard > > default > > > zroot/var aclinherit restricted > > default > > > zroot/var createtxg 133 - > > > zroot/var canmount on > > default > > > zroot/var xattr off > > temporary > > > zroot/var copies 1 > > default > > > zroot/var version 5 - > > > zroot/var utf8only off - > > > zroot/var normalization none - > > > zroot/var casesensitivity sensitive - > > > zroot/var vscan off > > default > > > zroot/var nbmand off > > default > > > zroot/var sharesmb off > > default > > > zroot/var refquota none > > default > > > zroot/var refreservation none > > default > > > zroot/var guid 15336045084130388053 - > > > zroot/var primarycache all > > default > > > zroot/var secondarycache all > > default > > > zroot/var usedbysnapshots 1K - > > > zroot/var usedbydataset 9.94G - > > > zroot/var usedbychildren 0 - > > > zroot/var usedbyrefreservation 0 - > > > zroot/var logbias latency > > default > > > zroot/var dedup off > > default > > > zroot/var mlslabel - > > > zroot/var sync standard > > default > > > zroot/var refcompressratio 1.00x - > > > zroot/var written 1K - > > > zroot/var logicalused 9.93G - > > > zroot/var logicalreferenced 9.93G - > > > zroot/var volmode default > > default > > > zroot/var filesystem_limit none > > default > > > zroot/var snapshot_limit none > > default > > > zroot/var filesystem_count none > > default > > > zroot/var snapshot_count none > > default > > > zroot/var redundant_metadata all > > default > > > zroot/var@200909 type snapshot - > > > zroot/var@200909 creation Wed Sep 9 11:12 2020 - > > > zroot/var@200909 used 1K - > > > zroot/var@200909 referenced 9.94G - > > > zroot/var@200909 compressratio 1.00x - > > > zroot/var@200909 devices on > > default > > > zroot/var@200909 exec on > > default > > > zroot/var@200909 setuid on > > default > > > zroot/var@200909 createtxg 20490195 - > > > zroot/var@200909 xattr on > > default > > > zroot/var@200909 version 5 - > > > zroot/var@200909 utf8only off - > > > zroot/var@200909 normalization none - > > > zroot/var@200909 casesensitivity sensitive - > > > zroot/var@200909 nbmand off > > default > > > zroot/var@200909 guid 12205140544561506623 - > > > zroot/var@200909 primarycache all > > default > > > zroot/var@200909 secondarycache all > > default > > > zroot/var@200909 defer_destroy off - > > > zroot/var@200909 userrefs 0 - > > > zroot/var@200909 mlslabel - > > > zroot/var@200909 refcompressratio 1.00x - > > > zroot/var@200909 written 9.94G - > > > zroot/var@200909 clones - > > > zroot/var@200909 logicalreferenced 9.93G - > > > zroot/var@200909 volmode default > > default > > > > > > > > > > > > I am lost > > > > > > lk > > > > Please stop hungry applications as far as possible. Then swap should > > become unnecessary and you can use the space to clean up. > > From my understanding the setting readonly=off should not be the root > > cause. > > > > I will you success! Be patient - as if it would be so easy... > > > > Kind regards, > > Christoph > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to "freebsd-questions- > > unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Thu Sep 10 17:44:40 2020 Return-Path: Delivered-To: freebsd-questions@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 4309F3DF4DB for ; Thu, 10 Sep 2020 17:44:40 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic312-24.consmr.mail.ne1.yahoo.com (sonic312-24.consmr.mail.ne1.yahoo.com [66.163.191.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnR92509hz4Nq9 for ; Thu, 10 Sep 2020 17:44:38 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: RIuLPGEVM1nPY4CZ9d2dv9jdBSQzDAimP0e3VrqFPofPW8GJEn3AdvZ2yQGUOcO XEVVLYf.91D_4DPp8SLyklh.8OnWA5VOSttpCh5p45RJ8qFwTWBRxUDCIci35RBA4ZZ.aSuSQzuc .iCS2IzLBSoTmvwxTIL3.ulNcAxWj5UJyXkooMe.nW5Q9ZPb7lySE2Sv350tSrugXgjCkeRM87M8 8iiDkB6_yWj0a93NzVmsENd.V9JOj10.lRQNC5sVh0y16hbnpGPP6_ZqsCZIbEM4QJHP9zCQR5hq xkzgwizMCtmiI8JXfPGFKKcBfGPOCX00Olx0QdFbNNmJDfb0dp7x9R9qLCKST1HUT3BIt5FGa3WR ljoVn9Wg5vhY3WD0iWubX4d8.XqUj57OnaN93NlGu3b9fUjc1YqnKVj9Af2bh1OFUBVTRVBkkYdO NO1pC8DOVLV9FySPxS0EwC6h.wOET8tt7BVMtLvAWeGOCC0NTsOzmDeo2OaS8lgR.tjI02lzbESs OqPbcvet43qRxKwslMNW4megDbL6Bqt5szATAAOU7NacSyyPvWti8s2mzxi.oBbwCPErhRv2149z gWxXGR.i3vomd3uOhZyY8DDqve9kkNxyoQXJ6T79tSKQLT26nnvC0xVcN.pbyng3lRK8xyvU.M9i S_egDi6zCF.apVFLcyGqvVIcUaPCs7JtxPiGRlgwKxm34BoujT47EEMNAO6r3zMw60bXwWlxRPS8 DM5DPFI9fGQL9c2fMC5gwxyeFUruEOuRkTM9HjF1vkK8hYfpVl.r0oCwf5T7jYJzYhCWQvY5yolh 52X5aOz94F6kGUXhjEXqDgNNcmWAfgd5sUPI9TZnNzf7lIiOvMynYDZ2Tdbp_ftrOonzdYkyjruQ MAEP3ioFpLOZbjMePZJgh3LHYa3sL4Xoohb.MLQ7QqJk7Vfa7cY6cyhbBlIu04igcNHIoJM.qavD AonmL6poRDlY.Kfgpi3ycUw_IGQnT31hDaM1cQ5cHzMe44iXHXvkm9mHdoZBDDjCKGtP8ZUc7FF5 S2bg7rcmkbh5DtZT8DmVHfor_vHA2RMCKwx9p2pHcU42dzPLfVsIopfn470TMYR5uViZ2Dl8iCN8 .uomjP1crrAgaGIZpLtUguuWAD0iOlBgZPHfEmR2WG6Yz3.Jqp9kM1bUpx.hHlrX2WlOy_wPt.BZ KSDPePMx8vDmxmwwrGKf686tzfxpk8hsM1JpTufQohVAZAviD8tcexFMtQONEWx4HqFqvz32aTVQ JKnV_yC4acVxvxGI2JYs28g21nVaCF3C7FAueYz3o_F6i8jTUpB1TB7bGewmZ6DLdW0NkJTujHFO efX4QL26LtPF0.f4JuWFlJoqbhNrcC1s5qLlllMs7tvBzg5bNqJNmB2YTxwYO79VdPnt_h5S6GXl SNEqKTEmDqRzO7vR.L7VTEoAkaQPJgw.5CyzDyBAyGeGTstyXXIcWU3lJ2l1no9DeqLmHgqZSH1F H2n6_ngRoajADaGXx8LOhhwwAdmDIEOBU.7DZzz.P_UOKRwpomaviduXu4OLrkgg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Thu, 10 Sep 2020 17:44:34 +0000 Received: by smtp412.mail.gq1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0001307cac5bcc8bb452c9a3bd47179e; Thu, 10 Sep 2020 17:44:33 +0000 (UTC) Received: by mail-pg1-f177.google.com with SMTP id u13so4639609pgh.1 for ; Thu, 10 Sep 2020 10:44:33 -0700 (PDT) X-Gm-Message-State: AOAM530KY4nDpNsYy/dHly1Mr+wCkUFux00D0qOnvSv95G5lxxQTm5hP Nty5vlEaiyMYIxz3I6ScYoNCTi4Jv5+47hPeP+g= X-Google-Smtp-Source: ABdhPJzLmthqoYjV5R18W22alXlewa6bdrNFafGfne85EMwprMOrl/nG5x3jff1mRUnRajX7ofPt8UOIINa2KYeET5s= X-Received: by 2002:a63:485c:: with SMTP id x28mr5547528pgk.289.1599759872248; Thu, 10 Sep 2020 10:44:32 -0700 (PDT) MIME-Version: 1.0 From: Ottavio Caruso Date: Thu, 10 Sep 2020 18:44:16 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Those "evil" Linux people advocating FreeBSD To: freebsd-questions Content-Type: text/plain; charset="UTF-8" References: X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) X-Rspamd-Queue-Id: 4BnR92509hz4Nq9 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.58 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-0.92)[-0.919]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.960]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.001]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[66.163.191.205:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.191.205:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 17:44:40 -0000 Hi, "Participation will also count towards your membership PDUs." https://www.lpi.org/community and for posterity: https://web.archive.org/web/20200910173754/https://www.lpi.org/community Scroll to the bottom of the page. Regards -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Thu Sep 10 21:48:23 2020 Return-Path: Delivered-To: freebsd-questions@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 81CB23E4CD3 for ; Thu, 10 Sep 2020 21:48:23 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BnXZG2wG1z4h1B for ; Thu, 10 Sep 2020 21:48:22 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 67A1C4E694 for ; Thu, 10 Sep 2020 16:48:16 -0500 (CDT) To: FreeBSD Mailing List From: Valeri Galtsev Subject: py37-certbot question Message-ID: Date: Thu, 10 Sep 2020 16:48:16 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BnXZG2wG1z4h1B X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-0.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.13)[-0.135]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.10)[0.102]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.08)[-0.079]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 21:48:23 -0000 Dear Experts, I hope, someone knows details of python3 based certbot. Namely, if run with "update" command, it updated certificates that will expire "soon". How soon, it doesn't say in man page, just soon. Does someone know how close to expiration cert should be to be considered by the script for renewal. I use certbot since its python 2 version - for quite some time actually to renew LetsEncrypt certificates. With python2 version in the past I run cron job daily and I was restarting apache from that same script if certificate was updated. With python3 version when I switched to it I followed somebody's HOWTO, and just added to /etc/periodic.conf: weekly_certbot_enable="YES" weekly_certbot_service="apache24" And was living happily ever since. However, one of the machines is about 4 days before expiration, Letsencrypt sent me notification: update cert. I checked, and crond is runnning, /etc/periodic.conf is as expected, and now, 4 days before expiration script (with --dry run flag) indeed goes about renewing the cert. There is one weekly cron jobs set that will happen before actual expiration of my certs, so I somehow think all is OK and my cert will be renewed. But I am just curios how many days before expiration certbot does renew certificate that will expire "soon". Or should I probably switch it over to daily cron job? As every lazy sysadmin, I do prefer to set things up so they definitely work without my attention. And I do not want to be reminded to do something it it will still happen on its own. So, switch to daily cron job? Thanks. Valeri -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Thu Sep 10 22:21:41 2020 Return-Path: Delivered-To: freebsd-questions@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 8CA443E5ED7 for ; Thu, 10 Sep 2020 22:21:41 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Received: from smtp-out.smokepit.net (smtp-out.smokepit.net [18.200.56.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp-out.smokepit.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnYJh1ySrz4k6C for ; Thu, 10 Sep 2020 22:21:39 +0000 (UTC) (envelope-from lysfjord.daniel@smokepit.net) Received: from cm-84.215.33.184.getinternet.no ([84.215.33.184] helo=smokepit.net) by smtp-out.smokepit.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGUwf-0000Sp-DU for freebsd-questions@freebsd.org; Thu, 10 Sep 2020 22:21:33 +0000 Received: from http01.lan.smokepit.net ([10.0.3.111] helo=webmail.smokepit.net) by smokepit.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kGUwc-000MVb-A6 for freebsd-questions@freebsd.org; Fri, 11 Sep 2020 00:21:31 +0200 MIME-Version: 1.0 Date: Thu, 10 Sep 2020 22:21:30 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.14.0 From: "Daniel Lysfjord" Message-ID: Subject: Re: py37-certbot question To: freebsd-questions@freebsd.org In-Reply-To: References: X-Originating-IP: 10.0.0.200 X-Spam-Report: Action: no action Symbol: ARC_NA(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: HAS_XOIP(0.00) Symbol: FROM_HAS_DN(0.00) Symbol: TO_MATCH_ENVRCPT_ALL(0.00) Symbol: BAYES_HAM(-2.62) Symbol: MIME_GOOD(-0.10) Symbol: TO_DN_NONE(0.00) Symbol: RCPT_COUNT_ONE(0.00) Symbol: RCVD_COUNT_ONE(0.00) Symbol: FROM_EQ_ENVFROM(0.00) Symbol: MIME_TRACE(0.00) Symbol: RCVD_TLS_ALL(0.00) Symbol: MID_RHS_MATCH_FROM(0.00) Message-ID: e427f06d794c8bb1fa66e416e09da196@smokepit.net X-Rspamd-Queue-Id: 4BnYJh1ySrz4k6C X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.93 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[smokepit.net:s=loke]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.002]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-0.66)[-0.662]; R_SPF_ALLOW(-0.20)[+ip4:18.200.56.156]; DKIM_TRACE(0.00)[smokepit.net:+]; DMARC_POLICY_ALLOW(-0.50)[smokepit.net,reject]; NEURAL_HAM_SHORT(-0.26)[-0.264]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16509, ipnet:18.200.0.0/16, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[84.215.33.184:received] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2020 22:21:41 -0000 "Valeri Galtsev" skrev 10. september 2020 kl.= 23:48:=0A=0A> Dear Experts,=0A> =0A> I hope, someone knows details of py= thon3 based certbot. Namely, if run with "update" command, it=0A> updated= certificates that will expire "soon". How soon, it doesn't say in man pa= ge, just soon. Does=0A> someone know how close to expiration cert should = be to be considered by the script for renewal.=0A=0Ahttps://certbot.eff.o= rg/docs/using.html#renewing-certificates=0ATells me 30 days:)=0A=0A=0A> = =0A> I use certbot since its python 2 version - for quite some time actua= lly to renew LetsEncrypt=0A> certificates. With python2 version in the pa= st I run cron job daily and I was restarting apache=0A> from that same sc= ript if certificate was updated. With python3 version when I switched to = it I=0A> followed somebody's HOWTO, and just added to /etc/periodic.conf:= =0A> =0A> weekly_certbot_enable=3D"YES"=0A> weekly_certbot_service=3D"apa= che24"=0A> =0A> And was living happily ever since. However, one of the ma= chines is about 4 days before expiration,=0A> Letsencrypt sent me notific= ation: update cert. I checked, and crond is runnning, /etc/periodic.conf= =0A> is as expected, and now, 4 days before expiration script (with --dry= run flag) indeed goes about=0A> renewing the cert. There is one weekly c= ron jobs set that will happen before actual expiration of=0A> my certs, s= o I somehow think all is OK and my cert will be renewed.=0A> =0A> But I a= m just curios how many days before expiration certbot does renew certific= ate that will=0A> expire "soon".=0A> =0A> Or should I probably switch it = over to daily cron job?=0A> =0A> As every lazy sysadmin, I do prefer to s= et things up so they definitely work without my attention.=0A> And I do n= ot want to be reminded to do something it it will still happen on its own= . So, switch to=0A> daily cron job?=0A> =0A> Thanks.=0A> Valeri=0A> =0A> = -- ++++++++++++++++++++++++++++++++++++++++=0A> Valeri Galtsev=0A> Sr Sys= tem Administrator=0A> Department of Astronomy and Astrophysics=0A> Kavli = Institute for Cosmological Physics=0A> University of Chicago=0A> Phone: 7= 73-702-4247=0A> ++++++++++++++++++++++++++++++++++++++++=0A> ____________= ___________________________________=0A> freebsd-questions@freebsd.org mai= ling list=0A> https://lists.freebsd.org/mailman/listinfo/freebsd-question= s=0A> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@fre= ebsd.org" From owner-freebsd-questions@freebsd.org Fri Sep 11 03:30:16 2020 Return-Path: Delivered-To: freebsd-questions@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 6D7B33EB46D for ; Fri, 11 Sep 2020 03:30:16 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnh8k64vYz3VWV for ; Fri, 11 Sep 2020 03:30:14 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 08B3UDAm043233; Thu, 10 Sep 2020 21:30:13 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) From: Gary Aitken Subject: Re: py37-certbot question To: Valeri Galtsev , FreeBSD Mailing List References: Reply-To: freebsd@dreamchaser.org Message-ID: Date: Thu, 10 Sep 2020 21:26:34 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Thu, 10 Sep 2020 21:30:13 -0600 (MDT) X-Rspamd-Queue-Id: 4Bnh8k64vYz3VWV X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-2.98 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.02)[-1.016]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.67)[-0.669]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 03:30:16 -0000 On 9/10/20 3:48 PM, Valeri Galtsev wrote: > I hope, someone knows details of python3 based certbot. Namely, if > run with "update" command, it updated certificates that will expire > "soon". How soon, it doesn't say in man page, just soon. Does someone > know how close to expiration cert should be to be considered by the > script for renewal. 30 days. If you try to renew before that it doesn't renew. Unfortunately, that's less than the 31 days in some months, so a monthly cron job won't do it. I work on a ubuntu system with it set to weekly and for the first two months I get a weekly report from the cron job showing it tried to renew but didn't because there was too much time left on the certs. On by fbsd system I manually renew. My notes from 2019 say it is necessary to stop the server before renewing because certbot starts its own temporary one to do the upgrade. So I do the sequence: service apache24 stop certbot renew service apache24 start It may be the py37 version stops and restarts the server; I haven't tried it without stopping the server so I don't know. > I use certbot since its python 2 version - for quite some time > actually to renew LetsEncrypt certificates. With python2 version in > the past I run cron job daily and I was restarting apache from that > same script if certificate was updated. With python3 version when I > switched to it I followed somebody's HOWTO, and just added to > /etc/periodic.conf: > > weekly_certbot_enable="YES" weekly_certbot_service="apache24" > > And was living happily ever since. However, one of the machines is > about 4 days before expiration, Letsencrypt sent me notification: > update cert. I checked, and crond is runnning, /etc/periodic.conf is > as expected, and now, 4 days before expiration script (with --dry run > flag) indeed goes about renewing the cert. There is one weekly cron > jobs set that will happen before actual expiration of my certs, so I > somehow think all is OK and my cert will be renewed. > > But I am just curios how many days before expiration certbot does > renew certificate that will expire "soon". If it has been running weekly as a cron job, it should have been renewed about three weeks ago. It should renew on the first attempt that is less than 30 days until expiration. So it sounds like it is attempting to renew but failing. It may be that if the server isn't stopped it won't renew because it can't acquire the necessary port. > Or should I probably switch it over to daily cron job? That should not be necessary; weekly will work. Gary From owner-freebsd-questions@freebsd.org Fri Sep 11 03:51:59 2020 Return-Path: Delivered-To: freebsd-questions@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 E403D3EBF4B for ; Fri, 11 Sep 2020 03:51:59 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnhdp73YKz3WMN for ; Fri, 11 Sep 2020 03:51:58 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 10 Sep 2020 20:51:47 -0700 Subject: Re: ZFS snapshot - rollback problem To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> Date: Thu, 10 Sep 2020 20:51:46 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bnhdp73YKz3WMN X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [2.73 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.44)[0.443]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.66)[0.662]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.73)[0.729]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 03:51:59 -0000 On 2020-09-10 07:18, Ludovit Koren wrote: > Hi, Hello. :-) > I have the following configuration: > > ~>uname -a > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 Thank you for posting that. Do you understand the difference between RELEASE and STABLE? https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html > ~>zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 244G 0 10.7G /mnt > zroot/Centos8 6.80G 4.13G 2.67G - > zroot/msw7 44.9G 25.8G 19.1G - > zroot/swapdisk0 40.8G 20.6G 20.2G - > zroot/usr 131G 0 50.9G /usr > zroot/usr/home 80.1G 0 80.1G /usr/home > zroot/var 9.94G 0 9.94G /var I do not understand how your system can work at all if the root filesystem is mounted at /mnt (?). Is your FreeBSD running on a different disc? Do you have a multiple system disks, multi-boot, etc.? > After zfs snapshot, which I did on the root, Please post your console session. Please run the following commands and post the console session: # camcontrol devlist # gpart show # mount # zpool status David From owner-freebsd-questions@freebsd.org Fri Sep 11 06:31:20 2020 Return-Path: Delivered-To: freebsd-questions@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 BF3C43EF357 for ; Fri, 11 Sep 2020 06:31:20 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnm9h04Qwz3dgm for ; Fri, 11 Sep 2020 06:31:19 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-ot1-x344.google.com with SMTP id h17so7511521otr.1 for ; Thu, 10 Sep 2020 23:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TzCMhnr1E577tT474s7lhBnrmo7R92e0T7iUPaZ2T4c=; b=M2+30fS9OoIZ44Tc9H7xiM6cZMtQD6FJ75O01XGUcXQOb/7zlXDVOjYD/Wfs6r9mOO vk/dj3l6/FFViMM4iAjiSmwSo3DiLSFqYOQ+t83uBUYdTf58XOMH57kPYgFXwKcxDDF4 z5GimltynAK79eFPlnykbS+OgWZRs8uQOfRkWiiIH0YfBSh0IFxKF/jOttpXitCvKLQ9 rgRD7xwr4I6tAUwVYzSSXwiX7NeevLHUaEYyRnfWL5KYjj4tjcbmrAJwO+tQEUxt98Ue fZWZmjsBWzFkxgiFYp1T0aS0Mkc5n58vBynpnv8ofLgGNaagDGTPV5rPVZKzpH77Ei1k pmXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TzCMhnr1E577tT474s7lhBnrmo7R92e0T7iUPaZ2T4c=; b=KpGOVmRWLKckpYBPLSlXlmZZzWZuqf6/b7AeE5ldpVf6x1qXNircG0AI2JBe84wfY4 h5zXTi+0gzZJBOZE0Ck/WtBmQLbBB7cWU7S4MNyvQ0uFawK1EzCV9rcDLyejejWo/saE 8gKOCmTuMt+tTplTdJZLPcum4WbeaaWw04XJA+NhFCVZtQtUO7ZWPugsALdXdBZgY/JH Cu1nqv/ziH0C25cvGriWEtpUceJMQDquZaRpPo8wpl8GYFpQl+0cTGh6F42EU5dtOR9J sS+WTHLlWmRPLkPirlhpssNTd2OfSaVduAp0/Kpf1q72Qx58r8VXnZ4u1/Orv1Cbv6xD I35A== X-Gm-Message-State: AOAM531aNXvTpe44PgjtylSKS8w9P6ahWGvSCQIrrk2TmFZTO3loE4pE cmxp6NkMathPyGK+ukZkdT40NcGj+S+cphV7lnk= X-Google-Smtp-Source: ABdhPJwnl3QYGk2BUE52YYJy+ucf/gSCUNXaonP09jjgr/ZG3KjvJ0OswQuoygkHgkV5JDQLmD4KUhd/v7j4SFD1yTY= X-Received: by 2002:a05:6830:1bf9:: with SMTP id k25mr312692otb.310.1599805878591; Thu, 10 Sep 2020 23:31:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6518:0:0:0:0:0 with HTTP; Thu, 10 Sep 2020 23:31:18 -0700 (PDT) In-Reply-To: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> References: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> From: Ludovit Koren Date: Fri, 11 Sep 2020 08:31:18 +0200 Message-ID: Subject: Re: ZFS snapshot - rollback problem To: David Christensen Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4Bnm9h04Qwz3dgm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=M2+30fS9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2607:f8b0:4864:20::344 as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-4.45 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.51)[-1.508]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.981]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::344:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 06:31:20 -0000 On Friday, September 11, 2020, David Christensen wrote: > On 2020-09-10 07:18, Ludovit Koren wrote: > >> Hi, >> > > Hello. :-) > > > I have the following configuration: >> >> ~>uname -a >> FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 >> 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 >> > > Thank you for posting that. > > > Do you understand the difference between RELEASE and STABLE? > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ > current-stable.html > > > > I think, I do. > ~>zfs list >> NAME USED AVAIL REFER MOUNTPOINT >> zroot 244G 0 10.7G /mnt >> zroot/Centos8 6.80G 4.13G 2.67G - >> zroot/msw7 44.9G 25.8G 19.1G - >> zroot/swapdisk0 40.8G 20.6G 20.2G - >> zroot/usr 131G 0 50.9G /usr >> zroot/usr/home 80.1G 0 80.1G /usr/home >> zroot/var 9.94G 0 9.94G /var >> > > > I do not understand how your system can work at all if the root filesystem > is mounted at /mnt (?). Is your FreeBSD running on a different disc? Do > you have a multiple system disks, multi-boot, etc.? > > > If you see the time of creation, I think at that time it was a workaround how to install on the zfs. I did not changed it, since. No the FreeBSD is running from the disk. I have neither multiple system disks, nor multi-boot. In the /boot/loader.conf I have vfs.root.mountfrom="zfs.zroot" After zfs snapshot, which I did on the root, >> > > Please post your console session. > > > Please run the following commands and post the console session: > > # camcontrol devlist > # gpart show > > # mount > > # zpool status > > > > camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus3 target 0 lun 0 (pass1) gpart show => 34 500118125 ada0 GPT (238G) 34 128 1 freebsd-boot (64K) 162 500117997 2 freebsd-zfs (238G) mount zroot on / (zfs, local, nfsv4acls) devfs on /dev (devfs, local, multilabel) fdescfs on /dev/fd (fdescfs) procfs on /proc (procfs, local) linprocfs on /compat/linux/proc (linprocfs, local) zroot/usr on /usr (zfs, local, nfsv4acls) zroot/usr/home on /usr/home (zfs, local, nfsv4acls) zroot/var on /var (zfs, local, nfsv4acls) tmpfs on /var (tmpfs, local) map -hosts on /net (autofs) map -media on /media (autofs) tmpfs on /tmp (tmpfs, local) zpool status pool: zroot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: resilvered 0 in 0 days 00:00:00 with 0 errors on Sat Apr 6 20:39:05 2019 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 errors: No known data errors From owner-freebsd-questions@freebsd.org Fri Sep 11 06:59:32 2020 Return-Path: Delivered-To: freebsd-questions@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 745B13EFB7E for ; Fri, 11 Sep 2020 06:59:32 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnmpC4JjPz3g35 for ; Fri, 11 Sep 2020 06:59:31 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id d189so8465475oig.12 for ; Thu, 10 Sep 2020 23:59:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qIeTMqsCitOLHvEXurlfCTk+IYr2VvLSrxvBo8ZVDPE=; b=WsgE742XcS/yHeyeiejC+9/Pcl1ow6mYVKW1QRBWknM+GXUwaEJKhQPuicJ4jAMZmW zsmRHxw7cEJSl9jdZNtaE3g91cFC29O5471dJ+c3zSNeAGs7NN9qk5Cu46AIVM2m4CEN wAQH9WmHsn/g2pHXFa+6pRNzH/onmVqP5k4InS6peN8CDh5qbbCdNqQ5kUPN8NfCF9rA 9l+McathvNM/PajQYdw+HxIY5EacnjkkcCfXG6rqihckiRgvMqHkA/6jUSrv0sFBdeb8 unwza4ICJBGaukO+94KLjTPRIclkqvJjMN33jbnYT2pk3lClsLLgfvM2N+C6HEWgugtc Mzww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qIeTMqsCitOLHvEXurlfCTk+IYr2VvLSrxvBo8ZVDPE=; b=L3gGRmxtCz/M0sgCWhhdfw9RPu4TQtxPhSFVoBoOCSbNkK8v9e7FqzXtMUibeAWqOM dt20FWd/E44UdijHDFBcn3As5W/1emW8E/Uym+hrddaFzJO3lxAp3Ch5peX68LU2WwxJ rNAuFCcbLBcSH2byiNdBdaYygZmx2kYa8vk7yiVS2mZvX3WWrJzBMXEU5wT81mKImC07 EP3t5UsJskVPl6sTr5FxO4pOGpK80K47vi2Tlmhn7/s/g1T/hxJuiLpMuajtxyGuZD7T 3/wOkFKi3wlr2r0+xndC6Kli4Tp7bOmLWvZPr5SDnj8YRiXmttUC2v3iL3aXhyVo4Gv4 QGOQ== X-Gm-Message-State: AOAM530TQ5eaP17MZEtVJYQ1EBp+T/zpOjcMTn7wWtioeWPspHGNyVWG 5upCN7g8xLUi9api9QZOmVH8TOFh0UOn8yZcxFtWsYPQBgEnFw== X-Google-Smtp-Source: ABdhPJxNMszl7ik0Z/AlJdJyxjpmB3n/51cScAXhaaUMPJ1c3EJ70wpEz8lOlG5axZ9RJAqkhIvE+lqJYnIdv6qkePc= X-Received: by 2002:a05:6808:8e5:: with SMTP id d5mr469777oic.33.1599807570453; Thu, 10 Sep 2020 23:59:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Fri, 11 Sep 2020 09:58:51 +0300 Message-ID: Subject: Re: py37-certbot question To: Valeri Galtsev Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 4BnmpC4JjPz3g35 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=WsgE742X; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=odhiambo@gmail.com X-Spamd-Result: default: False [-3.51 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.97)[-0.975]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22d:from]; NEURAL_HAM_SHORT(-0.55)[-0.553]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 06:59:32 -0000 On Fri, 11 Sep 2020 at 00:48, Valeri Galtsev wrote: > Dear Experts, > > I hope, someone knows details of python3 based certbot. Namely, if run > with "update" command, it updated certificates that will expire "soon". > How soon, it doesn't say in man page, just soon. Does someone know how > close to expiration cert should be to be considered by the script for > renewal. > > I use certbot since its python 2 version - for quite some time actually > to renew LetsEncrypt certificates. With python2 version in the past I > run cron job daily and I was restarting apache from that same script if > certificate was updated. With python3 version when I switched to it I > followed somebody's HOWTO, and just added to /etc/periodic.conf: > > weekly_certbot_enable="YES" > weekly_certbot_service="apache24" > > And was living happily ever since. However, one of the machines is about > 4 days before expiration, Letsencrypt sent me notification: update cert. > I checked, and crond is runnning, /etc/periodic.conf is as expected, and > now, 4 days before expiration script (with --dry run flag) indeed goes > about renewing the cert. There is one weekly cron jobs set that will > happen before actual expiration of my certs, so I somehow think all is > OK and my cert will be renewed. > > But I am just curios how many days before expiration certbot does renew > certificate that will expire "soon". > > > Or should I probably switch it over to daily cron job? > > As every lazy sysadmin, I do prefer to set things up so they definitely > work without my attention. And I do not want to be reminded to do > something it it will still happen on its own. So, switch to daily cron job? > You could use this: https://github.com/vbotka/ansible-leutils I have been using it on my systems for 4 years. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) From owner-freebsd-questions@freebsd.org Fri Sep 11 08:53:57 2020 Return-Path: Delivered-To: freebsd-questions@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 CB0293D1F5A for ; Fri, 11 Sep 2020 08:53:57 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BnqLD6M59z437k for ; Fri, 11 Sep 2020 08:53:56 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from MacBook-Pro.tracy.holgerdanske.com (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 11 Sep 2020 01:53:41 -0700 From: David Christensen Subject: Re: ZFS snapshot - rollback problem To: freebsd-questions@freebsd.org References: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> Message-ID: <2ab7551a-ff62-70fd-61a3-04d678f1281b@holgerdanske.com> Date: Fri, 11 Sep 2020 01:53:36 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BnqLD6M59z437k X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.31 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.703]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.85)[0.852]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.85)[0.855]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 08:53:57 -0000 On 2020-09-10 23:31, Ludovit Koren wrote: > On Friday, September 11, 2020, David Christensen ... wrote: > >> On 2020-09-10 07:18, Ludovit Koren wrote: >>> ~>uname -a >>> FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 >>> 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 >> I do not understand how your system can work at all if the root filesystem >> is mounted at /mnt (?). Is your FreeBSD running on a different disc? Do >> you have a multiple system disks, multi-boot, etc.? > If you see the time of creation, I find it very useful to show the date, time, username, hostname, and path in my shell prompt. I use the toor account, the Bash shell, and export PS1 in ~/.profile: 2020-09-11 00:31:08 toor@f3 ~ # grep 'export PS1' .profile export PS1='\n\D{%Y-%m-%d %H:%M:%S} '${USER}'@\h \w\n\$ ' > I think at that time it was a workaround how to install on the zfs. Please run and post: # zfs list > I did not changed it, since. No the FreeBSD is > running from the disk. I have neither multiple system disks, nor > multi-boot. Okay. > In the /boot/loader.conf I have vfs.root.mountfrom="zfs.zroot" Okay. > After zfs snapshot, which I did on the root, >> Please post your console session. ? > camcontrol devlist > > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus3 target 0 lun 0 (pass1) Okay. > gpart show > => 34 500118125 ada0 GPT (238G) > 34 128 1 freebsd-boot (64K) > 162 500117997 2 freebsd-zfs (238G) Please run and post: # gpart show -l Did you partition the disk by hand, use the FreeBSD installer, or something else? > mount > zroot on / (zfs, local, nfsv4acls) > devfs on /dev (devfs, local, multilabel) > fdescfs on /dev/fd (fdescfs) > procfs on /proc (procfs, local) > linprocfs on /compat/linux/proc (linprocfs, local) > zroot/usr on /usr (zfs, local, nfsv4acls) > zroot/usr/home on /usr/home (zfs, local, nfsv4acls) > zroot/var on /var (zfs, local, nfsv4acls) > tmpfs on /var (tmpfs, local) > map -hosts on /net (autofs) > map -media on /media (autofs) > tmpfs on /tmp (tmpfs, local) Okay. zroot is mounted at /, which makes sense. > zpool status > pool: zroot > state: ONLINE > status: Some supported features are not enabled on the pool. The pool can > still be used, but some features are unavailable. > action: Enable all features using 'zpool upgrade'. Once this is done, > the pool may no longer be accessible by software that does not support > the features. See zpool-features(7) for details. > scan: resilvered 0 in 0 days 00:00:00 with 0 errors on Sat Apr 6 > 20:39:05 2019 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > gpt/disk0 ONLINE 0 0 0 > > errors: No known data errors Okay. Please post a console session showing the ZFS snapshot and rollback problem(s). David From owner-freebsd-questions@freebsd.org Fri Sep 11 09:31:19 2020 Return-Path: Delivered-To: freebsd-questions@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 13A373D3874 for ; Fri, 11 Sep 2020 09:31:19 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnr9L1MrPz44nL for ; Fri, 11 Sep 2020 09:31:17 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: by mail-ot1-x32a.google.com with SMTP id c10so7772650otm.13 for ; Fri, 11 Sep 2020 02:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SAL7QxL2N+Fu/dfHnMqDaibVcYuhTN3B5WQiMI9YJ9Y=; b=iIq3pRD2DOnGq0rFjA3B5sTA5tzBZ3ntwRFxdcA0bJuBoGT3FQV457iJ+VdAL3E3xz c7pZ2K61BPgvdp5RMxSiJ8gnSFbafnrv8JHXx5ip0H+WkSsv/IdwSZDSjY5TXyy+uWXn A/SIfUwjZMbvNMkLsy2ytjZ4BtGfAWRhLrfm7Kmr6v0VyBhHWIWceWDboNPguiPjvZA4 idiSKXSwzoai/WiOA1KjqozXwPRCy/OxlJ57L+FX1X+r0C8j0V3bvvqz5XU+8jBloQyG HTkUzSYPqF4FoWpr5v07DxTw7qZza9kqZ3gD6HWLD3FH56ig29QO0MQ1y6WX2/cKcFg+ aNsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SAL7QxL2N+Fu/dfHnMqDaibVcYuhTN3B5WQiMI9YJ9Y=; b=ThhSJLhp3gx8MaMDXYmOi7Mt/7p4DaAvq6dRB6I9F4gm687/VyurfVrKxBz8zTF/1M gRCaqSWvfbfU/HxRv3Wh9iZwVB/eWMLcLwMoYBCRnd/kPIrt7bz5QHCq1B1aDL3/rF+q X5y7DWNHrVEtUfyz57d2dHvOzMTb2egXgie2y1BA5tJt4+82IJCuh6UX+4LMA4k/KPUK WOxoixIgrgS0Gii4E1EkHiHVTCekc9BpQMzJsgM1hq1juFyiCTdRpVt2mM1J7PNtPcy7 GEaarZOiIUCumaiUy/h9GyWPUiZzZRGZabSErNR8P9iyPncWIos3j6xf7beXTc7eMjIj Z/jg== X-Gm-Message-State: AOAM532fSeilhpsi+kyIp1/BdVOFfnDVQiiB+Rs18QXoyVN8NpoMDFnA 3FdfgveXOV3rmVRMdFHrvnKH2jDaFg41kYZoHv0= X-Google-Smtp-Source: ABdhPJyVb3w60yuHKyiSL5IyAFbA2NIP4hMff5gppCk156r/qE/uEWgBrCRjwLUlAZfNwInKBcpGeFpRO6GUjf6SZdQ= X-Received: by 2002:a9d:621a:: with SMTP id g26mr686995otj.209.1599816677009; Fri, 11 Sep 2020 02:31:17 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:6518:0:0:0:0:0 with HTTP; Fri, 11 Sep 2020 02:31:16 -0700 (PDT) In-Reply-To: <2ab7551a-ff62-70fd-61a3-04d678f1281b@holgerdanske.com> References: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> <2ab7551a-ff62-70fd-61a3-04d678f1281b@holgerdanske.com> From: Ludovit Koren Date: Fri, 11 Sep 2020 11:31:16 +0200 Message-ID: Subject: ZFS snapshot - rollback problem To: David Christensen Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4Bnr9L1MrPz44nL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iIq3pRD2; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ludovitkoren@gmail.com designates 2607:f8b0:4864:20::32a as permitted sender) smtp.mailfrom=ludovitkoren@gmail.com X-Spamd-Result: default: False [-2.56 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_SPAM_SHORT(0.41)[0.414]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 09:31:19 -0000 On Friday, September 11, 2020, David Christensen wrote: > On 2020-09-10 23:31, Ludovit Koren wrote: > >> On Friday, September 11, 2020, David Christensen ... wrote: >> >> On 2020-09-10 07:18, Ludovit Koren wrote: >>> >> > ~>uname -a >>>> FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 >>>> 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 >>>> >>> > I do not understand how your system can work at all if the root filesyste= m >>> is mounted at /mnt (?). Is your FreeBSD running on a different disc? = Do >>> you have a multiple system disks, multi-boot, etc.? >>> >> > If you see the time of creation, >> > > I find it very useful to show the date, time, username, hostname, and pat= h > in my shell prompt. I use the toor account, the Bash shell, and export P= S1 > in ~/.profile: > > 2020-09-11 00:31:08 toor@f3 ~ > # grep 'export PS1' .profile > export PS1=3D'\n\D{%Y-%m-%d %H:%M:%S} '${USER}'@\h \w\n\$ ' > > > I think at that time it was a workaround how to install on the zfs. >> > > Please run and post: > > # zfs list > > > I did not changed it, since. No the FreeBSD is >> running from the disk. I have neither multiple system disks, nor >> multi-boot. >> > > Okay. > > > In the /boot/loader.conf I have vfs.root.mountfrom=3D"zfs.zroot" >> > > Okay. > > > After zfs snapshot, which I did on the root, >> > > Please post your console session. >>> >> > ? > > > camcontrol devlist >> >> at scbus0 target 0 lun 0 >> (ada0,pass0) >> at scbus3 target 0 lun 0 (pass1) >> > > Okay. > > > gpart show >> =3D> 34 500118125 ada0 GPT (238G) >> 34 128 1 freebsd-boot (64K) >> 162 500117997 2 freebsd-zfs (238G) >> > > Please run and post: > > # gpart show -l > > > gpart show -l =3D> 34 500118125 ada0 GPT (238G) 34 128 1 (null) (64K) 162 500117997 2 disk0 (238G) > Did you partition the disk by hand, use the FreeBSD installer, or > something else? If I remember correctly, using installer > > > mount >> zroot on / (zfs, local, nfsv4acls) >> devfs on /dev (devfs, local, multilabel) >> fdescfs on /dev/fd (fdescfs) >> procfs on /proc (procfs, local) >> linprocfs on /compat/linux/proc (linprocfs, local) >> zroot/usr on /usr (zfs, local, nfsv4acls) >> zroot/usr/home on /usr/home (zfs, local, nfsv4acls) >> zroot/var on /var (zfs, local, nfsv4acls) >> tmpfs on /var (tmpfs, local) >> map -hosts on /net (autofs) >> map -media on /media (autofs) >> tmpfs on /tmp (tmpfs, local) >> > > Okay. zroot is mounted at /, which makes sense. > > > zpool status >> pool: zroot >> state: ONLINE >> status: Some supported features are not enabled on the pool. The pool ca= n >> still be used, but some features are unavailable. >> action: Enable all features using 'zpool upgrade'. Once this is done, >> the pool may no longer be accessible by software that does not >> support >> the features. See zpool-features(7) for details. >> scan: resilvered 0 in 0 days 00:00:00 with 0 errors on Sat Apr 6 >> 20:39:05 2019 >> config: >> >> NAME STATE READ WRITE CKSUM >> zroot ONLINE 0 0 0 >> gpt/disk0 ONLINE 0 0 0 >> >> errors: No known data errors >> > > Okay. > > > Please post a console session showing the ZFS snapshot and rollback > problem(s). > zfs rollback zroot/swapdisk0@200909 cannot rollback =C2=B4zroot/swapdisk0': out of space zfs rollback zroot@200909 nothing happens, even if I wait several hours, or it hangs, respectivelly lk From owner-freebsd-questions@freebsd.org Fri Sep 11 13:12:04 2020 Return-Path: Delivered-To: freebsd-questions@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 528023D9BB2 for ; Fri, 11 Sep 2020 13:12:04 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnx432XTfz4Kn5 for ; Fri, 11 Sep 2020 13:12:03 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1599829911; bh=/2p6vWBXICyC1OyvKoVuU/wdkRLHHHByxyrLu33NrYg=; h=To:From:Subject:Date; b=m9SESe19NC+5gfBEjbJyRLNzalBbc5AEMMxzsDEiqaAam41NwZ0WM1y3KrciNrgkD ra7saE23+N4bVeVMzjwHn7Fo6XmsIvQ0G5QpkBJEan/gt9kBn2/LBUDDzbrsx8qeHq u9AJ+shH2IQ5zZTdVwTXQlvl+p/Wn5niBeMcO7tg= To: FreeBSD Mailing List From: Per olof Ljungmark Subject: How to silence cron? Message-ID: Date: Fri, 11 Sep 2020 15:11:49 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bnx432XTfz4Kn5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=m9SESe19; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-2.65 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.005]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[nethead.se:+]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; NEURAL_HAM_SHORT(-0.65)[-0.646]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 13:12:04 -0000 Hi, What would be the proper way to silence output from a php script running under cron? I have tried variations of /dev/null and 2>&1 but getting nowhere. Abbriviated crontab looks like SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin MAILTO="someimportantperson" */5 * * * * su -m www -c "/usr/local/bin/php /usr/local/www/pathtoscript.php" Roots shell is FBSD standard csh www's shell is /usr/sbin/nologin With the rest of the crons I do want mail to be sent, just not this one. Thanks, Per From owner-freebsd-questions@freebsd.org Fri Sep 11 13:31:15 2020 Return-Path: Delivered-To: freebsd-questions@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 7164A3DA53A for ; Fri, 11 Sep 2020 13:31:15 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4BnxVC0GCZz4Ll2 for ; Fri, 11 Sep 2020 13:31:14 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AC895433; Fri, 11 Sep 2020 09:22:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 09:22:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm1; bh=toyTsZF46pBUY aBz8ma4O1+65YO+icSbyMBsucdFf74=; b=VekIQIlLS8DLyDcKvDPaYx4d+WeBs nu2iMWbCPykXmoXMXJY8px8CizkpqfT9j9uF8fnE/+JaN+QzF04DSPMmyjgjqu21 ubiFK34rWaz2p8YgdNHoOgYD7Mw4GGsLVcgmDvanIKFVReqCMGKWWnMOKVe2UCmA Lv+RzV1jFiyyNXHjM5vY32J89GsyMdwTGtRIphhdYCr5lrxUmC8qBgW0ph/bycDh TRcdk37az/DXRvvB5iM6VXrdB4MXWxPsJoeDnct1tNoKayvR2nM4QLnxiQ5XGIvE Gt4BaQU2wYKLNYOKcz0N2vuldJMT2G5kLDJrYmTc0WZ7Upwoc3pM92E8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=toyTsZF46pBUYaBz8ma4O1+65YO+icSbyMBsucdFf 74=; b=Oj2N3G2Y5XGiMVc8K49QpSV3DSHzwlqx78ISwEWFEr2cWALR2JpZaFwQt 1zpWK5rF5XzQDoBsUGqY6IcUh/ko2VkAc1Q+5C+2++KIIivQx5GIF8T1j0jUQANy aENoiIEFd6WcDbf5LKXrVjnQpvOTmSmKDfz/2MUaHaEwy5YbS1X8sjhluLxCzOf+ pa9NIA5FhQOaBXeP+iXdHHPV3xrG61w4Rk6WicSAT6WKZZ/V2NpbrqI1lYHFL6qz 3cn/4V5cTPWq4Bm7yo9wkPYqP4WrN4VJvsldEsmLCLPbDR7v+klGjmsaNMSsnv7O wk9EXfZ665T8CNzmisBsR/qfVXTZw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepgihtohhu qhhhsehmmhdrshhtnecuggftrfgrthhtvghrnhepiefhieefudejteevheegleehtdffgf etleetjeefkefhgfelgfegkeetffethfejnecukfhppeeluddrvdegtddruddvgedrudel tdenucfuphgrmhfkphfpvghtfihorhhkpeeluddrvdegtddruddvgedrudeltdenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeigthhouhhqhhes mhhmrdhsth X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F3113280059; Fri, 11 Sep 2020 09:22:24 -0400 (EDT) Subject: Re: How to silence cron? To: Per olof Ljungmark , FreeBSD Mailing List References: From: xtouqh@mm.st Message-ID: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> Date: Fri, 11 Sep 2020 16:22:22 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BnxVC0GCZz4Ll2 X-Spamd-Bar: +++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm1 header.b=VekIQIlL; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Oj2N3G2Y; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of xtouqh@mm.st designates 64.147.123.24 as permitted sender) smtp.mailfrom=xtouqh@mm.st X-Spamd-Result: default: False [11.65 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:64.147.123.24:c]; FREEMAIL_FROM(0.00)[mm.st]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[mm.st,none]; NEURAL_HAM_SHORT(-0.23)[-0.231]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mm.st]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.190:received]; R_DKIM_ALLOW(0.00)[mm.st:s=fm1,messagingengine.com:s=fm3]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.190:received]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.07)[1.075]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.90)[0.902]; FROM_NO_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 13:31:15 -0000 Per olof Ljungmark wrote: > Hi, > > What would be the proper way to silence output from a php script running > under cron? I have tried variations of /dev/null and 2>&1 but getting > nowhere. > > Abbriviated crontab looks like > > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin > MAILTO="someimportantperson" > > */5 * * * * su -m www -c "/usr/local/bin/php > /usr/local/www/pathtoscript.php" > > Roots shell is FBSD standard csh > www's shell is /usr/sbin/nologin > > With the rest of the crons I do want mail to be sent, just not this one. crontab(5) describes -n, which will silence only the successful runs, i.e: */5 * * * * -n su -m www -c "...." If that works for you, good. If not, how *exactly* you used the redirections? From owner-freebsd-questions@freebsd.org Fri Sep 11 14:33:29 2020 Return-Path: Delivered-To: freebsd-questions@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 182D73DC8D2 for ; Fri, 11 Sep 2020 14:33:29 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bnyt01c17z4QpN for ; Fri, 11 Sep 2020 14:33:28 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x434.google.com with SMTP id s12so11685909wrw.11 for ; Fri, 11 Sep 2020 07:33:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nULBZDI4DmyBhxRmW2gY5w3QmoLbvHZlNim4f0JMagQ=; b=NjrR7AcOSBM/4jS9IS58Rk2ajglplHNSzylFXlr1TjTzx04Wj2MCJ9gxONkYOC+N60 vtuxAM764YeqnZfhuG7d6yrMjhvXy7mBA1E8F7Smey9Qpxt89wrQoUTkOucS7+2Lz37Z Ldi8G03VDshEHRlDi9zCotnABCqgkoBwwYH1LyMxbSA5bGJLLRoMWzvV5cF0Q9+DCEcQ Wj+ElsABLv24PJfuq7Lv2pGsZPEWBBQAVXiWVCCgrs9rvCNPZknv5bwM1TTTHDdgyN7i OKZjnnvVyHnBjKG2JojEXUBb/VNFfMtTBFwfG3qwKBYJ04OaGfrVChHRHwrEkEIUmOrW +NQA== X-Gm-Message-State: AOAM531iR4Prd6RpwzszvmWP9Eqjldnr6x2xsyHbH8dDwNWeD097YWPj NtKT+qL0b5n/81tFwexc24rLewnLkcE= X-Google-Smtp-Source: ABdhPJxHXMb4DuhefE8l7Sf7VxRinU8eY1Hbx0Li1UjFzctNIWKdNzylDBMgNs8jYUXD6+vCzfhUag== X-Received: by 2002:a5d:468f:: with SMTP id u15mr2362068wrq.336.1599834806318; Fri, 11 Sep 2020 07:33:26 -0700 (PDT) Received: from gumby.homeunix.com ([2.219.101.66]) by smtp.gmail.com with ESMTPSA id h5sm4851720wrt.31.2020.09.11.07.33.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 07:33:25 -0700 (PDT) Date: Fri, 11 Sep 2020 15:33:07 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Message-ID: <20200911153307.690190ed@gumby.homeunix.com> In-Reply-To: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bnyt01c17z4QpN X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.54 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.69)[-0.688]; RECEIVED_SPAMHAUS_PBL(0.00)[2.219.101.66:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.86)[-0.862]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.986]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 14:33:29 -0000 On Fri, 11 Sep 2020 16:22:22 +0300 xtouqh@mm.st wrote: > crontab(5) describes -n, which will silence only the successful runs, > i.e: > > */5 * * * * -n su -m www -c "...." Where does it say that in crontab(5)? From owner-freebsd-questions@freebsd.org Fri Sep 11 14:38:11 2020 Return-Path: Delivered-To: freebsd-questions@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 E9E0E3DCD91 for ; Fri, 11 Sep 2020 14:38:11 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 4BnyzR12b4z4Qx5 for ; Fri, 11 Sep 2020 14:38:10 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 03DB1A3E; Fri, 11 Sep 2020 10:38:05 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 10:38:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm1; bh=1MgcraSNQhkEa FYMbmxqecOFyz4OlKjA+ZMRKVMr0pU=; b=cTHULE412TeR9yK6A3CF5ilNKRoy2 UV3Ok/bSYAgKR7Bq1V5YaREZtNDGck4Uo7UIZ7DVcCSydiVR327X6tbqP7f915Yq T97IIyfUopx7QlF6wxqq9yqhGrBNxdU6+r3Csrwy5h92eHOT02Keqgq2QmpMHxPf AM5DdTtgKdEuSwlVEYo9P21DJLxaZD43tkyLdqHz0IIoXYK1NfGFODzVRC4E0NjO V19GK6U10+5kIMMd5sDPTkVTm3VEyFajxoVWkpn5KMOYvLN4pv+YtLtG6zBajS0z 61yUQEFDXYAUxtAo8mASWCDsBCQYTN+3Hht7cumXDctGmLPV1oBqGKmQA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=1MgcraSNQhkEaFYMbmxqecOFyz4OlKjA+ZMRKVMr0 pU=; b=ASAtDSMFWZ7p1x8tVvaHRgqmLkOqhDa6r2jPnywDwBIQueL3q/fImy0CK w9ogH6K/6H5NrbZo+z10PdCieuh//e5zVuCueE7dXOJalOzSBXc2DnzrCUEJ9FoC lW5tjkpvnsfrhNVmplA8byOdlk157HKO2kuO0ZXt4yLCO/XzkcQK8jk+8AflSAq3 BLpxwyoaICdDrByp4XXK+v4ET9SUJomQncC6pCwWcLXAfiYyYs8UItS6FTZI8Q4E BohRM9w6D/ebYAem4K8A1n3NDLnSB2p03dvoaXONMNUbnq3XJOWHH0VBctyuIFda FDkwBtfgZdf4tvVxDHFue1j3ejnrw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpeigthhouhhqhhesmhhmrdhsthenucggtffrrghtthgvrhhn peehgeevgeejudevffdvvdeiudevuefggedtueduvdeugeetueelkedufeetffejtdenuc ffohhmrghinhepfhhrvggvsghsugdrohhrghenucfkphepledurddvgedtrdduvdegrddu ledtnecuufhprghmkfhppfgvthifohhrkhepledurddvgedtrdduvdegrdduledtnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepgihtohhuqhhh sehmmhdrshht X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id BC014328005D; Fri, 11 Sep 2020 10:38:04 -0400 (EDT) Subject: Re: How to silence cron? To: RW , freebsd-questions@freebsd.org References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> <20200911153307.690190ed@gumby.homeunix.com> From: xtouqh@mm.st Message-ID: Date: Fri, 11 Sep 2020 17:38:02 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200911153307.690190ed@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BnyzR12b4z4Qx5 X-Spamd-Bar: ++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm1 header.b=cTHULE41; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=ASAtDSMF; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of xtouqh@mm.st designates 64.147.123.20 as permitted sender) smtp.mailfrom=xtouqh@mm.st X-Spamd-Result: default: False [12.15 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[mm.st]; R_SPF_ALLOW(0.00)[+ip4:64.147.123.20]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.20:from]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[mm.st,none]; FREEMAIL_TO(0.00)[googlemail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mm.st]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; SUBJECT_ENDS_QUESTION(1.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.190:received]; R_DKIM_ALLOW(0.00)[mm.st:s=fm1,messagingengine.com:s=fm3]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.190:received]; NEURAL_SPAM_SHORT(0.20)[0.205]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.02)[1.020]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.02)[1.022]; FROM_NO_DN(0.00)[]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 14:38:12 -0000 RW via freebsd-questions wrote: > On Fri, 11 Sep 2020 16:22:22 +0300 > xtouqh@mm.st wrote: > > >> crontab(5) describes -n, which will silence only the successful runs, >> i.e: >> >> */5 * * * * -n su -m www -c "...." > > > Where does it say that in crontab(5)? Looks like it's only in 12.1-STABLE and -CURRENT at the moment: https://www.freebsd.org/cgi/man.cgi?query=crontab&apropos=0&sektion=5&manpath=FreeBSD+12.1-stable&arch=default&format=html From owner-freebsd-questions@freebsd.org Fri Sep 11 14:40:22 2020 Return-Path: Delivered-To: freebsd-questions@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 390A23DCCFD for ; Fri, 11 Sep 2020 14:40:22 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4Bnz1w4T7Sz4RSf for ; Fri, 11 Sep 2020 14:40:20 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A63AD5C0246 for ; Fri, 11 Sep 2020 10:40:19 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 10:40:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=ZkgqvGV1gU3exU3RKwlpusYzsME cOmR8hRyhHWNbG0o=; b=LW3r26/Bkv9BsnCW5G2u4lpSNe7+kKOAI8Jh20qt0kA JBGi6DRMinGsJl2uog2+GO+wDpy2lNJ4U05FIymrNbeBf+cjmCFDTVFNMEQ22XUv fdxh52PZrYVaC9T5NNwlGOM1BJIXg1xCgbtK2ge7geiyC2uDnz/ujAhTjlCnVWtu GX0bkBx1LNCv1zV02gpZN/3TshV6iy25P9AY4yc7FDQN57lLlNJMjZuxcG5rFo1b pAz/1C6lFWb7bTpD7d9neXL+XY4wBKmWeqthlBen3sCFVY/yTAZkPSYjCA6x1BRt yatEHeNOmslFycpcZw5K1CAyCdRiC9D6b+aijRmAfVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ZkgqvG V1gU3exU3RKwlpusYzsMEcOmR8hRyhHWNbG0o=; b=qSFWM3TNScMMPSXJ23qbZF CsLzBsJepjJaH9ReHkeac8rUtxwGpuQQ9BbLujHFPCMofGajo1Jr57Lakg54XB0Z pG/8pErFAnYeJuNEWmpphgtYiGGZaPRuNHS9D6R+tPVGMpxvmSlk3lMlNx7YH81Q ZAN/ww8NlEQzIgkyQxN1El0grddIS/U+veoQRQKMeV0JykxhLO0V+0OGGBRkiTof 5tHXbDaLlyQek11M11ccM7D+xN/IdAINpQCokmWvXlAxJhSIyB4A/yTLcDvRhYpb AEoytg8xNJjvagDAsMHWyY9GnZlnspeIE8dlep+6ylBLwgMrFW2QoKAGiO900o5w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpedtheeigfdvudefkeekvddtfedvte dttdekuddvgeevlefftdekffdujedvhfduteenucfkphepkedvrdejtddrledurdelleen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehtvggthh dqlhhishhtshesiiihgihsthdrnhgvth X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 1B871306468A for ; Fri, 11 Sep 2020 10:40:19 -0400 (EDT) Date: Fri, 11 Sep 2020 15:39:49 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Message-ID: <20200911143949.GE91422@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> <20200911153307.690190ed@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2hMgfIw2X+zgXrFs" Content-Disposition: inline In-Reply-To: <20200911153307.690190ed@gumby.homeunix.com> X-Rspamd-Queue-Id: 4Bnz1w4T7Sz4RSf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=LW3r26/B; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=qSFWM3TN; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-0.99)[-0.995]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.982]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.69)[-0.688]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.27:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 14:40:22 -0000 --2hMgfIw2X+zgXrFs Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2020 at 03:32:40PM +0100, RW via freebsd-questions wrote: >On Fri, 11 Sep 2020 16:22:22 +0300 >xtouqh@mm.st wrote: > > >> crontab(5) describes -n, which will silence only the successful runs, >> i.e: >> >> */5 * * * * -n su -m www -c "...." > > >Where does it say that in crontab(5)? man 5 crontab[1], a couple of pages down: [...] The following command options can be supplied: -n No mail is sent after a successful run. The execution output will only be mailed if the command exits with a non-zero exit code. The -n option is an attempt to cure potentially copious volumes of mail coming from cron(8). -q Execution will not be logged. [...] [1] FreeBSD 13.0-CURRENT #0 r365391M: Tue Sep 8 23:06:14 BST 2020 --=20 J. --2hMgfIw2X+zgXrFs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9bjEgACgkQs8o7QhFz NAWgHw/+PuBfLeXCEPynyOXkFVjGCRQJG3ZuZwuXlqVku+nXdK0miqQJEaDt6FdU Su9YbvZ6CJSQb0MxiAlCy32sfhU1++E/U3mY7J3N2lmr8K88JIhPcBM3es0rmMvI crLR+pyHeD77nvdX0TQQ3xs21rf5pQaKlmADo+MBCiR4rgqj+OJWdDHul37BGsOJ Ny/i/B6q0Zkid8bCj1jxVkobtrIisDP0+4MUeosSXXNy8DtEuUCCSf+x8Z4plKQr 9Pq9EvosRNR8sfQbhm3GTDNIhcfqoMe9M/9NRzDSYATK95C4jcw+8mDdjdxrOCMn Wm11Xy1E70oP/C7TK+qP6PJl4KLMbzK8L2zvYUlxtxCbjFRtUbrECB6P+yxxU/lJ sIOBQg+4MmN57+4LblRvldcTxKIUXy6G2ZiIGOwIAdse5iKC3GHTRAUl6YVJwL3P ydo4Yj64tQn6rc76H02chMODajF3xxnV5evrKdultv7osQy+oP8AScr/XVLAjwOR LZgWxVXt7vqAYKSoZhP0AMJbeRxMlKCXMTPV342QqrdJBfVf8OHeJVKUj5yVPrB1 3iuxio+JIeD+HVJ37qDkFc7KI04EJ+1N8qf0kGWrtdhlCU+DGHXD+m67Swd2RUof TdKZwRJGZQTjqMOftca6TTOJ7buReBOq8sxVmDluWmICLL91Cpk= =Saao -----END PGP SIGNATURE----- --2hMgfIw2X+zgXrFs-- From owner-freebsd-questions@freebsd.org Fri Sep 11 15:28:09 2020 Return-Path: Delivered-To: freebsd-questions@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 ECF393DDDFD for ; Fri, 11 Sep 2020 15:28:09 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bp0546JTKz4TgF for ; Fri, 11 Sep 2020 15:28:08 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1599838081; bh=CZPmBNEBsob9momywhD91aR3JlgTYqI2hWCuQT7nZxo=; h=Subject:To:References:From:Date:In-Reply-To; b=18dkdlpcjsHsPjCzY9H4uLbjqVO83R62eONRPbsavPHqQu0b306RN4L0GJivwwK+w GIJbyvA2tJji4U2bL0QAGd4KLouhgVLOxAtE91+YP9o7zD9MCXXfOCtk2jnUv9TTam 9eqEhhQYlJts4toX4sAXsT2XvHsNbAD7OXWnjGu8= Subject: Re: How to silence cron? To: freebsd-questions@freebsd.org References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> <20200911153307.690190ed@gumby.homeunix.com> <20200911143949.GE91422@bastion.zyxst.net> From: Per olof Ljungmark Message-ID: <50422f0c-0acd-5847-ed11-e5f505b10a24@nethead.se> Date: Fri, 11 Sep 2020 17:27:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200911143949.GE91422@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bp0546JTKz4TgF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=18dkdlpc; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-2.84 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.02)[-1.020]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.006]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[nethead.se:+]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; NEURAL_HAM_SHORT(-0.81)[-0.811]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 15:28:10 -0000 On 2020-09-11 16:39, tech-lists wrote: > On Fri, Sep 11, 2020 at 03:32:40PM +0100, RW via freebsd-questions wrote: >> On Fri, 11 Sep 2020 16:22:22 +0300 >> xtouqh@mm.st wrote: >> >> >>> crontab(5) describes -n, which will silence only the successful runs, >>> i.e: >>> >>> */5 * * * * -n su -m www -c "...." >> >> >> Where does it say that in crontab(5)? > > man 5 crontab[1], a couple of pages down: > > [...] > > The following command options can be supplied: > > -n No mail is sent after a successful run. The execution output > will only be mailed if the command exits with a non-zero exit > code. The -n option is an attempt to cure potentially > copious > volumes of mail coming from cron(8). > > -q Execution will not be logged. > > [...] > > [1] FreeBSD 13.0-CURRENT #0 r365391M: Tue Sep 8 23:06:14 BST 2020 This is 11-STABLE, it's got -n but not -q. Thank you all for answering. However, when I try */5 * * * * -n su -m www -c "...." I get "/bin/sh: -n: not found" More quotes? From owner-freebsd-questions@freebsd.org Fri Sep 11 18:21:08 2020 Return-Path: Delivered-To: freebsd-questions@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 6F71D3E228A for ; Fri, 11 Sep 2020 18:21:08 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (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 4Bp3wg6L17z4gDX for ; Fri, 11 Sep 2020 18:21:07 +0000 (UTC) (envelope-from xtouqh@mm.st) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E3B8A5C01E3; Fri, 11 Sep 2020 14:13:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 14:13:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm1; bh=BBpL8RNDWUGv1 geASo/PbQuy6bl2Fel+S4BvCWSshmk=; b=OWPrSlAvZaV0FDggERFQrREIt9aMA sKDvIs6Z03s+1U32Vj5C5WXszAfhzxs3heGW24XVajjBeS9ZaDJ0/LBE+xDUYfWg JOFnNm55AU7qQhpD+ddqXOJ85isrjXcLJZWZedpZ/WbVxqurke2Ow2UNh/oTDA8G Fo+btV6c8IPVw3nbpjlbFQZgr6aaJUt8o2ZBOS5ttjcqSQAXf6h2F6Q4XEzFQHZG SofmaiQ+MWHCitruJQDzEBLSD/IO3xXw1e8mS+tkR2yQwj30tdyOAkSn9CH+HPZn hak2Uhp/W8aLpDY33Z2dzUJThHgbyTk70C2x+j3XBh5JMae1kEhbfM/6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=BBpL8RNDWUGv1geASo/PbQuy6bl2Fel+S4BvCWSsh mk=; b=LkG5svnxT9gDrk412cc9ZyW3S5SbC1U2IKIGdzOLgXIU33M19OOddxMQt QP/831mAKFcvWopMzhXE0wuxQ9rwbIl+/2HdlC6nSCHg+wgLPfMWmbA3Bahk4bpt 5hFb+pG74sKab6auKKP0EYHMbEkO2ie5cb+9fVl3i5aoNDmo8DzUXCQV2sLvwmad i5b081k/gNDXTqx6IozAUBvJjk48bivdGs8sRyfZVoCW9Leh6SXLKPdiAH+E6IAJ KyB1toQGcWXFDP057BGSmev7SqMKJ8Ej/B2BxKZC+pUL25xj5lv1Ql0LRlWLiOfp DQG0/tYfkojV64oPx1ykxv6KLmPSQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeehnecuhfhrohhmpeigthho uhhqhhesmhhmrdhsthenucggtffrrghtthgvrhhnpeeujeeghedujeekheetfeekkeekve eileelueefueffieejjeeuheeigfduheeukeenucfkphepledurddvgedtrdduvdegrddu ledtnecuufhprghmkfhppfgvthifohhrkhepledurddvgedtrdduvdegrdduledtnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepgihtohhuqhhh sehmmhdrshht X-ME-Proxy: Received: from mercury.lan (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 04733328005E; Fri, 11 Sep 2020 14:13:06 -0400 (EDT) Subject: Re: How to silence cron? To: Per olof Ljungmark , freebsd-questions@freebsd.org References: <41377ad1-4162-1194-7172-234c4d172e6d@mm.st> <20200911153307.690190ed@gumby.homeunix.com> <20200911143949.GE91422@bastion.zyxst.net> <50422f0c-0acd-5847-ed11-e5f505b10a24@nethead.se> From: xtouqh@mm.st Message-ID: Date: Fri, 11 Sep 2020 21:13:04 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <50422f0c-0acd-5847-ed11-e5f505b10a24@nethead.se> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bp3wg6L17z4gDX X-Spamd-Bar: +++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm1 header.b=OWPrSlAv; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=LkG5svnx; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of xtouqh@mm.st designates 66.111.4.28 as permitted sender) smtp.mailfrom=xtouqh@mm.st X-Spamd-Result: default: False [11.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:66.111.4.28:c]; FREEMAIL_FROM(0.00)[mm.st]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.28:from]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[mm.st,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[mm.st]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.28:from]; SUBJECT_ENDS_QUESTION(1.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.190:received]; R_DKIM_ALLOW(0.00)[mm.st:s=fm1,messagingengine.com:s=fm3]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.190:received]; NEURAL_SPAM_SHORT(0.08)[0.081]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.90)[0.897]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.985]; FROM_NO_DN(0.00)[]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 18:21:08 -0000 Per olof Ljungmark wrote: > On 2020-09-11 16:39, tech-lists wrote: >> On Fri, Sep 11, 2020 at 03:32:40PM +0100, RW via freebsd-questions wrote: >>> On Fri, 11 Sep 2020 16:22:22 +0300 >>> xtouqh@mm.st wrote: >>> >>> >>>> crontab(5) describes -n, which will silence only the successful runs, >>>> i.e: >>>> >>>> */5 * * * * -n su -m www -c "...." >>> >>> >>> Where does it say that in crontab(5)? >> >> man 5 crontab[1], a couple of pages down: >> >> [...] >> >> The following command options can be supplied: >> >> -n No mail is sent after a successful run. The execution >> output >> will only be mailed if the command exits with a non-zero >> exit >> code. The -n option is an attempt to cure potentially >> copious >> volumes of mail coming from cron(8). >> >> -q Execution will not be logged. >> >> [...] >> >> [1] FreeBSD 13.0-CURRENT #0 r365391M: Tue Sep 8 23:06:14 BST 2020 > > This is 11-STABLE, it's got -n but not -q. > > Thank you all for answering. However, when I try > */5 * * * * -n su -m www -c "...." > > I get "/bin/sh: -n: not found" > More quotes? Works for me on -CURRENT, I have added '-n echo test' for user and '-n su -m www -c id' for root crontabs, and got no mail, while seeing the commands are executed in /var/log/cron, and both had output. Wonder if something is wrong with 11-STABLE backport, might be worth asking on stable@ if someone else could confirm the issue? From owner-freebsd-questions@freebsd.org Fri Sep 11 18:44:49 2020 Return-Path: Delivered-To: freebsd-questions@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 4AF0A3E265C for ; Fri, 11 Sep 2020 18:44:49 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4Bp4Rz4RdNz3SDx for ; Fri, 11 Sep 2020 18:44:47 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B0C525C0083 for ; Fri, 11 Sep 2020 14:44:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 11 Sep 2020 14:44:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=BsZ8YASKPo1mozTKh5xyUcqPPzP YYTBg/pA/+oDWvAk=; b=c9KuirWzCpUepC2bXmBa3N+TKjJQALPmg2I/F3BdUV4 KFF83Ir8xdTNi6mo4mKI/jVOGfd5y8LZ0PplbUDVtJgdd5CrDZtPO5zUSlKry2kG gIbz4ZxckqR46BbAnDRQAJrzf0+6whWp3nbB86ioFi75BdtTmLxawFj5o+bO301s l6y6UDDfoZcrSAK4tJWBEABz7f0juIph60g5HECjTGri4HB7of4yNBvriStoePr7 4EnqB+tlU1MzpX4pUHt2gYy0YnYsX7Im56RH4OPG4VNzfyGeDG7NdhJxke7lEL1H IK4HH4GF7WG9OeYtxnTq13cd5bjgwaTdF9ymivEnI6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BsZ8YA SKPo1mozTKh5xyUcqPPzPYYTBg/pA/+oDWvAk=; b=p4FxxDWMWplh12J7f5CI+i +d1diHoaF5LHtpnVT/tUFs/hlspoL0IpTzhVzH/tNwBghedEBi30CLLM1h7eMNjH 9ora9KT98li4HbTUIg6kwVtZ9hDn3ejTBHm1JHnnoNdMpm6SSaaklckqgSrU7ShO 7Zp/4I19sxwudBuB4WxthFOitFI6SeSj3024Wlt2WJQFqhd2pquzPTkbJukveipv XoWrDy3S9KyPQjHLRnHKKkF8Oo/wyam3qm9gtNBxBdxlyYPryDFDqv8WWIeUbwla s9tOirkYUFa6EpgT1TgQZmRbvVBwRY/punFc6QHd8jrGWPfssVREbxa1zWYtketg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehledgudefudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvd ettddtkeduvdegveelffdtkeffudejvdfhudetnecukfhppeekvddrjedtrdeluddrleel necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtg hhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 12EF9328005A for ; Fri, 11 Sep 2020 14:44:45 -0400 (EDT) Date: Fri, 11 Sep 2020 19:44:17 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Message-ID: <20200911184417.GF91422@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aZoGpuMECXJckB41" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Bp4Rz4RdNz3SDx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=c9KuirWz; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=p4FxxDWM; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.29 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.36 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-0.98)[-0.980]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.29:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.987]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.69)[-0.694]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 18:44:49 -0000 --aZoGpuMECXJckB41 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 11, 2020 at 03:11:22PM +0200, Per olof Ljungmark wrote: >Hi, > >What would be the proper way to silence output from a php script running >under cron? I have tried variations of /dev/null and 2>&1 but getting >nowhere. If this crontab is only for www then, as root, you can crontab -u www -e wh= ich works from a 12.1-p9 machine. I *think* you can set MAILTO: to /dev/null but I'm not 100% sure. But if you can, I think it'll do what you want, if that is to have no mail at all for = www user. --=20 J. --aZoGpuMECXJckB41 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9bxZIACgkQs8o7QhFz NAUWdA//S+d2Hh+ABBuVnjfOGjI7Vx1nzH8wG29MFIwnoKd6Yccm9s8DOqGLK88u 0JIlGtMMU2gH+jsI1hFVp5ZJI4g0BAKFtaNM+LQPZBbD8v1DljqLVWh3FpiUe5H1 L6In2kgxTG4BiKLq+ByEKkyEJtalJnlV47FR1ZuWY0lrszZvHa+8iK45iO64DfY1 JdyD7Y/fqfkMEUAeIQZL5QctxOrGz8xnlpZ2RMUyVYVai/Dq0lWrfbwCni1JC7mG 0ekX8fRy0i5D+t0FkQCn6KO7AMg2BLy0abckpSh6htvNq6/+WHO6BsAJvAQpMOuh MLgUn8tNdu/MlGjlKk/5TkW9C8F9lf1jXvprKAkU3D+ok24Hxvk5C6k7yJi+NqdE +1s6PSFyeldDduVA+DY2q+ytX9unkKjAL9EzrgvPRsY56M0UNreG048HCcRqGW8Z CAYNDOiL7hMMBKCeTqfOk4HHS8Qvhs84hpmGrz2QEs5WACQ0AeGEIsgZ8PlxcUOR W+QK1ixDFwyQDZQNFQw0mFK81ieOb4qcxrJoMIZMv2GHTe/PlFAXICxn+ZvTpDKX zYUravjziSG+2WD2GHKbo4f6SzCqcDaT0RTFhlBEWwiFC3U9TLTO3gPbOz6mdb4C m34uzAHxQSRTQ4awUW1OuK0txV1GM1kofBEn+xZfILlwf+pFuRY= =ie37 -----END PGP SIGNATURE----- --aZoGpuMECXJckB41-- From owner-freebsd-questions@freebsd.org Fri Sep 11 19:52:21 2020 Return-Path: Delivered-To: freebsd-questions@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 A9EC73E43EC for ; Fri, 11 Sep 2020 19:52:21 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bp5xw4QW7z3X1y for ; Fri, 11 Sep 2020 19:52:20 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 11 Sep 2020 12:52:19 -0700 Subject: Re: ZFS snapshot - rollback problem To: freebsd-questions@freebsd.org References: <54720a77-5a14-06f9-c146-17e1e8f8a99e@holgerdanske.com> <2ab7551a-ff62-70fd-61a3-04d678f1281b@holgerdanske.com> From: David Christensen Message-ID: <692fc996-46f4-ff04-2b48-27850e86d897@holgerdanske.com> Date: Fri, 11 Sep 2020 12:52:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bp5xw4QW7z3X1y X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [2.82 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.77)[0.767]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.33)[0.334]; ARC_NA(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.82)[0.816]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 19:52:21 -0000 On 2020-09-11 02:31, Ludovit Koren wrote: When you reply to a message, put at least one blank line before and after new text. Without it, the indentation levels get messed up by the various mailers these messages go through. Also, please do not post people's e-mail address (mailer setting?). > On Friday, September 11, 2020, David Christensen ... wrote: >> On 2020-09-10 23:31, Ludovit Koren wrote: >>> On Friday, September 11, 2020, David Christensen ... wrote: >>>> On 2020-09-10 07:18, Ludovit Koren wrote: >>>>> ~>uname -a >>>>> FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 >>>>> 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 >> Did you partition the disk by hand, use the FreeBSD installer, or >> something else? > If I remember correctly, using installer I find it is better, faster, and cheaper to keep records. A networked version control system is ideal for this. >> mount >>> zroot on / (zfs, local, nfsv4acls) >>> devfs on /dev (devfs, local, multilabel) >>> fdescfs on /dev/fd (fdescfs) >>> procfs on /proc (procfs, local) >>> linprocfs on /compat/linux/proc (linprocfs, local) >>> zroot/usr on /usr (zfs, local, nfsv4acls) >>> zroot/usr/home on /usr/home (zfs, local, nfsv4acls) >>> zroot/var on /var (zfs, local, nfsv4acls) >>> tmpfs on /var (tmpfs, local) >>> map -hosts on /net (autofs) >>> map -media on /media (autofs) >>> tmpfs on /tmp (tmpfs, local) >> zpool status >>> pool: zroot >>> state: ONLINE >>> status: Some supported features are not enabled on the pool. The pool can >>> still be used, but some features are unavailable. >>> action: Enable all features using 'zpool upgrade'. Once this is done, >>> the pool may no longer be accessible by software that does not >>> support >>> the features. See zpool-features(7) for details. >>> scan: resilvered 0 in 0 days 00:00:00 with 0 errors on Sat Apr 6 >>> 20:39:05 2019 >>> config: >>> >>> NAME STATE READ WRITE CKSUM >>> zroot ONLINE 0 0 0 >>> gpt/disk0 ONLINE 0 0 0 >>> >>> errors: No known data errors > zfs rollback zroot/swapdisk0@200909 > cannot rollback ´zroot/swapdisk0': out of space I believe I have seen that error message before, but have no record of it and forget the details. STFW I am unable to find any good hits. The developer approach would be to install source and grep(1) for it. > zfs rollback zroot@200909 > > nothing happens, even if I wait several hours, or it hangs, respectivelly If the process is stuck in an infinite loop, top(1) will show it (consider the '-m' option and/or 'm' hotkey): # top -S -s 10 The zpool(8) 'iostat' subcommand is useful for watching ZFS I/O: # zpool iostat -v 10 There are many other userland tools for monitoring aspects of the system and/or processes; I need to learn more of them. Given that you are using STABLE, you should probably seek support per handbook section 23.4.2. If it were my computer, I would backup, wipe, install, and migrate to 12.1-STABLE. David From owner-freebsd-questions@freebsd.org Fri Sep 11 20:59:30 2020 Return-Path: Delivered-To: freebsd-questions@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 E8AF23E62C0 for ; Fri, 11 Sep 2020 20:59:30 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (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 4Bp7RQ1Dq9z3cDd for ; Fri, 11 Sep 2020 20:59:29 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from ravel.localnet (unknown [90.116.216.55]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 4B41A2003AE for ; Fri, 11 Sep 2020 22:59:23 +0200 (CEST) From: Olivier Certner To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Date: Fri, 11 Sep 2020 22:59:23 +0200 Message-ID: <3151441.KMTXMz9Kuk@ravel> In-Reply-To: <20200911184417.GF91422@bastion.zyxst.net> References: <20200911184417.GF91422@bastion.zyxst.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Bp7RQ1Dq9z3cDd X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of olivier.freebsd@free.fr has no SPF policy when checking 212.27.42.2) smtp.mailfrom=olivier.freebsd@free.fr X-Spamd-Result: default: False [5.54 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[212.27.42.2:from]; FREEMAIL_FROM(0.00)[free.fr]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[free.fr]; MIME_TRACE(0.00)[0:+]; CTE_CASE(0.50)[]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.862]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.82)[0.821]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[free.fr]; NEURAL_SPAM_LONG(0.96)[0.958]; RCVD_IN_DNSWL_NONE(0.00)[212.27.42.2:from]; R_SPF_NA(0.00)[no SPF record]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 20:59:31 -0000 Hi, > I *think* you can set MAILTO: to /dev/null but I'm not 100% sure. But if you > can, I think it'll do what you want, if that is to have no mail at all for > www user. I've been using `MAILTO=""` in the system crontab for years, seems to work well (I just get spurious messages "mailed 1 byte of output but got status 0xffffffff" in logs, not sure if they are related). This didn't work with the old `atrun`, which was then fixed as a side-effect of integration into `cron` (by the way, the `atrun` manpage in 12 still does not reflect it). -- Olivier Certner From owner-freebsd-questions@freebsd.org Fri Sep 11 21:37:50 2020 Return-Path: Delivered-To: freebsd-questions@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 1353B3E71C4 for ; Fri, 11 Sep 2020 21:37:50 +0000 (UTC) (envelope-from kob6558@gmail.com) 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 4Bp8Hd6351z3f11 for ; Fri, 11 Sep 2020 21:37:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id CDDF23E71C3; Fri, 11 Sep 2020 21:37:49 +0000 (UTC) Delivered-To: questions@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 CDA9E3E70E3 for ; Fri, 11 Sep 2020 21:37:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bp8Hc6Hv5z3dvW for ; Fri, 11 Sep 2020 21:37:48 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x333.google.com with SMTP id c10so9532448otm.13 for ; Fri, 11 Sep 2020 14:37:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=NvLnla3yc10rzRsS8fz+LWxIK3W1JAQe88mAYG2M468=; b=qBfSd03QrGjg1LzCG00FHKdIBDLsVIVksz+rfNsS3PPA4aMH8+2ptOg7ylGO9KFXTI f0d1APT+pWpMeFKqTHIPQU3bWHWK5+v056u5Q2TqeALSOIZl4VbRjeRet9h96J8sYoNP zLBKA5AGiry7p+aiwMQcaHcUh6nQnCiRM47ekwZDO7mEEp1skuRizHEjg9FCd0LYzKsh aEV4imy5dRPjSbkllG/69A6OHNN293Cq0tIJukWy06WcGlARI7coXzAM/ObHO99Z4/Fu 3asU+mS0qdYdO6izKcAcVUUeH0MVvKMu0vORh9Yi38HcRWq8xoMmUh53AIGi7KF2Q0SX iMJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NvLnla3yc10rzRsS8fz+LWxIK3W1JAQe88mAYG2M468=; b=sEqNEQh79i+ivvQ/teJ/5XiqiLErJgmy85vG++LiAtky2svRt0wy65x83hFRSp9Dub bGwO/H3eKEXSVEVEALqWpPGRGnBBV/TgWNyvqZiYMQ8FdAIdxak/uLZSgYkGOS8b7A8F j6vKQcxEHSZ+nUZQWIjJJ2aN6MvOVIL7MlCc9i0e9PHgO1sSePd9R7X8EpQUuXLR9LYA Zbz6XzPniwvRu7IkOF53geTMhDBzdg+6odzfsld+HwMVbAWyvr859ENz9rttoVJ8W0p8 8TfnHEPZVhndh3jCghKlgt9eAT3hWeWXkdUVmv8rKIjkmikPL1YzNAG7wk2FgriFyRkB yp2A== X-Gm-Message-State: AOAM531oH4J6VOy2ZZnkxBuubK8kOuOCq1ln1yHomd85o3qDvGOzkqPm qGkVTT/KwDskkk+C4oAikWSk5zlJi/j4YIspvHdmKeg28G1sFA== X-Google-Smtp-Source: ABdhPJwaRAfbrU9B0VgA5jgeRUC0w1N3HLy/bldyAlRI3Y50iYsDO9hiKBsoZ8Lf5zn5Mk3Ad85ItqNnPTwl/OR5p/E= X-Received: by 2002:a9d:ea5:: with SMTP id 34mr2520214otj.199.1599860267303; Fri, 11 Sep 2020 14:37:47 -0700 (PDT) MIME-Version: 1.0 From: Kevin Oberman Date: Fri, 11 Sep 2020 14:37:31 -0700 Message-ID: Subject: ipfw matching traffic to broadcast (255.255.255.255) To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4Bp8Hc6Hv5z3dvW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qBfSd03Q; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::333 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.12 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.42)[-0.423]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.001]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.995]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::333:from]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 21:37:50 -0000 I am seeing traffic from my cell phone to the broadcast address that I would like to block. I added a rule: 3220 deny udp from 192.168.1.18 9050 to any It shows no packet ever match even though I see many logged by my catch-all rule: 5999 deny log udp from any to any ipfw: 5999 Deny UDP 192.168.1.18:9050 255.255.255.255:9050 in via wlan0 Why is the 3220 rule not matching the packets I see logged by 3220? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Fri Sep 11 21:46:27 2020 Return-Path: Delivered-To: freebsd-questions@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 4F71C3E7A94 for ; Fri, 11 Sep 2020 21:46:27 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bp8TZ3wlmz3fXR for ; Fri, 11 Sep 2020 21:46:26 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x42d.google.com with SMTP id z4so12825770wrr.4 for ; Fri, 11 Sep 2020 14:46:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SH9w4mPh42+ta6fLANvk4epdBlBm65a/rZ3+vi3OA7Q=; b=cbDmuRY4cUeoMcsWWTB01wdMRXl71DQvvGt58MhZ3jrNtH+bGhi6MZAxj1IDUtPlGW K0ICAlEb/9jGfC+S+m12Msfg0QMe16AJMWZZ6oXeYWc6b0YRshe7h4E93GYOQgWDzCvP x8jl5Bh0UCxHEIUXKTgcdEeue67jI2zd7i2DcK4BIMzvI6zZ8H1iuiItnwfmqe8jn7TL o178bJeLL4r/9fqzLGpmfxB2EHetHxTYreuUUj8ohemkqxrpmCI3g1MS96DFPIWkGKGf nLcHenV4gGaOwcf2PY8vrdPnmRGOdjUVYTElvY65o7MsV9hSF28bmvqxNe2guo79VDse 42bA== X-Gm-Message-State: AOAM530ITBtQNDgfgK7FuSotFhe/EH0ftI7eFJH1n+VoBe7hONiOwE6V PMDcrg7fuprmBzdhm7z4Who3hZHEW8Q= X-Google-Smtp-Source: ABdhPJzzO+xJpOXmU8gDHbqHpH+S40qF16yqOyuH8wvefLKOCcRcsMudiDKVbhIi/pvOi60lA14f/g== X-Received: by 2002:adf:efc9:: with SMTP id i9mr4132957wrp.187.1599860784077; Fri, 11 Sep 2020 14:46:24 -0700 (PDT) Received: from gumby.homeunix.com ([2.219.101.66]) by smtp.gmail.com with ESMTPSA id z14sm6602621wrh.14.2020.09.11.14.46.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 14:46:23 -0700 (PDT) Date: Fri, 11 Sep 2020 22:46:19 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: How to silence cron? Message-ID: <20200911224619.4a134d23@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bp8TZ3wlmz3fXR X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-0.66)[-0.658]; RECEIVED_SPAMHAUS_PBL(0.00)[2.219.101.66:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.76)[-0.761]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.979]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 21:46:27 -0000 On Fri, 11 Sep 2020 15:11:49 +0200 Per olof Ljungmark wrote: > Hi, > > What would be the proper way to silence output from a php script > running under cron? I have tried variations of /dev/null and 2>&1 but > getting nowhere. > Have you tried SHELL=/bin/sh */5 * * * * su -m www -c "/usr/local/bin/php /usr/local/www/pathtoscript.php" >/dev/null 2>&1 the redirection has to take place under a bourne-compatible shell, so outside of the quotes. On Fri, 11 Sep 2020 19:44:17 +0100 tech-lists wrote: > I *think* you can set MAILTO: to /dev/null but I'm not 100% sure. But > if you can, I think it'll do what you want, if that is to have no > mail at all for www user. Crontab variable assignments apply to the lines below the assignment. It should be possible to divide the crontab into sections with different MAILTO values. From owner-freebsd-questions@freebsd.org Sat Sep 12 04:34:47 2020 Return-Path: Delivered-To: freebsd-questions@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 AFCE43F2F32 for ; Sat, 12 Sep 2020 04:34:47 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpKXl08Vwz4NXf for ; Sat, 12 Sep 2020 04:34:46 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x441.google.com with SMTP id g4so13301148wrs.5 for ; Fri, 11 Sep 2020 21:34:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=GY3CiRRpic6K8qxt6JfR+s/1LI4tZ+EnTwxnpVzoI1U=; b=CXuh1C/NDMK7qDncdkTNjd+56ijlBNtJMSB9+A+muVuKOFL+ncNqlid2qEID8ifwg0 czJekyHnRzO7QxHMF82Jllbxwj33Bm8un6cD3x35Z1fy8OMeHle5cW98oZGObRo4Nw2k wN9CfsrkOhe7zmG6Qo1uBoOXggqAw52V9+wQRZkwX7sGVzhpDQiHqanJcwqd4smeXTaz YTdRJfwY5omrYnMwQEGvCbZ+8yPE6vEeJDTWTvWdZq+3diWswW1xRSwYQ8NkmDPD4ygv e4dhE0GIjb4YalVmQ1JucJcTADRCZ5TxpHa8iHoj97aCNNozKn5UeDn8tlnEi5bBHZLX B/vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GY3CiRRpic6K8qxt6JfR+s/1LI4tZ+EnTwxnpVzoI1U=; b=b/fi4MFPO5f095rnIrMJWXKrQyhNUAp/62FpCfY/HHnm7eKVcR/q9+PrHErbRIUUtP +d1JWy2sq6zr2OFMABXpsZxKHogo147Y6Y/6JAgMHm880EanOOQqqHY9hLN3uFgc7frC KKng/GCmbwOkeAJ+9a5p0e1d2ZiuDosIBTJPp2MeiBEKx1DRh54Gwo6U+l3EI9oi+RlK VT8+FrzPely5FMZ8n0YwDUBvEzuYkzLHSU7lw8VXqmczo3EjaGN85WHcnkzLk7K/ilrl JOdq8uYLIfDw4rAmg29DyYnddJRg/Iiy3n2feUFNz7F3ptiixdguc77SiV1pk8zP21HO iPBg== X-Gm-Message-State: AOAM532bwHe+UG7jF8Qe4ISj8UQdGefbsGfK1ovCglue80ANiX3yIg0n ttNRD1QbXeCflFcXJxOMmdx0MTzgo+BtjA== X-Google-Smtp-Source: ABdhPJxNrOMHgjB3/NMQiCOPHC1akACJqUb/wWA7KMe1ECsrEVBls/3W2PQi8nNrvJBNxjAnO4PYig== X-Received: by 2002:adf:f5c7:: with SMTP id k7mr5252414wrp.246.1599885284107; Fri, 11 Sep 2020 21:34:44 -0700 (PDT) Received: from [192.168.1.12] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id b8sm7822448wmh.48.2020.09.11.21.34.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 21:34:43 -0700 (PDT) Subject: Re: emulators/virtualbox-ose unable to run CloudReady (Chromium OS) From: Graham Perrin To: freebsd-questions@freebsd.org References: <6ccd428e-3416-b8f6-7781-83175823cd1c@gmail.com> Message-ID: <931cdda0-9416-eb6a-c3f0-3561fffe38e5@gmail.com> Date: Sat, 12 Sep 2020 05:34:42 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <6ccd428e-3416-b8f6-7781-83175823cd1c@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BpKXl08Vwz4NXf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=CXuh1C/N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::441 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.15)[-0.153]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.958]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.996]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::441:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 04:34:47 -0000 On 08/05/2020 19:04, Graham Perrin wrote: > … I assume that the Neverware's virtual machine > `CloudReady-Home-v78-x64.ova` is not compatible with VirtualBox on > FreeBSD. … Now, among the notes at : > CloudReady /will not work with/ /Virtualbox as a host-application/ due to graphics incompatibilities From owner-freebsd-questions@freebsd.org Sat Sep 12 09:56:12 2020 Return-Path: Delivered-To: freebsd-questions@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 4CD933D23C7 for ; Sat, 12 Sep 2020 09:56:12 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) (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 "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpSgb4Qjfz4gKG for ; Sat, 12 Sep 2020 09:56:11 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42e.google.com with SMTP id e16so13767800wrm.2 for ; Sat, 12 Sep 2020 02:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=p1iiYJSMgqPo9Q3OCpmfQ6sOCzmCuTKyw7CQW4u+CaM=; b=kc8gysdTQx+g3+DoePV+qOxKQbaCkm9tbjV3G2oDoKEaIBxs6i6JYMF37Cu+cP80v2 4iEAwl3w6dvwqFbFMMOrBX/CWH38n+KWXOvRYb0s+eSPVGt4B3mTRKa0LW1E/gqGzj41 zhxRc8dv/Nd0SUsYpYuZWtstfGgcZRGW31hFQN0VisIVvgojLFCE9uI5rNCKVortq05p hO4wrpxmKRgb4BJWEMNKLil92gg7gDCdSoA59ug2WZ27asZ0NN1T77GG9Nfgh8+v1x1P BdMamTWa6cI4PMRiPO6UKlkoPor8MojDw3ntCLlMooRVjEj6KYDF23ttlDM0y0JbuuyP vfYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=p1iiYJSMgqPo9Q3OCpmfQ6sOCzmCuTKyw7CQW4u+CaM=; b=DnbttRugkPNtGyDzC7B4dB7AqQjFEedI1ltILD7d+m62z6rrd0RWeyRsPn2mjRXuGP X87JesR2DakiwtgsLMxIFkRKi/8KSZN2YQLH1rtU2JeSo9vHuXDbCbsBKjQ640qYKim6 Uca39OOmAjWHX1LvEqpCIS8hPdSkvqDjdJCT17l1Jknzw57YaXNCphRwMej9/AShjryr ZNcjwau0nJ527P010ePXGugYl5dNjE9AmQyhawtkFYpBK/7+6sl3WMBUQk5SJsfcnljs TYHXkP2PJgZJFzdnmiPzK9FIP++LslNgHkU890jkv/V5Wh4HADULf0vkB8NHM52JuRPP /7Ow== X-Gm-Message-State: AOAM530P6k3I2y7ADWW2EVWAgPDg4kDLaV5n0K3xszXfTdlwsAWbnEXl nML63wrAfugCEroKJCcjmC3gsLZ7HQ0Y2Oyy X-Google-Smtp-Source: ABdhPJy3ChfkbeOvjiXggkLfosXMZrq5AKafcpM/ukbwFBVYCRPiC7JMlXjskRx4cyZNk8jiVYrk3g== X-Received: by 2002:a05:6000:12c3:: with SMTP id l3mr6493917wrx.164.1599904569392; Sat, 12 Sep 2020 02:56:09 -0700 (PDT) Received: from [192.168.1.12] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id 189sm9355725wmb.3.2020.09.12.02.56.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 12 Sep 2020 02:56:08 -0700 (PDT) Subject: Re: ZFS snapshot - rollback problem To: Ludovit Koren Cc: FreeBSD Mailing List References: <20200910143458.GA83264@esprimo> <20200910161309.GA56432@esprimo> <20200910165408.GA12834@esprimo> From: Graham Perrin Message-ID: <43597e63-8c26-29a2-925a-55f5f91eaf1d@gmail.com> Date: Sat, 12 Sep 2020 10:56:07 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200910165408.GA12834@esprimo> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BpSgb4Qjfz4gKG X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=kc8gysdT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42e as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.15)[-1.146]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.934]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[79.66.147.78:received]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; NEURAL_HAM_LONG(-1.01)[-1.005]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42e:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 09:56:12 -0000 On 10/09/2020 17:54, Christoph Brinkhaus wrote: > … May be you should first delete the snapshot of zroot/swapdisk0@200909. > If that does not work you might have to boot from a different medium > as the USB installer stick and handle the pool when it is inactive. … Boot from a different medium sounds, to me, like a good idea. If you have not already done so. From owner-freebsd-questions@freebsd.org Sat Sep 12 14:30:58 2020 Return-Path: Delivered-To: freebsd-questions@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 17A1F3D9A13 for ; Sat, 12 Sep 2020 14:30:58 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpZmd1FQmz43ZY for ; Sat, 12 Sep 2020 14:30:56 +0000 (UTC) (envelope-from c.brinkhaus@t-online.de) Received: from fwd37.aul.t-online.de (fwd37.aul.t-online.de [172.20.27.137]) by mailout11.t-online.de (Postfix) with SMTP id 5477A420D48B; Sat, 12 Sep 2020 16:30:54 +0200 (CEST) Received: from esprimo.local (ESLIdeZe8hKchDQEFIObrm-knjjCFndvmCAZPlqo2ECQE9lW6CW9WWZHy+rIvthQVo@[93.238.32.241]) by fwd37.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1kH6YF-1SGzSa0; Sat, 12 Sep 2020 16:30:51 +0200 Received: by esprimo.local (Postfix, from userid 1001) id 4454B3804A; Sat, 12 Sep 2020 16:30:51 +0200 (CEST) Date: Sat, 12 Sep 2020 16:30:51 +0200 From: Christoph Brinkhaus To: Ludovit Koren Cc: freebsd-questions@freebsd.org Subject: Re: ZFS snapshot - rollback problem Message-ID: <20200912143051.GA1500@esprimo> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ID: ESLIdeZe8hKchDQEFIObrm-knjjCFndvmCAZPlqo2ECQE9lW6CW9WWZHy+rIvthQVo X-TOI-EXPURGATEID: 150726::1599921051-0000D445-C9B662F0/0/0 CLEAN NORMAL X-TOI-MSGID: 3d80b09f-208e-4d39-aee0-98e801461d98 X-Rspamd-Queue-Id: 4BpZmd1FQmz43ZY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of c.brinkhaus@t-online.de has no SPF policy when checking 194.25.134.85) smtp.mailfrom=c.brinkhaus@t-online.de X-Spamd-Result: default: False [0.92 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[t-online.de]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.17)[-0.175]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[93.238.32.241:received]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[t-online.de]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.845]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[t-online.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.54)[0.536]; RCVD_IN_DNSWL_NONE(0.00)[194.25.134.85:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[194.25.134.85:from]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 14:30:58 -0000 On Thu, Sep 10, 2020 at 04:18:39PM +0200, Ludovit Koren wrote: Dear Ludovit, I quote the first message because I have a complete different idea. I hope this is ok. > Hi, > > I have the following configuration: > > ~>uname -a > FreeBSD XxX 11.3-STABLE FreeBSD 11.3-STABLE #1 r354607: Mon Nov 11 > 12:19:28 CET 2019 root@jedi:/usr/obj/usr/src/sys/HP amd64 > ~>zfs list > NAME USED AVAIL REFER MOUNTPOINT > zroot 244G 0 10.7G /mnt > zroot/Centos8 6.80G 4.13G 2.67G - > zroot/msw7 44.9G 25.8G 19.1G - > zroot/swapdisk0 40.8G 20.6G 20.2G - > zroot/usr 131G 0 50.9G /usr > zroot/usr/home 80.1G 0 80.1G /usr/home > zroot/var 9.94G 0 9.94G /var Is it possible that the pool has been generated using Centos? Then the features of the pool might be different to that what is supported by FreeBSD. Kind regards, Christoph > > After zfs snapshot, which I did on the root, I got: > ~>zfs list -t snapshot > NAME USED AVAIL REFER MOUNTPOINT > zroot@200909 1K - 10.7G - > zroot/Centos8@200909 1K - 2.67G - > zroot/msw7@200909 1K - 19.1G - > zroot/swapdisk0@200909 0 - 20.2G - > zroot/usr@200909 1K - 50.9G - > zroot/usr/home@200909 1K - 80.1G - > zroot/var@200909 1K - 9.94G - > > i.e. whole filesystem is read only. I am not able to do neither > rollback, nor destroy of the snapshot. Is there any possibility to > reset the filesystem to the read-write mode? > > > Any help is greatly appreciated. > > > Regards, > > > lk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Sep 12 16:24:05 2020 Return-Path: Delivered-To: freebsd-questions@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 5345F3DC65E for ; Sat, 12 Sep 2020 16:24:05 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BpdH844vgz4B6P for ; Sat, 12 Sep 2020 16:24:04 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.142.139]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 132DE4E64D; Sat, 12 Sep 2020 11:17:08 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: py37-certbot question From: Valeri Galtsev In-Reply-To: <20200912055706.GB19136@neutralgood.org> Date: Sat, 12 Sep 2020 11:17:06 -0500 Cc: Gary Aitken , FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <5B49B57A-4867-4081-8C55-5DCE95BC5B93@kicp.uchicago.edu> References: <20200912055706.GB19136@neutralgood.org> To: "Kevin P. Neal" X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BpdH844vgz4B6P X-Spamd-Bar: ++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [12.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[172.58.142.139:received]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.142.139:received]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.64)[0.636]; NEURAL_SPAM_MEDIUM(0.87)[0.875]; GREYLIST(0.00)[pass,body]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.142.139:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.96)[0.956]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 16:24:05 -0000 > On Sep 12, 2020, at 12:57 AM, Kevin P. Neal = wrote: >=20 > On Thu, Sep 10, 2020 at 09:26:34PM -0600, Gary Aitken wrote: >> On by fbsd system I manually renew. My notes from 2019 say it is = necessary >> to stop the server before renewing because certbot starts its own = temporary >> one to do the upgrade. So I do the sequence: >> service apache24 stop >> certbot renew >> service apache24 start >>=20 >> It may be the py37 version stops and restarts the server; I haven't = tried it >> without stopping the server so I don't know. >=20 >> If it has been running weekly as a cron job, it should have been = renewed >> about three weeks ago. It should renew on the first attempt that is = less >> than 30 days until expiration. So it sounds like it is attempting to >> renew but failing. It may be that if the server isn't stopped it = won't >> renew because it can't acquire the necessary port. >=20 > Wait, that doesn't sound right. I never, ever stop services to run = certbot > renew. Ever. I have it so that it reaches into the DocumentRoot(s) of = the > relevant virtual server(s) for the verification step. Then I copy the = new > certs to the relevant locations and bounce servers at that point. But = a > service outage is not required. >=20 > I even have my http servers redirect all traffic to the https server = EXCEPT > for the certbot traffic. It's another example of mod_rewrite being one = of > the most powerful tools around IMHO. >=20 > [kpn@gunsight1 ~]$ pkg info | grep certbot > py37-certbot-1.7.0,1 Let's Encrypt client > [kpn@gunsight1 ~]$=20 >=20 Thank you, Gary and Kevin. I just had yet another cron.weekly happen = this morning, and the cert was not renewed. So, I run certbot renew = manually, and restarted apache. My trouble is in the way I configured = renewal cron job following somebody=E2=80=99s HOWTO, I will switch back = to just a cron job with appropriate explicit =E2=80=9Ccertbot renew = =E2=80=A6=E2=80=9D command after I check that python3 based certbot does = have --post-hook to restart apache in the event of successful cert = renewal. I=E2=80=99m sure Kevin is right: web server must be running when certbot = attempts to renew cert. It is necessary, as LetsEncrypt verifies that = whatever requests cert is capable of writing challenge sent to it into = we directory. Thanks again, everybody! Valeri > --=20 > Kevin P. Neal = http://www.pobox.com/~kpn/ >=20 > "What is mathematics? The age-old answer is, of course, that = mathematics > is what mathematicians do." - Donald Knuth > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Sep 12 18:58:44 2020 Return-Path: Delivered-To: freebsd-questions@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 EED9A3E00C2 for ; Sat, 12 Sep 2020 18:58:43 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BphjY5xMBz4NTD for ; Sat, 12 Sep 2020 18:58:41 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from cds220.dcs.int.inet ([10.0.153.144]) by shaw.ca with ESMTP id HAjOkGwpW195BHAjPk1Ccl; Sat, 12 Sep 2020 12:58:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaw.ca; s=s20180605; t=1599937119; bh=5uCbJCM/XfwzVSvxI3QlBRKE+zbDKoCUn/wF7KOwnTU=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=Wx3alhr3WerFx1vMBCgvi1r8M5tUxI9d48L2FybvRsS/t3bhEc12KxIJQWcZnBE/Q Vwlg+P0m8W0aGiq/iD5NPcLyrch50JNnlPmeBqAzVyTn9R3A7sZmYLH/gGTVCwDWWv eTNchq8wlogSVYmgMsBPpNMpI6B0kFuO8mDeFhc9xIa0h/HxhJ2IYAKEATC488aJnM wPTnqzSseC6Elf7ere4OQBALj4/+mNn9Jl+rk1rEpvFBUjpFMZraOkHj0MwavUNJ18 mdWRlJgA3X88J3DfIdfhtckyBFnroxWEe+JToOQ6KCUCakgLPjWjs5u0MbUWXQO8t3 7RIqgqzWlk5xg== X-Authority-Analysis: v=2.4 cv=Wfqy12tX c=1 sm=1 tr=0 ts=5f5d1a5f a=YjOmSjUxhsfmstj0eziGpw==:117 a=FKkrIqjQGGEA:10 a=RDteU5_PNoYA:10 a=IkcTkHD0fZMA:10 a=4yi-b2ezAAAA:8 a=6I5d2MoRAAAA:8 a=ybZZDoGAAAAA:8 a=0PbZ9r5h6VcvqfHvg0oA:9 a=QEXdDO2ut3YA:10 a=TQxA5NB98t1WezocIkIN:22 a=IjZwj45LgO3ly-622nXo:22 a=0RhZnL1DYvcuLYC8JZ5M:22 Date: Sat, 12 Sep 2020 12:58:38 -0600 (MDT) From: Dale Scott To: Valeri Galtsev Cc: "Kevin P. Neal" , freebsd-questions Message-ID: <1326116098.397847941.1599937118319.JavaMail.zimbra@shaw.ca> In-Reply-To: <5B49B57A-4867-4081-8C55-5DCE95BC5B93@kicp.uchicago.edu> References: <20200912055706.GB19136@neutralgood.org> <5B49B57A-4867-4081-8C55-5DCE95BC5B93@kicp.uchicago.edu> Subject: Re: py37-certbot question MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [174.0.43.39, 174.0.43.39] X-Mailer: Zimbra 8.8.15_GA_3899 (ZimbraWebClient - GC85 (Linux)/8.8.15_GA_3895) Thread-Topic: py37-certbot question Thread-Index: PSHOMoX/cysxR5HAOIDARi+EX3Hjrw== X-CMAE-Envelope: MS4xfBG1/reVI/jVsqX0MBdNz5184speHN3tZTk/3Jkv9rNqKL+jH2IGRQ8/me6JQHBljH8y4oRgyiilZufrf49cfHom74HOfO2CBt1qWuXLB9artciUZxT8 TrBlAK+m3FBrO6sb0oTfw8trHNXY36GhjvEf8+hUxntwvI12smDjKtSD55i7xJ8/zm439XFat8I3qZ6Um/rEiVHNsXRgaVbyIydnlzaIFtaJS4A6Ua32/yUv 4A4wKMfcXY5pLI9TZnJfIFEBKTPOb8IgUuCeiXug5r8= X-Rspamd-Queue-Id: 4BphjY5xMBz4NTD X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=Wx3alhr3; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 64.59.134.9 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [-3.46 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RWL_MAILSPIKE_GOOD(0.00)[64.59.134.9:from]; R_SPF_ALLOW(-0.20)[+ip4:64.59.134.0/25]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim]; NEURAL_HAM_LONG(-0.99)[-0.993]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; NEURAL_HAM_SHORT(-0.33)[-0.333]; NEURAL_HAM_MEDIUM(-1.03)[-1.029]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.59.134.9:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 18:58:47 -0000 Keep in mind there are several use cases for LetsEncrypt. When I used LetsE= ncrypt to create a certificate I used the port 80 authentication method and= had to shutdown apache during the procedure (restarting afterwards). Using= certbot to renew the certificate is a different process and does not requi= re shutting down services using port 80. ----- Original Message ----- > From: "Valeri Galtsev" > To: "Kevin P. Neal" > Cc: "freebsd-questions" > Sent: Saturday, September 12, 2020 10:17:06 AM > Subject: Re: py37-certbot question >> On Sep 12, 2020, at 12:57 AM, Kevin P. Neal wrote: >>=20 >> On Thu, Sep 10, 2020 at 09:26:34PM -0600, Gary Aitken wrote: >>> On by fbsd system I manually renew. My notes from 2019 say it is neces= sary >>> to stop the server before renewing because certbot starts its own tempo= rary >>> one to do the upgrade. So I do the sequence: >>> service apache24 stop >>> certbot renew >>> service apache24 start >>>=20 >>> It may be the py37 version stops and restarts the server; I haven't tri= ed it >>> without stopping the server so I don't know. >>=20 >>> If it has been running weekly as a cron job, it should have been renewe= d >>> about three weeks ago. It should renew on the first attempt that is le= ss >>> than 30 days until expiration. So it sounds like it is attempting to >>> renew but failing. It may be that if the server isn't stopped it won't >>> renew because it can't acquire the necessary port. >>=20 >> Wait, that doesn't sound right. I never, ever stop services to run certb= ot >> renew. Ever. I have it so that it reaches into the DocumentRoot(s) of th= e >> relevant virtual server(s) for the verification step. Then I copy the ne= w >> certs to the relevant locations and bounce servers at that point. But a >> service outage is not required. >>=20 >> I even have my http servers redirect all traffic to the https server EXC= EPT >> for the certbot traffic. It's another example of mod_rewrite being one o= f >> the most powerful tools around IMHO. >>=20 >> [kpn@gunsight1 ~]$ pkg info | grep certbot >> py37-certbot-1.7.0,1 Let's Encrypt client >> [kpn@gunsight1 ~]$ >>=20 >=20 > Thank you, Gary and Kevin. I just had yet another cron.weekly happen this > morning, and the cert was not renewed. So, I run certbot renew manually, = and > restarted apache. My trouble is in the way I configured renewal cron job > following somebody=E2=80=99s HOWTO, I will switch back to just a cron job= with > appropriate explicit =E2=80=9Ccertbot renew =E2=80=A6=E2=80=9D command af= ter I check that python3 based > certbot does have --post-hook to restart apache in the event of successfu= l cert > renewal. >=20 > I=E2=80=99m sure Kevin is right: web server must be running when certbot = attempts to > renew cert. It is necessary, as LetsEncrypt verifies that whatever reques= ts > cert is capable of writing challenge sent to it into we directory. >=20 > Thanks again, everybody! >=20 > Valeri >=20 >> -- >> Kevin P. Neal http://www.pobox.com/~kpn/ >>=20 >> "What is mathematics? The age-old answer is, of course, that mathematics >> is what mathematicians do." - Donald Knuth >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@freebsd.org Sat Sep 12 19:22:45 2020 Return-Path: Delivered-To: freebsd-questions@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 3C9C33E0E1E for ; Sat, 12 Sep 2020 19:22:45 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4BpjFJ1mqHz4Qjf for ; Sat, 12 Sep 2020 19:22:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.142.139]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 6A19B4E652; Sat, 12 Sep 2020 14:22:43 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: py37-certbot question From: Valeri Galtsev In-Reply-To: <1326116098.397847941.1599937118319.JavaMail.zimbra@shaw.ca> Date: Sat, 12 Sep 2020 14:22:41 -0500 Cc: "Kevin P. Neal" , freebsd-questions Content-Transfer-Encoding: quoted-printable Message-Id: <17D28CE2-BC63-4CC2-BB4E-9436BF0530B1@kicp.uchicago.edu> References: <20200912055706.GB19136@neutralgood.org> <5B49B57A-4867-4081-8C55-5DCE95BC5B93@kicp.uchicago.edu> <1326116098.397847941.1599937118319.JavaMail.zimbra@shaw.ca> To: Dale Scott X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BpjFJ1mqHz4Qjf X-Spamd-Bar: +++++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [11.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_CSS(4.00)[172.58.142.139:received]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.142.139:received]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.32)[0.317]; NEURAL_SPAM_MEDIUM(0.92)[0.922]; GREYLIST(0.00)[pass,meta]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.142.139:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_LONG(0.96)[0.958]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 19:22:45 -0000 > On Sep 12, 2020, at 1:58 PM, Dale Scott wrote: >=20 > Keep in mind there are several use cases for LetsEncrypt. When I used = LetsEncrypt to create a certificate I used the port 80 authentication = method and had to shutdown apache during the procedure (restarting = afterwards). Using certbot to renew the certificate is a different = process and does not require shutting down services using port 80. >=20 Thank you, Dale! That is what Gary probably meant, and I with my = restricted knowledge of options, didn=E2=80=99t realize that. Sorry, = Gary, about my comment, now with Dale=E2=80=99s explanation I know what = you meant. Valeri > ----- Original Message ----- >> From: "Valeri Galtsev" >> To: "Kevin P. Neal" >> Cc: "freebsd-questions" >> Sent: Saturday, September 12, 2020 10:17:06 AM >> Subject: Re: py37-certbot question >=20 >>> On Sep 12, 2020, at 12:57 AM, Kevin P. Neal = wrote: >>>=20 >>> On Thu, Sep 10, 2020 at 09:26:34PM -0600, Gary Aitken wrote: >>>> On by fbsd system I manually renew. My notes from 2019 say it is = necessary >>>> to stop the server before renewing because certbot starts its own = temporary >>>> one to do the upgrade. So I do the sequence: >>>> service apache24 stop >>>> certbot renew >>>> service apache24 start >>>>=20 >>>> It may be the py37 version stops and restarts the server; I haven't = tried it >>>> without stopping the server so I don't know. >>>=20 >>>> If it has been running weekly as a cron job, it should have been = renewed >>>> about three weeks ago. It should renew on the first attempt that = is less >>>> than 30 days until expiration. So it sounds like it is attempting = to >>>> renew but failing. It may be that if the server isn't stopped it = won't >>>> renew because it can't acquire the necessary port. >>>=20 >>> Wait, that doesn't sound right. I never, ever stop services to run = certbot >>> renew. Ever. I have it so that it reaches into the DocumentRoot(s) = of the >>> relevant virtual server(s) for the verification step. Then I copy = the new >>> certs to the relevant locations and bounce servers at that point. = But a >>> service outage is not required. >>>=20 >>> I even have my http servers redirect all traffic to the https server = EXCEPT >>> for the certbot traffic. It's another example of mod_rewrite being = one of >>> the most powerful tools around IMHO. >>>=20 >>> [kpn@gunsight1 ~]$ pkg info | grep certbot >>> py37-certbot-1.7.0,1 Let's Encrypt client >>> [kpn@gunsight1 ~]$ >>>=20 >>=20 >> Thank you, Gary and Kevin. I just had yet another cron.weekly happen = this >> morning, and the cert was not renewed. So, I run certbot renew = manually, and >> restarted apache. My trouble is in the way I configured renewal cron = job >> following somebody=E2=80=99s HOWTO, I will switch back to just a cron = job with >> appropriate explicit =E2=80=9Ccertbot renew =E2=80=A6=E2=80=9D = command after I check that python3 based >> certbot does have --post-hook to restart apache in the event of = successful cert >> renewal. >>=20 >> I=E2=80=99m sure Kevin is right: web server must be running when = certbot attempts to >> renew cert. It is necessary, as LetsEncrypt verifies that whatever = requests >> cert is capable of writing challenge sent to it into we directory. >>=20 >> Thanks again, everybody! >>=20 >> Valeri >>=20 >>> -- >>> Kevin P. Neal = http://www.pobox.com/~kpn/ >>>=20 >>> "What is mathematics? The age-old answer is, of course, that = mathematics >>> is what mathematicians do." - Donald Knuth >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>=20 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Sep 12 19:26:19 2020 Return-Path: Delivered-To: freebsd-questions@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 1F95C3E0F4A for ; Sat, 12 Sep 2020 19:26:19 +0000 (UTC) (envelope-from peo@nethead.se) Received: from ns1.nethead.se (ns1.nethead.se [5.150.237.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns1.nethead.se", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BpjKQ0YVtz4R1R for ; Sat, 12 Sep 2020 19:26:17 +0000 (UTC) (envelope-from peo@nethead.se) X-Virus-Scanned: amavisd-new at Nethead AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nethead.se; s=NETHEADSE; t=1599938764; bh=J/br4wGTIp6c6TRjp+VqASoK5LG6WjvBm8xFYA05aXU=; h=Subject:To:References:From:Date:In-Reply-To; b=F58Uinrh44JJcz8soKsNVjF04XzTJN8uQT+ci7Nbta4LGnPgrL0Amcmmumlvf98YO GEVe6rwS83C7/gUkqWfS7cucmTvi/vewhtRknB91g6w6SJ7GgGTPWSdQT2S1oowGIb je0YPsWhgkF0feQBCmFvXBVvsvuN6eEaqgRgvCM0= Subject: Re: How to silence cron? To: freebsd-questions@freebsd.org References: <20200911224619.4a134d23@gumby.homeunix.com> From: Per olof Ljungmark Message-ID: <64bf24be-b25e-0e7d-6cca-07d99f798b1a@nethead.se> Date: Sat, 12 Sep 2020 21:26:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200911224619.4a134d23@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BpjKQ0YVtz4R1R X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nethead.se header.s=NETHEADSE header.b=F58Uinrh; dmarc=pass (policy=none) header.from=nethead.se; spf=pass (mx1.freebsd.org: domain of peo@nethead.se designates 5.150.237.139 as permitted sender) smtp.mailfrom=peo@nethead.se X-Spamd-Result: default: False [-2.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; R_DKIM_ALLOW(-0.20)[nethead.se:s=NETHEADSE]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:5.150.237.139]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[nethead.se:+]; DMARC_POLICY_ALLOW(-0.50)[nethead.se,none]; NEURAL_HAM_SHORT(-0.50)[-0.497]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8473, ipnet:5.150.192.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 19:26:19 -0000 On 2020-09-11 23:46, RW via freebsd-questions wrote: > On Fri, 11 Sep 2020 15:11:49 +0200 > Per olof Ljungmark wrote: > >> Hi, >> >> What would be the proper way to silence output from a php script >> running under cron? I have tried variations of /dev/null and 2>&1 but >> getting nowhere. >> > > Have you tried > > SHELL=/bin/sh > > */5 * * * * su -m www -c "/usr/local/bin/php /usr/local/www/pathtoscript.php" >/dev/null 2>&1 > > the redirection has to take place under a bourne-compatible shell, > so outside of the quotes. > > > > > > On Fri, 11 Sep 2020 19:44:17 +0100 > tech-lists wrote: > > >> I *think* you can set MAILTO: to /dev/null but I'm not 100% sure. But >> if you can, I think it'll do what you want, if that is to have no >> mail at all for www user. > > Crontab variable assignments apply to the lines below the assignment. > It should be possible to divide the crontab into sections with different > MAILTO values. Yes, exactly, this is where I am aiming at now. Thanks all for replying! From owner-freebsd-questions@freebsd.org Sat Sep 12 20:38:24 2020 Return-Path: Delivered-To: freebsd-questions@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 5ED5D3E2607 for ; Sat, 12 Sep 2020 20:38:24 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bpkwb14NKz4V3B for ; Sat, 12 Sep 2020 20:38:22 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 12 Sep 2020 13:38:12 -0700 Subject: Re: ZFS snapshot - rollback problem To: freebsd-questions@freebsd.org References: <20200910143458.GA83264@esprimo> <20200910161309.GA56432@esprimo> <20200910165408.GA12834@esprimo> <43597e63-8c26-29a2-925a-55f5f91eaf1d@gmail.com> From: David Christensen Message-ID: <2f421c20-ae37-52fb-02f4-d227f513a92c@holgerdanske.com> Date: Sat, 12 Sep 2020 13:38:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <43597e63-8c26-29a2-925a-55f5f91eaf1d@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Bpkwb14NKz4V3B X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [3.12 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.3.16.205:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.57)[0.568]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.89)[0.892]; ARC_NA(0.00)[]; DBL_PROHIBIT(0.00)[0.3.16.205:email]; NEURAL_SPAM_LONG(0.76)[0.757]; DMARC_NA(0.00)[holgerdanske.com]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 20:38:24 -0000 On 2020-09-12 02:56, Graham Perrin wrote: > On 10/09/2020 17:54, Christoph Brinkhaus wrote: >> … May be you should first delete the snapshot of zroot/swapdisk0@200909. >> If that does not work you might have to boot from a different medium >> as the USB installer stick and handle the pool when it is inactive. … > Boot from a different medium sounds, to me, like a good idea. If you > have not already done so. +1 using a USB flash drive containing the FreeBSD-*.*-*-*-memstick.img that matches the OS/pool on the target device. David From owner-freebsd-questions@freebsd.org Sat Sep 12 20:59:08 2020 Return-Path: Delivered-To: freebsd-questions@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 46C1B3E29C4 for ; Sat, 12 Sep 2020 20:59:08 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [96.88.95.61]) (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 4BplNW1Rhxz4VgN for ; Sat, 12 Sep 2020 20:59:06 +0000 (UTC) (envelope-from bob@proulx.com) Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 0FA7212C for ; Sat, 12 Sep 2020 14:59:00 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1599944340; bh=bVV+NJ5de8UUdztQtd+/bUqcYATUfievTLZMtlZpguU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mpW4ZrsG+7sYa9jAyEEeT4Ei0TUnsabNJQMSk6DERT5RwhQqpEYWBd9hG+Dq/P+dW TiOLjnszZmSeLgz43d9Q3rGrMYW9mygtlGgdZ9B2QhIbgmQovc7P6uAFwTA4UTm/Cz unix6SpjM9UYw55j9sMu+O84x+QjXRIMd11hwLnmOPD38Cx45jietK6PlQ1JStu5ZE 5ddX7QWxbHnOTzDsn56Ng8VWX8s05LMxPaMO8x2JGmuInkRiQ8efngsqE0wNxNz7vH rd4JhG+dWuSVXhZ7n2u1rjoms1SeIqLwvMSf5b3YAlgWkJw5cLz9NUlipHbqxHYo3p NC6r4ebBLiidQ== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D9A6021156 for ; Sat, 12 Sep 2020 14:58:59 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id B4B202DC9D; Sat, 12 Sep 2020 14:58:59 -0600 (MDT) Date: Sat, 12 Sep 2020 14:58:59 -0600 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: py37-certbot question Message-ID: <20200912143911564877110@bob.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4BplNW1Rhxz4VgN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=mpW4ZrsG; dmarc=pass (policy=none) header.from=proulx.com; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 96.88.95.61 as permitted sender) smtp.mailfrom=bob@proulx.com X-Spamd-Result: default: False [-3.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.03)[-1.026]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.021]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[proulx.com:+]; DMARC_POLICY_ALLOW(-0.50)[proulx.com,none]; NEURAL_HAM_SHORT(-0.41)[-0.408]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2020 20:59:08 -0000 Valeri Galtsev wrote: > I use certbot since its python 2 version - for quite some time actually to > renew LetsEncrypt certificates. With python2 version in the past I run cron > job daily and I was restarting apache from that same script if certificate > was updated. With python3 version when I switched to it I followed > somebody's HOWTO, and just added to /etc/periodic.conf: > > weekly_certbot_enable="YES" > weekly_certbot_service="apache24" ... > Or should I probably switch it over to daily cron job? Yes. Switch over to a daily cron job. And verify that email output from the cron job is successfully delivered and read so that problems can be seen and handled. I recall daily being the usual recommended rate. But time passes and things change and I do not find any recommendation now. Just their rate limits. https://letsencrypt.org/docs/rate-limits/ But all of my systems check daily. Monthly would be way too seldom and could be problematic. Weekly would be likely okay when everything always works perfectly. But daily seems more resilient when there are problems. Remember that the client does not attempt a renewal unless the certificate expiration is within 30 days. Therefore the client will not attempt a renewal no matter how often it is invoked for the first two months. Then when the certificate is within 30 days of expiring it will attempt to renew it. If that succeeds then once again it stops trying for two months. If it fails then upon the next invocation, in all of my cases the next day, it will try again. If something has broken where it fails until manual intervention fixes things then at most it would try and fail once per day when invoked daily and that is well safely within the allowed rate limits and is not a problem. Let me advocate for using "dehydrated" which is a simpler and IMNHO a much nicer client than the EFF "certbot". https://github.com/dehydrated-io/dehydrated When I first set up Let's Encrypt I chose the EFF Certbot client. For probably all of the same reasons anyone does. It's from the EFF so it is likely to be the best one, right? However in practice I found Certbot to be quite the behemoth. It wants to maintain a full virtual python environment and on my systems that was about 50MB of downloads that it would routinely try to update. And upon system upgrades it would break and I would need to get in there and fix things. Not so nice. Plus the user interface of it is not really to my liking. The way Certbot works is that it keeps its own state files as json format and one updates those using certbot commands. Rather like carving a sculture in clay you keep changing it until it is what you want and then you use it that way. This is fine of course. But it is not to my personal liking. I much prefer simply having plain text configuration files that I can set all at once to what is needed. Can be copied from one system to another as a template for the new system and then hacked into the new one. And then can keep those files in version control. Plus changes to those plain text files make plain text sense rather than json syntax sense. So eventually I switched from 'certbot' to 'dehydrated'. It is a single shell script. It's simple. Dehydrated is relatively small as compared with certbot. I can read it and understand what it is doing. However so far I haven't needed to do so because it has simply Just Worked. And has Just Worked across multiple systems and OS upgrades. If anyone reading this is like me and found Certbot to be large and unpleasantly heavy then perhaps give dehydrated a look. If you are like me then you might find it more suitable and more to your liking. Note that I am in no way associated with the dehydrated project. I am simply a happy user of it. Bob