Re: Home NAS

2019-11-17 Thread Janne Johansson
Den lör 16 nov. 2019 kl 22:49 skrev Karel Gardas : > > I tried a home NAS with ZFS, then BTRFS. Those filesystems needs tons of > RAM (~1 GB of RAM by TB of disk), preferably ECC. > > For NAS you prefer ECC anyway and 1 GB RAM consumption per 1 TB of drive > is urban legend probably passed by

Re: Home NAS

2019-11-17 Thread Patrick Marchand
Hi, On 11/17, Predrag Punosevac wrote: > Patrick Marchand wrote: > > On 11/15, Predrag Punosevac wrote: > > > Patrick Marchand wrote: > > > > I'll be playing around with DragonflyBSD Hammer2 (and multiple offsite > > > > backups) for a home NAS over the next few weeks. I'll probably do a > > > >

Re: Home NAS

2019-11-17 Thread Predrag Punosevac
Milun Rajkovic wrote: > Pardon my ignorance and lack of deeper knowledge regarding the matter, > but since when is XFS not even considered for such uses? > Since 2005 if you are Solaris guy. Since 2008 if you are ZFS on FreeBSD or Hammer 1 DragonFly guy. XFS is indeed the most stable and

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Lev Lazinskiy
Hi Edgar, Thanks for the response. On Sun, Nov 17, 2019 at 04:06:18PM -0600, Edgar Pettijohn wrote: > > On Nov 17, 2019 2:35 PM, Lev Lazinskiy wrote: > > > > Hi folks, > > > > I am new to openBSD, so forgive me if I am missing something obvious. > > > > I recently installed openBSD on a

Re: Tape drive

2019-11-17 Thread Martin Schröder
Am So., 17. Nov. 2019 um 23:56 Uhr schrieb Pietro Paolini : > OpenBSD .my.domain 6.3 GENERIC.MP#9 amd64 Not supported anymore; upgrade to at least 6.5 Best Martin

Tape drive

2019-11-17 Thread Pietro Paolini
Hi all, I am currently struggling to get a tape drive to work on a OpenBsd box I've recently installed, I must say I am new to this devices (tape drive) and I have not used them before. I am running : OpenBSD .my.domain 6.3 GENERIC.MP#9 amd64 On a x86-64 Dell, the tape drive is an HP

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 3:21 PM, Consus wrote: > > On 22:05 Sun 17 Nov, Unicorn wrote: > > On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > > > On 16:25 Sun 17 Nov, Unicorn wrote: > > > > After installing redis (and rspamd), before having modified any > > > > part of > > > > redis, starting redis

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Edgar Pettijohn
On Nov 17, 2019 2:35 PM, Lev Lazinskiy wrote: > > Hi folks, > > I am new to openBSD, so forgive me if I am missing something obvious. > > I recently installed openBSD on a server using the auto-partition layout > during installation and am quickly starting to run out of disk space. > > I

Re: Home NAS

2019-11-17 Thread Predrag Punosevac
Patrick Marchand wrote: > Hello, > > On 11/15, Predrag Punosevac wrote: > > Patrick Marchand wrote: > > > I'll be playing around with DragonflyBSD Hammer2 (and multiple offsite > > > backups) for a home NAS over the next few weeks. I'll probably do a > > > presentation about the experience at

Re: Modifying installXX.iso via script

2019-11-17 Thread chohag
Thomas Bohl writes: > Am 17.11.2019 um 19:51 schrieb cho...@jtan.com: > > Thomas Bohl writes: > >> > >> Now I want to go the extra step and automate the modification of the > >> installXX.iso. > > > > I have put an insane amount of work into exactly this, also with > > an eye to portably

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Consus
On 22:05 Sun 17 Nov, Unicorn wrote: > On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > > On 16:25 Sun 17 Nov, Unicorn wrote: > > > After installing redis (and rspamd), before having modified any > > > part of > > > redis, starting redis with 'rcctl start redis' fails. I then tried > > > running

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
On Sun, 2019-11-17 at 23:22 +0300, Consus wrote: > On 16:25 Sun 17 Nov, Unicorn wrote: > > After installing redis (and rspamd), before having modified any > > part of > > redis, starting redis with 'rcctl start redis' fails. I then tried > > running the binary itself in

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Lev Lazinskiy
Hi Brian, Thank you very much, I really appreciate the help. On Sun, Nov 17, 2019 at 03:46:27PM -0500, Brian Brombacher wrote: > Boot into single user mode. At the boot loader prompt, type boot -s. This > will drop you to a root shell. > > > > > On Nov 17, 2019, at 3:39 PM, Lev Lazinskiy

Re: Best Practices for growing disk partitions on a server

2019-11-17 Thread Brian Brombacher
Boot into single user mode. At the boot loader prompt, type boot -s. This will drop you to a root shell. > On Nov 17, 2019, at 3:39 PM, Lev Lazinskiy wrote: > > Hi folks, > > I am new to openBSD, so forgive me if I am missing something obvious. > > I recently installed openBSD on a

Re: Home NAS

2019-11-17 Thread Milun Rajkovic
Pardon my ignorance and lack of deeper knowledge regarding the matter, but since when is XFS not even considered for such uses? Cheers Milun On Sun, Nov 17, 2019, 21:11 Patrick Marchand wrote: > Hello, > > On 11/15, Predrag Punosevac wrote: > > Patrick Marchand wrote: > > > I'll be playing

Best Practices for growing disk partitions on a server

2019-11-17 Thread Lev Lazinskiy
Hi folks, I am new to openBSD, so forgive me if I am missing something obvious. I recently installed openBSD on a server using the auto-partition layout during installation and am quickly starting to run out of disk space. I have read the section in the FAQ [1] regarding how to grow a disk

Re: Moving IKED certificates between routers

2019-11-17 Thread Radek
So.. finally I made it working. Files to copy: /etc/iked/ca/ca.crt /etc/iked/certs/1.2.3.4.crt /etc/iked/crls/ca.crl /etc/ssl/vpn/* /etc/iked/local.pub /etc/iked/private/local.key > > If you change the hostname then yes you'll need to a certificate with the > > new hostname, but then of course

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Consus
On 16:25 Sun 17 Nov, Unicorn wrote: > Hello again, > > I am currently setting up redis with rspamd for my mail setup, but I am > encountering an issue when trying to just start redis. > For the record, I am following the guide at >

Re: Modifying installXX.iso via script

2019-11-17 Thread Thomas Bohl
Thanks. For completeness what I did for now: # vnconfig vnd0 install66.iso # mount -t cd9660 /dev/vnd0c cd/ # cp -r cd cd2 # cp bsd-mod.rd cd2/6.6/amd64/bsd.rd # cp site66.tgz cd2/6.6/amd64/ # mkhybrid -a -R -T -L -l -d -D -N -o install66a.iso -vv -A "Unofficial OpenBSD 6.6 amd64 autoinstall

Re: Modifying installXX.iso via script

2019-11-17 Thread Thomas Bohl
Am 17.11.2019 um 19:51 schrieb cho...@jtan.com: Thomas Bohl writes: Now I want to go the extra step and automate the modification of the installXX.iso. I have put an insane amount of work into exactly this, also with an eye to portably directing the process to other operating systems and

Re: Iked/unbound ~ more info.

2019-11-17 Thread Patrick Dohman
> On Nov 17, 2019, at 11:45 AM, Dale C. wrote: > > Hi again, > > Still trying to forward DNS to a local unbound resolver on the > responder of an IKE tunnel. > > Providing more information here. Everything works, but DNS. > > It's worth noting I've tried many, many variations on these

Re: Home NAS

2019-11-17 Thread Patrick Marchand
Hello, On 11/15, Predrag Punosevac wrote: > Patrick Marchand wrote: > > I'll be playing around with DragonflyBSD Hammer2 (and multiple offsite > > backups) for a home NAS over the next few weeks. I'll probably do a > > presentation about the experience at the Montreal BSD user group > >

Re: Modifying installXX.iso via script

2019-11-17 Thread chohag
Thomas Bohl writes: > > Now I want to go the extra step and automate the modification of the > installXX.iso. I have put an insane amount of work into exactly this, also with an eye to portably directing the process to other operating systems and hosting environments. I'd be very interested to

Modifying installXX.iso via script

2019-11-17 Thread Thomas Bohl
Hello list, I created an autoinstall bsd.rd (containing auto_install.conf and disklabel.conf) and a siteXX.tgz. For example with the tool isomaster I can manually edit the install66.iso and add bsd.rd and site66.tgz to the directory 6.6/amd64. This modified ISO can be booted from real and

Re: Boot failure on XPS 13/9380 (but bsd.rd works)

2019-11-17 Thread chohag
I'd quite like to debug this problem. I'm looking through the code now to find out where I can inject some sort of printf-like statement to glean some information about what it's [not] doing and may eventually even get somewhere. I'll continue to do this regardless because I'm bored and I just

Re: Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
On Sun, 2019-11-17 at 16:25 +0100, Unicorn wrote: > Hello again, > > I am currently setting up redis with rspamd for my mail setup, but I > am > encountering an issue when trying to just start redis. > For the record, I am following the guide at >

Re: Home NAS

2019-11-17 Thread Jean-François Simon
Hi, I found it, there exist glastree which is available from ports. Nice small "poor man's" backup as the author qualifies, though makes incremental backup through hard links: # if yesterday does not exist or today is newer, copy the file # else hard link the file to yesterday

Boot failure on XPS 13/9380 (but bsd.rd works)

2019-11-17 Thread chohag
As per the subject, bsd.rd boots and the installation proceeded as usual. Another laptop saved from ever booting the mess it came preinstalled with. Yay. Subsequently rebooting results in the following (bsd.sp does the same with different addresses): probing: pc0 mem[632K 475M 255M 208M 137M

Starting redis fails with 'Bus error (core dumped)'

2019-11-17 Thread Unicorn
Hello again, I am currently setting up redis with rspamd for my mail setup, but I am encountering an issue when trying to just start redis. For the record, I am following the guide at https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/ After installing

Re: Cron not executing @reboot command in crontab

2019-11-17 Thread Unicorn
> At the top of the file you'll see: > > PATH=/bin:/sbin:/usr/bin:/usr/sbin > > Either {pre,ap}pend /usr/local/{,s}bin or use the full command path. > > Regards, > > Raf > > Use a full path. cran has a very limited default PATH. > > -Otto Thank you both, it works perfectly now!

Re: Cron not executing @reboot command in crontab

2019-11-17 Thread Raf Czlonka
On Sun, Nov 17, 2019 at 11:57:44AM GMT, Unicorn wrote: > Hello, > > I apologize if this is trivial, I genuinely read through all the cron- > related manpages and tried several things, but this is my issue: > > I want to use 'autossh' to automatically establish reverse port > forwarding on boot,

Re: Cron not executing @reboot command in crontab

2019-11-17 Thread Otto Moerbeek
On Sun, Nov 17, 2019 at 12:57:44PM +0100, Unicorn wrote: > Hello, > > I apologize if this is trivial, I genuinely read through all the cron- > related manpages and tried several things, but this is my issue: > > I want to use 'autossh' to automatically establish reverse port > forwarding on

Cron not executing @reboot command in crontab

2019-11-17 Thread Unicorn
Hello, I apologize if this is trivial, I genuinely read through all the cron- related manpages and tried several things, but this is my issue: I want to use 'autossh' to automatically establish reverse port forwarding on boot, so (as root) I can 'crontab -e' and added this line to the bottom: