Search results

  1. patpro

    ZFS Remove a disc from a RAIDZ1 pool and recreate a new pool

    I’m currently testing parts and variants of this scenario. It can be really important to use an altroot when importing a pool ;) After step 5, I should do zpool import -o altroot=/mnt my-other-pool to prevent a huge mess. Also, as I plan to ship a FreeBSD 14 install on SSD to insert in a...
  2. patpro

    Other Modify ssd Overprovision

    I'm aware of this difference, but I don't understand if the failure on the NVMe drive comes from my config or from a limitation of camcontrol. Edit: if I understand correctly, NVMe drives are not connected to the CAM subsystem, hence the inability to «camcontrol» them. Bummer.
  3. patpro

    Other Modify ssd Overprovision

    Thanks! It works on my old gateway (FreeBSD 14): # camcontrol hpa /dev/ada1 pass1: <KINGSTON SKC600MS512G S4800105> ACS-3 ATA SATA 3.x device pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes) Feature Support Enabled Value Host Protected Area (HPA) no...
  4. patpro

    Other Modify ssd Overprovision

    Hello, If I add an SSD on a freebsd server and that SSD supports overprovision with "Host Protected Area", is there a way to change the overprovision ratio natively on freebsd? (or do I have to boot a Linux or Windows to use a dedicated piece of software to do that?)
  5. patpro

    Autostart kopia server on freebsd (backup server)

    Hello, have you found an answer somewhere else?
  6. patpro

    Solved linuxulator and FreeBSD ACL

    I’m running the linux binary of Splunk in Linuxulator (/compat/devuan01 chroot). Inside chroot it runs as splunkfwd, 1000:1000. Outside chroot, 1000:1000 is undefined, so I’ve created a FreeBSD user: splunklinux:*:1000:1000:Splunk Forwarder Linux:/opt/splunkforwarder:/bin/sh Because my...
  7. patpro

    Solved linuxulator and FreeBSD ACL

    Well, can you self-consume an NFS mount? It also means I need to run an NFS client in Linux userland, unless the FreeBSD host can be the client. I guess I could try (if fact I could also get rid of ACLs and change POSIX rights to indulge my needs). But more importantly I would love to...
  8. patpro

    Solved linuxulator and FreeBSD ACL

    Hello I’ve setup a Linux (Devuan) chroot environment on my FreeBSD 13.x server. I’m using nullfs to mount few ZFS filesystems inside the chroot. One of these FS has ACLs,that the linux part seems unable to see: # grep /var/log /etc/fstab /var/log /compat/devuan01/var/hostlog...
  9. patpro

    ZFS Remove a disc from a RAIDZ1 pool and recreate a new pool

    that’s actually step 1 of my scenario :) I prepare one SSD, and ship it with another blank SSD (step 2) ohhh I would probably have forgot this one, thanks. I’ll have to import my SAS pool after booting on the SSD, too. About data synchronization: I plan to restore most files from a backup...
  10. patpro

    ZFS Remove a disc from a RAIDZ1 pool and recreate a new pool

    Agreed, it makes me nervous too, but back in the days I used to upgrade FreeBSD by make/make install/etc, remotely over ssh and without IPMI ;) Good preparation is the key (and competent support inside the DC in case it derails). NVMe is not an option for me: - for the price of 2x8TB NVMe I...
  11. patpro

    ZFS Remove a disc from a RAIDZ1 pool and recreate a new pool

    Hello, I have a server with 4 SAS HDDs (no empty slot remaining), configured as a RAIDZ1 $ zpool list -v sas NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT sas 21.8T 4.36T 17.4T - - 38% 20% 1.00x ONLINE -...
  12. patpro

    Solved can’t get ipv6 to work on my gateway (behind a freebox)

    Interesting, thank you, I’ll play with that later as I plan to provide IPv6 to my LAN :)
  13. patpro

    Solved can’t get ipv6 to work on my gateway (behind a freebox)

    Hello! Thanks a lot, you nailed it. It was a problem with PF :( I’ve tested the paa out rule for inet6 and boom, it worked! I can’t ditch the freebox yet, it provides telephone and some TV services that someone in the household does not want to let go, yet :)
  14. patpro

    Solved can’t get ipv6 to work on my gateway (behind a freebox)

    Hello, I’m running a FreeBSD (13.2-RELEASE-p2) gateway between my LAN and internet. On the WAN side (em1) it’s hooked to a freebox (the fiber "modem" of my provider) setup in bridge mode. Relevant rc configuration: ifconfig_em1="DHCP" gateway_enable="YES" ifconfig_em0="inet 192.168.0.1...
  15. patpro

    Solved IPV6 not working

    edit first post IIRC
  16. patpro

    PF adding "log" to blacklistd anchor?

    I did, of course. Everything is properly setup, I just want to log hits for blacklistd-managed rules that are "inside" the anchor. And apparently the only way to do so is to implement the solution from shurik
  17. patpro

    PF adding "log" to blacklistd anchor?

    Thank you both. I do understand that an anchor is not a rule, but you can add some context related element to an anchor (like "in", "on $ext_if", etc.) so I was hopping there was a way to add "log" too. Changing the helper is a "high maintenance" solution if I want to ensure my own helper stay...
  18. patpro

    PF adding "log" to blacklistd anchor?

    Hello, I'm using blacklistd on my FreeBSD 13.x servers (ssh, submission) and I would like pf to log when a connection attempt hit the rule. Currently I use: anchor "blacklistd/*" in on $ext_if I've tried to add "log" at different places in this statement, but got only "syntax error" from...
  19. patpro

    Solved bash oddity on FreeBSD with version 5.1 and beyond

    Well. My question is about the behavior of bash, the default shell on FreeBSD is irrelevant :)
Back
Top