From owner-freebsd-questions@freebsd.org Sun Sep 13 03:53: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 4C9A13EB79F for ; Sun, 13 Sep 2020 03:53:32 +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 4BpwZg2JF3z4t3h for ; Sun, 13 Sep 2020 03:53:30 +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 08D3rM80051375 for ; Sat, 12 Sep 2020 21:53:22 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: packer script for ubuntu that works on fbsd virtualbox Message-ID: Date: Sat, 12 Sep 2020 21:49:44 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 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]); Sat, 12 Sep 2020 21:53:23 -0600 (MDT) X-Rspamd-Queue-Id: 4BpwZg2JF3z4t3h 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.78 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(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]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.04)[-1.041]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.48)[-0.480]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; 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: Sun, 13 Sep 2020 03:53:32 -0000 I'm having trouble getting packer to produce a ubuntu-18.04.5 that actually works on virtualbox on my 11.3-RELEASE-p6 fbsd system. I can create one using vagrant or from virtualbox itself, but not using packer. I've tried using the packer installed via pkg install (1.6.0), and I've also using a 1.6.1 from source. I thought about trying to build a more recent virtualbox but the patches in the port are tweaking stuff way beyond my abilities. Can anyone post a packer .json file to create a ubuntu vm that works? The VM goes through the initial install process ok, then begins installing updates. After update #14 or so, it crashes and reboots, starting the install process all over. Again and again. Using the virtualbox-ose from pkg install (5.2.44). FWIW, here's the .json file that doesn't work, given the command "packer build ubuntu-18-04.json" { "builders": [ { "boot_command": [ "", "", "", "", "/install/vmlinuz", " auto", " console-setup/ask_detect=false", " console-setup/layoutcode=us", " console-setup/modelcode=pc105", " debconf/frontend=noninteractive", " debian-installer=en_US.UTF-8", " fb=false", " initrd=/install/initrd.gz", " kbd-chooser/method=us", " keyboard-configuration/layout=USA", " keyboard-configuration/variant=USA", " locale=en_US.UTF-8", " netcfg/get_domain=vm", " netcfg/get_hostname=vagrant", " grub-installer/bootdev=/dev/sda", " noapic", " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `preseed_path`}}", " -- ", "" ], "boot_wait": "10s", "disk_size": "{{user `disk_size`}}", "guest_os_type": "Ubuntu_64", "hard_drive_interface": "sata", "headless": "{{ user `headless` }}", "http_directory": "http", "iso_checksum": "{{user `iso_checksum_type`}}:{{user `iso_checksum`}}", "iso_urls": [ "file:///hd2/Downloads/Ubuntu/ubuntu-18.04.5-live-server-amd64.iso", "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}" ], "output_directory": "../../builds/packer-{{user `template`}}-virtualbox", "shutdown_command": "echo 'vagrant' | sudo -S shutdown now", "ssh_password": "vagrant", "ssh_port": 22, "ssh_timeout": "1000s", "ssh_username": "vagrant", "type": "virtualbox-iso", "vboxmanage": [ [ "modifyvm", "{{.Name}}", "--memory", "{{ user `memory` }}" ], [ "modifyvm", "{{.Name}}", "--cpus", "{{ user `cpus` }}" ] ] } ], "variables": { "cpus": "1", "disk_size": "10000", "headless": "", "iso_checksum": "3756b3201007a88da35ee0957fbe6666c495fb3d8ef2e851ed2bd1115dc36446", "iso_checksum_type": "sha256", "iso_name": "ubuntu-18.04.5-live-server-amd64.iso", "memory": "1536", "mirror": "http://releases.ubuntu.com/", "mirror_directory": "18.04.5/", "preseed_path": "preseed.cfg", "template": "ubuntu-18.04.05-live-server-amd64.iso", "version": "TIMESTAMP", "vm_description": "packer ubuntu-18.04.5", "vm_version": "18.04.5" } } Thanks, Gary From owner-freebsd-questions@freebsd.org Sun Sep 13 09:21:56 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 91EDD3D1F1D; Sun, 13 Sep 2020 09:21:56 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450: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 4Bq3sb5qz4z3gLC; Sun, 13 Sep 2020 09:21:55 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x344.google.com with SMTP id q9so7951670wmj.2; Sun, 13 Sep 2020 02:21:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=S7aYPjKOuPU2lizQy/3aaYKiFxYSTfOKHJ382aYlpt8=; b=fQqRFj3vjYLr4oomaSddhg3CpB1gubWnTDcD5vW5K6GmkoEiXLeXL5QnY5cTcqJurD gb98D18ARZDh7a/o5Bb9Xr0XfXW7XKtq9eQcuztXPPsr9LFFTN4/hrG8U59WLehSLVGZ Dtc+ZFUgBsCrNxQ/Wb0WjzqFlxyJBzypqVL8wHAXUntm8OtsJBb2NCZJcnRgGvqOqxdK ZUuXqCUacxb/GIRinA3zcl1D7cpPgvjwx5UxyDVKcEg7s+dqUQDkvM3o9PoQ1kh+nAPB MS5J5IWPi7190zL/Uw4chnp7a6tSicjBD2+/op9SYugh7qfzi/xsxTcdEjM4GmGfUg19 n2mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=S7aYPjKOuPU2lizQy/3aaYKiFxYSTfOKHJ382aYlpt8=; b=W3eT7EPS6IcO7NQhwXfDGpTCRhE8m/ni+X9QPwp1e+KsLhudlwEV6G7mzdHhi8lQWx VR41Qd3l9ErYUzomlr0AmTwpvJ4jHmYDPaEz1BXpqZ6NXTbZKy0opN01EIrnbaSd9Ss3 Hrsn5zhAcBWNSPryK9AirOM4jfkP0ZI9rMDQddgV1lP9nM0L1HpNWGMw+sXHcd1wy93o kBSj8DVTnlav3cEi+HftTtuV29ukMP9VV65uhniAAOVCgyFtQmtYpB5FOorb4XEYzJec hGOSKcIrMatv53q1bnoEXcI4IGiBr6OhMrrKHe9Mn0jmF7jLLZinvVCxCP+Ke2Y20EB3 jH1g== X-Gm-Message-State: AOAM530MhazM1oWRhx06sZ4oAAOGzPO7AIKLpbJwYvXAeanigchlieHE Y7G6jiwNN8JzoJevaoSaEoxQUamUmV526w== X-Google-Smtp-Source: ABdhPJz15IksVnI41Lb+b7lp7L+4uEkMB9mLZZJbZ8vKzssIk+64MbVR7Qg4hNMVVgQVcVqZ7rctaQ== X-Received: by 2002:a1c:bdc4:: with SMTP id n187mr9977135wmf.109.1599988913851; Sun, 13 Sep 2020 02:21:53 -0700 (PDT) Received: from [192.168.2.22] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id b194sm14481064wmd.42.2020.09.13.02.21.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Sep 2020 02:21:53 -0700 (PDT) From: Graham Perrin Subject: USB sound devices with FreeBSD-CURRENT To: FreeBSD CURRENT , FreeBSD questions Message-ID: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> Date: Sun, 13 Sep 2020 10:21:52 +0100 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-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4Bq3sb5qz4z3gLC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fQqRFj3v; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::344 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; 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(-0.28)[-0.278]; 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(-1.09)[-1.091]; 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)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::344:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions,freebsd-current] 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: Sun, 13 Sep 2020 09:21:56 -0000 I'm confused about use of USB devices for audio (primarily with Firefox and Chromium). Re: under 'switching dsp-devices on-the-fly' > … hw.snd.default_unit to "0", which will automatically assign > hw.snd.default_unit to the newly-attached devices. …" – so in sysctl.conf I experimented with: hw.snd.default_unit="0" – and after signing in (to KDE Plasma) I attach first the USB microphone (Alctron USB700 Alctron USB700) then a USB headset (SteelSeries SteelSeries Siberia 350). virtual_oss and sndiod are enabled. With this setup, as far as I can tell: 1. Chromium simply does not play AV content e.g. – after a click to play, there's a moment of visual motion but no playback 2. if Firefox media.cubeb.backend set to oss then behaviour is the same as Chromium 3. if Firefox media.cubeb.backend is not set (audio backend defaults to pulse-rust) then playback occurs through IDT 92HD81B1X (Analog) – not USB. ---- root@momh167-gjp4-8570p:~ # date ; uname -v Sun Sep 13 08:25:39 BST 2020 FreeBSD 13.0-CURRENT #64 r365364: Sun Sep  6 01:38:18 BST 2020 root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG root@momh167-gjp4-8570p:~ # service virtual_oss start ; service sndiod start ; service virtual_oss status ; service sndiod status ; cat /dev/sndstat ; grep " -f /dev/" /usr/local/etc/rc.d/virtual_oss | grep -v \# ; sysctl hw.snd.default_unit Starting Virtual OSS config dsp ...hw.snd.basename_clone: 0 -> 0  done Starting sndiod. virtual_oss is running as pid 5688. sndiod is running as pid 5697. Installed devices: pcm0: (play) default pcm1: (play/rec) pcm2: (play/rec) pcm3: (rec) pcm4: (play/rec) Installed devices from userspace: dsp: (play/rec)   -f /dev/dsp0 \ hw.snd.default_unit: 0 root@momh167-gjp4-8570p:~ # ---- In addition, as far as I can tell: 4. if I remove then reconnect the two USB devices, the devices are no longer driven * neither device 'lights up' * playback in Firefox (with oss) and Chromium is visible, but no longer audible on any device * playback in Firefox (with puse-rust) is visible, but no longer audible on any device. ---- root@momh167-gjp4-8570p:~ # grep Alctron /var/log/messages Sep 13 06:17:08 momh167-gjp4-8570p kernel: ugen0.7: at usbus0 (disconnected) Sep 13 06:19:07 momh167-gjp4-8570p kernel: ugen0.3: at usbus0 Sep 13 06:19:07 momh167-gjp4-8570p kernel: uaudio0: on usbus0 Sep 13 06:19:07 momh167-gjp4-8570p kernel: uhid1: on usbus0 Sep 13 09:13:08 momh167-gjp4-8570p kernel: ugen0.5: at usbus0 Sep 13 09:13:08 momh167-gjp4-8570p kernel: uaudio1: on usbus0 Sep 13 09:13:08 momh167-gjp4-8570p kernel: uhid0: on usbus0 Sep 13 09:48:51 momh167-gjp4-8570p kernel: ugen0.5: at usbus0 (disconnected) root@momh167-gjp4-8570p:~ # grep SteelSeries /var/log/messages Sep 13 06:17:22 momh167-gjp4-8570p kernel: ugen0.6: at usbus0 (disconnected) Sep 13 06:17:51 momh167-gjp4-8570p kernel: ugen0.6: at usbus0 Sep 13 06:17:51 momh167-gjp4-8570p kernel: uaudio0: on usbus0 Sep 13 06:19:00 momh167-gjp4-8570p kernel: ugen0.6: at usbus0 (disconnected) Sep 13 06:19:12 momh167-gjp4-8570p kernel: ugen0.7: at usbus0 Sep 13 06:19:12 momh167-gjp4-8570p kernel: uaudio1: on usbus0 Sep 13 09:13:08 momh167-gjp4-8570p kernel: ugen0.4: at usbus0 Sep 13 09:13:08 momh167-gjp4-8570p kernel: uaudio0: on usbus0 root@momh167-gjp4-8570p:~ # tail /var/log/messages Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound application to exit! Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound application to exit! Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound application to exit! Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound application to exit! Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound application to exit! root@momh167-gjp4-8570p:~ # ---- Clearly I'm doing something wrong. If on-the-fly use of USB audio devices is not possible, then must I keep the devices connected whilst I'm signed in to the desktop environment? From owner-freebsd-questions@freebsd.org Sun Sep 13 10: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 053F43D4C11 for ; Sun, 13 Sep 2020 10:50:38 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 4Bq5qw22gwz41mm for ; Sun, 13 Sep 2020 10:50:36 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wr1-x444.google.com with SMTP id s12so15581154wrw.11 for ; Sun, 13 Sep 2020 03:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mAncFOxOhTDxO25L/pRhroAuXdak0qTtxhqqan7mVgc=; b=bvJKMvxpWFRME7ktbH67XCMW4R0KeQAPEXUuVH/MVJI0p3BAC0bQCI4VNR349cAqtF gu3cGgAgBKPA7nEcEXqcGLftar/r5pIsJU4W6DLprSfavFwLiqf56HZ97b9ck4HP9VFN GKyozvgXwoyBjPjHK39X2y0hj+fUcM0SNLQAKkstCe8+SHHvbIfhPrPHffLpIC2PYvMo 6FxbzZQfINDFIqn+oKk+TM6Uiu8YklY01+Uq7CPZ1w2i/SDbomoMh1fKrjdUkwXaRuyY 8xaE/oAUO6PBwVDYPy0Qb1I5/6TKOjK7dzVcT2YBPPQhKDoOjGEY9kEg++xMkE8gzp7t JKgw== 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=mAncFOxOhTDxO25L/pRhroAuXdak0qTtxhqqan7mVgc=; b=ZxneddlJm+41g12ji3lRic01hFsOsSRQRDsTbIMplzlYipZfroVRe8y83KVgRX+57x TQRNFE4w0ChkU6WI4mj3EbltkR5V6tv1kFlmC9qAbsxTJ3SRxjfJu2/gAgdAfr3l6zi0 UbkjB5laslvpTGt8ZTfcFfP76rlk7rLdJvH5NkazcTrPe+iV70m0GrFF3SZMhzsA3jrZ FKU6icZxF3RDZaD3jBOhZAZd5AnCarqc3BpBqwW71VK/eo/Q6/4F0xXkdHDz0pN3o/tJ 1IUCKptC0rMjG/dhWvBlR0k4JInpruxas4k9nwNnJt+DrRBYZ5t1tKds11y10aaX3R0s 5rHQ== X-Gm-Message-State: AOAM533F7KiAUVyipcrW4DGclxls43E/2aHzqihyn8ei4XFofxEztHGy dYQyrtGf/38C65ZDWMQXI3APsrzqCqnHV1g8ZX0luA== X-Google-Smtp-Source: ABdhPJxqqNwg5lgBDK7PScr8YWH8Qa4E5+gQkVCqNFz9AuquP/wF8mgdFrmIZaMC3rNoMD8OOMNtvfUG1/nomWbNmsM= X-Received: by 2002:a5d:4e8a:: with SMTP id e10mr10748329wru.329.1599994234741; Sun, 13 Sep 2020 03:50:34 -0700 (PDT) MIME-Version: 1.0 References: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> In-Reply-To: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> From: Tomasz CEDRO Date: Sun, 13 Sep 2020 12:50:28 +0200 Message-ID: Subject: Re: USB sound devices with FreeBSD-CURRENT To: Graham Perrin Cc: FreeBSD CURRENT , FreeBSD questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Bq5qw22gwz41mm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=bvJKMvxp; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::444) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-1.85 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-0.82)[-0.824]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.20)[0.200]; NEURAL_HAM_LONG(-0.92)[-0.924]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::444:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/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: Sun, 13 Sep 2020 10:50:38 -0000 I am using EMU10K1 attached to the sound system over USB on my laptop and the device needs to be connected on boot - unplug will crash the system. If device is plugged in on boot and I add `hw.snd.default_unit=3` to `/etc/sysctl.conf`, that is before I start X, then I have audio playback "by default". In order to have dynamic audio configuration I have found PulseAudio helpful a lot as it allows you to select which application uses which input/otput audio device. Note that PulseAudio can lock your audio hardware and block clean module removal. I am not sure about current default sound system in FreeBSD if its still OSS or ALSA, but if you do not want to use PulseAudio, you may want to try ALSA configuration at `/usr/local/etc/asound.conf` it allows some more detailed remap. Good luck :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Sun Sep 13 14:13: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 783C93DAD75; Sun, 13 Sep 2020 14:13:58 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BqBLY3QjCz4Dkk; Sun, 13 Sep 2020 14:13:57 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42f.google.com with SMTP id g4so15918347wrs.5; Sun, 13 Sep 2020 07:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=uF7VmBhUlDG1xbLX+ca/9b+n4Y8B8lSO3Jq93ODsNCE=; b=bICYxu+5PtLRSpPp5nQFTBAAvWfCdI5hHl4RGdB0KxE0aziTmQgM2qvPTZkXUNwXC3 3FLiPvqKF/EMf0ezLWZW3CohTNK+zrP4uu5+CX8zv1WARVKM26s3y5JnO+ndwkQMgCB+ uynRA7nKfxwyABp5A5l7CF9kxEXE59e1IqJcxRyJHq3+ejidgnk6McCUw07jlvC1OVOQ fF70Y3epCyGRS24hu8xdBQ5sQXsEF7aK5SywELDcdguGZTjyivFUozMlLf5ns5WDd+Oh Ryid/Fry+kU10RCzGcWiMtoLfGXail8FihUWFXUV5YOoSXV/sdHgsFmf6PrtLKsBhxNy zZAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=uF7VmBhUlDG1xbLX+ca/9b+n4Y8B8lSO3Jq93ODsNCE=; b=MrIlk7BjVbd9VtWjRPoeHxUi8JTl3VxDgoT3Y7lmSe6E1lNVnp/6khtLagyg75txL5 xCmdxaP3x1gU3ASk5ATPz9j4E/kaxscTiYHJnrVXB4L2pMKqzWor1GB5ITCIAbqgH8aK 3txMUu8AqsDJrItcqCUFNRoYsxUJuIXuREQ/0bG6xyeNKkXZtiJvn86TvcMJaNXCPNu2 g5uTylLEujwbQLgP4RHF+PhtkPYSSdhFQRIp8vorkzWGqYhGa+WRy9y/f6VjS0fIu11t dOwLInaycD9lCg74WK5YOJ9fC0WYpOJyEV/9ltpZuyOu+np+xBaHY/g/R3/eqC22Diqy Kwdg== X-Gm-Message-State: AOAM530rTg1sBf6J6q3Sa5+pHQp4cLhcQ23q/Zftv4mcojuenG6mBGub QXaMLN9VJ+HxWBOqfCbEkykMfEjnak8DJQ== X-Google-Smtp-Source: ABdhPJw5QCuXdGWPzXgFG0SnxuCjD5R+V78yev8TYqZnbKK2XB0gQyU/zaMN76qZYdVRDnY8/BoFQA== X-Received: by 2002:adf:8187:: with SMTP id 7mr11377025wra.266.1600006435317; Sun, 13 Sep 2020 07:13:55 -0700 (PDT) Received: from [192.168.2.22] (79-66-147-78.dynamic.dsl.as9105.com. [79.66.147.78]) by smtp.gmail.com with ESMTPSA id k4sm15793106wrx.51.2020.09.13.07.13.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Sep 2020 07:13:54 -0700 (PDT) Subject: Re: USB sound devices with FreeBSD-CURRENT To: Hans Petter Selasky , FreeBSD CURRENT , FreeBSD questions References: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> From: Graham Perrin Message-ID: <7731b641-687c-03e1-60b6-11f21595f13c@gmail.com> Date: Sun, 13 Sep 2020 15:13:53 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 4BqBLY3QjCz4Dkk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=bICYxu+5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42f as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.69 / 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:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.59)[-0.593]; 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(-1.08)[-1.078]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.02)[-1.019]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42f:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions,freebsd-current] 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: Sun, 13 Sep 2020 14:13:58 -0000 Now with On 13/09/2020 10:24, Hans Petter Selasky wrote: > On 2020-09-13 11:21, Graham Perrin wrote: >> >> 1. Chromium simply does not play AV content e.g. >> – >> after a click to play, there's a moment of visual motion but no playback >> >> 2. if Firefox media.cubeb.backend set to oss then behaviour is the >> same as Chromium >> >> 3. if Firefox media.cubeb.backend is not set (audio backend defaults >> to pulse-rust) then playback occurs through IDT 92HD81B1X (Analog) – >> not USB. > > Try to configure a smaller audio buffer size in virtual_oss . > Sometimes devices request a very small audio buffer . > > --HPS Now with virtual_oss and sndiod disabled (starting them when required with onestart), with the buffer size reduced from 1024 to 256, ---- root@momh167-gjp4-8570p:~ # head -n 55 /usr/local/etc/rc.d/virtual_oss | grep -v \# . /etc/rc.subr name=virtual_oss desc="Virtual OSS device manager" rcvar=${name}_enable start_precmd="${name}_precmd" start_cmd="${name}_start" stop_cmd="${name}_stop" virtual_oss_default_args="\   -T /dev/sndstat \   -S \   -i 8 \   -C 2 -c 2 \   -r 48000 \   -b 24 \   -s 256 \   -f /dev/dsp0 \   -c 2 \   -d dsp \   -t dsp.ctl" configs= load_rc_config $name root@momh167-gjp4-8570p:~ # service virtual_oss onestart ; service sndiod onestart ; service virtual_oss onestatus ; service sndiod onestatus ; cat /dev/sndstat Starting Virtual OSS config dsp ... done Starting sndiod. virtual_oss is running as pid 5990. sndiod is running as pid 6006. Installed devices: pcm0: (play) default pcm1: (play/rec) pcm2: (play/rec) pcm3: (rec) pcm4: (play/rec) No devices installed from userspace. root@momh167-gjp4-8570p:~ # ---- I get visual playback but nothing audible at the USB headset or analogue loudspeakers. I see device buffer sizes below but I don't know how to use those to determine a usable setting for -s in /usr/local/etc/rc.d/virtual_oss From dmesg : ---- ugen0.5: at usbus0 uhid1 on uhub2 uhid1: on usbus0 uaudio0 on uhub2 uaudio0: on usbus0 uaudio0: No playback. uaudio0: Record[0]: 48000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 44100 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 32000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 22050 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 16000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 11025 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: Record[0]: 8000 Hz, 1 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio0: No MIDI sequencer. pcm3: on uaudio0 uaudio0: No HID volume keys found. ugen0.6: at usbus0 uhub8 on uhub2 uhub8: on usbus0 uhub8: MTT enabled uhub8: 4 ports with 4 removable, self powered ugen0.7: at usbus0 uaudio1 on uhub8 uaudio1: on usbus0 uaudio1: Play[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 48000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 44100 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 22050 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 16000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 11025 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 8000 Hz, 2 ch, 16-bit S-LE PCM format, 2x8ms buffer. uaudio1: No MIDI sequencer. pcm4: on uaudio1 uaudio1: HID volume keys found. From owner-freebsd-questions@freebsd.org Sun Sep 13 18:25: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 CB5DD3E343E for ; Sun, 13 Sep 2020 18:25:24 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (fournil.foucry.net [95.217.83.231]) (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 4BqHwg2rBfz4VF6 for ; Sun, 13 Sep 2020 18:25:21 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from mail.foucry.net (unknown [192.168.12.17]) by mail.foucry.net (Postfix) with ESMTP id CC470D4FE for ; Sun, 13 Sep 2020 18:25:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at foucry.net Received: from mail.foucry.net ([192.168.12.17]) by mail.foucry.net (mail.foucry.net [192.168.12.17]) (amavisd-new, port 10024) with ESMTP id Stbqa1XHsGly for ; Sun, 13 Sep 2020 18:25:01 +0000 (UTC) Received: by mail.foucry.net (Postfix, from userid 58) id C663AD4F1; Sun, 13 Sep 2020 18:25:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1600021500; bh=0JpBnGqY/b3Uc6oW+EVrbGqu1kA0P5bAIGy8xw1wTiI=; h=Date:From:To:Subject; b=v09GwFm0add+7T0h8FlbhmN2ohoUyVYsq5r3SuG5BiaijSBgw9QDYBiVVOOJ4Xabo IOS7Qphk7yFMoqKbpb81bj8M0h20nINBteCMgKQoR09SLdw4oJ9GpLXBt3x+abn0Tb /R6pGCd8nY3GZgdBl1vFMsFPm1PRsD9jGa/joFy8= Received: from mithril.localdomain (lfbn-idf2-1-432-253.w86-246.abo.wanadoo.fr [86.246.140.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.foucry.net (Postfix) with ESMTPSA id 6D659D4ED for ; Sun, 13 Sep 2020 18:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=foucry.net; s=dkim; t=1600021498; bh=0JpBnGqY/b3Uc6oW+EVrbGqu1kA0P5bAIGy8xw1wTiI=; h=Date:From:To:Subject; b=a0Ja4tXXaQVxNzuD9LcxJZvrnTdCw9dLWV3AljP6rOsytWy85hfR0vnW48hLWjrrA HbkheKCbY75yuuTjl9mCV0n/1XByIoW/V0mi36IjHFapZLmhKGG2WHOivAIro9p7Q1 pSY+lWwLDv8xD0kCO9XtVJOBoL9eJ/YlEFB8ZII0= Received: from mithril (localhost [IPv6:::1]) by mithril.localdomain (Postfix) with ESMTP id B1E4A18A56 for ; Sun, 13 Sep 2020 20:24:57 +0200 (CEST) Date: Sun, 13 Sep 2020 20:24:57 +0200 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: mosh, jail and pf Message-ID: <20200913182457.GD76929@mithril> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4BqHwg2rBfz4VF6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=foucry.net header.s=dkim header.b=v09GwFm0; dkim=pass header.d=foucry.net header.s=dkim header.b=a0Ja4tXX; dmarc=pass (policy=none) header.from=foucry.net; spf=pass (mx1.freebsd.org: domain of jacques@foucry.net designates 95.217.83.231 as permitted sender) smtp.mailfrom=jacques@foucry.net X-Spamd-Result: default: False [-3.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; R_DKIM_ALLOW(-0.20)[foucry.net:s=dkim]; 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(-1.02)[-1.019]; MID_RHS_NOT_FQDN(0.50)[]; DKIM_TRACE(0.00)[foucry.net:+]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,none]; NEURAL_HAM_SHORT(-0.83)[-0.831]; NEURAL_HAM_MEDIUM(-1.06)[-1.064]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:95.217.0.0/16, country:DE]; TAGGED_FROM(0.00)[freebsd]; 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: Sun, 13 Sep 2020 18:25:24 -0000 Hello Experts, I would like to use mosh in order to keep some ssh connexion even if close my laptop. mosh is installed on a jail and ssh is listen on port 4243 I tried, from my laptop `mosh --port 60000 --ssh "ssh -t -t -p4243" -- host ssh -t -t jail It does not work and the error is: ``` mosh did not make a successful connection to ww.xx.yy.zz:60000. Please verify that UDP port 60000 is not firewalled and can reach the server. (By default, mosh uses a UDP port between 60000 and 61000. The -p option selects a specific UDP port number.) [mosh is exiting.]``` Looks like a `pf` problem, I need to open the 60000:61000 port range. So I read the pf man page and saw that range are define with a colom: ``Port 2000:2004 means ‘all ports ≥ 2000 and ≤ 2004’, hence ports 2000, 2001, 2002, 2003 and 2004.``` So I defined: `mosh_port = 60000:61000` and the rule: ` But nothing works. So I need your help or advices to configure, I suppose, `pf` to make mosh working for contacting my jails. Thanks in advance -- Jacques Foucry From owner-freebsd-questions@freebsd.org Sun Sep 13 18:49:46 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 8E6033E4229 for ; Sun, 13 Sep 2020 18:49:46 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from electron.ecohosting.co.uk (electron.ecohosting.co.uk [185.53.59.181]) (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 4BqJSn0HdMz4WXy for ; Sun, 13 Sep 2020 18:49:44 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Type:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: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=DpoTWhi/nDZ1K0CArykMiW6/yVukm2nxucWshUBeHLE=; b=Iisf77N/opc98gpUWMFtOqVFn5 GFFYzqfYdt4osSSVmXE/YApGy0Yp4HfC8t/puK3zR016sl/obE0+5PqI/+ttIC+z+sk6g18ojypdE 8ICEKDWJGgfikruF/icWdLuwxeOP4d5GexSF0fzmbUI1XMzn/6mJiYtawHeolIgZTjbSJ4FL58nao J9tjdtlXIy5MVQLYyw8dupWyaLBlBihwpLDpHNAoWuMh6TFmpM/F4kpMMzAmd+5DPxfWff8yYJwCx NZIodGml5G5mKSkmfEHhdyPO3MMeouNBsuWHL5Hrv4pKWIf9Jlq6t+/LLmDZgMu/aN2ItEh0ri3im VqrsoE6Q==; Received: from 82-71-56-121.dsl.in-addr.zen.co.uk ([82.71.56.121]:23877 helo=curlew.milibyte.co.uk) by electron.ecohosting.co.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kHX4C-0007rz-W6 for freebsd-questions@freebsd.org; Sun, 13 Sep 2020 19:49:37 +0100 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.94) (envelope-from ) id 1kHX4B-0005Cn-Kb for freebsd-questions@freebsd.org; Sun, 13 Sep 2020 19:49:36 +0100 From: Mike Clarke To: FreeBSD questions Subject: Problem installing Windows 7 guest with bhyve Date: Sun, 13 Sep 2020 19:49:35 +0100 Message-ID: <1824311.EnoYUHA41c@curlew> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - electron.ecohosting.co.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: electron.ecohosting.co.uk: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: electron.ecohosting.co.uk: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4BqJSn0HdMz4WXy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=Iisf77N/; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 185.53.59.181 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [-1.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_X_SOURCE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; CTE_CASE(0.50)[]; ASN(0.00)[asn:12488, ipnet:185.53.56.0/22, country:GB]; RCVD_TLS_LAST(0.00)[]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.04)[-1.042]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.012]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.16)[0.156]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; 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: Sun, 13 Sep 2020 18:49:46 -0000 I've followed these steps to use vm-bhyve to install a Windows 7 guest on my FreeBSD 12.1 system based on the instructions at http://srobb.net/vm-bhyve.html pkg install vm-bhyve bhyve-firmware zfs create home/NOBACKUP/vm Added vm_enable="YES" and vm_dir="zfs:home/NOBACKUP/vm" to /etc/rc.conf cp /usr/local/share/examples/vm-bhyve/* /nobackup/vm/.templates vm switch create public vm switch add public re0 Placed a copy of the Windows 7 installation ISO into /nobackup/vm/.iso vm create -t windows -s 40G win7 vm install win7 win7.iso vncviewer :5900 The Windows installer started , although it did not respond to my mouse I was able to navigate through the first stages of setup using the keyboard as far as the disk setup screen where I selected 'Disk 0 Unallocated Space' and clicked 'Next'. The installation was then cancelled with the message "Windows could not format a partition on disk 0. The error occurred while preparing the partition selected for installation. Error code: 0x80070057" -- Mike Clarke From owner-freebsd-questions@freebsd.org Sun Sep 13 23:42: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 B389E3ECA45 for ; Sun, 13 Sep 2020 23:42:03 +0000 (UTC) (envelope-from tim@timpreston.net) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 4BqQy24yfbz3grh for ; Sun, 13 Sep 2020 23:42:02 +0000 (UTC) (envelope-from tim@timpreston.net) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C390F5C00F7 for ; Sun, 13 Sep 2020 19:42:01 -0400 (EDT) Received: from imap35 ([10.202.2.85]) by compute2.internal (MEProxy); Sun, 13 Sep 2020 19:42:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timpreston.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=mesmtp; bh=jZDZHluJwHjrYIeTSs8ssz4379Kk M/vyQAeDAK3AUoY=; b=Jjo5+fsqj3AaEvIpssxg2jJSsz5jfJlrSJ74n7jpSntF nNkonagBDjcPwi2OmdSifRT8p9f77xfKDVYxmSnCIB8feTQIAaBh5W1oqho6MoFD EOkvvsYGI/YdGt4VPYkZPHUKoVqMJmF9XEc4sPAGAcAcajSJks2+vxMFa3WIuxk= 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=jZDZHl uJwHjrYIeTSs8ssz4379KkM/vyQAeDAK3AUoY=; b=hBjuzq6wag9HKiqSS/nCdr m45UxcqZGLxTfd4yhpuIg0KNdL4pF9g11FrrAZjaK3YN1zobkz/aaknROLPZJN7R YP7ahTyzZpTliXji1v6swSH9u94Ry+5pGqPP0vyEWaOUsuE7j779wvAVLHWA+7x7 QUtqLclrglFKzSYI1+nlO5l89GKNZs4c54eSt3mhGXDiGjT+PbMQA4M7t05ihVaW VIqNX0VnlQ6ctQFVgONmUFBqusHal9KWAyw3PHWaAtrCwtQjzZ7c/zmzK3UeFh46 kZk3L5hucJDEanzfpUZWbdYI0gehFTLBgNmG0mquoaxMvU7TNDmugGM9W5+o0aQA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeihedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfvfhimhcurfhrvghsthhonhdfuceothhimhesthhimhhp rhgvshhtohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeeuffegjeeltedthefhlefhie etveduffehgedtkefhkeefueejhefhkedthefgieenucffohhmrghinhepfhhrvggvsghs ugdrohhrghdpthgvugdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehtihhmsehtihhmphhrvghsthhonhdrnhgvth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 580BF14C0911; Sun, 13 Sep 2020 19:42:01 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: In-Reply-To: References: Date: Mon, 14 Sep 2020 09:41:36 +1000 From: "Tim Preston" To: freebsd-questions@freebsd.org Subject: Re: USB sound devices with FreeBSD-CURRENT Content-Type: text/plain X-Rspamd-Queue-Id: 4BqQy24yfbz3grh X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=timpreston.net header.s=mesmtp header.b=Jjo5+fsq; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=hBjuzq6w; dmarc=none; spf=pass (mx1.freebsd.org: domain of tim@timpreston.net designates 66.111.4.26 as permitted sender) smtp.mailfrom=tim@timpreston.net X-Spamd-Result: default: False [-2.12 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; R_DKIM_ALLOW(-0.20)[timpreston.net:s=mesmtp,messagingengine.com:s=fm3]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[66.111.4.26:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.019]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[timpreston.net]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.26]; DKIM_TRACE(0.00)[timpreston.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.52)[-0.519]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.26:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_WWW(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: Sun, 13 Sep 2020 23:42:03 -0000 Hi Graham, The best article I've found so far is https://wiki.freebsd.org/Sound Hopefully you can find something useful there. I'm not switching any devices on the fly, but I am combining two USB devices (2 channel audio interface for headphones and a webcam with mic) into a single virtual device with virtual_oss, then run sndio over the top for video chat in both Firefox and Chromium (needs to be compiled with sndio support). Regards, Tim > Date: Sun, 13 Sep 2020 10:21:52 +0100 > From: Graham Perrin > To: FreeBSD CURRENT , FreeBSD questions > > Subject: USB sound devices with FreeBSD-CURRENT > Message-ID: <9551111b-5dfb-c42b-6f58-81f6c8b8bbd1@gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > I'm confused about use of USB devices for audio (primarily with Firefox > and Chromium). > > Re: > > under 'switching dsp-devices on-the-fly' > > > ? hw.snd.default_unit to "0", which will automatically assign > > hw.snd.default_unit to the newly-attached devices. ?" > > ? so in sysctl.conf I experimented with: > > hw.snd.default_unit="0" > > ? and after signing in (to KDE Plasma) I attach first the USB microphone > (Alctron USB700 Alctron USB700) then a USB headset (SteelSeries > SteelSeries Siberia 350). > > virtual_oss and sndiod are enabled. > > With this setup, as far as I can tell: > > 1. Chromium simply does not play AV content e.g. > ? after > a click to play, there's a moment of visual motion but no playback > > 2. if Firefox media.cubeb.backend set to oss then behaviour is the same > as Chromium > > 3. if Firefox media.cubeb.backend is not set (audio backend defaults to > pulse-rust) then playback occurs through IDT 92HD81B1X (Analog) ? not USB. > > ---- > > root@momh167-gjp4-8570p:~ # date ; uname -v > Sun Sep 13 08:25:39 BST 2020 > FreeBSD 13.0-CURRENT #64 r365364: Sun Sep? 6 01:38:18 BST 2020 > root@momh167-gjp4-8570p:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG > root@momh167-gjp4-8570p:~ # service virtual_oss start ; service sndiod > start ; service virtual_oss status ; service sndiod status ; cat > /dev/sndstat ; grep " -f /dev/" /usr/local/etc/rc.d/virtual_oss | grep > -v \# ; sysctl hw.snd.default_unit > Starting Virtual OSS config dsp ...hw.snd.basename_clone: 0 -> 0 > ?done > Starting sndiod. > virtual_oss is running as pid 5688. > sndiod is running as pid 5697. > Installed devices: > pcm0: (play) default > pcm1: (play/rec) > pcm2: (play/rec) > pcm3: (rec) > pcm4: (play/rec) > Installed devices from userspace: > dsp: (play/rec) > ? -f /dev/dsp0 \ > hw.snd.default_unit: 0 > root@momh167-gjp4-8570p:~ # > > ---- > > In addition, as far as I can tell: > > 4. if I remove then reconnect the two USB devices, the devices are no > longer driven > > * neither device 'lights up' > > * playback in Firefox (with oss) and Chromium is visible, but no longer > audible on any device > > * playback in Firefox (with puse-rust) is visible, but no longer audible > on any device. > > ---- > > root@momh167-gjp4-8570p:~ # grep Alctron /var/log/messages > Sep 13 06:17:08 momh167-gjp4-8570p kernel: ugen0.7: Alctron USB700> at usbus0 (disconnected) > Sep 13 06:19:07 momh167-gjp4-8570p kernel: ugen0.3: Alctron USB700> at usbus0 > Sep 13 06:19:07 momh167-gjp4-8570p kernel: uaudio0: Alctron USB700, class 0/0, rev 1.10/1.00, addr 11> on usbus0 > Sep 13 06:19:07 momh167-gjp4-8570p kernel: uhid1: Alctron USB700, class 0/0, rev 1.10/1.00, addr 11> on usbus0 > Sep 13 09:13:08 momh167-gjp4-8570p kernel: ugen0.5: Alctron USB700> at usbus0 > Sep 13 09:13:08 momh167-gjp4-8570p kernel: uaudio1: Alctron USB700, class 0/0, rev 1.10/1.00, addr 4> on usbus0 > Sep 13 09:13:08 momh167-gjp4-8570p kernel: uhid0: Alctron USB700, class 0/0, rev 1.10/1.00, addr 4> on usbus0 > Sep 13 09:48:51 momh167-gjp4-8570p kernel: ugen0.5: Alctron USB700> at usbus0 (disconnected) > root@momh167-gjp4-8570p:~ # grep SteelSeries /var/log/messages > Sep 13 06:17:22 momh167-gjp4-8570p kernel: ugen0.6: SteelSeries Siberia 350> at usbus0 (disconnected) > Sep 13 06:17:51 momh167-gjp4-8570p kernel: ugen0.6: SteelSeries Siberia 350> at usbus0 > Sep 13 06:17:51 momh167-gjp4-8570p kernel: uaudio0: SteelSeries Siberia 350, class 0/0, rev 1.10/2.08, addr 10> on usbus0 > Sep 13 06:19:00 momh167-gjp4-8570p kernel: ugen0.6: SteelSeries Siberia 350> at usbus0 (disconnected) > Sep 13 06:19:12 momh167-gjp4-8570p kernel: ugen0.7: SteelSeries Siberia 350> at usbus0 > Sep 13 06:19:12 momh167-gjp4-8570p kernel: uaudio1: SteelSeries Siberia 350, class 0/0, rev 1.10/2.08, addr 13> on usbus0 > Sep 13 09:13:08 momh167-gjp4-8570p kernel: ugen0.4: SteelSeries Siberia 350> at usbus0 > Sep 13 09:13:08 momh167-gjp4-8570p kernel: uaudio0: SteelSeries Siberia 350, class 0/0, rev 1.10/2.08, addr 3> on usbus0 > root@momh167-gjp4-8570p:~ # tail /var/log/messages > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound > application to exit! > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound > application to exit! > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound > application to exit! > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound > application to exit! > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: unregister: mixer busy > Sep 13 10:11:39 momh167-gjp4-8570p kernel: pcm4: Waiting for sound > application to exit! > root@momh167-gjp4-8570p:~ # > > ---- > > Clearly I'm doing something wrong. > > If on-the-fly use of USB audio devices is not possible, then must I keep > the devices connected whilst I'm signed in to the desktop environment? > From owner-freebsd-questions@freebsd.org Mon Sep 14 18:09: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 8656A3DE8A0 for ; Mon, 14 Sep 2020 18:09:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqvWr2TLWz46LS for ; Mon, 14 Sep 2020 18:09:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by mailman.nyi.freebsd.org (Postfix) id 534433DE89F; Mon, 14 Sep 2020 18:09:28 +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 530703DE903 for ; Mon, 14 Sep 2020 18:09:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 4BqvWq1xFpz46WY for ; Mon, 14 Sep 2020 18:09:27 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.be-well.ilk.org (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id CDB0733C1E; Mon, 14 Sep 2020 14:09:15 -0400 (EDT) Received: by lowell-desk.be-well.ilk.org (Postfix, from userid 1147) id 47CB41632ADF; Mon, 14 Sep 2020 14:09:14 -0400 (EDT) From: Lowell Gilbert To: Kevin Oberman Cc: "freebsd-questions@freebsd.org" Subject: Re: ipfw matching traffic to broadcast (255.255.255.255) References: Reply-To: "freebsd-questions@freebsd.org" Date: Mon, 14 Sep 2020 14:09:13 -0400 In-Reply-To: (Kevin Oberman's message of "Fri, 11 Sep 2020 14:37:31 -0700") Message-ID: <44y2lc2pti.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4BqvWq1xFpz46WY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-questions-local@be-well.ilk.org has no SPF policy when checking 23.30.133.173) smtp.mailfrom=freebsd-questions-local@be-well.ilk.org X-Spamd-Result: default: False [0.82 / 15.00]; HAS_REPLYTO(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-0.35)[-0.353]; NEURAL_SPAM_SHORT(0.03)[0.033]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[ilk.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.14)[0.137]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; 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:7922, ipnet:23.30.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; 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: Mon, 14 Sep 2020 18:09:28 -0000 Kevin Oberman writes: > 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? The second "3220" reference in that question is clearly supposed to be 5999. Offhand, I don't see why your 3220 is failing to match. One guess would be that there could be a "skipto" type rule that jumps ahead. One way to diagnose this would be to put a rule right after 3220 to see if it gets hit. I think a count rule might help, (although there are some strange aspects to "count" that I don't recall offhand). Perhaps even try several such rules; trying to match it different ways might improve the odds of turning up a clue. Adding a "log" modifier to 3220 might tell you something as well, although I wouldn't bet on it. Something special related to broadcast could be happening here, because 3220 won't necessarily stop these packets that might be seen elsewhere -- especially if the host running ipfw isn't the access point. Also note that port 9050 is officially registered, even though you're probably dealing with an unofficial use. Good luck. From owner-freebsd-questions@freebsd.org Tue Sep 15 08:02: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 D9CA73F3F24 for ; Tue, 15 Sep 2020 08:02:59 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) 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 4BrG1b4xNhz3W8D for ; Tue, 15 Sep 2020 08:02:59 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: by mailman.nyi.freebsd.org (Postfix) id A95D43F4286; Tue, 15 Sep 2020 08:02: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 A921C3F3F23 for ; Tue, 15 Sep 2020 08:02:59 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl3.internode.on.net (ipmail05.adl3.internode.on.net [150.101.137.13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BrG1Z0RZBz3WH7 for ; Tue, 15 Sep 2020 08:02:57 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) X-SMTP-MATCH: 0 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2DUBQCtdGBf/wR/Ag5dAx0BAQEBCQE?= =?us-ascii?q?SAQUFAUAHgUiDBWqFGIkChiOBZggmg3qWOoFpCwE9AQIEAQGERQQCAoIeJTg?= =?us-ascii?q?TAhABAQYBAQEBAQYEhlWFcwEFIzMzCw4KAgIRBw4CAlcGAQwIAQGDIoJ8tgm?= =?us-ascii?q?BMoVThRaBDiqOBoFBgTgMgl0+ER+DRi85HgiCUIJgBJtSUJpkggNsmjQFKKB?= =?us-ascii?q?tkmGheIF6MxohgzxPGQ2cdjRnAgYKAQEDCVcBj3gBAQ?= Received: from ppp14-2-127-4.adl-apt-pir-bras32.tpg.internode.on.net (HELO leader.local) ([14.2.127.4]) by ipmail05.adl3.internode.on.net with ESMTP; 15 Sep 2020 17:31:58 +0930 Subject: Re: ipfw matching traffic to broadcast (255.255.255.255) To: Kevin Oberman , "freebsd-questions@freebsd.org" References: From: Shane Ambler Message-ID: Date: Tue, 15 Sep 2020 17:31:56 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BrG1Z0RZBz3WH7 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of FreeBSD@shaneware.biz has no SPF policy when checking 150.101.137.13) smtp.mailfrom=FreeBSD@shaneware.biz X-Spamd-Result: default: False [1.67 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.06)[0.056]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ShaneWare.Biz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.33)[0.332]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.28)[0.282]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; 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:4739, ipnet:150.101.0.0/16, country:AU]; RCVD_COUNT_TWO(0.00)[2]; 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, 15 Sep 2020 08:02:59 -0000 On 12/9/20 7:07 am, Kevin Oberman wrote: > 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? While man ipfw says that " 'any' matches any IP address", you should note that a broadcast address is a special IP address which means every IP in the subnet. I had trouble getting a minidlna server to respond on my home network, the dlna client broadcasts on a udp port to discover servers, to get it through my firewall I needed to specifically allow packets to the broadcast address rather than to any. This worked for me - ipfw add 5880 pass udp from any to 239.255.255.250 dst-port 1900 So try ipfw add 3220 deny udp from 192.168.1.18 9050 to 255.255.255.255 9050 or to account for dynamic addresses ipfw add 3220 deny udp from any to 255.255.255.255 9050 -- FreeBSD - the place to B...Silencing Data Shane Ambler From owner-freebsd-questions@freebsd.org Tue Sep 15 16:36: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 CAB563D81EA for ; Tue, 15 Sep 2020 16:36:03 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrTPZ4fhqz4Kjl for ; Tue, 15 Sep 2020 16:36:02 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BrTPX1yg9zFpPC for ; Tue, 15 Sep 2020 09:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600187760; bh=W5HArf+HsOR+COwOXO3jdRmvDPKFzmSz4ZYgHHX24Qk=; h=Date:From:To:Subject:In-Reply-To:References:From; b=IHMfA5Fmpqjmyp0MUHbQZwReOJ601XLkx3VOhTotlPMtMIcnS9Ekn1uQ/Dmn08glZ 19ycYXFIKYZFyML21cMaqRpSJdslUKWNbndlYacKdEqRGc/NYIdm1l5wWNq4AG/mu6 cjVqamfSjgmR5wwnlGuLv0cDQw8q3KUWS9X46X00= X-Riseup-User-ID: 98467DD69231128C6B3D82461C46DD5956E1592C02EEAE32989D788494383122 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 4BrTPW4Txdz8t5C for ; Tue, 15 Sep 2020 09:35:59 -0700 (PDT) Date: Tue, 15 Sep 2020 18:35:58 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: USB sound devices with FreeBSD-CURRENT Message-ID: <20200915183558.142cce6e@archlinux> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BrTPZ4fhqz4Kjl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=IHMfA5Fm; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-3.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-0.90)[-0.897]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; 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]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-0.47)[-0.467]; NEURAL_HAM_LONG(-1.01)[-1.007]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129: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: Tue, 15 Sep 2020 16:36:03 -0000 Hi, disclaimer: My domain is audio, but I'm a Linux power user, so this hint might be useless for FreeBSD. It's possible to compile Firefox with ac_add_options --enable-jack to enable support for the jack sound server. I suspect this should work for FreeBSD, too, but I'm not sure, if it helps as a workaround with your particular issue. Regards, Ralf From owner-freebsd-questions@freebsd.org Tue Sep 15 16:50:35 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 284B63D8DA5 for ; Tue, 15 Sep 2020 16:50:35 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrTkL1gL3z4LY7 for ; Tue, 15 Sep 2020 16:50:34 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BrTkF0QlQzFpPC for ; Tue, 15 Sep 2020 09:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600188632; bh=ojm4p09ZkQZcdlbs8jQVx6EfcBiKgDJQAF+xT8fjhpo=; h=Date:From:To:Subject:In-Reply-To:References:From; b=U3/cmvYeLwRLwzb36sHMLIaVCNRanno5y+j9wbdPoOmu5GtXV+vYYozH5LL56vIJY hH+yYuh5sTN7U/GpWlG0QAZMQVrjZ897Ef0e/DklnxpeoGCzW1frs2R+xtgyh7PuLq eEUb7JGCaBdcRIFIiigLjFiJffA6dWXt38I5R6nA= X-Riseup-User-ID: 82EFB6C2BFBE9BFB4281CB815DDEA68D4B46A3E93BD65D319908F90955649E46 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 4BrTkD1Wbyz8vXG for ; Tue, 15 Sep 2020 09:50:28 -0700 (PDT) Date: Tue, 15 Sep 2020 18:50:27 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: USB sound devices with FreeBSD-CURRENT Message-ID: <20200915185027.5baf8b53@archlinux> In-Reply-To: <20200915183558.142cce6e@archlinux> References: <20200915183558.142cce6e@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BrTkL1gL3z4LY7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=U3/cmvYe; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-3.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-0.90)[-0.896]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; 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]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-0.47)[-0.468]; NEURAL_HAM_LONG(-1.01)[-1.007]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129: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: Tue, 15 Sep 2020 16:50:35 -0000 On Tue, 15 Sep 2020 18:35:58 +0200, Ralf Mardorf wrote: >disclaimer: My domain is audio, but I'm a Linux power user, so this >hint might be useless for FreeBSD. > >It's possible to compile Firefox with > > ac_add_options --enable-jack > >to enable support for the jack sound server. I suspect this should work >for FreeBSD, too, but I'm not sure, if it helps as a workaround with >your particular issue. PS: I forget to mention, that in my experiences Firefox failed to build in a 3.9G tmpfs (on Linux). It requires much space, at least 1 bit more than 3.9G and it takes way longer than compiling a bloated (not tailored) Linux kernel. Compiling Firefox takes resources and/or time. From owner-freebsd-questions@freebsd.org Tue Sep 15 18:45: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 2BC4E3DC7EB for ; Tue, 15 Sep 2020 18:45:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (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 4BrXGq5n2Cz4T50 for ; Tue, 15 Sep 2020 18:45:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x243.google.com with SMTP id i17so5024305oig.10 for ; Tue, 15 Sep 2020 11:45:23 -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=zuklCNwD/uka6InuVaVRYL5+s1Aqo/Vb62VBOHVhVfs=; b=EOdiKeYJpYxcUQDBouOJaWRXjitkGXGbsR5jYzIF4kwfvrAKYzJc0DLaQ0wN7ZZfy0 wCSOT9W5IPRj4pW8SGZjzqu+50+NDmy+n9uJWVn5SGnbhn+uzQpo3LZ+gc3teNcpMPpN PRSnVS8VXAo+DBu2hsRbDeHODEkibyBsLUyXO+GTRajvgcRonLgtM7Pizd25PW/Lk59v fmV/7Mm0jJiI7S1m35YTDLm6m+cOjZDlcxSyRMd25yfpwpcM/fiWHfFGEbBRaFHWEHT+ wVsiBNNK945EV52Nwp//+KW8hLS6NzHIuG2z/4WZPqeGURQOxek/cFBSfj6p5jDrzZ9T IQrw== 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=zuklCNwD/uka6InuVaVRYL5+s1Aqo/Vb62VBOHVhVfs=; b=C32DveAwR3/uosYFWKQr0EiumZsBnWzBSWDLCUcC5aPMrXQ5WVvuVDINwO0pFBeKpB LwwWAgA9iKbhPbZZXcWs3xSit4LHyqn5y5pV7eIO8Cmj+0zuzlUWeIvEP2uMb1fqjEJ5 8r3VSG2/RT7PDGBFQi6ivROlRKQIPKH4V/qC2oTRboJsNNaY0Po7NNIb9WXHsIIv3Zqe GsooZl6VxuqOoDeonmWHX0LnFt5kBWhnNKX7vpIFbDr2VhpPVllWOtK8sqXh0z9mYHmG fWlhM18UW3IdmkFT659L0Lc2aOcGqnBjPUDhWNfnI0Q5wDnRgFkWJ8pnV8yxpnncaFFW 5HTg== X-Gm-Message-State: AOAM530f0vUbQXyC3ltTsEjGQu2wbryRtEXimXsaOdlG7rgwz5/5Ee85 1orMznEWm3YVpICzq7TKNkJ1olG/Wf0bIYAI7b4FjtlGy1Q= X-Google-Smtp-Source: ABdhPJzihPw7ATR9nkHoJ911bGyVBxgOyGsx8k3WvsqnZqvWmL2vXUGFkhLpbWo9aybgfglA4hAH5dt9A3YyggGTcGw= X-Received: by 2002:aca:d946:: with SMTP id q67mr553080oig.27.1600195522400; Tue, 15 Sep 2020 11:45:22 -0700 (PDT) MIME-Version: 1.0 References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> In-Reply-To: <20200915185027.5baf8b53@archlinux> From: Kevin Oberman Date: Tue, 15 Sep 2020 11:45:06 -0700 Message-ID: Subject: Re: USB sound devices with FreeBSD-CURRENT To: Ralf Mardorf Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BrXGq5n2Cz4T50 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EOdiKeYJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::243 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.07 / 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]; 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.02)[-1.023]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.63)[0.627]; NEURAL_HAM_LONG(-0.98)[-0.977]; 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::243: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: Tue, 15 Sep 2020 18:45:25 -0000 I have a build of Firefox in progress and see no use of /tmp. Not sure about what Linux uses tmpfs for, so probably not relevant. In any case, Firefox takes about 2.25 hours to build on my 9.5 year old ThinkPad T520. That is about less than for many ports. Libreoffice takes about 4 hours and Chromium took over 13 hours the last time I built it. That was months ago as I have banished it for its egregious data collection, not to mention over half a day to build. Still, building Firefox does take time (computer's, not mine) and resources. I'm just confused as to what the audio system selection should make a difference as long as it works for wired audio. I use an external Bluetooth transmitter for audio out on my old, Bluetooth free laptop, so I am likely missing something fundamental. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Tue, Sep 15, 2020 at 9:50 AM Ralf Mardorf wrote: > On Tue, 15 Sep 2020 18:35:58 +0200, Ralf Mardorf wrote: > >disclaimer: My domain is audio, but I'm a Linux power user, so this > >hint might be useless for FreeBSD. > > > >It's possible to compile Firefox with > > > > ac_add_options --enable-jack > > > >to enable support for the jack sound server. I suspect this should work > >for FreeBSD, too, but I'm not sure, if it helps as a workaround with > >your particular issue. > > PS: I forget to mention, that in my experiences Firefox failed to build > in a 3.9G tmpfs (on Linux). It requires much space, at least 1 bit more > than 3.9G and it takes way longer than compiling a bloated (not > tailored) Linux kernel. Compiling Firefox takes resources and/or time. > > _______________________________________________ > 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 15 19:37: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 30F893DDCFB for ; Tue, 15 Sep 2020 19:37:58 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 4BrYRT323tz4Xqj for ; Tue, 15 Sep 2020 19:37:57 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id g4so4247404edk.0 for ; Tue, 15 Sep 2020 12:37:57 -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=ksV2/JeYRrO6s+v+DbdILhMEC7B1HwG1MqSD56Wa4Es=; b=GNFbiAWnghKrvEfXsQCOlvDff55vGjpRccaz66lrHQnC+6eiLEtWhHd+tsfelC3IIs ZAZ0DggHzCOy6/pDnabss2AK2eoZyakQR5ZKNnDR1mYbUqQ2tr03dSfi4yTwov3dbgWi ZKLGfWfflsE0aZBTNKzR7A+H+pMDcmqUyFonnqZhRaaHXLJeLiEEmkMojlancctOY1vj 00NREjj2j7C9Q8VL+v9i7fSgctrWUEgNd+GZgaqKyUDXeaxH1LJ4yY/AgbUGkM1UChAd LNZrncDheWBwi/AbHGCpj1A6uQAdLINLKb+6yT4+wWzqKxROlNVn7Mkr+IviWKGEfwoQ pTTQ== 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=ksV2/JeYRrO6s+v+DbdILhMEC7B1HwG1MqSD56Wa4Es=; b=Sm2K1I36bOSpyOQlrpl4kxj8EmlbX6DmnOghw9PPdPRvaSH/LRfFPx0qTPbf+7rVlx ydJPY4GDyBCSonm4/tnlibIcjMlz/qeLl7SbgRaRiD7UQsnqbIxwt5PEgwsQ0+792xzo HDl2aGh+UnODJE6sNRLslq+ifWkH+pzgKMtXP4bYnr9lzfaZwz1ZvqY4x3G/hQUb9R4s fZ0LNDfMxRjY1uqOMRsgYsLIPDJHEluta1y2CXA4krwJycs9iVEymOYghEC0o9zoQ91l eJVrPugpU1fOCJAibETBs4p7z9p8NYor3yzFmgnt7YpnSWfgIrBmIjOt6y1DYh/tW9xM VSHg== X-Gm-Message-State: AOAM531ryCKAMve8gm+KA5/artYPlZGvsJLZbSr/OijJ+ytv888O5LcI Rg1fAOYxixJXbg5GzY0wokaavKn1e/8cWJjiXkU= X-Google-Smtp-Source: ABdhPJyrYA7Feiu+VaG5DRtpAD3MCYbVFUceVy7xz10PoHMcf9qpEadSuWDr6fIz6lkGf/yvB56YlFcT9quR++wfD9Q= X-Received: by 2002:a50:ee10:: with SMTP id g16mr25119374eds.258.1600198675714; Tue, 15 Sep 2020 12:37:55 -0700 (PDT) MIME-Version: 1.0 References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> In-Reply-To: From: Waitman Gobble Date: Tue, 15 Sep 2020 15:37:42 -0400 Message-ID: Subject: Re: USB sound devices with FreeBSD-CURRENT To: Kevin Oberman Cc: Ralf Mardorf , FreeBSD X-Rspamd-Queue-Id: 4BrYRT323tz4Xqj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GNFbiAWn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gobblewa@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=gobblewa@gmail.com X-Spamd-Result: default: False [-3.48 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.49)[-0.494]; FREEMAIL_TO(0.00)[gmail.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:2a00:1450::/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.987]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; 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)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530: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: Tue, 15 Sep 2020 19:37:58 -0000 On Tue, Sep 15, 2020, 2:45 PM Kevin Oberman wrote: > I have a build of Firefox in progress and see no use of /tmp. Not sure > about what Linux uses tmpfs for, so probably not relevant. > > In any case, Firefox takes about 2.25 hours to build on my 9.5 year old > ThinkPad T520. That is about less than for many ports. Libreoffice takes > about 4 hours and Chromium took over 13 hours the last time I built it. > That was months ago as I have banished it for its egregious data > collection, not to mention over half a day to build. Still, building > Firefox does take time (computer's, not mine) and resources. > > I'm just confused as to what the audio system selection should make a > difference as long as it works for wired audio. I use an external Bluetooth > transmitter for audio out on my old, Bluetooth free laptop, so I am likely > missing something fundamental. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > On Tue, Sep 15, 2020 at 9:50 AM Ralf Mardorf > wrote: > > > On Tue, 15 Sep 2020 18:35:58 +0200, Ralf Mardorf wrote: > > >disclaimer: My domain is audio, but I'm a Linux power user, so this > > >hint might be useless for FreeBSD. > > > > > >It's possible to compile Firefox with > > > > > > ac_add_options --enable-jack > > > > > >to enable support for the jack sound server. I suspect this should work > > >for FreeBSD, too, but I'm not sure, if it helps as a workaround with > > >your particular issue. > > > > PS: I forget to mention, that in my experiences Firefox failed to build > > in a 3.9G tmpfs (on Linux). It requires much space, at least 1 bit more > > than 3.9G and it takes way longer than compiling a bloated (not > > tailored) Linux kernel. Compiling Firefox takes resources and/or time. > > I believe you want sndio. You could choose pulseaudio if you are using that > on your system. > From owner-freebsd-questions@freebsd.org Tue Sep 15 21:34: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 0C1983E0E17 for ; Tue, 15 Sep 2020 21:34:40 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10olkn2013.outbound.protection.outlook.com [40.92.42.13]) (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 4Brc266bw9z3S82 for ; Tue, 15 Sep 2020 21:34:38 +0000 (UTC) (envelope-from dead_line@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kskQ5VS32KFtU/P4nsmE8zK0t9EZ2kYkzlZorQUFFznurEgTVofAVSqlflyZyjYTgsJ42LxJ2Dl0qpOM1mx53lRVbBC8n1T/s26/8KNmK6OV514no308SJrCn8HEiDI9u9dmNArWQFDQZVN94HgcymnlKE26/LOqF6bu3uircYcBHyHyVKb4zViuqXeLgH4KfXgUhDl0p0EOmR6IAFt5fCO5SlulqnE2et7V718rji83a3+Id4ETM1xrWYU1VTP0IkoqLmWcBHN6xsErEZEiPWMbwJg8h8f95BB9gqzDd63gRL/IsrE5F5Iw/xU8QcQd2eDbXNVJXzk1IOVs0Kvmew== 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=DAoc2BeqjdEVUn9JR4LVIu76b+9AslAxaJxjTAAi/ik=; b=mq2Yy2RLO/QzGbHaI5zmJ64fYDpTZSl0diRXbiJ3iK7Ht5TVQELcGWhjsUDff75EmsxUuzPpLg10d4kV4338k1BFOs3oucNGMAyx+FldnzU7F+QTbn2z+8VCPdWPPB/nZDDFQ77Llx90zpHPR27DmTdclVYILwWZAxpRInnOtbme4d/Q6h16CKbgVjyPf4PYIU4zX+6ECUCRVyW8XghM13tGQe9TuCgKn5iecsyokDi2VGDqQU3VoVxROek5TUuDJ6mDAtC5M3H1CqZtVwinbPdNzqliHE2U1d6+4oAQzautBAk2ssE1+YIeL430clQ9QsNmAh/t3m2dhIX1J1y3HQ== 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=DAoc2BeqjdEVUn9JR4LVIu76b+9AslAxaJxjTAAi/ik=; b=MRfxuus0KuXC5uxyZ+CpMgWjo0/1YsrxlMlnA4V5SQHlKUrv9tZRXnlZB7usj3lktsxWEMjaKQxHDCZioP1a9bHdTlsqN81WhGjLEmjz/eNQfhMLpWHycyfmf1loRRUQsIxHOmeuoJRAUaKOndBm/GK6NA89SMlFFoTnZNqUYAXYdTBw+azFUgcF89zbMbUDJ16cP+ne8OdhgphMFVDcMPNCDIEpVNTdexTc4wjBTXWAzBloeQsx9EjGclPElb5htHdLtv8ugqSuSkEp9T/HN15SfLC5wDbQsqH95NdVWUrqBnf9HcsNzsmajbhOJ2AkZ+VtmysyTaKaO7sqjN+T+g== Received: from BN7NAM10FT025.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::47) by BN7NAM10HT216.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::471) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Tue, 15 Sep 2020 21:34:35 +0000 Received: from MWHPR06MB3247.namprd06.prod.outlook.com (2a01:111:e400:7e8f::4a) by BN7NAM10FT025.mail.protection.outlook.com (2a01:111:e400:7e8f::100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Tue, 15 Sep 2020 21:34:35 +0000 Received: from MWHPR06MB3247.namprd06.prod.outlook.com ([fe80::151c:bf35:d08e:cad6]) by MWHPR06MB3247.namprd06.prod.outlook.com ([fe80::151c:bf35:d08e:cad6%7]) with mapi id 15.20.3370.019; Tue, 15 Sep 2020 21:34:35 +0000 From: Marwan Sultan To: FreeBSD Questions Subject: partitioning server with 2 hard drives Thread-Topic: partitioning server with 2 hard drives Thread-Index: AQHWi6Zu3TASAygamEOMRviPurtDDw== Date: Tue, 15 Sep 2020 21:34:35 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:01235D4FE62B50F34F72A85497E6450A4FEB4690CD8C1CE7D6B94F912268C8DB; UpperCasedChecksum:9C0F54F5B428DF3ABD5C1AAE749E0177C5FDC9932F1ECB669F97A2F261D18B89; SizeAsReceived:2577; Count:41 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [uaqRVRf6IUqtjFiK6XSzKzcNr0GGYrdK] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: a5eab657-4892-4e84-90de-08d859bf2474 x-ms-traffictypediagnostic: BN7NAM10HT216: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5v4x3m8/5o3sWU3vJB9VC8+sXqzvDJ4n33H661IO0hJ5Up06zZrqLK7RxmJ+UmTLmoecZwyF80hsOohYeJ8x/mwY1pIZDRTMRmXZMG8tkQWCUQhi9HdNG8iFGiwhiktEM9FY7jeL07Px1/TytX+tN8CcDB52M9FxngA7K9mJ0glEGUQAg6lU9SpMLWuaesnF x-ms-exchange-antispam-messagedata: xEm3pwBuf9wbqeb6q787x6zT0v7QfTVPqRo+yHyYPCTrcFAgh3MrdsbK2WqJn4qCBMRIG6wjelFPNb74SZQDOHNaI9w0bWYRxD//dyhG9NwDuMau8GPIkU5OE/zU/KKCqLm9SCJprQmYLaCN9P+m+Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: BN7NAM10FT025.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: a5eab657-4892-4e84-90de-08d859bf2474 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Sep 2020 21:34:35.7300 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT216 X-Rspamd-Queue-Id: 4Brc266bw9z3S82 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=MRfxuus0; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of dead_line@hotmail.com designates 40.92.42.13 as permitted sender) smtp.mailfrom=dead_line@hotmail.com X-Spamd-Result: default: False [-4.42 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.42.13:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; NEURAL_HAM_LONG(-1.00)[-0.999]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.42.13:from]; NEURAL_HAM_SHORT(-0.53)[-0.528]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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, 15 Sep 2020 21:34:40 -0000 R29vZCBkYXkvRXZlbmluZyBmb3IgYWxsIEZyZWVCU0RlcnMg8J+Zgg0KDQogSSB3YW50IHRvIGlu c3RhbGwgbGF0ZXN0IEZyZWVCU0QgZm9yIGEgYnVzaW5lc3Mgc2VydmVyDQogZXJ2ZXIgd2l0aCB0 aGUgZm9sbG93aW5nIHNwZWNpZmljYXRpb24uIDoNCiBJbnRlbCBYZW9uIEUzLTEyNDAgdjUgMy41 R0h6DQpIYXJkd2FyZSBSQUlEIENvbnRyb2xsZXIgMSBHQiBDYWNoZSB3aXRoIEJCVQ0KMTYgR0Ig RERSNCBSQU0gLSBUb3RhbA0KMSBUQiA3MjAwIFNBVEENCjEgVEIgNzIwMCBTQVRBDQoNCkkgdW5k ZXJzdGFuZCBpdHMgYWR2aXNlZCB0byBjcmVhdGUgaXQgaW4gdGhpcyBvcmRlciBhbmQgU1dBUCBk b3VibGUgKG9yIHRyaXBsZSkgb2YgdGhlIFJBTSAoaXMgNTAgR0Igb2spID8NCi8NCnN3YXANCnZh cg0KL3RtcA0KL3Vzcg0KDQpRdWVzdGlvbnMgOg0KDQogIDEuICBXb3VsZCB5b3Uga2luZGx5IGFk dmlzZSB3aGF0IGlzIHRoZSBiZXN0IHBhcnRpdGlvbmluZyBzY2hlbWUgb24gMiBoYXJkIGRyaXZl cz8NCiAgMi4gIGluIEZyZWVCU0QgaGFuZGJvb2sgc2F5cyBpIHdvdWxkIGJldHRlciBjcmVhdGUg c3dhcCBvbiBib3RoIHBhcnRpdGlvbnM/IG1heSBzb21lb25lIGFkdmlzZSBIT1cgYW5kIFdIWSA/ DQoNCiBJJ20gYSBsaXR0bGUgY29uZnVzZWQgYmVjYXVzZSBvZiB0aGUgMiBoYXJkIGRyaXZlcy4N Cg0KdGhhbmsgeW91IGZvciB5b3VyIGhlbHANCg0KDQogICogICBNYXJ3YW4NCg0K From owner-freebsd-questions@freebsd.org Tue Sep 15 21:48:55 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 9F6D83E1577 for ; Tue, 15 Sep 2020 21:48:55 +0000 (UTC) (envelope-from kudzu@tenebras.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 4BrcLZ6l09z3TRp for ; Tue, 15 Sep 2020 21:48:54 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x22b.google.com with SMTP id u4so4107969ljd.10 for ; Tue, 15 Sep 2020 14:48:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q6oapK0uTB/yaF9SQ1fPdgkhU4y4SwX3w7H0DtZqyBs=; b=VnlaPJoK9LSH7GvPsTTmIM8xFJ4g0d7hQiQRQfBsDu4cOQRMDeGmf+TwGS4s9mmZJj Ssurdg5RRHLscr6KYK/tT46cz/wAyZy0HalLnT7kH+hEqtD5RzsGNf7SYGK1imcqHX+N m7Dx/2srlgVyI3mZdhcFywk57qul3gMN5QkKOFL6uWy4ssjNd7XVgJIyy1GlkSa3idvA Vzi4RuR5G6I8Zb12MSDpSOzo9VKhpwrqeCJ9uXpCxqItdB7RFI43bS5uyRQYz7H7wZJO u1kN/MBuGpX6/u5LYpdM8NTZSGiWQJtHVmF/vvGKWqc8lJEMXfSFTqNK8dPPqloxxd42 km6w== 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=Q6oapK0uTB/yaF9SQ1fPdgkhU4y4SwX3w7H0DtZqyBs=; b=MzdwLw0REcXDaLa66HuHPN3Ll9ReY4L+I9Fpw2NH4hxAzr8hvf5rISKwQeWsnQz7mb +lP6rr9IXRW3XghWVSnnyTwMrOJ7Ybc+6sBBAmnjx490zuD0V1zuKcNmzbc4lSTT2RR0 6U/EfbAl9Ka84iRu1STQDZL9aQoqEHk37hLZIzf3dAbvchJ/VqGJEKRsiyhSDezr4rl6 l5FC1ukJGOABAkE+5I8Rd6jdtkYkE/VpomYrq+er+dJuWXNxTDen/fYuzx5YmdZPlyXC SvfbqJd3H1qNASvKreZhfKMcSKjMtIavIcKj20xsYmQFo8+yoqA3s41TF6ZwhGyYKmH8 ZvsQ== X-Gm-Message-State: AOAM533bx/UzFGFH2q3AzSWdFYMzYdiOMlLlTnTkuTZwggBTl61yot/t LwBynbajNtB53v6RCO0dejzpDkW2mD5qHZycgxVfAg== X-Google-Smtp-Source: ABdhPJx4A70bWGvEvn4V86+MTOe8liLIJMGiU4X8892jV9uKzZcGXNuHlbvgJzVQ8uze0GkyFIS9wV5T2cMoYJ3Uz00= X-Received: by 2002:a2e:760e:: with SMTP id r14mr6934219ljc.331.1600206532769; Tue, 15 Sep 2020 14:48:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Michael Sierchio Date: Tue, 15 Sep 2020 14:48:16 -0700 Message-ID: Subject: Re: partitioning server with 2 hard drives To: Marwan Sultan Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4BrcLZ6l09z3TRp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=VnlaPJoK; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::22b) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-1.86 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-0.88)[-0.880]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.29)[0.286]; NEURAL_HAM_LONG(-0.97)[-0.966]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22b:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; 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, 15 Sep 2020 21:48:55 -0000 On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan wrote= : > Good day/Evening for all FreeBSDers =F0=9F=99=82 > > I want to install latest FreeBSD for a business server > erver with the following specification. : > Intel Xeon E3-1240 v5 3.5GHz > Hardware RAID Controller 1 GB Cache with BBU > 16 GB DDR4 RAM - Total > 1 TB 7200 SATA > 1 TB 7200 SATA > > I understand its advised to create it in this order and SWAP double (or > triple) of the RAM (is 50 GB ok) ? > / > swap > var > /tmp > /usr > The swap advice is obsolete and deprecated. With only two drives, you'll have to decide whether to RAID1 or not. I'm a firm believer that any world-writable directory ( /tmp, /var/tmp ) should be a separate filesystem w/ rw,noexec,nosuid. I think that an 8GB swap partition on each drive would be more than enough. You can extrapolate from this. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Tue Sep 15 21:58: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 0EB653E19AC for ; Tue, 15 Sep 2020 21:58:53 +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 4BrcZ429Pmz3TlK for ; Tue, 15 Sep 2020 21:58:52 +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 970FD4E64C for ; Tue, 15 Sep 2020 16:58:46 -0500 (CDT) Subject: Re: partitioning server with 2 hard drives To: freebsd-questions@freebsd.org References: From: Valeri Galtsev Message-ID: Date: Tue, 15 Sep 2020 16:58:46 -0500 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: 8bit X-Rspamd-Queue-Id: 4BrcZ429Pmz3TlK 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 [1.34 / 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_SPAM_SHORT(0.43)[0.428]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.77)[0.768]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.04)[0.043]; 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: Tue, 15 Sep 2020 21:58:53 -0000 On 2020-09-15 16:48, Michael Sierchio wrote: > On Tue, Sep 15, 2020 at 2:35 PM Marwan Sultan wrote: > >> Good day/Evening for all FreeBSDers 🙂 >> >> I want to install latest FreeBSD for a business server >> erver with the following specification. : >> Intel Xeon E3-1240 v5 3.5GHz >> Hardware RAID Controller 1 GB Cache with BBU >> 16 GB DDR4 RAM - Total >> 1 TB 7200 SATA >> 1 TB 7200 SATA >> >> I understand its advised to create it in this order and SWAP double (or >> triple) of the RAM (is 50 GB ok) ? >> / >> swap >> var >> /tmp >> /usr >> > > The swap advice is obsolete and deprecated. With only two drives, you'll > have to decide whether to RAID1 or not. > > I'm a firm believer that any world-writable directory ( /tmp, /var/tmp ) > should be a separate filesystem w/ rw,noexec,nosuid. I would second that. Apologies about Linuxism question: we do not have "nodev" mount option (I just double checked with man mount). Are we weaker here than Linux folks? I do use "nodev" in addition to the above on world writable mount points on Linux boxes. Valeri > I think that an 8GB > swap partition on each drive would be more than enough. You can > extrapolate from this. > -- ++++++++++++++++++++++++++++++++++++++++ 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 Tue Sep 15 22:06:14 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 212B13E1CD5 for ; Tue, 15 Sep 2020 22:06:14 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-oln040092073051.outbound.protection.outlook.com [40.92.73.51]) (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 4BrckX44Szz3VRg for ; Tue, 15 Sep 2020 22:06:12 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oE/EfN3lEjDiZwJJ2/rAGYe+vRuFHAikaGK4GJb0m3nloe7qkEs6FcvX+4gPGbKLm8aNCUZhC5MrRiYv9hFEdiLCtqF/2+CeXa7qhUcBGTdo+7uVnxTHm1my0qtI7GxnqCY92PRBmxOhXT6Gss2N/SGbQPIf+xvSflAmoVIcrFS/ZRsksSJlMVOQh6IBlvq3wgXs/aOMI3P76nBOQle7ZNrHFK89HBPmUX/hUAdqV16uaHHPiaGjDyuy9YQ9CPep4aA5loRmid0tP7q1ZGgxdL8kfs/Q7tnt6lU5MQPz+LhxffCQ7Zp30YATVxUJIIotL6rMkVPWrJA/BPAfxoOEkA== 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=Q0d6B4uvJencuLpCSmzaBHbEFfK3oHYQBaPtSv9iim4=; b=iTJimCyaVPXFvzvw+5oT+z9Pckmli0fuk2+MF4tmY8scMS14Q9boEEkV7iEmpSH+3/i8dWPClV5WqavioWBOHARpAeOd4jYP142vyhGSO83qaYgGg1uLys+nqMz5YzZG9OWX7jzj7SpJyRS2qKu0juOhuVQWQk0rQH2YHgbLcBzbUrtDuL3q8jdTEzZBjKaDWGZHBbM09B10E1Yp1agc6jIm1e5PpQpwqseDlY/qkFzgojDv19VQq1IamJLCxhL7CvLoHAg8ZxPV5XgDYZEo40NgJiXvBy7ZcdkUN/WSvaD0i5fZgcLw/R9OpKSCx4nxSqIFTpDrtwHqfrb+fmrUlw== 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=Q0d6B4uvJencuLpCSmzaBHbEFfK3oHYQBaPtSv9iim4=; b=fdRuueGgdVBH7/RXCsbSKHGFnTZIJcwOA+FUF9+basHgwOtK56phnDgBZMa29WUbdwCcv0zyJ7DUNL5spRSk4WZpAuQygHHKr/ibPl4Yoy1ZQRU7jgzJSqhB7hxghnk3TSiWU4b+wGlSxvQf1q65m9dbDpnVnfcUyDum8wT1DQ02Pv8YOEdgtuaZ4El1EgrHmr4aEXqUqRxBTcHW4aonA5wJt6Yh3RpIUTWe87seqjxvhx392STzp08EGIRkXXBMzWAsj1+vmd6DE8x/VBOjZJyg5m9lysIDz8kjrv+oyi7kOyhPTrqD5mKuijhgMQjdX51I8Uf419XiJbwGr7I7fQ== Received: from HE1EUR04FT052.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::52) by HE1EUR04HT187.eop-eur04.prod.protection.outlook.com (2a01:111:e400:7e0d::191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Tue, 15 Sep 2020 21:50:32 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e0d::4f) by HE1EUR04FT052.mail.protection.outlook.com (2a01:111:e400:7e0d::297) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Tue, 15 Sep 2020 21:50:32 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:63E5C74309C6EB703A9A1C4E52DE03D2BF2DB8F3CF9079BDFA2FCA9E2A7A5D1C; UpperCasedChecksum:4C412D2CF7D9CFD1AC449C19B9F8E2A2E4AB6A2730705B7B8B119EC9419A9A00; SizeAsReceived:3565; 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.3391.011; Tue, 15 Sep 2020 21:50:32 +0000 Subject: Re: partitioning server with 2 hard drives To: Marwan Sultan , FreeBSD Questions References: From: Manish Jain Message-ID: Date: Wed, 16 Sep 2020 03:20:27 +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: 8bit X-ClientProxiedBy: BM1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::24) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <72a9ac82-0f46-4a76-3dc0-7ff71e38358e@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (45.127.45.81) by BM1PR0101CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16 via Frontend Transport; Tue, 15 Sep 2020 21:50:31 +0000 X-Microsoft-Original-Message-ID: <72a9ac82-0f46-4a76-3dc0-7ff71e38358e@hotmail.com> X-TMN: [4fZU0G3Vu4cc2RlmfdMQZOEkNbsaZlhM] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b0b95b85-5eb3-40da-bbb5-08d859c15ea5 X-MS-TrafficTypeDiagnostic: HE1EUR04HT187: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: N+5z/GhY8kGyQuOwWt+lWMjNYc4Zw8VMQ2D4LZlG8Kuyq3mnXNvVl+4ngyteHz+lVekiw2/JlCLB48i4keAt7yMh12pEckkclQWRpah/kOr2ykc5KXLE/HbjS5nSZwNDzoIP8Natj6JrwDuKHeaE5GPVnLz3m1iZ0uevEVlKLmzy9wWR9gH5eAE9LpU1oQ2tRbNI43ggoPrUnXxMlmbUeyxFv9i5bpZMcty8GqeTP08= X-MS-Exchange-AntiSpam-MessageData: 7YTHF8ERlAmwgJv9IV///jTMVh3mOs6rK2voogdsA0wXZs4CgZosnvDSGJIu7T4LvbMxcLA6n40Yr1uVRBV/2SaybeageitITAQMaCd4i5voB7z2ar85DaA9R057b37bD6ePlJ0cWSM/JGfvZFVHhQ== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0b95b85-5eb3-40da-bbb5-08d859c15ea5 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Sep 2020 21:50:32.5609 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR04FT052.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: HE1EUR04HT187 X-Rspamd-Queue-Id: 4BrckX44Szz3VRg X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=fdRuueGg; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.73.51 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [9.29 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; 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]; FREEMAIL_TO(0.00)[hotmail.com,freebsd.org]; RECEIVED_SPAMHAUS_PBL(0.00)[45.127.45.81:received]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[45.127.45.81:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.30)[0.305]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.89)[0.895]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.59)[0.587]; RCVD_IN_DNSWL_NONE(0.00)[40.92.73.51:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.73.51: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: Tue, 15 Sep 2020 22:06:14 -0000 On 2020-09-16 03:04, Marwan Sultan wrote: > Good day/Evening for all FreeBSDers 🙂 > > I want to install latest FreeBSD for a business server > erver with the following specification. : > Intel Xeon E3-1240 v5 3.5GHz > Hardware RAID Controller 1 GB Cache with BBU > 16 GB DDR4 RAM - Total > 1 TB 7200 SATA > 1 TB 7200 SATA > > I understand its advised to create it in this order and SWAP double (or triple) of the RAM (is 50 GB ok) ? > / > swap > var > /tmp > /usr > > Questions : > > 1. Would you kindly advise what is the best partitioning scheme on 2 hard drives? > 2. in FreeBSD handbook says i would better create swap on both partitions? may someone advise HOW and WHY ? > > I'm a little confused because of the 2 hard drives. > > thank you for your help > > > * Marwan > > _______________________________________________ > 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" > Hi Marwan, GPT is best. You should have a single swap partition, size 32 GB. Regards, Manish Jain From owner-freebsd-questions@freebsd.org Tue Sep 15 22:19: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 B7F6E3E24A1 for ; Tue, 15 Sep 2020 22:19:17 +0000 (UTC) (envelope-from 4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4Brd1c4SBHz3WMN for ; Tue, 15 Sep 2020 22:19:16 +0000 (UTC) (envelope-from 4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1600208357; x=1602800357; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=5ZPgaUeF3z8sU/ZtM6a5RFtQoK9yiDAb6o8qvEMoAg4=; b=vwPidl2NmzVyUegE9kuXJwb5i3gxmHKJpJDuMWixTDi9GN93asVVTrB5LTYLtzGvGYGBfJ2AdefrEhgYFDOJ+qmG3liEYSO1pSqqvk1WChh/yc/jNZZU5l6M44S7FiXxn8o2dMMk69H8rHhgQ76FDSt9i/5hu7FOC9w6IjSvcLU= X-Thread-Info: NDI1MC45Mi4xZDRjNDAwMDIxNDgxYmEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 15 Sep 2020 18:19:04 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 15 Sep 2020 18:19:03 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kIJHx-000EPU-O5; Tue, 15 Sep 2020 23:19:01 +0100 Date: Tue, 15 Sep 2020 23:19:01 +0100 From: Steve O'Hara-Smith To: Marwan Sultan Cc: FreeBSD Questions Subject: Re: partitioning server with 2 hard drives Message-Id: <20200915231901.e767350415aad298732f72cc@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Brd1c4SBHz3WMN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=vwPidl2N; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com X-Spamd-Result: default: False [-2.50 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.96)[-0.962]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; NEURAL_HAM_LONG(-1.03)[-1.034]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.80)[-0.799]; FREEMAIL_TO(0.00)[hotmail.com]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c400021481ba.d40c8aad0effe2b654736cde4e2813ea@email-od.com]; 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, 15 Sep 2020 22:19:17 -0000 On Tue, 15 Sep 2020 21:34:35 +0000 Marwan Sultan wrote: > Good day/Evening for all FreeBSDers 🙂 > > I want to install latest FreeBSD for a business server > erver with the following specification. : > Intel Xeon E3-1240 v5 3.5GHz > Hardware RAID Controller 1 GB Cache with BBU > 16 GB DDR4 RAM - Total > 1 TB 7200 SATA > 1 TB 7200 SATA The first question is do you need 2TB of available storage or will 1TB be sufficient (alternatively if you do need 2TB of storage can you use two 2TB drives). > I understand its advised to create it in this order and SWAP double (or > triple) of the RAM (is 50 GB ok) ? / That advice is old and if you need to actively use swap then you need more RAM. That being said disc space is cheap so go for 32GB spread over the two drives - spreading swap over two drives allows parallel access essentially doubling the swap bandwidth. I would go for a ZFS mirror using the rest of the drives, set up a weekly scrub and never worry about a drive failure again. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue Sep 15 22:26: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 082C23E2260 for ; Tue, 15 Sep 2020 22:26:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (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 "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Brd9Y2Y3nz3Wt7 for ; Tue, 15 Sep 2020 22:26:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.102.106.178]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1MuUrM-1kafIS1gXa-00rWwa; Wed, 16 Sep 2020 00:26:06 +0200 Date: Wed, 16 Sep 2020 00:26:06 +0200 From: Polytropon To: Marwan Sultan Cc: FreeBSD Questions Subject: Re: partitioning server with 2 hard drives Message-Id: <20200916002606.52725f1d.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:0lzPF6UGtNhUktwWopeu3n6N+6TZPX68FS0pSmRrjuj8mv2s4F5 KXchQ4sUMZQPWO5lwr1Jsy1AOFaV+5Ypv/PEEgtZfjh3O4yCevAY6Pqh7kp90o9ZCHJvnWS UQ96G9S+1mLR2K96zfqYF4wL2pI/xWm1FjUOa+tRaM0lwfYefvaEswWqdVUK9NA2kElGhJr GZexKDs3yRUIdYcfBfnBw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:C0wM7xVmdjI=:YYDYTfbZKDf12lMVDztvYX vHvEgE89ZW8xC9FoP3H9w8mWwViATDHcjg05fm3uvhIDF9RPZkJUQEFO3mlwkBuzBLUmubIe9 /UX9gP/QNRULQ64JCcw+hQ8pgMzvvgffe2OcP6zN18nL42g03UYT7G0YSIYZ80AI5NklbJvu5 0oGxr3ZobKQr3cN5AfAOlZrR7R7G4N4Z7isb70OdmzNT3tbUvkQdAQtO7NwAgSe1sFAb8vKwb I5FLHIYjHJ3HApYZa4W3FaNnVLn/ZxQCBgxXFb+sxSNS2HI3zP5sme7TV/DUmX2yxeNlbaSTS BzBIWS8MjnQIn2BNgon2MJuBXtSQ5VBDcyOccWjEcovQBJH5y6+TGhJyqcxJBqfhiaW5ks0Gk iwoFSsI98hdbj3vAb8CEsvXb29F7ZoKotmSZN9N+XiSufv3KpuknPijssFZm9wYmKsyOUI9dG 3+5jiKQgRQhjP8Wk/+nfIMCK6QcAfYnjz+8tzuvUdxHi/ZkHqM541fUmaA4Rmf8rM9R3o1zqp XiYmJV+PQg3Fso6pQvPdmBdnPF/C07FRx4herwScHdGqKn4Mn98ndp8vBpp3ZIDalyxaYzbka MamAfgDlHNXdeUcHurkXLGEWckb1qPx8BY7v9Q7lmaUbYAlygfFS1FC1J8Xvlob0g8/le1QDa WGUuPWYhyzklhFq2u8XoJgaHdUXGAK68KGK046P44RPE6QWLPlPeDkMKzUx8LL2sR/rSqNiUh 3+fF6idxIawTHDk6mYlhU9KAWGUBywMppn+bCrkkRjtL3w+T/7kF31aiNrollyKU1igXqOTTa YTvbFbljjdCB84whnYtjfgY4//+mEVt3q8rGIWAY3tkgDiGbo63R6fPFapcsQm81osgQt4KrF BUQnoSCwehNbW8ZR2whQ== X-Rspamd-Queue-Id: 4Brd9Y2Y3nz3Wt7 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.01)[-0.008]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[hotmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[188.102.106.178:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-0.31)[-0.314]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.52)[0.520]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.73:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.72.192.73: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: Tue, 15 Sep 2020 22:26:11 -0000 On Tue, 15 Sep 2020 21:34:35 +0000, Marwan Sultan wrote: > Good day/Evening for all FreeBSDers 🙂 > > I want to install latest FreeBSD for a business server > erver with the following specification. : > Intel Xeon E3-1240 v5 3.5GHz > Hardware RAID Controller 1 GB Cache with BBU > 16 GB DDR4 RAM - Total > 1 TB 7200 SATA > 1 TB 7200 SATA > > I understand its advised to create it in this order and SWAP double > (or triple) of the RAM (is 50 GB ok) ? That has been true in the past, even though the suggestion was "use 2 x the maximum of RAM the machine can be equipped with". While you should definitely have a swap space today, just in case, the size of it depends on your expected workload RAM requirements vs. the installed RAM. From your description, something like 16 GB or even 32 GB should be okay. It's just convenient that _if_ swap should be needed, it's there. > / > swap > var > /tmp > /usr What about /home? :-) While the idea of "functional partitioning" might not be relevant on desktop systems, it can have advantages on a server. Especially making /tmp (and probably /var, due to /var/log and /var/tmp) an own partition could save you in case of a "runaway writer", i. e., a program that keeps writing to disk until it's full. For /tmp, as well as any partition where user-controlled files can be placed, it has been correctly suggested to use specific mount options such as "noexec" and "nosuid". You can immediately see the advantage of such per-partition settings. ;-) Also the ability to use dump and restore for per-partition backup and restore might be quite useful. > Questions : > > 1. Would you kindly advise what is the best partitioning scheme > on 2 hard drives? Depends on what kinds of applications you want to run on that server, and if you want to use those drives in some kind of RAID setting, such as mirroring or striping. If not, a possible solution could be to use one disk for /, swap, /var, /tmp, /usr - to store the OS and the user programs, and the other disk for /home or any other user-supplied data (such as databases). However, that is just _one_ possibilities. What is best for you depends on what you intend to do with the system. > 2. in FreeBSD handbook says i would better create swap on both > partitions? may someone advise HOW and WHY ? This is possible, but is not required. Especially on systems that tend to actually use swap, this could be an advantage. It could be for speed advantages, that's the WHY. And the HOW is no different from a one-disk system. It's just a second device in /etc/fstab that is activated by the "swapon" command during automatic system startup. See "man 8 swapctl" and "man 8 swapinfo" for details. > I'm a little confused because of the 2 hard drives. No need to. There are many approaches that work. Which one is useful for you depends on your expected usage. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Sep 15 23:10: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 3D4F43E3682 for ; Tue, 15 Sep 2020 23:10:45 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450: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 4Brf901mQBz3YJS for ; Tue, 15 Sep 2020 23:10:43 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x12f.google.com with SMTP id m5so4892163lfp.7 for ; Tue, 15 Sep 2020 16:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ND3CCtm9lCmuyPlBj7ENmlcgkpfeTzjBsvDJITi+j2E=; b=Am1cTO56IrnJZ4VSiOyfjda061Ner23Spbck0CwDsu6IOxWHaQXGGpkYr16abOvjIT h91T7Det03FFYD20F53V4LDum/Mz+Zv8o+Jzg3cWRELtsZrByF4DcT/wBW2x6shiNS+k 9zkGnDgn08G/KhYjwPq2yNPOiJ3gJkqsSsJt0uah0vwYFY4L7MMKpdhD/Cq5aOJ7Ol2m V+6PhK11ApEwy5AjZN0wPO3Kn0HMpeUaEmNGrgMYPOq4AzAeuxf3bh2a5BODCwCK3dFi dPh/0kYVp90zJQXCPBUm2IziaOjTLq9gQazrfguNv2LdmRu5iVz5UbO/4PjevFUmZ9PM 4Y5g== 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=ND3CCtm9lCmuyPlBj7ENmlcgkpfeTzjBsvDJITi+j2E=; b=jKmoDrdQsXArj4Hhmo5RzU9ohJmQNjx2+1craglrnBVNjao16Ui4CIkwWsKp4VKkF7 OMRnQhiUW1Log5PkmxRMyPl5zgn7ug3zJzyI+Y3NpfJvpYZD9dc+8l9zVzERVu4HguDa VQsdc1DLIX4JM36epu3KS2wZ34bRLnbUxRrQcPVcCrMRLRTPel7R+YsemaM5SPivuovn UtDJl9AEf849YBec2CVpNUYcucMu1AJVn5ToHKOo8HHTXJ7315DkQpQkfcTLhwSCft++ jmwF5qjbmOAfmuUWrQJORx97sntzNTTFbndSxatsGlYuqkhULuJso2lJSGJCb5F0OG6G GQ9w== X-Gm-Message-State: AOAM5311uyO/l6RnZjSJ1unQasAsUQIr4DcyjcS8+5GaKFRMzvePbmsw zeub1abI8fgs92h0wkWOabJnOsCIP7/foDFwAhRUrFol7erhZg== X-Google-Smtp-Source: ABdhPJzESXhbQBfaSKx9mpFGtJ5wJRuBx92tZC2OrvxtiYWm5D118LkiT5KkEZJ8+jzYkwNrxj5m8EKWg5wMjnwAom0= X-Received: by 2002:a19:6758:: with SMTP id e24mr7424998lfj.255.1600211441752; Tue, 15 Sep 2020 16:10:41 -0700 (PDT) MIME-Version: 1.0 References: <20200915231901.e767350415aad298732f72cc@sohara.org> In-Reply-To: <20200915231901.e767350415aad298732f72cc@sohara.org> From: Michael Sierchio Date: Tue, 15 Sep 2020 16:10:05 -0700 Message-ID: Subject: Re: partitioning server with 2 hard drives To: FreeBSD Questions X-Rspamd-Queue-Id: 4Brf901mQBz3YJS X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=Am1cTO56; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::12f) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-1.31 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.37)[-0.369]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.58)[-0.578]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.07)[-0.067]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::12f:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] 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, 15 Sep 2020 23:10:45 -0000 On Tue, Sep 15, 2020 at 3:19 PM Steve O'Hara-Smith wrote= : > > > I would go for a ZFS mirror using the rest of the drives, set up > a weekly scrub and never worry about a drive failure again. > When, not if, a drive fails, will you find one with precisely the same geometry / capacity to replace the failed drive and remirror? Can you do so before the other drive fails (which might be statistically likely)? There are good online MMTDL, MTTF, MTBF numbers for various raid levels for ZFS. None would lead me to be so glib. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Tue Sep 15 23:25:00 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 878B73E374C for ; Tue, 15 Sep 2020 23:25:00 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrfTR3j47z3ZLn for ; Tue, 15 Sep 2020 23:24:59 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4BrfTP4WxTzDt1D for ; Tue, 15 Sep 2020 16:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600212297; bh=fA244sPvXv4N6RLrSEbhFukzJILAimXSVZo5FVscE3A=; h=Date:From:To:Subject:In-Reply-To:References:From; b=aMujCwA9Szboz914+A+MOPT3JL1KSRkTEVqqgoY7ApvWgeQ1w4l7ioGPBJ6SsMl4f O99AL0FyB4YFBZfZhtoBkrX6vCx1SPcgQYjOefjxmmoMIdsoC0gxAdo99As5mgy1Hy 5/BWX7dalCz0d9AE+5e1tY+VomCwvmUj4UoPGq/8= X-Riseup-User-ID: 44B13B51E63152CA93F5C325E708F1169C84B601D2744A2368B0113A13999C45 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4BrfTP0CcszJn4L for ; Tue, 15 Sep 2020 16:24:56 -0700 (PDT) Date: Wed, 16 Sep 2020 01:24:57 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: USB sound devices with FreeBSD-CURRENT Message-ID: <20200916012457.30a2f4d3@archlinux> In-Reply-To: References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4BrfTR3j47z3ZLn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=aMujCwA9; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-0.94)[-0.943]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; 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]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-0.55)[-0.548]; NEURAL_HAM_LONG(-1.00)[-1.002]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129: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: Tue, 15 Sep 2020 23:25:00 -0000 On Tue, 15 Sep 2020 11:45:06 -0700, Kevin Oberman wrote: >I'm just confused as to what the audio system selection should make a >difference as long as it works for wired audio. Hi, IIUC audio doesn't work, when selecting an USB audio device. on Sun, 13 Sep 2020 10:21:52 +0100, Graham Perrin wrote: >2. if Firefox media.cubeb.backend set to oss then behaviour is the >same as Chromium > >3. if Firefox media.cubeb.backend is not set (audio backend defaults >to pulse-rust) then playback occurs through IDT 92HD81B1X (Analog) =E2=80= =93 >not USB. The jack sound server allows to select the desired audio device, while jack doesn't resample, adjust the volume or automatically makes guesses about the sample rate etc.. Given that it connects with the audio devices at a sample rate, with the frames and the audio backend (OSS, SNDIO etc.) chosen by the user and that it has got no features such as resampling or even manual, let alone automatic volume adjustment, the audio path is clear, so even if it shouldn't work, troubleshooting might be more effective, than when using pulseaudio, which AFAIK does all kinds of things under the hood, that are (at least to me) as clear as mud. https://www.freebsd.org/cgi/man.cgi?query=3Djackd&apropos=3D0&sektion=3D0&m= anpath=3DFreeBSD+12.1-RELEASE+and+Ports&arch=3Ddefault&format=3Dhtml Regards, Ralf From owner-freebsd-questions@freebsd.org Tue Sep 15 23:33:10 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 7BE2F3E3E52 for ; Tue, 15 Sep 2020 23:33:10 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Brffs62xPz3ZZn for ; Tue, 15 Sep 2020 23:33:09 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Brffr3gLwzFmPt for ; Tue, 15 Sep 2020 16:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1600212788; bh=n0+Nt3oCbzGYgt+4P6aJD9HVqB5cAvKON/e9SmERAOA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=XNQrw5Q1+6EGZPa622PKeS6Wqi0dxao9T7b/rtaXycPv4j8/5mU6Uda/YT4u6zIbv EWHtWyTzd+4wdrYlZaiHuCmzkOlwd+tU10ulpz/TTAXLUbUrx43LStWMyC//Pigyc8 w1GUujkwSJrozyKcQ0zWjuT5O3o+q1GT3wHrPFf4= X-Riseup-User-ID: 94024B3FA154CF3597B51B5E32CC61611EC814BDA2796CBAEB0BBB146B38FA77 Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id 4Brffq5Jldz8v92 for ; Tue, 15 Sep 2020 16:33:07 -0700 (PDT) Date: Wed, 16 Sep 2020 01:33:08 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: USB sound devices with FreeBSD-CURRENT Message-ID: <20200916013308.7d9176ce@archlinux> In-Reply-To: <20200916012457.30a2f4d3@archlinux> References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> <20200916012457.30a2f4d3@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Brffs62xPz3ZZn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=XNQrw5Q1; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-0.90)[-0.898]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-0.57)[-0.570]; NEURAL_HAM_LONG(-1.01)[-1.006]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129: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: Tue, 15 Sep 2020 23:33:10 -0000 On Wed, 16 Sep 2020 01:24:57 +0200, Ralf Mardorf wrote: >Given that it connects with the audio devices ^^^^^^^ This should read "device" (singular), one at a time, but it's possible to switch between audio devices. If switching between devices is possible "on the fly", depends on the definition of "on the fly". From owner-freebsd-questions@freebsd.org Wed Sep 16 01:34:48 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 705DD3E93CE for ; Wed, 16 Sep 2020 01:34:48 +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 4BrjMC3Vk2z41X3 for ; Wed, 16 Sep 2020 01:34:47 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.142.184]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 044F14E687; Tue, 15 Sep 2020 20:27:47 -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: partitioning server with 2 hard drives From: Valeri Galtsev In-Reply-To: <20200916002606.52725f1d.freebsd@edvax.de> Date: Tue, 15 Sep 2020 20:27:46 -0500 Cc: Marwan Sultan , FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: <85AD0AAF-37AE-42C9-BD62-B65398A3A107@kicp.uchicago.edu> References: <20200916002606.52725f1d.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BrjMC3Vk2z41X3 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 [3.91 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; 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.184:received]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-0.88)[-0.876]; GREYLIST(0.00)[pass,body]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.142.184:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.15)[-0.153]; NEURAL_HAM_MEDIUM(-0.66)[-0.659]; 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]; FREEMAIL_CC(0.00)[hotmail.com,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] 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, 16 Sep 2020 01:34:48 -0000 > On Sep 15, 2020, at 5:26 PM, Polytropon wrote: >=20 >=20 > For /tmp, as well as any partition where user-controlled files can > be placed, it has been correctly suggested to use specific mount > options such as "noexec" and "nosuid" When I joined this advise I forgot one case that bit me in the past when = I made /tmp =E2=80=9Cnoexec=E2=80=9D. Open Office (by Sun Microsystems). = That beast (java based, BTW) when user starts it was creating executable = for that specific user in /tmp, then started that executable. With all = due respect to Sun and all good they have done/made, that was what = really set me off. I do not know if Libre Office does similar thing = though=E2=80=A6 Valeri > . You can immediately see the > advantage of such per-partition settings. ;-) >=20 >=20 > --=20 > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 Wed Sep 16 01:55: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 5A62B3E9F5B for ; Wed, 16 Sep 2020 01:55:20 +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 4Brjpv0V7Kz42cD for ; Wed, 16 Sep 2020 01:55:18 +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 ; Tue, 15 Sep 2020 18:55:10 -0700 Subject: Re: partitioning server with 2 hard drives To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: Date: Tue, 15 Sep 2020 18:55: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: 4Brjpv0V7Kz42cD 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.43 / 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.01)[0.008]; 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.73)[0.729]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.80)[0.796]; 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: Wed, 16 Sep 2020 01:55:20 -0000 On 2020-09-15 14:34, Marwan Sultan wrote: > Good day/Evening for all FreeBSDers 🙂 > > I want to install latest FreeBSD for a business server > erver with the following specification. : > Intel Xeon E3-1240 v5 3.5GHz > Hardware RAID Controller 1 GB Cache with BBU > 16 GB DDR4 RAM - Total > 1 TB 7200 SATA > 1 TB 7200 SATA > > I understand its advised to create it in this order and SWAP double (or triple) of the RAM (is 50 GB ok) ? > / > swap > var > /tmp > /usr > > Questions : > > 1. Would you kindly advise what is the best partitioning scheme on 2 hard drives? ZFS is supported OOTB on FreeBSD. Choose the "Auto (ZFS)" option for partitioning the system drive. You can set the swap size as you choose (I use 2g). You can also mirror and/or encrypt swap. I keep my operating system images on single, non-RAID SSD's. This makes it easy to backup, clone, and restore raw binary images. If you install onto a 1 TB drive, imaging operations will be impractical. Unfortunately, the FreeBSD installer does not provide an obvious way to limit the size of the FreeBSD installation -- it uses the entire drive. So, unless you are prepared to resort to more complex measures, the easy answer is to get a 16 GB SSD and install onto that. Once your system is installed, create a ZFS pool using the two 1 TB HDD's as a mirror. Create filesystems, create volumes, and/or set properties as required for your needs, > 2. in FreeBSD handbook says i would better create swap on both partitions? may someone advise HOW Let the installer do it for you. > and WHY ? Having swap partitions on multiple devices allows the kernel to reduce contention and/or perform concurrent I/O. David From owner-freebsd-questions@freebsd.org Wed Sep 16 02:55: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 D14833EB79E; Wed, 16 Sep 2020 02:55:44 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 4Brl8b1qjcz45Z6; Wed, 16 Sep 2020 02:55:43 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id r9so6627964ioa.2; Tue, 15 Sep 2020 19:55:43 -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=W0MstaX1BEziKUzwftde+IYh0wXaRao3Yl6aPp7LhJM=; b=lnIHJDCuPH6A9VVtUObg/Z3ir8NNH2SEXdoRh13MNb+722A/6cCVBebL2Q0aTXsukm RSrYrSfMxqI5oA1Ez5nBQ0MNQBEFCN/kdIXbW8/GLpLfQVrBZqWpjhQovfucVt3l78xT nMbU2lQ8QnyZB5hEsXg92rVhn+cc9lGXGGEIBXr8JSW/uLOFbqRTOoqwJGeDyUeSvswn 00l7/Vvac95N1De7SBX1KFNkxcaeC+Q/viEas5KvROMbYCy6K2phk9g0aNQBY6HRuHab 3ew72P1qrsrrLoUOLpwnf17oEbidq8gyiypbUraWkVtBfpW9Ja8RLHQKPN1yGWE4RzFZ jeww== 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=W0MstaX1BEziKUzwftde+IYh0wXaRao3Yl6aPp7LhJM=; b=MFavbnWD9sVVfVfsdsSFHDdfIEM+XAq2chgpZMYjN/kleV6aa1rFYPd5XpLMgu3Qm3 m825mUtOCU8Rg8ZHC2cPwVnUtMX0ZCspGHy+39YWxARFjmDUNGEzC/A91xjHl8w2QbqS 0tGl9tdRaTwg6U/moLK1CMZOgqHQRlGfoC8d/WLTNfscegKf/kYdIi+gFJRgHXHZsRSF LiyOt+lytwzgJp24XPQELFbcck6TbxUG/VWYYoetivMXyMCECa0M6gJ0cI9IURJX837W L4xZcFTSbgNwGEmGd9LFWXvNYgxYrZJNF6krWFortp1JQshdUCH99sML+UmHNGpTFPMD qmmw== X-Gm-Message-State: AOAM532s4ogKsMj4uGExBIh9rJdoUYu7fNPzutHe8vqDcFHNDNUnG6/C q+Axal2cGgPfukjP2TXkJs91CPinqAmzXF8/kpN2gNzJ6Uk= X-Google-Smtp-Source: ABdhPJyuMhBZh9oFVJehi90FYsHYOfFC2DPQL5TKs9JcO3KFSCsCZQCCkEwKJwIetWJdE+ljLnGVUOSo4rIA5G1iA+w= X-Received: by 2002:a02:9f0d:: with SMTP id z13mr20363059jal.60.1600224941760; Tue, 15 Sep 2020 19:55:41 -0700 (PDT) MIME-Version: 1.0 From: Aryeh Friedman Date: Tue, 15 Sep 2020 22:55:31 -0400 Message-ID: Subject: Is there any performance difference between udev and evdev in xorg? To: FreeBSD Mailing List , freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 4Brl8b1qjcz45Z6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lnIHJDCu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-2.49 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(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]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.980]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; 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::d33:from]; NEURAL_HAM_SHORT(-0.53)[-0.528]; 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,freebsd-x11]; 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, 16 Sep 2020 02:55:44 -0000 What if any is the performance difference between udev and evdev when configuring xorg? Also do I need to use one or the other consistently or can I intermix them? For reference I am using a nVidia GT 1030 and nvidia-driver-390 on FreeBSD 12.1pl10 at 2560x1440@60Hz and it works just fine on almost everything but replaying 4k@60fps (for the most part it even works here but occasionally drops a frame). -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 16 04:38: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 0A02B3ED0A1 for ; Wed, 16 Sep 2020 04:38:17 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (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 4BrnQv6tSBz4BsR for ; Wed, 16 Sep 2020 04:38:15 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: by mail-ed1-x544.google.com with SMTP id b12so4859190edz.11 for ; Tue, 15 Sep 2020 21:38:15 -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; bh=YR7WX5LiiS2Nhwc1OjdIEb4ai4tq5p1q0gVwXWUmlY0=; b=QjArRELl12pM6LVm9zEyV4+cQEk82TYaCNu65F2o99TAyRwoDuUA1ND7UjnjKMD5d2 npL9lt94vcy0J012p1FbTJL5IL3KlCvlLD372786iceDXo8pXMGk7qdHe1F0n6fnZI2Z Nuc7OHOuRCvFzGYJL1t9ghs2UaL7F7Qy1F8VNJfFatqIWoL7Gr48b92WotKxF/y9gekY xpt/O7ns2ds5btuMFRMmJe3INA1op9wCzMdb/J9J3zZ9v3OKkZ4akEqRllrHN/1QonjO dKNKqImoDIFvyqz8OR57UiApTdA1Qb+s5AVLjEcxRCyj7klP64WIv+uhe8z/1FhZYUvO 3x9A== 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=YR7WX5LiiS2Nhwc1OjdIEb4ai4tq5p1q0gVwXWUmlY0=; b=RgJm9te0U11KomW9PkTPaG8SLYeCyv+PP8kiUy97VdtPngsMqY6kecCbfJiV/QFaAJ 0eHeOxAxruzGV2K7QTMxkkDmql/R/hs0nVd9C/01jITPo5tyvKr6FUKWpjjkXXhFgMFL 9GqKNu0FVTFcQeyjh2fweJg+44efkWiY3+imZYMeWy0KVE3NdseJO74Z1VkRoEYoFEgC KobqYbCeYg90XjE1mwKUqkJmsKH5R3H+coWPYq07NOzBo+jqxktIpUAnaeP1joqgEns0 5UeChh3RvB8ZbZI3S5pBk0Ca5anhDMfgDxSETvhTdYhDRqQUotP8SHpNTnQzQrYSQsSJ dZVQ== X-Gm-Message-State: AOAM531GfWA+aa7zYGZakOoohRqb0j2vt8jt8DUVaVY1r5jdIt+OqjO2 QJfN2aTo/j4xFKgIqhNXbsljmeue15CYH3ae+IcUbRtUMxeWSg== X-Google-Smtp-Source: ABdhPJx2bfg4uJOLCfa0PUe1jEH+Pmu/joEHFcVTkyFbigi8L9d3PxDwhikcMpFIPP3+Qy09LOBFITYiWVxyjmb/8Xk= X-Received: by 2002:a50:cdd1:: with SMTP id h17mr26065713edj.94.1600231094066; Tue, 15 Sep 2020 21:38:14 -0700 (PDT) MIME-Version: 1.0 References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> <20200916012457.30a2f4d3@archlinux> <20200916013308.7d9176ce@archlinux> In-Reply-To: <20200916013308.7d9176ce@archlinux> From: Waitman Gobble Date: Wed, 16 Sep 2020 00:38:02 -0400 Message-ID: Subject: Re: USB sound devices with FreeBSD-CURRENT To: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BrnQv6tSBz4BsR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QjArRELl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gobblewa@gmail.com designates 2a00:1450:4864:20::544 as permitted sender) smtp.mailfrom=gobblewa@gmail.com X-Spamd-Result: default: False [-3.24 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.95)[-0.951]; 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)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.98)[-0.978]; 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)[2a00:1450:4864:20::544:from]; NEURAL_HAM_SHORT(-0.31)[-0.311]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; 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]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] 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, 16 Sep 2020 04:38:17 -0000 On Tue, Sep 15, 2020 at 7:40 PM Ralf Mardorf wrote: > > On Wed, 16 Sep 2020 01:24:57 +0200, Ralf Mardorf wrote: > >Given that it connects with the audio devices > ^^^^^^^ > This should read "device" (singular), one at a time, but it's possible > to switch between audio devices. > > If switching between devices is possible "on the fly", depends on the > definition of "on the fly". I have used SNDIO with Firefox and USB audio, it works. However you have to sysctl hw.snd.default_unit=(# of dev) and set the USB audio device as the default _before_ you start Firefox. If you use SNDIO and connect to the hardware device directly, it is kind of a pain especially if you disconnect the audio device. You pretty much have to reboot or it will fill up your logs with errors. AFAIK OSS doesn't 'know' anything about USB audio. USB audio goes through uaudio kernel module. Pulseaudio can work, it's a shim / api between client and hardware. You can change audio devices easier. Somebody mentioned the virtual_oss package, that might work with USB audio? It's a shim as well. Maybe ALSA works? But that's Linux sound. It's not interesting to run ALSA on FreeBSD IMHO. SNDIO is 'tastes great, less filling'. I'm pretty sure there's nothing gained with ALSA. Make Jack works great too. But It's kinda like one has to go to a 12 week training program to learn to use. At least that's how I feel about Jack. -- Waitman Gobble From owner-freebsd-questions@freebsd.org Wed Sep 16 05:54: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 675263EF38E for ; Wed, 16 Sep 2020 05:54:44 +0000 (UTC) (envelope-from 4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4Brq770VyDz4G7h for ; Wed, 16 Sep 2020 05:54:42 +0000 (UTC) (envelope-from 4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1600235683; x=1602827683; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=HsgNvlLmCqcOJDuzmyHTUhVCkPZWqeoUQXC/gdBFC9k=; b=XUUp4P7qS8ysqq6bTJ6nfrtjK9wQQBLcCtmRtSQ6Da6+HmnAMYOETrphYqBahfuLOVIHe3UKrTl5YGIvJBmaZ6BOivnG+HFJBB+nAZo0DLldjiNsvdY3yLbbDIj5cyY0VhIsEq8uFFuqlr9txAqhDAW7E15Zgi8/xZPeIySEIWg= X-Thread-Info: NDI1MC45Mi4xZDRjNDAwMDIxYmZiZmEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 01:54:34 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 01:54:34 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kIQOn-000Gd0-0q for freebsd-questions@freebsd.org; Wed, 16 Sep 2020 06:54:33 +0100 Date: Wed, 16 Sep 2020 06:54:32 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: partitioning server with 2 hard drives Message-Id: <20200916065432.508e19c3b9b5c0e44a72da3f@sohara.org> In-Reply-To: References: <20200915231901.e767350415aad298732f72cc@sohara.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Brq770VyDz4G7h X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=XUUp4P7q; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com X-Spamd-Result: default: False [-2.17 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.019]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.46)[-0.460]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c400021bfbfa.c10732eb3773098d559db367ece2bd8e@email-od.com]; 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, 16 Sep 2020 05:54:44 -0000 On Tue, 15 Sep 2020 16:10:05 -0700 Michael Sierchio wrote: > On Tue, Sep 15, 2020 at 3:19 PM Steve O'Hara-Smith > wrote: > > > > > > > I would go for a ZFS mirror using the rest of the drives, set up > > a weekly scrub and never worry about a drive failure again. > > > > When, not if, a drive fails, will you find one with precisely the same > geometry / capacity to replace the failed drive and remirror? Can you do You don't need to, you just need one big enough, and 1TB drives are very easy to find. > so before the other drive fails (which might be statistically likely)? Unless you do something daft like RMA the drive and wait then yes IME. > There are good online MMTDL, MTTF, MTBF numbers for various raid levels > for ZFS. None would lead me to be so glib. Well OK there are no guarantees but a mirror is orders of magnitude better than a single drive. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Sep 16 07:59: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 52E5C3DBDE9; Wed, 16 Sep 2020 07:59:09 +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 4Brsth3pZ7z4Pdb; Wed, 16 Sep 2020 07:59:08 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id t12so5605299ilh.3; Wed, 16 Sep 2020 00:59:08 -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=x/ckyUUPnE6/Haobd9gyxqNfnALeadXm0fubIOsA/80=; b=erHMiUDaNs9V7+M2tHaKcVfByGHlkEnMkbQfu4OkZrjrYtWxZAh08T9iAxRjD7zLfa mcTHiCsy3URf/3iQRP2WzSfo5dTD2CORmfOj8dPRZI3bZzWr/WPsTV6DQ/oOxzmCUsO0 pZ4KAB52nlaRFlTj2idrE60+dfuD852aJsgnH4VLkoZyw+UfpmlYcxmiAMNTZIoKtfQP CZAfTMfSV+9ODqlxBxPN8H1r08sqna9Elv9CSbHSmyzejZqrbsWRj503rXbiKi+huBnl UsC8iftno2ewhcNtFc/pkZSyMI1U2LvmSkPFEheuQjdeVU7dVu0OdudUhVixLyxYZNFC 62Yg== 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=x/ckyUUPnE6/Haobd9gyxqNfnALeadXm0fubIOsA/80=; b=k9vAWWh+43bhELp8D4YkfuL8skWWYmEv+Dxj/PIxo34fbRSMXCmJVWtTNwLebDNoHf POF6G+eGCUjeOWSBAQBBQCawE9xQ9URkSUKLoP7UbqMqomIi6lWbKFYC2gd9L2CG9k1y lnxuEUAUQ/GZAWg3j5BDB1Uw3Ouqhz+m5p/HVgjE5opBhZzP3msRC8It2fPAmk/WUajK BungfNzbs1z1xPpiF/0IbiC53Cy/Gh1Ar5eVCgKra0YqBmeempO6EJG5AWDNFfErAESb dExuJxZjpB5AK84mCP/65vTcXVKYt7wNlWKkinqmM+1TUfpyjvSMqi/5LsTebbkMTTTx e/Ug== X-Gm-Message-State: AOAM531eokKg7Mh1ifRFix2Y5Cgr1t4Jo666InWv5asbJI/KHITAFlQU AFergvh2ErGcN1OUgIpkL5G+/r32KtLpMMmeNdxyQzQSAU8= X-Google-Smtp-Source: ABdhPJxRUMf5sQycCXGkEuj/EKigOcgtde7shkZI5a81dl0vp/lzl1Rwfs20p5s4YS6CwJznKpx+HeEgO2OnNAfX8k4= X-Received: by 2002:a05:6e02:8f:: with SMTP id l15mr6781431ilm.119.1600243146559; Wed, 16 Sep 2020 00:59:06 -0700 (PDT) MIME-Version: 1.0 References: <20200916040110.GA46039@FreeBSD.org> <9fcf11e9-6466-3660-5322-997ed8cb3ca7@freebsd.org> <20200916073731.GA45977@FreeBSD.org> In-Reply-To: <20200916073731.GA45977@FreeBSD.org> From: Aryeh Friedman Date: Wed, 16 Sep 2020 03:58:53 -0400 Message-ID: Subject: Re: Is there any performance difference between udev and evdev in xorg? To: Alexey Dokuchaev Cc: Niclas Zeising , FreeBSD Mailing List , freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 4Brsth3pZ7z4Pdb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=erHMiUDa; 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 [-2.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.983]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; 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]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.978]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; 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(-0.93)[-0.926]; 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,freebsd-x11]; 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, 16 Sep 2020 07:59:09 -0000 Sorry to top post but there seems to be a message missing in the thread On Wed, Sep 16, 2020 at 3:37 AM Alexey Dokuchaev wrote: > On Wed, Sep 16, 2020 at 08:41:28AM +0200, Niclas Zeising wrote: > > On 2020-09-16 06:01, Alexey Dokuchaev wrote: > > > On Tue, Sep 15, 2020 at 10:55:31PM -0400, Aryeh Friedman wrote: > > >> What if any is the performance difference between udev and evdev when > > >> configuring xorg? Also do I need to use one or the other consistently > > >> or can I intermix them? > > > > > > If you don't need them (e.g. because this is desktop system without > > > fancy input devices), you'd better off with disabling both of them > > > altogether and use good old traditional way, that is, simply install > > > xf86-input-{keyboard,mouse} and let X.org handle those peripherals. > > > > > > Yes, you would still be able to plug and unplug your USB mice and > > > they will be detected and working as expected. > > > > > > TL;DR: DEVD/UDEV support is overrated and usually not needed at all. > > > > This is bad advice. > > OK, let's see why is it bad. :-) > > > The DEVD support in xorg-server might go away, since it is a FreeBSD > > only solution and the udev/evdev is similar to what is used on Linux. > > Does this imply that DEVD support in X.org is technically inferior to > udev/evdev, or it might get deprecated just because they prefer Linux > way, regardless of the actual design and implementation quality? Kind > of tangentially related question, but this might help to foresee what > to expect from future X.org development. > > > If you are using Wayland, it is also the only way to use input devices. > > Wayland is overrated and unneeded as well. Plus, we're discussing X11 > here and X.org server in particular, how's that even relevant? > > > If you are using the default configuration of xorg on FreeBSD 12.1 or > > later, using udev is the default. This means using xf86-input-libinput > > as the input device driver in X, and not xf86-input-{keyboard,mouse}. > > This gives much better support for things like synaptics touchpads and > > similar devices. > > Like I've said initially, these might come handy, but for "desktop system > without fancy input devices", what's the point of bringing another layer > of abstraction (xf86-input-libinput) rather then let X.org talk to device > drivers drivers directly and not having to deal with evdev/libinput bugs, > tinker with sysctls (kern.evdev.rcpt_mask), etc.? > > > You can configure such devices either by adding X configuration snippets > > to /usr/local/etc/X11/xorg.conf.d/ or by using xinput on the command line > > Right, and with the old way, device configuration snippets are not needed. > Just that simple. So, the advice does not look that bad after all. :-) > > TL;DR: if there's a simpler solution/approach which is sufficient for one's > needs, e.g. for simple three-button mouse and pc104 keyboard, just dump the > extra xf86-input-libinput bloat and stick to old, well-tested, solid code > which just works(tm). > > ./danfe > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 16 08:47: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 A23423DDC1E; Wed, 16 Sep 2020 08:47:22 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (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 4BrtyK1NNnz4SP0; Wed, 16 Sep 2020 08:47:21 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id y74so7327203iof.12; Wed, 16 Sep 2020 01:47:21 -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=xmQCTgw6fY2Yp5f3dOmNhPPLurXBNTvIrxhU48Vohrs=; b=hZL5KkWw+BrK2E7zCsNzTSyDnfqCO4kCLAfFU+HhxZCttsOtAL7FK16/mz1C6GAZLd 6YylFECKp62NhSJnbR5M8YfK+JXqLxBpugqGPU2xnXiyono5pyHpJAy8UlNQOmcX/Pm3 a8H/ZuwUs7gsrDSlN2D9KFHg1BojOZuRaEDDmMyaLbZrBkShIMfOmBgWY6I4DZOAf+Sl kVtHYewuVkLht7y13K+xRRtbHFdfXSlAdzLgHlhjKgMtQzTKD04XRB2usfi62RuTIM3h ADVXPoJcuYmATKdtOY4tJxxkQfqt1VGjwHbV5ux7DX0iHObkJkdhyZudfJEHIS2DBvsM y53w== 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=xmQCTgw6fY2Yp5f3dOmNhPPLurXBNTvIrxhU48Vohrs=; b=dlS0MPziwVdB5PTyIB/C2Fqy4Egfqadtcks3VUhC7Xlu1grgGZS8f+/E95mxVJGVdj BCQ4hEUmfjDbQswnVS9M/cJvyoe43of779inW2n54vo+vREjgUuqXY8ZHUghl7sVDsxM 7ibxA4+wa4bt4EpjajO0FFKIu1nVZ0XuKx4ME/zm9l8r6oW6ObuV/ijm+bBF4v7Woptc 7pZDlZs0t4G3dJ7ejtzv57gHVdJ/ZdeojhyekMNoDHrfoC33/JcFsGhs+q/JGFEcv5um BtG0H3ZbLmFRE7zqZQ+q7wmfpPYmjgqmd8/upoz0LTKnvRIVy+b3mc6CJMGeupHBd+As zWHw== X-Gm-Message-State: AOAM532JztGilzs8BxzjfCwqNXQO6uTTa00rlYBoZid7GtiCtIjGGxJg ZYVidgyIW226Y46zXyQ7XUAqAbajxkZAG1lZDL1wAoJlePQ= X-Google-Smtp-Source: ABdhPJy8K+Ae30ZUfGcG0VGhk6D50QdSJPqLiGwRlrT+r5EQ/F8oyi8RCOJk5alfhiyVQCC5sRQIGGT9vjbVnIxfQvc= X-Received: by 2002:a05:6638:1381:: with SMTP id w1mr21760387jad.34.1600246040212; Wed, 16 Sep 2020 01:47:20 -0700 (PDT) MIME-Version: 1.0 References: <20200916040110.GA46039@FreeBSD.org> <9fcf11e9-6466-3660-5322-997ed8cb3ca7@freebsd.org> <20200916073731.GA45977@FreeBSD.org> <20200916082836.GA25865@FreeBSD.org> In-Reply-To: <20200916082836.GA25865@FreeBSD.org> From: Aryeh Friedman Date: Wed, 16 Sep 2020 04:47:07 -0400 Message-ID: Subject: Re: Is there any performance difference between udev and evdev in xorg? To: Alexey Dokuchaev Cc: Niclas Zeising , FreeBSD Mailing List , freebsd-x11@freebsd.org X-Rspamd-Queue-Id: 4BrtyK1NNnz4SP0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hZL5KkWw; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=aryehfriedman@gmail.com X-Spamd-Result: default: False [-2.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; 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]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-0.98)[-0.978]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d43:from]; NEURAL_HAM_SHORT(-0.74)[-0.742]; 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,freebsd-x11]; 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, 16 Sep 2020 08:47:22 -0000 On Wed, Sep 16, 2020 at 4:28 AM Alexey Dokuchaev wrote: > On Wed, Sep 16, 2020 at 10:19:25AM +0200, Niclas Zeising wrote: > > On 2020-09-16 09:58, Aryeh Friedman wrote: > > > Sorry to top post but there seems to be a message missing in the thread > > > > I think the whole thread is on x11@FreeBSD.org. At least my mail didn't > > show up on questions@ since I'm not subscribed to that ML. > > I saw your first mail and danfe's reply (which I in turn replied to) on > > x11@ at least, and I've gotten further replies on that list. > > Yes, please follow -x11@ list; also, replies should be delivered to your > email address directly as an original poster. I recall there's something > wrong with -questions, that is, it's not really a public list anymore for > some reason. One can still read the archives, but posting is forbidden. > I posted to it a few days ago with no cross posting and it works. > > ./danfe > -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From owner-freebsd-questions@freebsd.org Wed Sep 16 08:48: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 E31E43DDF0F for ; Wed, 16 Sep 2020 08:48:45 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from mslow2.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) (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 4Brtzw3ks8z4SXq for ; Wed, 16 Sep 2020 08:48:44 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay6-d.mail.gandi.net (unknown [217.70.183.198]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 6D2F93ADF23 for ; Wed, 16 Sep 2020 08:29:14 +0000 (UTC) Received: from sogo1.sd4.0x35.net (sogo1.sd4.0x35.net [10.200.201.51]) (Authenticated sender: mayuresh@kathe.in) by relay6-d.mail.gandi.net (Postfix) with ESMTPA id 13CE0C000E for ; Wed, 16 Sep 2020 08:28:43 +0000 (UTC) From: =?utf-8?q?mayuresh=40kathe=2Ein?= To: freebsd-questions@freebsd.org User-Agent: SOGoMail 4.3.2 MIME-Version: 1.0 Date: Wed, 16 Sep 2020 10:28:43 +0200 Subject: possible to isolate processes per =?utf-8?q?core=3F?= Message-ID: <6143-5f61cc80-75-3fccd9c0@109609840> X-Forward: 127.0.0.1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Brtzw3ks8z4SXq X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mayuresh@kathe.in designates 217.70.178.242 as permitted sender) smtp.mailfrom=mayuresh@kathe.in X-Spamd-Result: default: False [2.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; FROM_DN_EQ_ADDR(1.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.178.192/26:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.86)[-0.862]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.36)[-0.355]; DMARC_NA(0.00)[kathe.in]; SUBJ_EXCESS_QP(1.20)[]; FROM_EXCESS_QP(1.20)[]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; 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: Wed, 16 Sep 2020 08:48:45 -0000 does freebsd have the capability and offer the functionality (via users= pace) to isolate processes per core? or does freebsd have complete authority about where to run which proces= s and when? From owner-freebsd-questions@freebsd.org Wed Sep 16 09:03: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 0C5293DE7C1 for ; Wed, 16 Sep 2020 09:03:03 +0000 (UTC) (envelope-from xpetrl@beepc.ch) Received: from srv.fastssdserver.com (srv.fastssdserver.com [162.223.31.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 4BrvJN2szQz4Tbj for ; Wed, 16 Sep 2020 09:03:00 +0000 (UTC) (envelope-from xpetrl@beepc.ch) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=beepc.ch; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To:Sender:Reply-To:Cc: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=GBEfmUAnlEF5OhoUZSN1yY0PpCp9DPrRZpJKmDLh94k=; b=LsR8hjXo0QNYGc+EnYQLXkP0TL kp9L9T4i4sndaNczK7Qjxnjp7rzmywwh4N6ozqRHQhPE9SNP/KaSnME/qMdWFrmcXcQtpuzzEyAAH cQ4okg9eVBQJ6dbvVlEOFHFoeEWQRt1XdX0xxOJ+uBOp0oVOt1V7HGO4/tdqYRI+JVANlHkjA3Qjf st70Fzysn0GfVniaVaXA7Xh/eyH2DstaGnlrswL4zRUVAlMVbEPCUWb9rOG6oaCboDFaXBkUcrKh9 spP5nHlD5lXJcF1jVJVaosOSpb2unPFlS1omLCJbnwDFqNJRnb5wHr7OHqDDHrkb7y6Vc2NESv158 pNPqCc6g==; Received: from [185.43.245.37] (port=47028 helo=[192.168.1.75]) by srv.fastssdserver.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kITL3-0007Yo-4G for freebsd-questions@freebsd.org; Wed, 16 Sep 2020 14:02:53 +0500 To: freebsd-questions@freebsd.org From: xpetrl Subject: move zfs geli encrypt mirror to unencrypted Message-ID: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> Date: Wed, 16 Sep 2020 11:02:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv.fastssdserver.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - beepc.ch X-Get-Message-Sender-Via: srv.fastssdserver.com: authenticated_id: xpetrl@beepc.ch X-Authenticated-Sender: srv.fastssdserver.com: xpetrl@beepc.ch X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4BrvJN2szQz4Tbj X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=beepc.ch header.s=default header.b=LsR8hjXo; dmarc=none; spf=pass (mx1.freebsd.org: domain of xpetrl@beepc.ch designates 162.223.31.2 as permitted sender) smtp.mailfrom=xpetrl@beepc.ch X-Spamd-Result: default: False [-2.39 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[beepc.ch:s=default]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_X_SOURCE(0.00)[]; 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.72)[-0.718]; DMARC_NA(0.00)[beepc.ch]; R_SPF_ALLOW(-0.20)[+a]; DKIM_TRACE(0.00)[beepc.ch:+]; NEURAL_HAM_SHORT(-0.19)[-0.195]; HAS_X_GMSV(0.00)[xpetrl@beepc.ch]; NEURAL_HAM_MEDIUM(-0.98)[-0.979]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:46261, ipnet:162.223.28.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; HAS_X_AS(0.00)[xpetrl@beepc.ch] 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, 16 Sep 2020 09:03:03 -0000 Hello, We have a server with 4 disks, 2 zpool are zfs mirror: - base system unencrypted, partitions (da*p2) - data storage, geli encrypted, partitions (da*p4) gpart show => 40 23437770672 da0 GPT (11T) 40 2008 - free - (1.0M) 2048 1024 1 freebsd-boot (512K) 3072 1024 - free - (512K) 4096 352321536 2 freebsd-zfs (168G) 352325632 4194304 3 freebsd-swap (2.0G) 356519936 23068672000 4 freebsd-zfs (11T) 23425191936 12578776 - free - (6.0G) => 40 23437770672 da1 GPT (11T) 40 2008 - free - (1.0M) 2048 1024 1 freebsd-boot (512K) 3072 1024 - free - (512K) 4096 352321536 2 freebsd-zfs (168G) 352325632 4194304 3 freebsd-swap (2.0G) 356519936 23068672000 4 freebsd-zfs (11T) 23425191936 12578776 - free - (6.0G) (the same output is for the next 2 disks, da2 and da3) zpool status pool: encrypt state: ONLINE scan: scrub repaired 0 in 0 days 04:02:26 with 0 errors on Fri Sep 4 18:08:21 2020 config: NAME STATE READ WRITE CKSUM encrypt ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da0p4.eli ONLINE 0 0 0 da1p4.eli ONLINE 0 0 0 da2p4.eli ONLINE 0 0 0 da3p4.eli ONLINE 0 0 0 errors: No known data errors pool: zroot state: ONLINE scan: scrub repaired 0 in 0 days 00:06:21 with 0 errors on Fri Sep 4 14:12:09 2020 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da0p2 ONLINE 0 0 0 da1p2 ONLINE 0 0 0 da2p2 ONLINE 0 0 0 da3p2 ONLINE 0 0 0 We now want to "move" the data storage (encrypt) to unencrypted partition. What I have in mind is: - scrub the encrypted pool - detach one "encrypt" pool - (detach from geli?) - zfs snapshot - zfs send and restore on the new unencrypted partition - create a new zfs mirror with the new "unencrypted" pool --> from second to 4th partition: - detach a second "encrypt" - attach to "unencrypted" pool and resilver I don't really know how to deal with the datasets. Can you give me some directions? Thanks. xpetrl From owner-freebsd-questions@freebsd.org Wed Sep 16 09:28:00 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 CC98E3DF15F for ; Wed, 16 Sep 2020 09:28:00 +0000 (UTC) (envelope-from xtouqh@hotmail.com) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2078.outbound.protection.outlook.com [40.92.89.78]) (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 4BrvsC5PgGz4VdN for ; Wed, 16 Sep 2020 09:27:59 +0000 (UTC) (envelope-from xtouqh@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a44bltQ2NENS0F0FHz8yg4v7AAFQPKIKGeWOiAWnxtGK8PC1+04HEWpB+aag+QAHZlR2OIMc0HptYNiLigATfp4eRhBM8yNXzBviAk/Lp3d2NGSrXAfa6/znsflnt0a/yrQOPnktnlaalPBMbP9TMRM5DpzbzA1LweCRsEoOJfMrQAB90Wi5+6yUkMi6fkG83COl4LOxtoErK0dUkvhmfBCJxJEDB7Okbjzqhbd7aluWoebdTBtqeLTUmOmbcVXPUgGOUgpE0db0kw7sS+HP/CXZ/gx8zchUXt7St5rPc1K/mCm7vXwkdkOLq1KwixaB92i0UgPBQ6riQWCc/Nl/aA== 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=zJ5419v0UDFTyWd8PscWi1jO4gKm8OXmSTYgFpt2Z88=; b=hZmnA6vake+vX0/kRXNxsVmKm8U26v1Xpc3CU4hDMkuSkQGcuMF8uQ0JNrz01C7ReERZZZ6KhRvJ997+yWGKz67JQpuOvwQWOaopik4dfajyRjxumyb9YZUOThCnr1jjVyhIlB2YkcGsoPxMWS6dzhbe9+iln0EuYtvTbXgjTLSPH2hGMOXElXPx/h7CyZBuO79TEUSBX9Vo11ZD+nzuxkElnhUFoMXoCJOgCTcToTOwsd7PpGMcWdCG0K0VdIwZ0NHiEDTaNwFSjfvNXiaS6HcuWunboqqWsbfS0eA2OWBBqtx6yHh59uU0QwcEGoVgxoxTQfm1m1s0230pi1rCdA== 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=zJ5419v0UDFTyWd8PscWi1jO4gKm8OXmSTYgFpt2Z88=; b=Qv1+vhS1oYfMZl4NIiTnODPQ4JboOQmsUMOKBVY6f9lb/HpkrjYB1i5GEWRBOxuxizxCJA8dqYI65yTJPTgpwr9GAggzAIb5W16+d/HPb36dSVrCwIvznuUZzVajaV6839+iNnT/zFrC4eo678JZEME02d2e6Bu7Ou+btBMy6+cx6O+gpvHmVeat7ycOAXJFi3HWLPPcalPi70dmH/PekWPWYXzU7Uu3A74VV0VZnSaOa1R6laTakY+daPHbkMpVQtPFaBx0prhADxfRsrd0b1pXZeV+FvpIaDEu/eJZPL0CvO6hvVLkg4iVzyN92byX7M5MbCKoQTrgyHExPqYolg== Received: from AM6EUR05FT006.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::40) by AM6EUR05HT134.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc11::466) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 16 Sep 2020 09:13:07 +0000 Received: from AM0PR05MB5908.eurprd05.prod.outlook.com (2a01:111:e400:fc11::50) by AM6EUR05FT006.mail.protection.outlook.com (2a01:111:e400:fc11::310) 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, 16 Sep 2020 09:13:07 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:31D7760B05026828644CD88519208A704EE9389407E857446555A5E0B1DCED70; UpperCasedChecksum:AB9C6BFD5A3D70FAE429362D8F564C171B1C0AFA7C150E5D01A4AD70BD23782E; SizeAsReceived:3444; Count:47 Received: from AM0PR05MB5908.eurprd05.prod.outlook.com ([fe80::740b:5c0c:6f78:8fae]) by AM0PR05MB5908.eurprd05.prod.outlook.com ([fe80::740b:5c0c:6f78:8fae%6]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 09:13:07 +0000 Subject: Re: possible to isolate processes per core? To: "mayuresh@kathe.in" , freebsd-questions@freebsd.org References: <6143-5f61cc80-75-3fccd9c0@109609840> From: xtouqh@hotmail.com Message-ID: Date: Wed, 16 Sep 2020 12:13:06 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2 In-Reply-To: <6143-5f61cc80-75-3fccd9c0@109609840> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: AM0PR04CA0089.eurprd04.prod.outlook.com (2603:10a6:208:be::30) To AM0PR05MB5908.eurprd05.prod.outlook.com (2603:10a6:208:123::12) X-Microsoft-Original-Message-ID: <7e04de66-1aef-1b22-b655-d2649f408bc3@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.6] (91.240.124.157) by AM0PR04CA0089.eurprd04.prod.outlook.com (2603:10a6:208:be::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend Transport; Wed, 16 Sep 2020 09:13:07 +0000 X-Microsoft-Original-Message-ID: <7e04de66-1aef-1b22-b655-d2649f408bc3@hotmail.com> X-TMN: [NCX+RIeMkoIJKuTdRlsLD2cs2EqI25D+] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 9e05f3a4-6c18-4714-6393-08d85a20b9aa X-MS-TrafficTypeDiagnostic: AM6EUR05HT134: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ro87kk1C2RWfHwP9crqLPGmJ+AxyAUW2fdCJEzkAfgWXwtrDOd/gpEXPr+YUTvs9C0f23G6IsQXnUkOzgaaZK/y25Ce3NVuWNJiGIl2sBBwp+6orCAPYLUQ1UqrK8Oe6pDyQO9Nt8pLrdNCifsTfAoAwuEoMIrwhuY6SL3N7Pwg06a3ZqAk+hxIsVT0VVgNY X-MS-Exchange-AntiSpam-MessageData: RhKtYE15gGbZGPv6m/I46I4uI4HY2U36vEbUvGRow6kxoGjsHp5L6G62KNS+iLoNNNmg6p+CS+0gdFaddFuEiX/4/58iT4aUwhh6sh47HP2U627B7fT87bvhPAW0iX0dpNPbPoXS07IMy/WxbZBjrg== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e05f3a4-6c18-4714-6393-08d85a20b9aa X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 09:13:07.4559 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM6EUR05FT006.eop-eur05.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: AM6EUR05HT134 X-Rspamd-Queue-Id: 4BrvsC5PgGz4VdN X-Spamd-Bar: ++++++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Qv1+vhS1; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of xtouqh@hotmail.com designates 40.92.89.78 as permitted sender) smtp.mailfrom=xtouqh@hotmail.com X-Spamd-Result: default: False [12.69 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; DKIM_TRACE(0.00)[hotmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.86)[-0.858]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[91.240.124.157:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; RECEIVED_SPAMHAUS_CSS(4.00)[91.240.124.157:received]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_SPAM_MEDIUM(0.53)[0.526]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.52)[0.519]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.89.78:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.89.78: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, 16 Sep 2020 09:28:00 -0000 mayuresh@kathe.in wrote: > does freebsd have the capability and offer the functionality (via userspace) to isolate processes per core? > or does freebsd have complete authority about where to run which process and when? cpuset(1) From owner-freebsd-questions@freebsd.org Wed Sep 16 10:20: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 487CE3E0BB4 for ; Wed, 16 Sep 2020 10:20:42 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-oln040092003069.outbound.protection.outlook.com [40.92.3.69]) (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 4Brx211j9zz4YkN for ; Wed, 16 Sep 2020 10:20:40 +0000 (UTC) (envelope-from dead_line@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JloRiPZq2XkK6ZjIEzwBbFqO/sMNIAZiVDhbrgkm681BgpQBsgZgmpm2gQQ7RqPkjV4gfU6WJ+HeEyry2mT0bGrrracRaUt7Y4wAA2yGO/A5Dc5Nafy65dg3Kgh4dZOJ/SLBkwJlpmFLJmjmVpCWo19x6H0BOd0MGJnb1kYrg0m9dY+8wtuOwK6E+UL2k4oFFVqsXcu/Ld1sBI40YBr6mlWUIpLACgTDyl8ftra0KdACQtHJzTKD9guKqn9HIkyvbi3dFNKOsGf6H7LwWX35rfZ8kZ2o0v2cBYbswpK13sByCML0Fbw3bnuqMNb/4sT7b5jKSAI5uoxbrH30z87JlA== 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=u4LhlW6Izp+ujiElEzhhpHKzkYIfyxxu8ObkMH2rz6Q=; b=Ud7ZKPriLqFN5HqHxiLPBK/QCe3ph5grPvZayG3leP1eGF6ujRb4IH2wcsJbezQduOtZ80Bp873YBI+tgYwMvwbnHmDCOD/pHf7CkzLIdmDVCx0BEksjN02MtJClOpcplQ6zzjq2dGdG3i+K5i/J3ii/z4XEH3OBQH3kmm+BpyrZaO7pm3sV+Oh/81uHOn4GJGSZnA+2Mo5ZsabqzaLrkVQxfoAgnwiL3YMGHTPUYPSdJWx50IRgZiKqLgszylcB8/L7u1k2Cb0qkDf/dyzglZbleoX0tNdvYDHwNR5pEyimKZEss8hjAY753NU8L/85Xc+bj1/w6oBxH53qHZLy5A== 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=u4LhlW6Izp+ujiElEzhhpHKzkYIfyxxu8ObkMH2rz6Q=; b=PZavsfFrRM91BZlpW5BCGnplnsyPUY74P9eMogeYK5/aKy/6xaIFGqiGGRo1eST3RrCHyGp3e0IewttC+daoU/qLczQNjmSCTooESAJaeJFVxOg2JLXsc6u9epzg1QrCMtemNUfI4fndd4VCzxBGwMJNQujCNdRCpcz6MXK0Cc4JPCGpdiwutY6lZ8iBAOMAbFj1ZctYZXt4ixfWeT90Edpu4HKp5/PDnK0eskVpWZ8YE/iQNig2W/r4a1+DPrUpwm3nvkBkDurIFTChuoHlJoMAmAVpCA67LNdjY8MgzFOa8MFp+/4ve+kbujF/LKub8Ko/2JYqnV/zT13Ce/rOmg== Received: from BL2NAM02FT022.eop-nam02.prod.protection.outlook.com (10.152.76.59) by BL2NAM02HT063.eop-nam02.prod.protection.outlook.com (10.152.77.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Wed, 16 Sep 2020 10:20:39 +0000 Received: from DM5PR06MB3241.namprd06.prod.outlook.com (2a01:111:e400:7e46::41) by BL2NAM02FT022.mail.protection.outlook.com (2a01:111:e400:7e46::409) 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, 16 Sep 2020 10:20:39 +0000 Received: from DM5PR06MB3241.namprd06.prod.outlook.com ([fe80::2c72:8c87:2da5:b32e]) by DM5PR06MB3241.namprd06.prod.outlook.com ([fe80::2c72:8c87:2da5:b32e%3]) with mapi id 15.20.3391.014; Wed, 16 Sep 2020 10:20:39 +0000 From: Marwan Sultan To: Polytropon CC: FreeBSD Questions Subject: Re: partitioning server with 2 hard drives Thread-Topic: partitioning server with 2 hard drives Thread-Index: AQHWi6Zu3TASAygamEOMRviPurtDD6lqRxoAgADFjSs= Date: Wed, 16 Sep 2020 10:20:39 +0000 Message-ID: References: , <20200916002606.52725f1d.freebsd@edvax.de> In-Reply-To: <20200916002606.52725f1d.freebsd@edvax.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:A4EA40B8BFA11193B021CF3AF3A4F6934CFCC3A661B6B4695DACBDA5EA6395E0; UpperCasedChecksum:CB6D743913A0CFABADF0B23E55AA56D46BA09070C34AEE7246411AB7DEC19553; SizeAsReceived:2838; Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [fwLtQ3rf5SPn2hO4l0BWFFzqX6o7ZzCD] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 006f6751-9226-44bd-7c70-08d85a2a28d4 x-ms-traffictypediagnostic: BL2NAM02HT063: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CgFW2JFGN8rG27lyYwzTESZ5H2VvliZUWywKlkGYT7m+xqJLYhbyh2lxL4pPOXcndJzHxEu7Ru2J071ycYPpayEgoHw5qWxCtt4OXRISQ6xKz4pc0ehrHGFBtA3dGUHylC4/WeTLoM0AlJzUkMNUn3q5ASuqp328ipctiNIeRMVgiGD3WWfpon8Y9d2Z02d3 x-ms-exchange-antispam-messagedata: N7+/F+AybuJEepfgST0VaxWTTvuQWvlo9hMGKDUZJS6MBeiRHLVNDvbryx5VHnucpJe81I2ucMJVAcIi4s5hq1XRxN6Fl2Rcca/tEOpcZz+Vq9MuP0mj81Nl4Aiu7dxF0IsKD1hBzzGOxC2NjSkZGQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: BL2NAM02FT022.eop-nam02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 006f6751-9226-44bd-7c70-08d85a2a28d4 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2020 10:20:39.1786 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT063 X-Rspamd-Queue-Id: 4Brx211j9zz4YkN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=PZavsfFr; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of dead_line@hotmail.com designates 40.92.3.69 as permitted sender) smtp.mailfrom=dead_line@hotmail.com X-Spamd-Result: default: False [-4.81 / 15.00]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.3.69:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.02)[-1.016]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[40.92.3.69:from]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.92)[-0.924]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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, 16 Sep 2020 10:20:42 -0000 R29vZCBkYXksDQoNCldlbGwsIFRoYW5rIHlvdSBldmVyeW9uZSwgdmVyeSBpbnRlcmVzdGluZyBh bmQgaGVscGZ1bC4NCg0KYXMgUG9seXRyb3BvbiB3cm90ZSwNCnVzaW5nIG9uZSBkaXNrIGZvciAv LCBzd2FwLCAvdmFyLCAgL3RtcCwgL3VzciAtIHRvIHN0b3JlIHRoZSBPUyBhbmQgdGhlDQp1c2Vy IHByb2dyYW1zLCBhbmQgdGhlIG90aGVyIGRpc2sgZm9yIC9ob21lDQpzZWVtcyBhIGdvb2QgYWR2 aWNlLCBhbmQgYXMgZXZlcnlvbmUgYWR2aXNlZCBpIHdpbGwgdXNlIDMyIEdCIGZvciBzaW5nbGUg c3dhcC4NCg0KdGhhbmsgeW91IHZlcnkgbXVjaCwgYXBwcmVjaWF0ZSBldmVyeW9uZSdzIHRpbWUg YW5kIGhlbHANCg0KICAqICAgTWFyd2FuDQoNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX18NCkZyb206IFBvbHl0cm9wb24gPGZyZWVic2RAZWR2YXguZGU+DQpTZW50OiBUdWVzZGF5 LCBTZXB0ZW1iZXIgMTUsIDIwMjAgMTA6MjYgUE0NClRvOiBNYXJ3YW4gU3VsdGFuIDxkZWFkX2xp bmVAaG90bWFpbC5jb20+DQpDYzogRnJlZUJTRCBRdWVzdGlvbnMgPGZyZWVic2QtcXVlc3Rpb25z QGZyZWVic2Qub3JnPg0KU3ViamVjdDogUmU6IHBhcnRpdGlvbmluZyBzZXJ2ZXIgd2l0aCAyIGhh cmQgZHJpdmVzDQoNCk9uIFR1ZSwgMTUgU2VwIDIwMjAgMjE6MzQ6MzUgKzAwMDAsIE1hcndhbiBT dWx0YW4gd3JvdGU6DQo+IEdvb2QgZGF5L0V2ZW5pbmcgZm9yIGFsbCBGcmVlQlNEZXJzIPCfmYIN Cj4NCj4gIEkgd2FudCB0byBpbnN0YWxsIGxhdGVzdCBGcmVlQlNEIGZvciBhIGJ1c2luZXNzIHNl cnZlcg0KPiAgZXJ2ZXIgd2l0aCB0aGUgZm9sbG93aW5nIHNwZWNpZmljYXRpb24uIDoNCj4gIElu dGVsIFhlb24gRTMtMTI0MCB2NSAzLjVHSHoNCj4gSGFyZHdhcmUgUkFJRCBDb250cm9sbGVyIDEg R0IgQ2FjaGUgd2l0aCBCQlUNCj4gMTYgR0IgRERSNCBSQU0gLSBUb3RhbA0KPiAxIFRCIDcyMDAg U0FUQQ0KPiAxIFRCIDcyMDAgU0FUQQ0KPg0KPiBJIHVuZGVyc3RhbmQgaXRzIGFkdmlzZWQgdG8g Y3JlYXRlIGl0IGluIHRoaXMgb3JkZXIgYW5kIFNXQVAgZG91YmxlDQo+IChvciB0cmlwbGUpIG9m IHRoZSBSQU0gKGlzIDUwIEdCIG9rKSA/DQoNClRoYXQgaGFzIGJlZW4gdHJ1ZSBpbiB0aGUgcGFz dCwgZXZlbiB0aG91Z2ggdGhlIHN1Z2dlc3Rpb24gd2FzICJ1c2UNCjIgeCB0aGUgbWF4aW11bSBv ZiBSQU0gdGhlIG1hY2hpbmUgY2FuIGJlIGVxdWlwcGVkIHdpdGgiLiBXaGlsZSB5b3UNCnNob3Vs ZCBkZWZpbml0ZWx5IGhhdmUgYSBzd2FwIHNwYWNlIHRvZGF5LCBqdXN0IGluIGNhc2UsIHRoZSBz aXplDQpvZiBpdCBkZXBlbmRzIG9uIHlvdXIgZXhwZWN0ZWQgd29ya2xvYWQgUkFNIHJlcXVpcmVt ZW50cyB2cy4gdGhlDQppbnN0YWxsZWQgUkFNLiBGcm9tIHlvdXIgZGVzY3JpcHRpb24sIHNvbWV0 aGluZyBsaWtlIDE2IEdCIG9yIGV2ZW4NCjMyIEdCIHNob3VsZCBiZSBva2F5LiBJdCdzIGp1c3Qg Y29udmVuaWVudCB0aGF0IF9pZl8gc3dhcCBzaG91bGQgYmUNCm5lZWRlZCwgaXQncyB0aGVyZS4N Cg0KPiAvDQo+IHN3YXANCj4gdmFyDQo+IC90bXANCj4gL3Vzcg0KDQpXaGF0IGFib3V0IC9ob21l PyA6LSkNCg0KV2hpbGUgdGhlIGlkZWEgb2YgImZ1bmN0aW9uYWwgcGFydGl0aW9uaW5nIiBtaWdo dCBub3QgYmUgcmVsZXZhbnQNCm9uIGRlc2t0b3Agc3lzdGVtcywgaXQgY2FuIGhhdmUgYWR2YW50 YWdlcyBvbiBhIHNlcnZlci4gRXNwZWNpYWxseQ0KbWFraW5nIC90bXAgKGFuZCBwcm9iYWJseSAv dmFyLCBkdWUgdG8gL3Zhci9sb2cgYW5kIC92YXIvdG1wKSBhbg0Kb3duIHBhcnRpdGlvbiBjb3Vs ZCBzYXZlIHlvdSBpbiBjYXNlIG9mIGEgInJ1bmF3YXkgd3JpdGVyIiwgaS4gZS4sDQphIHByb2dy YW0gdGhhdCBrZWVwcyB3cml0aW5nIHRvIGRpc2sgdW50aWwgaXQncyBmdWxsLg0KDQpGb3IgL3Rt cCwgYXMgd2VsbCBhcyBhbnkgcGFydGl0aW9uIHdoZXJlIHVzZXItY29udHJvbGxlZCBmaWxlcyBj YW4NCmJlIHBsYWNlZCwgaXQgaGFzIGJlZW4gY29ycmVjdGx5IHN1Z2dlc3RlZCB0byB1c2Ugc3Bl Y2lmaWMgbW91bnQNCm9wdGlvbnMgc3VjaCBhcyAibm9leGVjIiBhbmQgIm5vc3VpZCIuIFlvdSBj YW4gaW1tZWRpYXRlbHkgc2VlIHRoZQ0KYWR2YW50YWdlIG9mIHN1Y2ggcGVyLXBhcnRpdGlvbiBz ZXR0aW5ncy4gOy0pDQoNCkFsc28gdGhlIGFiaWxpdHkgdG8gdXNlIGR1bXAgYW5kIHJlc3RvcmUg Zm9yIHBlci1wYXJ0aXRpb24gYmFja3VwDQphbmQgcmVzdG9yZSBtaWdodCBiZSBxdWl0ZSB1c2Vm dWwuDQoNCg0KDQo+IFF1ZXN0aW9ucyA6DQo+DQo+ICAgMS4gIFdvdWxkIHlvdSBraW5kbHkgYWR2 aXNlIHdoYXQgaXMgdGhlIGJlc3QgcGFydGl0aW9uaW5nIHNjaGVtZQ0KPiBvbiAyIGhhcmQgZHJp dmVzPw0KDQpEZXBlbmRzIG9uIHdoYXQga2luZHMgb2YgYXBwbGljYXRpb25zIHlvdSB3YW50IHRv IHJ1biBvbiB0aGF0IHNlcnZlciwNCmFuZCBpZiB5b3Ugd2FudCB0byB1c2UgdGhvc2UgZHJpdmVz IGluIHNvbWUga2luZCBvZiBSQUlEIHNldHRpbmcsIHN1Y2gNCmFzIG1pcnJvcmluZyBvciBzdHJp cGluZy4gSWYgbm90LCBhIHBvc3NpYmxlIHNvbHV0aW9uIGNvdWxkIGJlIHRvDQp1c2Ugb25lIGRp c2sgZm9yIC8sIHN3YXAsIC92YXIsIC90bXAsIC91c3IgLSB0byBzdG9yZSB0aGUgT1MgYW5kIHRo ZQ0KdXNlciBwcm9ncmFtcywgYW5kIHRoZSBvdGhlciBkaXNrIGZvciAvaG9tZSBvciBhbnkgb3Ro ZXIgdXNlci1zdXBwbGllZA0KZGF0YSAoc3VjaCBhcyBkYXRhYmFzZXMpLiBIb3dldmVyLCB0aGF0 IGlzIGp1c3QgX29uZV8gcG9zc2liaWxpdGllcy4NCldoYXQgaXMgYmVzdCBmb3IgeW91IGRlcGVu ZHMgb24gd2hhdCB5b3UgaW50ZW5kIHRvIGRvIHdpdGggdGhlIHN5c3RlbS4NCg0KDQoNCj4gICAy LiAgaW4gRnJlZUJTRCBoYW5kYm9vayBzYXlzIGkgd291bGQgYmV0dGVyIGNyZWF0ZSBzd2FwIG9u IGJvdGgNCj4gcGFydGl0aW9ucz8gbWF5IHNvbWVvbmUgYWR2aXNlIEhPVyBhbmQgV0hZID8NCg0K VGhpcyBpcyBwb3NzaWJsZSwgYnV0IGlzIG5vdCByZXF1aXJlZC4gRXNwZWNpYWxseSBvbiBzeXN0 ZW1zIHRoYXQgdGVuZA0KdG8gYWN0dWFsbHkgdXNlIHN3YXAsIHRoaXMgY291bGQgYmUgYW4gYWR2 YW50YWdlLiBJdCBjb3VsZCBiZSBmb3Igc3BlZWQNCmFkdmFudGFnZXMsIHRoYXQncyB0aGUgV0hZ LiBBbmQgdGhlIEhPVyBpcyBubyBkaWZmZXJlbnQgZnJvbSBhIG9uZS1kaXNrDQpzeXN0ZW0uIEl0 J3MganVzdCBhIHNlY29uZCBkZXZpY2UgaW4gL2V0Yy9mc3RhYiB0aGF0IGlzIGFjdGl2YXRlZCBi eQ0KdGhlICJzd2Fwb24iIGNvbW1hbmQgZHVyaW5nIGF1dG9tYXRpYyBzeXN0ZW0gc3RhcnR1cC4N Cg0KU2VlICJtYW4gOCBzd2FwY3RsIiBhbmQgIm1hbiA4IHN3YXBpbmZvIiBmb3IgZGV0YWlscy4N Cg0KDQoNCj4gIEknbSBhIGxpdHRsZSBjb25mdXNlZCBiZWNhdXNlIG9mIHRoZSAyIGhhcmQgZHJp dmVzLg0KDQpObyBuZWVkIHRvLiBUaGVyZSBhcmUgbWFueSBhcHByb2FjaGVzIHRoYXQgd29yay4g V2hpY2ggb25lIGlzIHVzZWZ1bA0KZm9yIHlvdSBkZXBlbmRzIG9uIHlvdXIgZXhwZWN0ZWQgdXNh Z2UuDQoNCg0KLS0NClBvbHl0cm9wb24NCk1hZ2RlYnVyZywgR2VybWFueQ0KSGFwcHkgRnJlZUJT RCB1c2VyIHNpbmNlIDQuMA0KQW5kcmEgbW9pIGVubmVwZSwgTW91c2EsIC4uLg0K From owner-freebsd-questions@freebsd.org Wed Sep 16 10:21: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 EF1233E0C3F for ; Wed, 16 Sep 2020 10:21:21 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (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 4Brx2m2R4hz4Yp4 for ; Wed, 16 Sep 2020 10:21:19 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from sogo4.sd4.0x35.net (sogo4.sd4.0x35.net [10.200.201.54]) (Authenticated sender: mayuresh@kathe.in) by relay9-d.mail.gandi.net (Postfix) with ESMTPA id 9D5ABFF804; Wed, 16 Sep 2020 10:21:11 +0000 (UTC) From: =?utf-8?q?mayuresh=40kathe=2Ein?= In-Reply-To: Content-Type: text/plain; charset="utf-8" X-Forward: 127.0.0.1 Date: Wed, 16 Sep 2020 12:21:11 +0200 Cc: freebsd-questions@freebsd.org To: xtouqh@hotmail.com MIME-Version: 1.0 Message-ID: <4c09-5f61e700-17d-142742a0@193534183> Subject: =?utf-8?q?Re=3A?= possible to isolate processes per =?utf-8?q?core=3F?= User-Agent: SOGoMail 4.3.2 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Brx2m2R4hz4Yp4 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mayuresh@kathe.in designates 217.70.183.199 as permitted sender) smtp.mailfrom=mayuresh@kathe.in X-Spamd-Result: default: False [2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.70.183.192/28:c]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-0.12)[-0.124]; RCPT_COUNT_TWO(0.00)[2]; SUBJ_EXCESS_QP(1.20)[]; FROM_EXCESS_QP(1.20)[]; FREEMAIL_TO(0.00)[hotmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986]; FROM_DN_EQ_ADDR(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.990]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[kathe.in]; TO_MATCH_ENVRCPT_SOME(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.70.183.199:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; 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, 16 Sep 2020 10:21:22 -0000 On Wednesday, September 16, 2020 02:43 PM IST, xtouqh@hotmail.com wrote= : > mayuresh@kathe.in wrote: > > does freebsd have the capability and offer the functionality (via u= serspace) to isolate processes per core? > > or does freebsd have complete authority about where to run which pr= ocess and when? > > cpuset(1) thanks a ton. From owner-freebsd-questions@freebsd.org Wed Sep 16 14:28: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 965FD3E7E59 for ; Wed, 16 Sep 2020 14:28:25 +0000 (UTC) (envelope-from tech-lists@zyxst.net) 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 4Bs2Wq32Yzz3ZRJ for ; Wed, 16 Sep 2020 14:28:22 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 5983A683 for ; Wed, 16 Sep 2020 10:28:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 16 Sep 2020 10:28:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm3; bh=gJDazTqyyH/NEqBzYg12vcN+MUbBBx0Zp+ls66iKpUk=; b=C897iqu1 1RBRDvjBWHQlY+P6d1wPekHozRWhDHjrH2W4k7W/4U2ZrA5KTlKuaTCFVF0bg3OB KPJ0KI/TOiBxBP9nVIf9hRm+eAkHHbgVccYnjQhAS8C+2VdUf5rkBS1Ro/LtRWzm D2whe7VDcWyH+2i9bjKpetwxvPeFYEgiTtEjCCrIgBCLAWHbN+FAc4kLfA/fe3Ww A2QsCOTQohs9EEbfBPEY9QnmtB6I6znO3eY8IYBFq9f9C2yGUV7B4EZd0s3VkPkl iHBQTtv1XNDQ+5L9PWD5devvWSkBCUIw60QCv3WePGWWRrJIXBgGYlhGdGRd9xvQ Eqb2zB842v/Law== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=gJDazTqyyH/NEqBzYg12vcN+MUbBB x0Zp+ls66iKpUk=; b=i8l1qLyHyyVPRUItJtAjwqHMQ+9zgTCXJRSSySwM78Skc +2xhD+BQYCGzgfX3eNB7znNIKagMJuVqp7ID7E7YUwG2h8SGeLYCzQIagwyDDxI+ YWl59GAea4XLpyOMkRsGt5Sn99n6oqq5ieM5QKWR0nuGSvDe2hUSwhKgRstmqdb1 5+Op4vkHHVJqBAczH2pIw5yXFxDJI54nSIWvWeX1TqUgkZ71JXss1MSrooNJ1RNd Lo/7fNviYQaibwCHZfw0NosxyB2ihv6y8Wo3ipCMqIdeCVzRlsSPqD33NqdKdsb/ 1a2oGtd/WehxHn97/iK6azjEiuS3ojm1g0L6iqdrQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtddvgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehgtderredttd dvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshesiiihgihs thdrnhgvtheqnecuggftrfgrthhtvghrnhepvefghffftdefkeelleehtdejledvhfdvge eijeevfffguddvhfetgeejueejueeinecukfhppeekvddrjedtrdeluddrleelnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlih hsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 2C9E33064674 for ; Wed, 16 Sep 2020 10:28:19 -0400 (EDT) Date: Wed, 16 Sep 2020 15:27:50 +0100 From: tech-lists To: freebsd-questions@freebsd.org Subject: which ports work on which archs and not others Message-ID: <20200916142750.GA52990@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline X-Rspamd-Queue-Id: 4Bs2Wq32Yzz3ZRJ X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=C897iqu1; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=i8l1qLyH; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.24 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.13 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.24:from]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm3]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.029]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-0.39)[-0.387]; NEURAL_HAM_MEDIUM(-1.01)[-1.010]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24: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: Wed, 16 Sep 2020 14:28:25 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I'm trying pkg with rquery %q=3DFreeBSD:13:aarch64 and search and can't=20 seem to get it to do what I want, (despite consulting the man pages)=20 which is: 1. get a listing of which ports and their origins build/work on any arch 2. get a listing of the same, but for one particular arch it's entirely possible of course that the answer is staring at me in the fa= ce but I can't see it at the moment. Would another tool be better, like portmaster? thanks, --=20 J. --9amGYk9869ThD9tj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl9iIPMACgkQs8o7QhFz NAXvSw//foHDZsLW+pIo5qm3Ma96NIGLyA7qWj2cZME9PyLoDXjMATGwn58Wmcj/ oVRh4xrBBK9U8+2eqCjCYhe2RddAVXpkbVgFlFAZez8B/eqNgIqtLeOHWNAeAwr2 +meuGc13XXTf+xZV8l4W1QzX4GSMJMsgooEANwmlpgIeal2BP3RJb5+DJDr6tXuo eTZ7P8YNiMsy1GuAqc7ocg1zYQIc9DjASJi8Nf4IkE+q6TUwCyvvoWsJZVW3Zxgn 1xJ6gZoIfDq0pBh+AmLM95/MdXWdMzk1j3AOY8S+enJJQdZ7Vx89W+T0YHmDllfG D7s9qcu5BSEQQmkXN2A/U8rXVZm4G2Tup1jUA9VK9cP6xAsaIZ2jeMzyfuzLWaR/ ct+rTZB6h4XUb6g8d7haqMRs0yde9x++aeXJEM4rMKzGDPomRL5v9+kjSMYFwVSX B3WoEnGmKpjXevBN4yC9MUKlj91fKrAkqVX/wGsNzYhQRobvsjRXtYlY6GcgIW/G hylUAUWl/XrrLkYO0wRqUSShO+lf8qwf5frCDLJrv6vrMY3p9S0PjViVuhwd21nz n4ka3kWhz2nsJknm4yuNtUXQvIuqLDQJhWrCJoINeI8qEjpGGNL2MeO0d+IrxS4S 16k936xDKZzvfu0fpTApOLDz5OhcHlBepOhxHQtFEQ4X1pcltXc= =BjI6 -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From owner-freebsd-questions@freebsd.org Wed Sep 16 14:36:18 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 3E5B13E830C for ; Wed, 16 Sep 2020 14:36:18 +0000 (UTC) (envelope-from 4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4Bs2hw439lz3Zyb for ; Wed, 16 Sep 2020 14:36:16 +0000 (UTC) (envelope-from 4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1600266977; x=1602858977; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=pKFiiDjXDy+1MdFlaq+PKx/YS9qmn6mOL9vX2fh9KNA=; b=YAq+9pZ699BfOnDWUFtG9+J5QoWbJTKWeOe6uaczkss8wb0eZCl0UlnyFQSYZNrMTdGT1KAHM4dUl70MWXynYvNeA9Ubd2vQ+SrT7HxkO8rzudttXoyJBbke6Q6UZ5Djv46bcI5nnlFXx6PPVG2R3lYVLGn0AJ1Tv2toa6mIW6M= X-Thread-Info: NDI1MC45Mi4xZDRjNDAwMDIyN2VmZTMuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 10:36:13 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 10:36:13 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kIYXb-000IIg-7D for freebsd-questions@freebsd.org; Wed, 16 Sep 2020 15:36:11 +0100 Date: Wed, 16 Sep 2020 15:36:11 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: move zfs geli encrypt mirror to unencrypted Message-Id: <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> In-Reply-To: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> References: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bs2hw439lz3Zyb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=YAq+9pZ6; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com X-Spamd-Result: default: False [-1.93 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.99)[-0.989]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.017]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.22)[-0.220]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c4000227efe3.ae92fab1f636f128231c3f97bcebf10d@email-od.com]; 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, 16 Sep 2020 14:36:18 -0000 On Wed, 16 Sep 2020 11:02:51 +0200 xpetrl wrote: > Hello, > > We have a server with 4 disks, 2 zpool are zfs mirror: > > - base system unencrypted, partitions (da*p2) > - data storage, geli encrypted, partitions (da*p4) > > We now want to "move" the data storage (encrypt) to unencrypted partition. Do you still want the encrypted partitions ? If not the simplest thing to do would be to detach the encrypted devices (daNp4.eli) one at a time and attach the unencrypted device (daNp4) in its place, wait for the resilver and repeat for the other devices in the zvol. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Sep 16 15:26: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 9DCA13E9986 for ; Wed, 16 Sep 2020 15:26:40 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (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 "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bs3q25rq0z3dr4 for ; Wed, 16 Sep 2020 15:26:38 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.160] (cpe-23-243-161-111.socal.res.rr.com [23.243.161.111]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 9820b6bf (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 16 Sep 2020 15:26:31 +0000 (UTC) Subject: Re: possible to isolate processes per core? To: freebsd-questions@freebsd.org References: <6143-5f61cc80-75-3fccd9c0@109609840> From: Pete Wright Message-ID: Date: Wed, 16 Sep 2020 08:26:30 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <6143-5f61cc80-75-3fccd9c0@109609840> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4Bs3q25rq0z3dr4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-1.06 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.06)[0.062]; RCVD_TLS_ALL(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)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.88)[-0.878]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[nomadlogic.org]; NEURAL_HAM_MEDIUM(-0.94)[-0.943]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[23.243.161.111: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: Wed, 16 Sep 2020 15:26:40 -0000 On 9/16/20 1:28 AM, mayuresh@kathe.in wrote: > does freebsd have the capability and offer the functionality (via userspace) to isolate processes per core? > or does freebsd have complete authority about where to run which process and when? Does cpuset(1) meet your requirements? -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-questions@freebsd.org Wed Sep 16 15:39:37 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 247D03E9DFA for ; Wed, 16 Sep 2020 15:39:37 +0000 (UTC) (envelope-from xpetrl@beepc.ch) Received: from srv.fastssdserver.com (srv.fastssdserver.com [162.223.31.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 4Bs45y6Wlyz3fTm for ; Wed, 16 Sep 2020 15:39:34 +0000 (UTC) (envelope-from xpetrl@beepc.ch) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=beepc.ch; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7vIqtg+SxjlBKoGNFBoUYfl2Q4E6Sf8itIkqlmmW6Ng=; b=jVhx3hu4rYHgiCAMva8ODPzacX AQuCrmagMueh6fJmflH7uDPL+tpS1G8DbD6LHi2r0B/ac4HVsu1ZfZpEOz64kZuASX7JbM9PZQG2N gz7aMe3/8UyK07+KUB5y0A28ZJ4MqQ7sUPFaYIeG+con0NcnVq5dAukhIuVLJFRRpbmsKcPe0f3Su Q9VvJf9nbn7psEB5dEngFGIQITKj5iLKnpHAfZjoHu66yRxYSx5FCIFz5dQoPnSaALY5P751NbkwP Lc2LA6UNLnrDeLGnESZwRQTwcUenAC+NyicG6aNXA9P1bXk//Yp+OaTJiFqD4ISobRsPEoWvWc4Qt x2SGdBWw==; Received: from [185.43.245.37] (port=51954 helo=[192.168.1.75]) by srv.fastssdserver.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kIZWu-000152-R8 for freebsd-questions@freebsd.org; Wed, 16 Sep 2020 20:39:33 +0500 Subject: Re: move zfs geli encrypt mirror to unencrypted To: freebsd-questions@freebsd.org References: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> From: xpetrl Message-ID: <2cf11fa5-3e5c-1934-7af3-8b1aeb28eb79@beepc.ch> Date: Wed, 16 Sep 2020 17:39:31 +0200 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: <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - srv.fastssdserver.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - beepc.ch X-Get-Message-Sender-Via: srv.fastssdserver.com: authenticated_id: xpetrl@beepc.ch X-Authenticated-Sender: srv.fastssdserver.com: xpetrl@beepc.ch X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4Bs45y6Wlyz3fTm X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=beepc.ch header.s=default header.b=jVhx3hu4; dmarc=none; spf=pass (mx1.freebsd.org: domain of xpetrl@beepc.ch designates 162.223.31.2 as permitted sender) smtp.mailfrom=xpetrl@beepc.ch X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[beepc.ch:s=default]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_X_SOURCE(0.00)[]; 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.74)[-0.736]; DMARC_NA(0.00)[beepc.ch]; R_SPF_ALLOW(-0.20)[+a]; DKIM_TRACE(0.00)[beepc.ch:+]; HAS_X_GMSV(0.00)[xpetrl@beepc.ch]; NEURAL_HAM_MEDIUM(-0.97)[-0.975]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; NEURAL_SPAM_SHORT(0.11)[0.115]; ASN(0.00)[asn:46261, ipnet:162.223.28.0/22, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; HAS_X_AS(0.00)[xpetrl@beepc.ch] 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, 16 Sep 2020 15:39:37 -0000 >> We have a server with 4 disks, 2 zpool are zfs mirror: >> >> - base system unencrypted, partitions (da*p2) >> - data storage, geli encrypted, partitions (da*p4) >> >> We now want to "move" the data storage (encrypt) to unencrypted partition. > > Do you still want the encrypted partitions ? If not the simplest > thing to do would be to detach the encrypted devices (daNp4.eli) one at a > time and attach the unencrypted device (daNp4) in its place, wait for the > resilver and repeat for the other devices in the zvol. > We don't need the encrypted partition anymore. Your procedure is really convenient, thank you. Do I have to take care about geli in some way? From owner-freebsd-questions@freebsd.org Wed Sep 16 20:03: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 2FB783EFCF2 for ; Wed, 16 Sep 2020 20:03:33 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 4Bs9yW40yQz4CqW for ; Wed, 16 Sep 2020 20:03:31 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x436.google.com with SMTP id x14so8114289wrl.12 for ; Wed, 16 Sep 2020 13:03:31 -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=hg0/FrOlVV7ZDMDsMnnHFf4MklFvp7N4+pe4nTQAZTA=; b=eJ/432ah9G7unUppgTqZ7MGBTcqp1z5zCqDCQydp/fMe1yHEW+muui3J371M5yxObL fhASYYY+tAFUa/YUS4Su8/eu8aTyjO11dDTkFkRxEFd+1dDkq6lw1mtZyGbyCAFuphrL a/ahPyn9JcSrUwNIk+a/DOa3F0rl0UdeYwZXxWtLcr4lEQQWLwGxkg1eb1fmOiP5/n+h AXjYDcQ62eAOSfpC2oZH200s8lSdH5Yl416H42o/yxim0TJgShD5K/7CRjukH+8W4sAP hpeTMZGsqq+rKAH5Y/ty4dh43aj8plXO1wqC+w0nzsz1ACv1OCL85zRBQvRibKFgYfd0 BpJw== X-Gm-Message-State: AOAM532wKaezVGV2Aw0BLTUZ6PPYhhmzxXh4JRO0/mofUIUigOynrR3F LF5yaPkrRbCOWwt7X9iP+54XtnO0EN4= X-Google-Smtp-Source: ABdhPJwv92D9Z6mqCP5gmsSoxqBAz7v7RL8vjUKSmV0K+fhlBuvcN0sWJeo9/j8DPnFZDKP6cTgdOw== X-Received: by 2002:a5d:6caf:: with SMTP id a15mr28643526wra.344.1600286609294; Wed, 16 Sep 2020 13:03:29 -0700 (PDT) Received: from gumby.homeunix.com ([2.220.21.115]) by smtp.gmail.com with ESMTPSA id m23sm7218111wmi.19.2020.09.16.13.03.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 13:03:28 -0700 (PDT) Date: Wed, 16 Sep 2020 21:03:25 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: partitioning server with 2 hard drives Message-ID: <20200916210325.08868ecc@gumby.homeunix.com> In-Reply-To: <20200916065432.508e19c3b9b5c0e44a72da3f@sohara.org> References: <20200915231901.e767350415aad298732f72cc@sohara.org> <20200916065432.508e19c3b9b5c0e44a72da3f@sohara.org> 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: 4Bs9yW40yQz4CqW X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.78 / 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]; RECEIVED_SPAMHAUS_PBL(0.00)[2.220.21.115: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.96)[-0.964]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.011]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(0.19)[0.194]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::436: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: Wed, 16 Sep 2020 20:03:33 -0000 On Wed, 16 Sep 2020 06:54:32 +0100 Steve O'Hara-Smith wrote: > On Tue, 15 Sep 2020 16:10:05 -0700 > Michael Sierchio wrote: > > When, not if, a drive fails, will you find one with precisely the > > same geometry / capacity to replace the failed drive and remirror? > > Can you do > > You don't need to, you just need one big enough, and 1TB > drives are very easy to find. Just out of curiosity, does ZFS leave a small amount of space unused on a raw drive to allow for a replacement being very slightly smaller? > > so before the other drive fails (which might be statistically > > likely)? > > Unless you do something daft like RMA the drive and wait then > yes IME. In the early days of Fastmail they had a major outage where at least 3 drives failed. IIRC the other failures occurred while the RAID array was being rebuilt after the first failure. The drives were identical in every way, and I guess the the stress of a rebuild can play a part in synchronising failures. From owner-freebsd-questions@freebsd.org Wed Sep 16 20:06:14 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 2A2183F0021 for ; Wed, 16 Sep 2020 20:06:14 +0000 (UTC) (envelope-from 4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4BsB1c4mV4z4Cyj for ; Wed, 16 Sep 2020 20:06:12 +0000 (UTC) (envelope-from 4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1600286773; x=1602878773; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=9/Fa1wHh8i14l2mKuSCUkH575Nl08rhe6qU8AJ5hB0M=; b=uoT8B9tbvFvX81s7EqaDXwZjy2Zvj2NkUBc7MlCZ0ATen8h9dSpbMDhQfRhKAwx5TopQ1NqvMiJoJOMi4/yiyJOYti60s6Eymso4dzhH5vUJPcc8gonUoIqj9i6l2/ChN7V1vfwsmDiVqUZg1GAoFaO7DDZJLQm456wSvob+qD8= X-Thread-Info: NDI1MC45Mi4xZDRjNDAwMDIzM2FmNjAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 16:06:05 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 16:06:05 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kIdgq-000JLk-0R for freebsd-questions@freebsd.org; Wed, 16 Sep 2020 21:06:04 +0100 Date: Wed, 16 Sep 2020 21:06:03 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: move zfs geli encrypt mirror to unencrypted Message-Id: <20200916210603.3cf2f5c8215b39f552029c72@sohara.org> In-Reply-To: <2cf11fa5-3e5c-1934-7af3-8b1aeb28eb79@beepc.ch> References: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> <2cf11fa5-3e5c-1934-7af3-8b1aeb28eb79@beepc.ch> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BsB1c4mV4z4Cyj X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=uoT8B9tb; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com X-Spamd-Result: default: False [-1.96 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.02)[-1.019]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.25)[-0.249]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c4000233af60.560706e2dd84b64ad12b6a15536d902a@email-od.com]; 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, 16 Sep 2020 20:06:14 -0000 On Wed, 16 Sep 2020 17:39:31 +0200 xpetrl wrote: > >> We have a server with 4 disks, 2 zpool are zfs mirror: > >> > >> - base system unencrypted, partitions (da*p2) > >> - data storage, geli encrypted, partitions (da*p4) > >> > >> We now want to "move" the data storage (encrypt) to unencrypted > >> partition. > > > > Do you still want the encrypted partitions ? If not the simplest > > thing to do would be to detach the encrypted devices (daNp4.eli) one at > > a time and attach the unencrypted device (daNp4) in its place, wait for > > the resilver and repeat for the other devices in the zvol. > > > > We don't need the encrypted partition anymore. > > Your procedure is really convenient, thank you. > > Do I have to take care about geli in some way? Disable whatever was running geli attach, it'll fail anyway when the decrypt fails but disabling it is neater. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Sep 16 20:27: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 3DDF03EFF79 for ; Wed, 16 Sep 2020 20:27:06 +0000 (UTC) (envelope-from 4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (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 4BsBTj1vPgz4Dcv for ; Wed, 16 Sep 2020 20:27:05 +0000 (UTC) (envelope-from 4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1600288025; x=1602880025; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=P3vnD75VCFCuczpqWueDskwF1md92LgIIR/PzMUx1Mk=; b=WaDKQ/tIz9wPW7VgA0dBoa2hTY0DKcDE5dI/nE3ooIB42a9xmHSVgpMna2RpEaLt5hq6bYeG5KlOE6wYZmczAMEEdg1APhu0qZjhFYc8QMD7IBwIhR1fYHJJZzplaeHRYp/GSESYq8H3ME3ynhOqrQ2CquYFtF2QJo4dV2mcwnY= X-Thread-Info: NDI1MC45Mi4xZDRjNDAwMDIzNDJlMjcuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 16:26:58 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 16 Sep 2020 16:26:57 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kIe11-000JOH-U9; Wed, 16 Sep 2020 21:26:55 +0100 Date: Wed, 16 Sep 2020 21:26:55 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: RW Subject: Re: partitioning server with 2 hard drives Message-Id: <20200916212655.7a68402fa44d9d1aba53a5dc@sohara.org> In-Reply-To: <20200916210325.08868ecc@gumby.homeunix.com> References: <20200915231901.e767350415aad298732f72cc@sohara.org> <20200916065432.508e19c3b9b5c0e44a72da3f@sohara.org> <20200916210325.08868ecc@gumby.homeunix.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BsBTj1vPgz4Dcv X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=WaDKQ/tI; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com X-Spamd-Result: default: False [-2.61 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-0.98)[-0.984]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; NEURAL_HAM_LONG(-1.03)[-1.032]; RWL_MAILSPIKE_GOOD(0.00)[142.0.176.198:from]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.89)[-0.893]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c40002342e27.7327584cf808cd69f1e277c1735eef5f@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions]; FREEMAIL_CC(0.00)[googlemail.com] 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, 16 Sep 2020 20:27:06 -0000 On Wed, 16 Sep 2020 21:03:25 +0100 RW via freebsd-questions wrote: > On Wed, 16 Sep 2020 06:54:32 +0100 > Steve O'Hara-Smith wrote: > > > On Tue, 15 Sep 2020 16:10:05 -0700 > > Michael Sierchio wrote: > > > > When, not if, a drive fails, will you find one with precisely the > > > same geometry / capacity to replace the failed drive and remirror? > > > Can you do > > > > You don't need to, you just need one big enough, and 1TB > > drives are very easy to find. > > Just out of curiosity, does ZFS leave a small amount of space unused on > a raw drive to allow for a replacement being very slightly smaller? No, so what I usually do is create a partition a bit smaller than the drive and give that to ZFS. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Sep 16 20:32:35 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 612DC3F0888 for ; Wed, 16 Sep 2020 20:32:35 +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 4BsBc173twz4F9V for ; Wed, 16 Sep 2020 20:32:33 +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 ; Wed, 16 Sep 2020 13:32:25 -0700 Subject: Re: move zfs geli encrypt mirror to unencrypted To: freebsd-questions@freebsd.org References: <66e2f2da-af22-766a-cc7a-78c29735e39f@beepc.ch> <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> From: David Christensen Message-ID: <98b346a8-113c-a4e0-75e0-7389c002e271@holgerdanske.com> Date: Wed, 16 Sep 2020 13:32:25 -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: <20200916153611.abaaa06edad1738c9c4c381e@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BsBc173twz4F9V 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.17 / 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.76)[0.764]; 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.72)[0.719]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.78)[0.785]; 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: Wed, 16 Sep 2020 20:32:35 -0000 On 2020-09-16 07:36, Steve O'Hara-Smith wrote: > On Wed, 16 Sep 2020 11:02:51 +0200 xpetrl ... wrote: >> We have a server with 4 disks, 2 zpool are zfs mirror: >> >> - base system unencrypted, partitions (da*p2) >> - data storage, geli encrypted, partitions (da*p4) >> >> We now want to "move" the data storage (encrypt) to unencrypted partition. > ... the simplest thing to do would be to detach the encrypted devices (daNp4.eli) one at a > time and attach the unencrypted device (daNp4) in its place, wait for the > resilver and repeat for the other devices in the zvol. +1 On 2020-09-16 08:39, xpetrl wrote: > Do I have to take care about geli in some way? I am on 12.1-RELEASE. I would adjust "geli_devices" and "geli_gpt_daNp4_flags" in /etc/rc.conf as I proceeded. David From owner-freebsd-questions@freebsd.org Wed Sep 16 21:34:07 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 0AFBC3F21B6 for ; Wed, 16 Sep 2020 21:34:07 +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 4BsCz2050Yz4K1T for ; Wed, 16 Sep 2020 21:34:05 +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 604384E67E for ; Wed, 16 Sep 2020 16:34:04 -0500 (CDT) Subject: Re: partitioning server with 2 hard drives To: freebsd-questions@freebsd.org References: <20200915231901.e767350415aad298732f72cc@sohara.org> <20200916065432.508e19c3b9b5c0e44a72da3f@sohara.org> <20200916210325.08868ecc@gumby.homeunix.com> From: Valeri Galtsev Message-ID: <53910bc6-c16d-44eb-4dee-56d95226a217@kicp.uchicago.edu> Date: Wed, 16 Sep 2020 16:34:04 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200916210325.08868ecc@gumby.homeunix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BsCz2050Yz4K1T 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.52 / 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_SPAM_SHORT(0.60)[0.604]; 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_MEDIUM(-0.23)[-0.234]; NEURAL_SPAM_LONG(0.05)[0.052]; 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: Wed, 16 Sep 2020 21:34:07 -0000 On 2020-09-16 15:03, RW via freebsd-questions wrote: > On Wed, 16 Sep 2020 06:54:32 +0100 > Steve O'Hara-Smith wrote: > >> On Tue, 15 Sep 2020 16:10:05 -0700 >> Michael Sierchio wrote: > >>> When, not if, a drive fails, will you find one with precisely the >>> same geometry / capacity to replace the failed drive and remirror? >>> Can you do >> >> You don't need to, you just need one big enough, and 1TB >> drives are very easy to find. > > Just out of curiosity, does ZFS leave a small amount of space unused on > a raw drive to allow for a replacement being very slightly smaller? > > >>> so before the other drive fails (which might be statistically >>> likely)? >> >> Unless you do something daft like RMA the drive and wait then >> yes IME. > > In the early days of Fastmail they had a major outage where at least 3 > drives failed. IIRC the other failures occurred while the RAID array was > being rebuilt after the first failure. I remember someone came to the department with strong opinion that RAIDs can have multiple drive failures, thus leading to loss of data. Especially when rebuilding after replacement of failed drive. That person came from Japan, where people are very smart, and not always use professional sysadmins [at universities?], more often just smart people do set up computers, servers, number crunchers - including the ones with hardware RAIDs. It took me some effort to convince him that their hardware RAIDs (based on venerable 3ware hardware] were just not configured correctly. Good configuration includes weekly task: verify RAID. The last just walks through the whole surface of drives, reading them stripe by stripe, and verifies that redundancy stripes do match mathematical composition of other stripes as they should. If this is not done monthly, or better, weekly, potential bad areas of drives are not discovered, not till rebuild task happens, which can lead of "multiple drive failure" during rebuild task. So, routine weekly RAID verifications (known by other names as well), prevent "multiple drive failure" during rebuild task. That most likely was the mode of failure you have mentioned for that known incident. Incidentally, if checksum of RAID-5 do not match for some stripe, there is no precise way to pinpoint which drive has wrong information on this stripe. There are indirect indications such as drive responding slower (due to attempt to re-create by multiple reads and superimposition of reads, and re-allocate bad block), and similar. If stripe is wrong in case of RAID-6, it is possible to pinpoint wrong drive (in assumption that only one drive has wrong information). Yet, RAIDs are not designed to insure that information read from them is correct, every zfs proponent will tell that, and they are correct. > The drives were identical in > every way, and I guess the the stress of a rebuild can play a part in > synchronising failures. I would disagree with that, based on my experience: we have several dozens of hardware and software RAIDs, over decade and a half, all of them run 24/7/365, and some RAIDs are over decade and a half of age, failed drives are being hot (in hardware RAIDs) or cold (in software RAIDs) replaced routinely, no other drives in the same RAID fails during rebuild task. Drives are chosen of reliable brand/models, still they do fail occasionally. I don't remember exact rate of drive failures in our boxes, but I would say it is less often than one drive a Month that I have to replace. And we have about 2 petabyte of data composite on our boxes. So: I respectfully disagree: normally "rebuild stress" should not be any different from normal routine RAID [device] use. 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 17 10: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 657BF3DBF0D for ; Thu, 17 Sep 2020 10:44:49 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08olkn2091.outbound.protection.outlook.com [40.92.47.91]) (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 4BsYWM6tvWz3YYB for ; Thu, 17 Sep 2020 10:44:47 +0000 (UTC) (envelope-from dead_line@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ut+6w266qGrxlDZuwVZa80A+LAq7dRQQjYvsf8KUt8NjofSLhY8dwwJOWRch+y8QijBGd2gS8sw/KxJal5kXz1rMOYG6wrPVaOs+k1GxHCmuN6BdBWnrqlqcPA90BHnwWsfNamprLrg5etJ4JucXyiUCe2nrohYSdoX1RIfLYEEyHs/Ix3j3QxDzghJFHCkZuWMaXhynEz7N16sTpvOVpvG6lrQdHvs7k3sz8JwlBC8vPqB1ONWVtSHapkvfh/+Lvl/6/Zy3Ee/OacGuKysOpK2GgKoYPAcPYTVuXGnM+F7gtSkIUDUO/Fg6jRC5lmDMQdFXTBQ2cUJvmgmFIgQclw== 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=481JfPIfDpJ0Hdp8TQRLoxXt7zj1tBqt1FY8HPIx0lI=; b=cbN/mvS99y9u6Dsaz+rb00rswU5cax3oQlvNUyh4YWqdD1xkeOkfhAT2G/j6cgMMXKHr3AHwNGsVVfu9bbPb+CUog0fllTMefjVwtPqFjIeMILE0ZdDJbS1wmlQazvFwzWzSGVKZmdjMiNRSBvqycEbrIIM4AwGaIdovUh0Pk7pO280IBLhp304oTKClEzLFYxwkwW5DFJOyAqodiE+Rlp0Ans4DL/aDTKWGz0sD2VxCRGnQTQYYiPrhzkgpLYSLDg9VXiKqbVq3ZBqHTtzobUeRah5Msxh5/usRSUVZElngDCVAjudpqjx6ZJA8LAJNKo2Ald4lcpkVS9SL7JxVHQ== 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=481JfPIfDpJ0Hdp8TQRLoxXt7zj1tBqt1FY8HPIx0lI=; b=ByDdmpIHNQGHw+EI1Yte5+TUkIvjZV2KDFITdqGFmyLdRLDdU5Bz9+yrnVx8gX0IrojJTJHhdfDUo6sM5MOn0T8e2bu6EY/X+WOhxaR6gs6rVaGiOE/ynKxRrhMooVZ/Tye+teHgwIYYukhPARu1JZPo/xOuLe9V80538xHRFjSiT+9fRX+7AE7HqR+aiXukySSNsznQRAqpI8lCqzDymGr0xljKl0dhz2ytedwG9W6MDHCL472+s7umCBHhQT6d6Scb3y+H76kPRq+EVdSX3fPqzzg6JS6+lVPTVDlzFscyFm7qZW9mjCNuLe+jvczbI/3N9KhzL1SWEv1/UYX3xw== Received: from CO1NAM04FT047.eop-NAM04.prod.protection.outlook.com (10.152.90.58) by CO1NAM04HT107.eop-NAM04.prod.protection.outlook.com (10.152.90.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.16; Thu, 17 Sep 2020 10:44:46 +0000 Received: from MWHPR06MB3247.namprd06.prod.outlook.com (2a01:111:e400:7e4d::45) by CO1NAM04FT047.mail.protection.outlook.com (2a01:111:e400:7e4d::126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Thu, 17 Sep 2020 10:44:46 +0000 Received: from MWHPR06MB3247.namprd06.prod.outlook.com ([fe80::151c:bf35:d08e:cad6]) by MWHPR06MB3247.namprd06.prod.outlook.com ([fe80::151c:bf35:d08e:cad6%7]) with mapi id 15.20.3391.014; Thu, 17 Sep 2020 10:44:46 +0000 From: Marwan Sultan To: FreeBSD Questions Subject: fresh server sendmail or postfix / webmail. Thread-Topic: fresh server sendmail or postfix / webmail. Thread-Index: AQHWjN0HIE4N26s4q0GmLZuI2tcY6Q== Date: Thu, 17 Sep 2020 10:44:46 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:153F453C0DDD11D9F2A67F77DC6D0DD03F6E7D9BCD69DEC52624B8BDCF97EB12; UpperCasedChecksum:B87EEB1B679DD40D4F49CC626D05E7D7B42835956187D4B41CAEB0E31FC0E52A; SizeAsReceived:6695; Count:42 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [FOLGzP/x/HaYMVOFrLHx+sjVzQBuvzlA] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 0a1512c5-a155-44ad-340f-08d85af6b20f x-ms-traffictypediagnostic: CO1NAM04HT107: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: z/+TNfrorjsxCdgogMHc9/rCqfet9jk08l1jCeJelAbqHIhtrTLQ5S7M56up8GUcYOsnS0B3AeEcb+ZbyWWFnOfoW8DCVgUotureGRjzTsR7u88DpqHr12udm80i73NCr32snhmitG/8tT/xDiTOxNoZxmZDo3tS6xwnQzXEG7xaeIZE7d3wvrONUVFsN9VbQa7W3qGzKZfb12mSgzwhPg== x-ms-exchange-antispam-messagedata: SAX5SwvCYchxkskNMqBqGb2OZwDqOfV7PY0e9rV/pjVkkuP+zq8k6cgm6CwhfqUqW3qynDJYJjPWjyNt1omX6Kcu1ideLkOsTg+JNhJSjmWcVPWbkZ4sm5S3Rkk7dSlRF2TE2WCz6b4Jp86r4L4uzA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: CO1NAM04FT047.eop-NAM04.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 0a1512c5-a155-44ad-340f-08d85af6b20f X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2020 10:44:46.7421 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM04HT107 X-Rspamd-Queue-Id: 4BsYWM6tvWz3YYB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=ByDdmpIH; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of dead_line@hotmail.com designates 40.92.47.91 as permitted sender) smtp.mailfrom=dead_line@hotmail.com X-Spamd-Result: default: False [-2.40 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; HFILTER_HELO_IP_A(1.00)[nam04-bn8-obe.outbound.protection.outlook.com]; HFILTER_HELO_NORES_A_OR_MX(0.30)[nam04-bn8-obe.outbound.protection.outlook.com]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.03)[-1.030]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_SPAM_SHORT(0.24)[0.239]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[40.92.47.91:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.47.91:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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, 17 Sep 2020 10:44:49 -0000 RGVhciBGcmVlQlNEZXIsDQoNCkdvb2QgZGF5L2V2ZW5pbmcuDQoNCkkgaGF2ZSB1cCBhbmQgcnVu bmluZyBtYWlsIHNlcnZlciB3aXRoIHNvbWUgd2ViIGFwcHMsIHNlcnZlciBydW5uaW5nIHNpbmNl IG1hbnkgeWVhcnMgYmFjayB1bnRpbCB0b2RheSAoNy1SZWxlYXNlLCDwn5mCICkgaXRzIHRpbWUg dG8gbW92ZSB0byBhIG5ldyBzZXJ2ZXIhIHRoYW5rIHlvdSBmcmVlYnNkIQ0KDQpmb3IgdGhlIG5l dyBzZXJ2ZXI6DQoxLg0KaXMgaXQgcmVhbGx5IGltcG9ydGFudCB0byBjaGFuZ2UgTVRBIHRvIHBv c3RmaXggb3IgYW55IG90aGVyIE1UQSB0aGFuIHNlbmRtYWlsID8NCm9yIHNlbmQgbWFpbCBpcyBl bm91Z2guIChteSBleGlzdGluZyBvbGQgc2VydmVyIGlzIG9uIHNlbmRtYWlsKSBpdHMgYSBNYWls IHNlcnZlciAhDQoNCmlmIHllcywgIGlzIGluc3RhbGxpbmcgcG9zdGZpeCBmcm9tIC9wb3J0cyBl bm91Z2g/DQoNCjIuDQphbnkgcmVjb21tZW5kYXRpb24gZm9yIGEgd2VibWFpbCA/IChtYXliZSBy b3VuZGN1YmUpID8NCihvbiBteSBvbGQgc2VydmVyIG9wZW53ZWJtYWlsIHdvcmtzIGdyZWF0ISBi dXQgdW5mb3J0dW5hdGVseSwgaXRzIG91dGRhdGVkKQ0KDQp0aGFuayB5b3UgdmVyeSBtdWNoIGlu IGFkdmFuY2UNCg0KDQogICogICBNYXJ3YW4uDQo= From owner-freebsd-questions@freebsd.org Thu Sep 17 11:43: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 983DC3DD028 for ; Thu, 17 Sep 2020 11:43:40 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qv1-xf41.google.com (mail-qv1-xf41.google.com [IPv6:2607:f8b0:4864:20::f41]) (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 4BsZqH63Sfz3byC for ; Thu, 17 Sep 2020 11:43:39 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qv1-xf41.google.com with SMTP id z18so776768qvp.6 for ; Thu, 17 Sep 2020 04:43:39 -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=LN6M8kBDFgSpIuoI3X5mhtHrYLfNAtN7UtvJGTu7GbA=; b=EhXpYJL2Yo0y7fIpRX3E8218WSRJxM+KFCjN1zLblHnuvmjskHbGLWYukfEBf/SuaM 6ZmtD3hZf6+OiVDWXYRqz4fhQvPaBfhJ0PNhwRUmDLUe6Osqh4pfEr40iLcm3c2+hb6c mqaTAsM9ipzv772Kz9mUpvW9LsOF1bZCuhO+w= 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=LN6M8kBDFgSpIuoI3X5mhtHrYLfNAtN7UtvJGTu7GbA=; b=R1goCGj3xxoz0hrvFBJKM+oKXhv0TzqsNFQu/Eh+h+zx/wPEgiGudcQAlRCisctmrd anfjWvzeuV+YamGF7ykOJcryvOaxiTXqzfgVnW+Puua27HINyN2iRLWR1RJJP+0/nWhS JYgVwreo+wV/R0bvbtdNwLI1bQCdVyr//DEaIeP7e50nsjPnsYhNWMjQdEncpS7L5EWW +l+B2ivRAw/PTfT42G4MygBZ7ne5PWALOyPAodHkuKEfkR6ZV7y3CtEDwThRcUZbCmT8 yH3ZsqpZpTWO5nfVa/T3XEaRGG12Dh70he7/bEEP/SIe/qH2zReXgbgKTPfWD8muPdBD WRoA== X-Gm-Message-State: AOAM530krgG/dOnXkytCOItDtdw3v6nQOgMApwC1zr6hkx6uL3qsHGDk kV+s81uqyIwPZZo3bcb6RiunsGKvfdXMlQ== X-Google-Smtp-Source: ABdhPJyfLKRGLOlLDrKtVjKVKV+Jhc4VPudznDxBtRwz/enZeF8UE/zJhDgfhUtbV38DJd3r5Tg3+g== X-Received: by 2002:a0c:f982:: with SMTP id t2mr27477086qvn.5.1600342671022; Thu, 17 Sep 2020 04:37:51 -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 m10sm20439978qti.46.2020.09.17.04.37.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 04:37:49 -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 4BsZhX1gGdz1MBd for ; Thu, 17 Sep 2020 07:37:48 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.4 at scorpio.seibercom.net Date: Thu, 17 Sep 2020 07:37:41 -0400 From: Jerry To: "User Questions" Subject: Re: fresh server sendmail or postfix / webmail. Message-ID: <20200917073741.214d3438@scorpio.seibercom.net> In-Reply-To: References: 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_/gGB6nagOzE0zKcf+8fvrz2w"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4BsZqH63Sfz3byC X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=EhXpYJL2; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::f41 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [2.84 / 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:+]; 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.98)[-0.976]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; 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]; NEURAL_SPAM_SHORT(0.42)[0.418]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f41: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: Thu, 17 Sep 2020 11:43:40 -0000 --Sig_/gGB6nagOzE0zKcf+8fvrz2w Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 17 Sep 2020 10:44:46 +0000, Marwan Sultan stated: >Dear FreeBSDer, > >Good day/evening. > >I have up and running mail server with some web apps, server running >since many years back until today (7-Release, =F0=9F=99=82 ) its time to m= ove to >a new server! thank you freebsd! > >for the new server: >1. >is it really important to change MTA to postfix or any other MTA than >sendmail ? or send mail is enough. (my existing old server is on >sendmail) its a Mail server ! > >if yes, is installing postfix from /ports enough? > >2. >any recommendation for a webmail ? (maybe roundcube) ? >(on my old server openwebmail works great! but unfortunately, its >outdated) Personally, I would recommend 'postfix'. It is actively being developed and its email forum is the best that I have seen. The applications itself is fairly easy to configure. If you need something more complicated, the mail forum has lots of extremely knowledgeable people who can assist you. If you need 'sasl' support, and you very likely do, then there is the /usr/ports/mail/postfix-sasl port. Plus, posfix interacts perfectly with 'dovecot'. --=20 Jerry --Sig_/gGB6nagOzE0zKcf+8fvrz2w Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl9jSoUACgkQOHMGOIfe xWTvbAf/c6lbJFaZMDWPlPCjb0VBlppiReHUrXIOulBgii9JKKqRaEIZhu3Dnel3 LKI3djd4A9AOGrT33OMTEiKcyL42EQ5Yh0xczKe7cP92Y8jTxsDPjhM7vFe1569T L8lOxH+ooYlAPiuVvFJhNmp7ItALvddrWHptiE8oNK++Vy7XLuJvBRomfo598Rvn /+7osNEVhrwpmeyCNUglZqDb/5r02ARkE3XEzu6QFkKS4+1wwplnfwuDrlmdHK7F BI+BhOmVZRay1azPSUauBLI35/6d5dc0hCA10sJE7CioDFjYSF3E5RmxrlC1S57y qR4SqEg8icMQvGXhzKNqpGV3HUz+FA== =etj0 -----END PGP SIGNATURE----- --Sig_/gGB6nagOzE0zKcf+8fvrz2w-- From owner-freebsd-questions@freebsd.org Thu Sep 17 12:06: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 AF8BA3DE80A for ; Thu, 17 Sep 2020 12:06:06 +0000 (UTC) (envelope-from andrew@lists.savchenko.net) Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [IPv6:2001:67c:2050::465:202]) (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 4BsbK94JC5z3f0q for ; Thu, 17 Sep 2020 12:06:05 +0000 (UTC) (envelope-from andrew@lists.savchenko.net) Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4BsbK638HgzQkjp for ; Thu, 17 Sep 2020 14:06:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id KZIOQaY80iGW for ; Thu, 17 Sep 2020 14:05:58 +0200 (CEST) Date: Thu, 17 Sep 2020 21:35:52 +0930 From: Andrew Savchenko Message-ID: <1816664493.20200917213552@savchenko.net> To: freebsd-questions@freebsd.org Subject: Alternative to the "intel-gpu-tools" / intel_reg MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MBO-SPAM-Probability: X-Rspamd-Score: -6.40 / 15.00 / 15.00 X-Rspamd-UID: 9eb0c8 X-Rspamd-Queue-Id: 4BsbK94JC5z3f0q X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=lists.savchenko.net; spf=pass (mx1.freebsd.org: domain of andrew@lists.savchenko.net designates 2001:67c:2050::465:202 as permitted sender) smtp.mailfrom=andrew@lists.savchenko.net X-Spamd-Result: default: False [-2.95 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.975]; FREEFALL_USER(0.00)[andrew]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:67c:2050::/48]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.034]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.14)[-0.136]; DMARC_POLICY_ALLOW(-0.50)[lists.savchenko.net,none]; RCVD_IN_DNSWL_NONE(0.00)[2001:67c:2050::465:202:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:199118, ipnet:2001:67c:2050::/48, country:DE]; 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: Thu, 17 Sep 2020 12:06:06 -0000 Hello, Is there a FreeBSD-compatible version of an Intel GPU registers tool? https://manpages.debian.org/testing/intel-gpu-tools/intel_reg.1.en.html I have tried `pkg search intel | grep -e gpu -e tool`, but this returns only the "intel-undervolt". -- Regards, A From owner-freebsd-questions@freebsd.org Thu Sep 17 13:00:51 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 577B03DFDFB for ; Thu, 17 Sep 2020 13:00:51 +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 4BscXK2Vmjz3y2D for ; Thu, 17 Sep 2020 13:00:49 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.140.72]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 147F24E64C for ; Thu, 17 Sep 2020 08:00:43 -0500 (CDT) From: Valeri Galtsev Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: fresh server sendmail or postfix / webmail. Date: Thu, 17 Sep 2020 08:00:41 -0500 References: <20200917073741.214d3438@scorpio.seibercom.net> To: User Questions In-Reply-To: <20200917073741.214d3438@scorpio.seibercom.net> Message-Id: <8BE900F5-0F90-45CB-80D7-6740AC3D7C38@kicp.uchicago.edu> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BscXK2Vmjz3y2D 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 [1.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.01)[-0.009]; NEURAL_SPAM_MEDIUM(0.11)[0.112]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.140.72:received]; TO_DN_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.46)[0.460]; 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, 17 Sep 2020 13:00:51 -0000 > On Sep 17, 2020, at 6:37 AM, Jerry wrote: >=20 > On Thu, 17 Sep 2020 10:44:46 +0000, Marwan Sultan stated: >> Dear FreeBSDer, >>=20 >> Good day/evening. >>=20 >> I have up and running mail server with some web apps, server running >> since many years back until today (7-Release, =F0=9F=99=82 ) its time = to move to >> a new server! thank you freebsd! >>=20 >> for the new server: >> 1. >> is it really important to change MTA to postfix or any other MTA than >> sendmail ? or send mail is enough. (my existing old server is on >> sendmail) its a Mail server ! >>=20 >> if yes, is installing postfix from /ports enough? >>=20 >> 2. >> any recommendation for a webmail ? (maybe roundcube) ? >> (on my old server openwebmail works great! but unfortunately, its >> outdated) >=20 > Personally, I would recommend 'postfix'. It is actively being = developed > and its email forum is the best that I have seen. >=20 I too would recommend postfix. I use it since forever. As webmail I gave = my users choice: squirrelmail and roundcube. Spam filtering is a mus = (for us at lest), I set up maia with mysql backend for settings and = quarantene. Alas, I was unable to make quarantene part work qith = postgresql which would be my first choice. Maia allows per user spam = preferences. It has its integrated part spamassassing, and works with = virus scanners, and distributed spam databases. But installation, or = rather configuration is a bit finiky. IMAP part is dovecot. Good luck! Valeri > The applications itself is fairly easy to configure. If you need > something more complicated, the mail forum has lots of extremely > knowledgeable people who can assist you. If you need 'sasl' support, = and > you very likely do, then there is the /usr/ports/mail/postfix-sasl > port. Plus, posfix interacts perfectly with 'dovecot'. >=20 > --=20 > Jerry >=20 >=20 From owner-freebsd-questions@freebsd.org Thu Sep 17 16:24: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 039103E5E4E for ; Thu, 17 Sep 2020 16:24:09 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (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 4Bsj2w09rZz4FHP for ; Thu, 17 Sep 2020 16:24:07 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 08HGO15c002841; Thu, 17 Sep 2020 12:24:01 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 17 Sep 2020 12:24:01 -0400 (EDT) From: Doug Denault To: Marwan Sultan cc: FreeBSD Questions Subject: Re: fresh server sendmail or postfix / webmail. Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Thu, 17 Sep 2020 12:24:01 -0400 (EDT) X-Rspamd-Queue-Id: 4Bsj2w09rZz4FHP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.60 / 15.00]; FAKE_REPLY(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.938]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; NEURAL_HAM_LONG(-0.97)[-0.975]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.59)[-0.590]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_TO(0.00)[hotmail.com]; 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:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] 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, 17 Sep 2020 16:24:09 -0000 On Thu, 17 Sep 2020, Marwan Sultan wrote: > Dear FreeBSDer, First I concur to the previous responses on postfix. I recently updated a postfix/cyrus mail server almost as old as yours. I made an error and got confused from a structural change in postfix. The mailing list was most helpful, even in the face of my strongly held, but wrong, idea about the problem. > Good day/evening. > > I have up and running mail server with some web apps, server running > since many y$ > > I have up and running mail server with some web apps, server running > since many years back until today (7-Release, ? ) its time to move to a > new server! thank you freebsd! As do the others, I think so. Sendmail essentially stopped making improvements to the open source version when it launched its commercial offering in 1998. Anything that was difficult to do then is still hard to do. > if yes, is installing postfix from /ports enough? In most cases yes (I think). We changed from sasldb to SQL authentication and had some documentation issues mostly with cyrus as I recall. We use poudriere but mostly for the convenience of updating several servers. > 2. > any recommendation for a webmail ? (maybe roundcube) ? > (on my old server openwebmail works great! but unfortunately, its outdated) We also are offering Squirrelmail and Roundcube. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Thu Sep 17 18:02: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 689483E8B20 for ; Thu, 17 Sep 2020 18:02:45 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BslDh2CQFz4NMf for ; Thu, 17 Sep 2020 18:02:43 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 36869 invoked from network); 17 Sep 2020 18:02:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=8ffd.5f63a4bd.k2009; bh=65/87QyJCQE6cPXrrLimOofuBuREpX6wylb8HrBgpEA=; b=3UOG3rqzRkiw2UWohIsVACjadwv0QwGDoKt43cT1Hs1C3y3SlFNmPIgplD0ETrB51MkEyPzH58yc1Xy+vmVl4IkBjR5E1jaK5f58C9wOUtP/ggHuIf8H6Mou1BWLVJhukpL2pdUagGjkq5xBZRz3AJFmNM62GPLBvSezq7zA9ylM/2p9/9n/PmOLg0SrAYznSbrRUwsrwW+Gn0MkgpXKb/z4wzWO7yURGYm+w/qfYkDiJyqRMwrQ1W7PSCkijVx6FeIK1t9UWqlOzcFeynjJ21SHN3wRz3jZp8cuK7LGyO0oCKqf1TFXy6/0cRKDc3gPvC7Q4th4tJvRBGDLslRzBA== Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 17 Sep 2020 18:02:37 -0000 Received: by ary.qy (Postfix, from userid 501) id D4C06214A92D; Thu, 17 Sep 2020 14:02:36 -0400 (EDT) Date: 17 Sep 2020 14:02:36 -0400 Message-Id: <20200917180236.D4C06214A92D@ary.qy> From: "John Levine" To: freebsd-questions@freebsd.org Cc: dead_line@hotmail.com Subject: Re: fresh server sendmail or postfix / webmail. In-Reply-To: Organization: Taughannock Networks X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Rspamd-Queue-Id: 4BslDh2CQFz4NMf X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=iecc.com header.s=8ffd.5f63a4bd.k2009 header.b=3UOG3rqz; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-5.06 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[iecc.com:s=8ffd.5f63a4bd.k2009]; NEURAL_HAM_MEDIUM(-1.01)[-1.014]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[iecc.com:dkim]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f07:1126::/64]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.01)[-1.011]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[iecc.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[iecc.com,none]; NEURAL_HAM_SHORT(-0.53)[-0.532]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[hotmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] 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, 17 Sep 2020 18:02:45 -0000 In article you write: >Dear FreeBSDer, > >Good day/evening. > >I have up and running mail server with some web apps, server running since many years back until today (7-Release, 🙂 ) its >time to move to a new server! thank you freebsd! > >for the new server: >1. >is it really important to change MTA to postfix or any other MTA than sendmail ? >or send mail is enough. (my existing old server is on sendmail) its a Mail server ! It depends on what you want to do. If the web apps are just sending out a few status messages, I'd use dma to send the mail to a smarthost. It's part of the base system and very easy to set up. >if yes, is installing postfix from /ports enough? If you want a full MTA, yes. > >2. >any recommendation for a webmail ? (maybe roundcube) ? >(on my old server openwebmail works great! but unfortunately, its outdated) Everyone uses roundcube. It works pretty well. It does need IMAP and submission servers on the same host or elsewhere for the actual mail service. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly From owner-freebsd-questions@freebsd.org Fri Sep 18 02:05: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 8C4E33F4B60 for ; Fri, 18 Sep 2020 02:05:03 +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 4BsxxB70v4z3yDK for ; Fri, 18 Sep 2020 02:05:02 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.140.236]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id E95834E64C; Thu, 17 Sep 2020 20:58:17 -0500 (CDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: partitioning server with 2 hard drives From: Valeri Galtsev In-Reply-To: <20200918015609.GA37787@neutralgood.org> Date: Thu, 17 Sep 2020 20:58:15 -0500 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <2EA28B13-6886-4268-90A4-FC281DD92C63@kicp.uchicago.edu> References: <20200918015609.GA37787@neutralgood.org> To: "Kevin P. Neal" X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Rspamd-Queue-Id: 4BsxxB70v4z3yDK 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 [6.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.140.236:received]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; GREYLIST(0.00)[pass,body]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.77)[0.773]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.140.236:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.02)[-0.015]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.03)[0.026]; 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: Fri, 18 Sep 2020 02:05:03 -0000 > On Sep 17, 2020, at 8:56 PM, Kevin P. Neal wrote: > > On Tue, Sep 15, 2020 at 04:58:46PM -0500, Valeri Galtsev wrote: >> Apologies about Linuxism question: we do not have "nodev" mount option >> (I just double checked with man mount). Are we weaker here than Linux >> folks? I do use "nodev" in addition to the above on world writable mount >> points on Linux boxes. > > The mknod man page says that devices outside of devfs don't work since > FreeBSD 6.0. So there's no need for "nodev". Thanks a lot, Kevin. I always say to myself: you learn something every day. Valeri > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "What is mathematics? The age-old answer is, of course, that mathematics > is what mathematicians do." - Donald Knuth From owner-freebsd-questions@freebsd.org Fri Sep 18 05:07: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 4313E3D82A2 for ; Fri, 18 Sep 2020 05:07:31 +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 4Bt1zl0BzTz46FZ for ; Fri, 18 Sep 2020 05:07:31 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 050333D827A; Fri, 18 Sep 2020 05:07:31 +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 03A253D8278 for ; Fri, 18 Sep 2020 05:07:31 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oo1-xc41.google.com (mail-oo1-xc41.google.com [IPv6:2607:f8b0:4864:20::c41]) (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 4Bt1zj5KGZz46MC for ; Fri, 18 Sep 2020 05:07:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oo1-xc41.google.com with SMTP id r4so1144525ooq.7 for ; Thu, 17 Sep 2020 22:07: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=WtRx1tod+S+xmVemK62YO84ZtlEGIPqgIBc0BHJktaU=; b=cDdD0L1XNfoJu2d6HlGiQsoJ9aaF+xbkgM14/Zc30Mlv5gBhz5s/X9JBd3aFHl87z4 kBkAw5BP2jQccSaAQhdpBhsvM/veUtsai0dzAazFAxWQjG+U+qRbjqxnZQ6jzT44xB+m 3L15fkhTKLAbC0YOHisXF1sc2HFDa80nj2u+EatM3STF4P8LSIwK1Tmaz1qqyK7ru9zr Wo8A1wYs2mnuzrz67SdJKxWT+xyOtlDou4ao8+OR3PNQjPK/sCJ6ylFP8OSAK/jY6/4g 9MS2TsK6Se3toHH1zGVIL82uYeG1+6/bJORRJcXTMouoIqK3Pzjm+LPJONtMM9IkcBxX 9Hyw== 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=WtRx1tod+S+xmVemK62YO84ZtlEGIPqgIBc0BHJktaU=; b=g22YOrYeJo6550zA+RBnQCEX64Tl/PNkgJMHpswsX4lGpFUFxEYm1tZKx1Q5/jJwhU I87T2AJpFsu2ZDJVX/652O0TXW2Bd3ezXykRq3Lt5yz4cGAyJLariBUd42LALxqvnpDV wAHoGIkAvYQhu4K+EqoIEt7rn4ljJfKm/kNC/bdjPODOF9gDCeO0pe9oQYSekOiXopNx RziqFvL8NbN8W16s89m8qdH0CobQpNlHMO9ldDOqDv1jbuPYzBwDi1H8HEPTLO498/yb LYKRMLmKw11DsWnHRyrfPs0pB9870u8H9EKsvwtBu9nfGJIxmsf8g33gS5HbWIfaL3Ks 5LEg== X-Gm-Message-State: AOAM531rTFE5M8/h3fwSMaZGUzi5H8oMz+lkPHJcG+fzacspQBHSgPYv e616WEgXCHc5GYtbwPcyNPJJbiADxU/GqEzXs4v8DY7oA6V7qQ== X-Google-Smtp-Source: ABdhPJyLPz7ekNLZ7nM6lAPo84y1co3w5O5EZ9zx7V6b2Dk7Fnm+bCOHlJXVgN4NV94WO2CMax3ys3BImdUh0KkmenQ= X-Received: by 2002:a4a:e75a:: with SMTP id n26mr22567122oov.29.1600405647658; Thu, 17 Sep 2020 22:07:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Thu, 17 Sep 2020 22:07:11 -0700 Message-ID: Subject: Re: ipfw matching traffic to broadcast (255.255.255.255) To: Shane Ambler Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4Bt1zj5KGZz46MC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=cDdD0L1X; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::c41 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-2.60 / 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(-0.87)[-0.871]; 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)[-0.998]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.03)[-1.031]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::c41: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, 18 Sep 2020 05:07:31 -0000 On Tue, Sep 15, 2020 at 1:02 AM Shane Ambler wrote: > On 12/9/20 7:07 am, Kevin Oberman wrote: > > 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? > > While man ipfw says that " 'any' matches any IP address", you should > note that a broadcast address is a special IP address which means every > IP in the subnet. > > I had trouble getting a minidlna server to respond on my home network, > the dlna client broadcasts on a udp port to discover servers, to get it > through my firewall I needed to specifically allow packets to the > broadcast address rather than to any. > > This worked for me - > > ipfw add 5880 pass udp from any to 239.255.255.250 dst-port 1900 > > So try > > ipfw add 3220 deny udp from 192.168.1.18 9050 to 255.255.255.255 9050 > > or to account for dynamic addresses > > ipfw add 3220 deny udp from any to 255.255.255.255 9050 > > -- > FreeBSD - the place to B...Silencing Data > > Shane Ambler > Yes, this is exactly how I resolved the issue. Actually, I used "ipfw add 3220 deny udp from 192.168.1.18 9050 to 255.255.255.255". Works fine. Maybe a small update to the doc would be in order. -- 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 18 05:13: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 D016E3D85B2 for ; Fri, 18 Sep 2020 05:13:20 +0000 (UTC) (envelope-from soyeomul@doraji.xyz) Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bt26R55ZFz46XK for ; Fri, 18 Sep 2020 05:13:19 +0000 (UTC) (envelope-from soyeomul@doraji.xyz) Received: by mail-pf1-x42f.google.com with SMTP id o20so2666102pfp.11 for ; Thu, 17 Sep 2020 22:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=doraji.xyz; s=yw; h=from:to:subject:organization:message-id:references:date:in-reply-to :user-agent:mime-version:content-transfer-encoding; bh=hXKbtBryVEy8YEr2DHAvIRXO2HQJeDg4KCD6lqx9cck=; b=V4S2M/kKRP0Y9swWlulajB8/d6XunO1OSoqwpea8oKrEb1J2pU3vFZd46rlHFllBD3 mlvW8/fcpE4/DI/aGVQa20OlByBx+5NIWqt+fK4wKPTzt77+s0Z9FeWGkwGCV02ZxRsF 9RYwlPI17K0PekrNv6yOM0DFZChNupt91qU+9tY6CiN6uX5sFGIeGxieaHD8tV5xe39s 7qU/IPPak47ufRT4yLf8K3IiQ5YNH5zPfCtLeF4VdFvdVrsJsAmvGPaYo+C3qg9OJMAf HDqBnQc9lvOG1UFpn/z0IkHLGpG/fAMfr7QfeRrbJfvqhUHFqd54nsgw1/DOn9uk7Nyh wjlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:message-id :references:date:in-reply-to:user-agent:mime-version :content-transfer-encoding; bh=hXKbtBryVEy8YEr2DHAvIRXO2HQJeDg4KCD6lqx9cck=; b=oTws3cWSnkG6ApVtoHSgZ2/eTvXQ/1uxyd8nYprCVR3Kn8uCx1arLIGq5uyCeVaeHc sZFnQ5IexRUINgg4ibYK5hzPQjzK7JsLqhNVxkTIcSFa5SCr57oF7bM4TGlVFjQklVds lZ0aL3ofh3TktD1i66PdmSbLXtYs8pDgHs4F+miCQdtyfX+yo85hYfqXT6XLjP1OSmBp yTpKmw/g37Am4hhs4D30IC6S0hGBpX93oAJLc2Sf//8JbYASlWW4ELHhY5jbKzID+uDg zdU44exlywcvpQMBNh9Q55wjyr6NzzYmBuyYyCbM0FhzRuWmi07aW5WypTSpwai8lROD vkmQ== X-Gm-Message-State: AOAM533sjf2WTZQkOKeVNiDl0GMPDhmnh6ucjTZSmExWj4TWhub1K8/R HNF8Eky7sWwAtkB0wNC6uYrWkdNXij8b0zJt X-Google-Smtp-Source: ABdhPJzuohC/pE5V2P7Btc+F+b3WPfrcG58/Yd/zIR3aaRrUM6U8Y3gHmAya5UICsUE22mxF+21V6w== X-Received: by 2002:a62:7bc7:0:b029:138:9430:544e with SMTP id w190-20020a627bc70000b02901389430544emr31556513pfc.1.1600405997934; Thu, 17 Sep 2020 22:13:17 -0700 (PDT) Received: from delta.birch.chromebook ([223.62.190.177]) by smtp.gmail.com with ESMTPSA id gk14sm1403888pjb.41.2020.09.17.22.13.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Sep 2020 22:13:17 -0700 (PDT) Received: by delta.birch.chromebook (sSMTP sendmail emulation); Fri, 18 Sep 2020 14:13:10 +0900 From: soyeomul@doraji.xyz (=?utf-8?B?7Zmp67OR7Z2s?=) To: "User Questions" Subject: Re: fresh server sendmail or postfix / webmail. Organization: =?utf-8?B?6YeR6Zm1ICjsl7Dsm5DsnZgg66eI7J2MKQ==?= Message-ID: References: <20200917073741.214d3438@scorpio.seibercom.net> X-Thanks-Workers: =?utf-8?B?7J2066eI65GQLCDsnbTsiJzsi6AsIOyghOuqheyImSwg?= =?utf-8?B?7KeE7ZGc7Jyo7IKsLCDqtIDsmrTsnqUsIOqwle2DnOqztQ==?= X-Thanks-Today: =?utf-8?B?J+yDgeygnOq7mOyEnCDtg5zsnbgg64+E7LC97ZiE7JeQIA==?= =?utf-8?B?7J6I64qUIOyasOusvOydhCDqsIDrpqzsvJwg44CM7J206rKD7J20IOyglig=?= =?utf-8?B?5LmzKSDsg5jsnbTrnbwu44CN6rOgIO2VmOyLnOqzoCDjgIzrj4TripQg7J6l?= =?utf-8?B?7LCoIOq4iOqwleyCsCDsnbzrp4wg7J207LKc67SJ7J2EIOydkeq4sO2VmA==?= =?utf-8?B?7JesIOydvOunjCDsnbTsspzsnZgg64+E7Ya16rWw7J6Q66GcIOywveyEsQ==?= =?utf-8?B?7ZWY66as6528LiDqt7jrn6zrgpgg7ZuE7LKc7J2YIOuPhO2Gteq1sOyekA==?= =?utf-8?B?7JeQ64qUIOyXrOyekOqwgCDrp47snLzrpqzrnbwu44CN7ZWY7Iuc6rOgIA==?= =?utf-8?B?44CM7IOB7JygIOuPhOywvSDspJHsnKAg7YOc7J24IO2VmOycoCDrjIDqsIEo?= =?utf-8?B?5LiK5pyJ6YGT5piM5Lit5pyJ5rOw5LuB5LiL5pyJ5aSn6Ka6KeOAjeydtA==?= =?utf-8?B?65286rOgIOunkOyUgO2VmOyFqOuPhOuLpC4n?= X-Thanks-Thanks-Thanks: =?utf-8?B?7LKc7ZWY7LC97IOd7J2EIOuLpCDsgrTrpqzsi5w=?= =?utf-8?B?66Ck64qUIOuniOydjC4uLl5eXg==?= X-Thanks-MID-Tool: https://gitlab.com/soyeomul/__yw__/-/blob/master/tmid.py X-Thanks-Absolete-Coding-System: UTF-8 X-Operating-System: =?utf-8?B?4omqZGluZ+KJqw==?= -- The Gnus X-Gnus-Motto: In a cloud bones of steel. X-Gnus-Desktop: GNOME ('Ubuntu', '18.04', 'bionic') Date: Fri, 18 Sep 2020 14:13:10 +0900 In-Reply-To: <20200917073741.214d3438@scorpio.seibercom.net> (jerry@seibercom.net's message of "Thu, 17 Sep 2020 07:37:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Bt26R55ZFz46XK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=doraji.xyz header.s=yw header.b=V4S2M/kK; dmarc=none; spf=none (mx1.freebsd.org: domain of soyeomul@doraji.xyz has no SPF policy when checking 2607:f8b0:4864:20::42f) smtp.mailfrom=soyeomul@doraji.xyz X-Spamd-Result: default: False [-0.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[doraji.xyz:s=yw]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.55)[-0.547]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[doraji.xyz]; NEURAL_SPAM_MEDIUM(0.09)[0.094]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[doraji.xyz:+]; NEURAL_HAM_SHORT(-0.19)[-0.192]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42f:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[223.62.190.177: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: Fri, 18 Sep 2020 05:13:20 -0000 Jerry writes: > ... > Personally, I would recommend 'postfix'. It is actively being developed > and its email forum is the best that I have seen. +1 ;;; Sincerely, Byung-Hee --=20 ^=EA=B3=A0=EB=A7=99=EC=8A=B5=EB=8B=88=EB=8B=A4 _=E5=B8=83=E5=BE=B7=E5=A4=A9= =E4=B8=8B_ =EA=B0=90=EC=82=AC=ED=95=A9=EB=8B=88=EB=8B=A4_^))// From owner-freebsd-questions@freebsd.org Fri Sep 18 22:43: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 E3D153F2079 for ; Fri, 18 Sep 2020 22:43:50 +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 4BtTQZ54fbz4GJK for ; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id AC9613F2078; Fri, 18 Sep 2020 22:43:50 +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 AC5F63F27AB for ; Fri, 18 Sep 2020 22:43:50 +0000 (UTC) (envelope-from kob6558@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 4BtTQY6dfMz4G4X for ; Fri, 18 Sep 2020 22:43:49 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id x14so8925257oic.9 for ; Fri, 18 Sep 2020 15:43:49 -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=ExvbBSJvqq1j1b3DMkvu3oHzJIdVqoMh6QwiNJvQUUo=; b=YthhMSZIOvLClRjK8JPEv1LDCX/pBlcrAZNoCbXEeRjcQXaarpgWoOZiEyjuY4c86g O2hvB1YKy4QwMWFQG8PqXEMbygBpJzNuwf49ikuwwgjGOzjQwkbPwFTa0vVeRMyNBED2 6yED1dRzjSAvv1P5ioSBCbeE8lAqGup41pH2N2Q9xMsoj1BT2ghdDX0h67impQGohdzD ExCnmbMY2xuLftz0w0N2kDu5jiz44fpCoquW5zi5kd39hQb8Qqo2Cb9QEEPy/JqS4o5h bqB41GAsoBtRYvXMe+ghrZ1VhKNaYZEn/U+6yVD7LHYT9namJgh3KCIakooAzD6+YZQ2 nIaA== 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=ExvbBSJvqq1j1b3DMkvu3oHzJIdVqoMh6QwiNJvQUUo=; b=D876O1tIkIBnBYB8+FoE6yiBlmCGZe5GDGXCVjCtYBrzN2nn9R1x/Jv5Dr5WHNpkMT HLlnKG1k9/NDK2KKuMKOrNRj/8ixXKlAU+9imSPyJlZQ8Q98dbE4LF7pTIzAuSsSdVO9 ECdkqLzJEVX4UbRrtBd2JrQJUTI0DzPOLEyFuXgEyLdM75FmdQsbFGRvmI+4X1JsbgkA yD71ZGinr/Fs16NYcEg0EcwQfv37AvACLKv6/16rGgWR/30Ylhny2YdEaZkClh20RaBu rXVlzaY0J5fa4v4APv4sdBnKZ5P1D5FvQHgLYF2LCfX49H20PbNOmqc9Y0rvp1ckX2YW 20/A== X-Gm-Message-State: AOAM532uj1KtqEB8jpB+A9+S0hDdbvzkFRMO04NVClXsHbyqmxNUMNCR wx8XyhJdksIFZm7SXe+m/GE4emNYFT6Ild3xKSVhWV89Poc= X-Google-Smtp-Source: ABdhPJzCODxz80eIUId8Trpl8xksWI+kGoJlyR0UNGu1fgrf5rUXMqvdBOwGuET0e37TmpfnlKTSevl66wiym+olnoA= X-Received: by 2002:aca:d946:: with SMTP id q67mr10747083oig.27.1600469028338; Fri, 18 Sep 2020 15:43:48 -0700 (PDT) MIME-Version: 1.0 From: Kevin Oberman Date: Fri, 18 Sep 2020 15:43:31 -0700 Message-ID: Subject: Create new geli file system using existing key To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 4BtTQY6dfMz4G4X X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YthhMSZI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.85)[-0.846]; 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]; NEURAL_HAM_LONG(-1.03)[-1.030]; 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::22d:from]; NEURAL_HAM_SHORT(-0.46)[-0.459]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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: Fri, 18 Sep 2020 22:43:50 -0000 I suspect the answer to this is "you can't" and I can understand some strong arguments against it, but I have a case where it would be handy and not a security risk. Can I initialize a GELI partition using the same key I am currently using for teh file system it is replacing? I am moving to a new computer and would love to keep the key (not pass phrase) I am currently using as it will greatly simplify my backup procedure. I could dd copy the existing raw, encrypted partition, but my new system has a larger disk and dd of a partition results in the partition being resized to match the source partition size. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Sat Sep 19 04:07: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 8BF9C3F997E for ; Sat, 19 Sep 2020 04:07:04 +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 4BtcbW1Rp6z4XhX for ; Sat, 19 Sep 2020 04:07:02 +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, 18 Sep 2020 21:06:52 -0700 Subject: Re: Create new geli file system using existing key To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: Date: Fri, 18 Sep 2020 21:06:52 -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: 4BtcbW1Rp6z4XhX 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 [3.02 / 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.61)[0.613]; 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.62)[0.619]; ARC_NA(0.00)[]; NEURAL_SPAM_LONG(0.89)[0.887]; 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: Sat, 19 Sep 2020 04:07:04 -0000 On 2020-09-18 15:43, Kevin Oberman wrote: > I suspect the answer to this is "you can't" and I can understand some > strong arguments against it, but I have a case where it would be handy and > not a security risk. > > Can I initialize a GELI partition using the same key I am currently using > for teh file system it is replacing? I am moving to a new computer and > would love to keep the key (not pass phrase) I am currently using as it > will greatly simplify my backup procedure. > > I could dd copy the existing raw, encrypted partition, but my new system > has a larger disk and dd of a partition results in the partition being > resized to match the source partition size. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 If by "key" you mean the GELI metadata, perhaps 'geli backup...' on the old provider and 'gpart create...', 'gpart add...', 'geli restore...', 'geli resize...', 'geli setkey...', and 'geli delkey...' on the new disk would meet your needs (?). But, I would caution against installing both disks into the same system. I am curious -- how does having the same GELI metadata simplify your backup procedure? David From owner-freebsd-questions@freebsd.org Sat Sep 19 14:36: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 AB4973E28DE for ; Sat, 19 Sep 2020 14:36:38 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-oln040092072106.outbound.protection.outlook.com [40.92.72.106]) (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 4BttYx4Knbz3gMN for ; Sat, 19 Sep 2020 14:36:37 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ACJZhYq7Y3or7S1Q4LoaNe82Lxjous7sGfpTD30NRUcvBlEHUH+vMlwzKi6KIYNs4LC22uDOV/eGlQF4d9HJQYvrriNyZ1jC5oEORR3mfD9yoIL+uipy+8fUWP9mCHQKGTDykyxn95Ee6VALsJu0cAHNwXxX+v36dTw0Sk3hNKW+PWVwLO01EO5/Ktwxrl5DzvOsThgfvJhxxAkaVYUgWJXvmK1mkOpMve8q/BcIXoZlj5zhW/BT8Y6WnWJzIFooPvjz/Guj3zgD5vk8jgjqFOjdjSype4VTiB0m5kLMzDOytgCoA/8PoqANf2Dh5PYkdw2OVU7buf1y5sZsFQFciQ== 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=8OAl79NpILHhxa16JlZHMkITlwir+XAA9YwoYaOSiMc=; b=UeXQNE0xiMgDpSctBeNWkmU+YTR254eRiz24NW2x2o2IBpyNsQR8Pe6f8ZcRvyz3Jm9qwH/LPGy6gYxnn8K9jCh7gKkCzolTrGTfSpxt07uoVMzjltzAgBIxuRud1z9i/3pUwMkyOoIo54+nTuq2uJWs0bfMOw1IRHps5nZ2PTyn2mtaj1t/JUehvb/MaJhCkyN1eV51VlGjsSynCxgXTpZy1WAt+afmLi1LbwfAo03VRYQ94hp4qK8TD18AcvhmEmOWpBPbj3LPgfz77vFw7CtC7OH2459AYBfMhcygd530EZgYK6EitODarxSneUVkRzGNV0IIFb+2IyrPhzu9AQ== 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=8OAl79NpILHhxa16JlZHMkITlwir+XAA9YwoYaOSiMc=; b=qWse0DPdvc31dRFAozBdnFZ+1R/2AjMB+zvbT6/HbZx8dI9cj38jjxorIDZsVats4Fbf5FvR7AJ0oVWny56rYk/LziCLMOLHQgjH1Ge4Y8yeumESXynvKrvoWG0WE+HG/3fswDLzOb4BduQgoCaDkM4wARpnuKwZTpJ4oLTB/vEHmWVXMo3fd5ZXIEdp8hvAEskYBi+2bDPpDiN/ivab5b7oWKRwFWn2PnhmQ2hrJjMNU/It7/HF6R8oLXrk7d6yKSqbAXqItWiMiUfp6lmthH5yvJHtW/jEAD6FtCC6Ktm93q9BUvmvEhR+F/LyQDFoKRRLACTfDXGhrxagEFXFVg== Received: from AM5EUR03FT042.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::4b) by AM5EUR03HT031.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e08::242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Sat, 19 Sep 2020 14:21:13 +0000 Received: from DB8PR06MB6442.eurprd06.prod.outlook.com (2a01:111:e400:7e08::41) by AM5EUR03FT042.mail.protection.outlook.com (2a01:111:e400:7e08::424) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15 via Frontend Transport; Sat, 19 Sep 2020 14:21:13 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A6462F85584DAB900816DB61400DAADE6B7F328EC21F7DF380592D3EF6B79393; UpperCasedChecksum:64703C3160CA7744CAB0CA2BF6DE16E5399F72CF040C43C678B4E5F7C997AF2E; SizeAsReceived:8605; Count:46 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.3391.011; Sat, 19 Sep 2020 14:21:13 +0000 To: FreeBSD From: Manish Jain Subject: Dual-booting/triple-booting FreeBSD under UEFI Message-ID: Date: Sat, 19 Sep 2020 19:51:07 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BMXPR01CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::23) To DB8PR06MB6442.eurprd06.prod.outlook.com (2603:10a6:10:126::7) X-Microsoft-Original-Message-ID: <7dfb969b-aa99-3791-8015-e6f400d0ea1a@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.2] (103.195.202.16) by BMXPR01CA0059.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.11 via Frontend Transport; Sat, 19 Sep 2020 14:21:12 +0000 X-Microsoft-Original-Message-ID: <7dfb969b-aa99-3791-8015-e6f400d0ea1a@hotmail.com> X-TMN: [2QgKcYVohOxWXPnAqcq+SFoZ6MyyG0VG] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: df5daa26-fb0e-4401-3a80-08d85ca742f0 X-MS-TrafficTypeDiagnostic: AM5EUR03HT031: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kBhMpi/gudJ6JLgKpVav1IWXG2oGhAAZdwn6rICj+VrUD7QisCP0sDRy5tjpXQEy3HqueVsOvZTGyLpehM0wJEHz0y1p9ADlpnm+87fmx1+HwefqW42pUvjC18R9ryQUNIpVWO65aC0rbgJD8Hgf9s08RdiRhXxds5f4JYzUj0lScG8F/mKbS8luR02UAX7mhzD0WLXiFGNHreO51v/73GgDKTrgtMf09fvJaTzGPDjE/neerfOhlhfF56e8ofqI X-MS-Exchange-AntiSpam-MessageData: XjS3m/YRqwJbcyRC8DgOGl9E5QybZsYa3VkjCz5xfqSWYvy8Xzz4O6DYaIVV/5yuW2HeXW2sF+lgZA7b1AzEnp00dHn0st6mSzALxTHj5vN/JC8zMjBThes6QW/iBFgznceMp0ifI56XBA6nXZjOag== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: df5daa26-fb0e-4401-3a80-08d85ca742f0 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2020 14:21:12.9729 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT042.eop-EUR03.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: AM5EUR03HT031 X-Rspamd-Queue-Id: 4BttYx4Knbz3gMN X-Spamd-Bar: +++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=qWse0DPd; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of bourne.identity@hotmail.com designates 40.92.72.106 as permitted sender) smtp.mailfrom=bourne.identity@hotmail.com X-Spamd-Result: default: False [9.51 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(0.00)[+ip4:40.92.0.0/15]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(0.00)[hotmail.com,none]; RCVD_IN_DNSWL_LOW(-0.10)[40.92.72.106:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(0.00)[microsoft.com:s=arcselector9901:i=1]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; RECEIVED_SPAMHAUS_XBL(5.00)[103.195.202.16:received]; R_DKIM_ALLOW(0.00)[hotmail.com:s=selector1]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.11)[0.105]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; RCPT_COUNT_ONE(0.00)[1]; BAD_REP_POLICIES(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_SPAM_LONG(1.01)[1.012]; RECEIVED_SPAMHAUS_PBL(0.00)[103.195.202.16:received]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.72.106: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: Sat, 19 Sep 2020 14:36:38 -0000 Hi, Anybody wanting to dual-boot/triple-boot FreeBSD under UEFI may refer to the following document I created (with extensive help from Polytropon ): https://github.com/bourne-again/TripleBoot-UEFI/blob/master/00-TripleBoot-UEFI.pdf Thanks & Regards, Manish Jain From owner-freebsd-questions@freebsd.org Sat Sep 19 22:14: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 8E4DB3F1009 for ; Sat, 19 Sep 2020 22:14:50 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 4Bv4kd21Dxz4ZB2 for ; Sat, 19 Sep 2020 22:14:48 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qk1-x72a.google.com with SMTP id f142so10816601qke.13 for ; Sat, 19 Sep 2020 15:14:48 -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=RymJQJw+R1+UvjKB7nDyFbHuRQJ/Yn4mWvDOMF1eFgA=; b=WeU874PUvnVhjXW3QgMxZ9n+tIetJs06qfOs22yZZOfEzoYfH5hSL02E2lsOF9vVNU Izfr/rFeRuo7OUsjkQbfgizOg7dYYr3GQxTveSJ1Gwu01VQWf7FLLuZqgFmVMz99jR5l jZFjys3fRI5xvqZ08E7vwhU5vo8GcMbW2Jiis= 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=RymJQJw+R1+UvjKB7nDyFbHuRQJ/Yn4mWvDOMF1eFgA=; b=dpHkbt9KQ/z4jr8TAYnVcn+ZHSrNSP32N2tO/41jKrIcTEKa50ltMpRXV8f45HkbqY N7jvNMxghKvUOiDErYg6v3+T/KMefAxkm56qTITN/ibTMum8cK4fZRYtpIJxC3VDbFSl QgzeWfoFNtFwzOh73p3C+0sabkvVdIC4Xu7/xKKiAST9Okm8zM89HUqt7qvJAVXlobKA bcgRKEP7ePt5KDd42nAT/TtABLcqaqaQGAg01iSREP4uvOREqKVKQ/LBggODc/z7KSd0 bEG4nHaJpCJB2nkRrCqLXRyMT210vfSEXIOn5rnK9f8IOn3ujmBMNdtygEoiCHYAO8hK bkJg== X-Gm-Message-State: AOAM531lf7+wOTZi5YiqEOBaD0JT6ziWGZSFhYSFoFTtxLNXeyZr6xSS s3IN+ijm3x/NfNR4cPdeTj+0CMfzkMlCEA== X-Google-Smtp-Source: ABdhPJw/OuB2Z/Kh+HHYHLNvRbo2OTNWc6GbZHorT5vNJRN7REk742po7tdAoapo5Aa1SayjA7wWmQ== X-Received: by 2002:a05:620a:4d0:: with SMTP id 16mr37851973qks.200.1600553306223; Sat, 19 Sep 2020 15:08:26 -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 192sm5224173qkm.110.2020.09.19.15.08.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Sep 2020 15:08:24 -0700 (PDT) Received: from localhost (hp-envy.seibercom.net [192.168.1.102]) (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) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 4Bv4bC5QVzz1Q0F for ; Sat, 19 Sep 2020 18:08:23 -0400 (EDT) Date: Sat, 19 Sep 2020 18:08:14 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Re: Dual-booting/triple-booting FreeBSD under UEFI Message-ID: <20200919180814.00005391@seibercom.net> In-Reply-To: References: Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/cyVQjRL5XaECn5vsr73tNTZ"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 4Bv4kd21Dxz4ZB2 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=WeU874PU; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::72a as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [2.82 / 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]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; RECEIVED_SPAMHAUS_PBL(0.00)[174.109.231.236:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; REPLYTO_EQ_TO_ADDR(5.00)[]; 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.95)[-0.954]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.96)[-0.955]; 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]; NEURAL_SPAM_SHORT(0.33)[0.332]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72a: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: Sat, 19 Sep 2020 22:14:50 -0000 --Sig_/cyVQjRL5XaECn5vsr73tNTZ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 19 Sep 2020 19:51:07 +0530, Manish Jain commented: >Hi, > >Anybody wanting to dual-boot/triple-boot FreeBSD under UEFI may refer >to the following document I created (with extensive help from >Polytropon ): > >https://github.com/bourne-again/TripleBoot-UEFI/blob/master/00-TripleBoot-= UEFI.pdf I just ran across this article while researching this topic. I don't know if it has any bearing here, however. https://www.zdnet.com/article/boothole-attack-impacts-windows-and-linux-sys= tems-using-grub2-and-secure-boot/ --=20 Carmel --Sig_/cyVQjRL5XaECn5vsr73tNTZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl9mgU4ACgkQOHMGOIfe xWSYHwf+OEOeZnqxiF+0hC+HNCtCsemyozAVAIlaSMYHLvAXHGnUeUGvunbNucm5 /ON/09HYe96nJ6RxyffxF71PXns/UwVy3JdRliS4vzI4NP7zFgn7sj5pHGtCY7IC iml3GAq862WGZ7yqOs2c2Ow/zrVbsfoEFBhHu4a0r6/RQwgCeAgwjWPg6B1xYHWR 9EYN1jS/a+MbAbUNKQ+VfgWMVfIOYIQKa42HDKHbllAvPujz3DqKW+EANjNjXJpv VszlYzDm7okJEN1hhbQIhTwToWeEOKnHmW2lLlvnJU+Osdj/cC5I3vFFCBHQve/m nbiFJOeE7LabcCXJ/FirXN4MaDIOKw== =tS1G -----END PGP SIGNATURE----- --Sig_/cyVQjRL5XaECn5vsr73tNTZ--