Search results for query: Read file name

  1. The following words were not included in your search because they are too short, too long, or too common: name
  1. johnjohn

    attn cpp coders

    I've just read a review of the match posted by a noobile reporter named Celia, a.k.a CiCi. She gave the match a final grade of C++ - meaning that she approves of the Champion. C is her favorite letter. You have quite an imagination eternal_noob I have read every word and i've enjoyed your sense...
  2. eternal_noob

    attn cpp coders

    He cracked his knuckles like they were about to meet an opponent, not a keyboard. “Alright,” he muttered, staring down the glowing screen, “let’s step into the ring.” The bug had been waiting for him all morning. Nasty one. Slippery. The kind that ducks under your punches and makes you doubt...
  3. rwatt

    ZFS Extremely slow disk I/O on OpenStack. Need help interpreting results.

    I started going down this rabbit hole after upgrading three virtual machines from FreeBSD 14.3-RELEASE-p9 to 14.4-RELEASE. These are hosted on an OpenStack cluster not administered by me. This was a proof-of-concept, so to speak, to move some servers off VMware vSphere to another group's...
  4. Mjölnir

    'Must-have' basic tools from ports for a server?

    Preliminary answer, sorry TL;DR, I will read the rest of your post later. But this is not my intention. Most likely this is a misunderstanding. The 'must-have' in the thread title means s/th like: "I consider this port extraordinarily valuable in problematic situations, e.g. activating...
  5. SirDice

    IPFW Checking a website for IP-address changes

    Missing a pipe here. And you probably meant $IPFILE not a file named 'IPFILE' in the current working directory.
  6. M

    IPFW Checking a website for IP-address changes

    Apparently, I made a mistake somewhere. ./dyn-ip-hosts.sh ./dyn-ip-hosts.sh: 18: Syntax error: "do" unexpected #!/bin/sh FILE="/root/scripts/sites.hosts" IPFILE="/root/scripts/dyn-ip.list" TMPFILE="/root/scripts/sitestmp" IPFWFULES="/root/scripts/ipfwrules" echo -n >$IPFILE cat $FILE|grep...
  7. Mjölnir

    Server layout: rootfs on USB flash drive or NVMe?

    Status to satisfy Alain De Vos Result summary of these (naive) diskinfo tests: The SATA HDD makes about 110-235 MB/s read, up to 115 MB/s@8 MB random writes and 270 IOPS@512 B The SATA SSD makes ~ 350-400 MB/s read, up to 170 MB/s@2-8 MB random writes and ~75k IOPS@4 kB (the 1st run gave up...
  8. M

    IPFW Checking a website for IP-address changes

    A very simple and working solution, just what I needed! You can check several problematic sites at the same time. Below, I've added a table cleanup and rewrite. It runs on cron every half hour, and everything works, thanks. It would also be good idea to check if the entries in dyn-ip.list...
  9. F

    IPFW Checking a website for IP-address changes

    A website may have more than one ip address. I use this script, written in 5 minutes on my knees. The resulting ip list is entered into the ipfw table. #!/bin/sh FILE="/usr/local/etc/zsites/sites.hosts" IPFILE="/usr/local/etc/zsites/sites" TMPFILE="/usr/local/etc/zsites/sitestmp" echo -n...
  10. Mjölnir

    Server layout: rootfs on USB flash drive or NVMe?

    I bought 2 poor-to-medium quality NVMe drives, used, 256 GB. The board has PCIe 3 x 4 lanes IIRC, and NVMe 1.3. So plugging in hyper-dyper-throw-your-money-at-me NVMe drives just doesn't make sense. These are already much faster than the rotating SATA HDD, that's all I want; and since reads...
  11. Mjölnir

    Server layout: rootfs on USB flash drive or NVMe?

    After 2 SSD crashes within 4 years with data loss, I decided I want a NAS box. Found a neat used semi-professional SOHO NAS box, only 3-4 years old, and since it's fairly decent hardware I'll also use it as a general-purpose server at home. For storage It has an internal USB 2 plug (inside the...
  12. cracauer@

    attn cpp coders

    None of this require manually using new() or malloc(3). You are not in *actual* dynamic memory management. What you need before you tackle the C++ collection classes is some theory. Which kind of collection data structure is good for what, and what can they do, what can they hold? You want to...
  13. cracauer@

    ZFS NFS: read-only does not allow reading

    Right, that is the problem. A single NFS mount cannot (normally) span several server-side filesystem mounts. ZFS seems to hack that up for snapshots, but not in a complete enough way. Maybe a solution is to actually export and mount the snapshot separately.
  14. U

    ZFS NFS: read-only does not allow reading

    Just to be clear, snapshots are completely independent datasets/filesystems as far as the server is concerned. On a ZFS system, going into .zfs/snapshot/xyz will cause it to automatically mount the snapshot dataset (pool/mydataset@xyz) onto that xyz directory. mount hides this unless you use the...
  15. T

    ZFS NFS: read-only does not allow reading

    Apparently only NFSv4 minorversion "2" is affected ("2" is default, if not specified otherwise), "0" and "1" are not. NFSv3 isn't affected as well. See mount_nfs for "minorversion" and "nfsv4". On my test setup (15.0-RELEASE, NFS server and client), a minorversion=2 copies a file, but it's...
  16. johnjohn

    attn cpp coders

    Hello and i hope that you are having a good day. I am beginning my c++ journey. I have a dozen books and an iso specification, plus i am using the cppreference website for further research. I have a question (which requires a bit of a description) for any cpp coders in the forum. I cannot find...
  17. A

    Useful scripts

    This script was generated by ChatGPT 5.4 Plus Extended Thinking. I have checked it out and it seems okay to me. I'm using it and it works. AI-HATERS: Please, don't use this thread to crap on AI. You can reference to this post in an existent or new off-topic thread and express yourself there...
  18. A

    ZFS NFS: read-only does not allow reading

    That's a very kind answer, thank you. You are a wholesome person. Here's an excerpt of what ChatGPT 5.4 Plus Extended Thinking generated about this issue in case it casts some light. If it says anything outrageous, please shout at it (I'm speaking to everybody, not to the OP), not at me. I'm...
  19. PMc

    ZFS NFS: read-only does not allow reading

    *Laugh* Sure, that works. I didn't, and it isn't. Only the .zfs subdirectory is readonly (always, maintained by zfs itself) It woudn't happen on the target, because the target is writeable. Using dd (like Alfredo showed) does work. Copying in two steps (from the .zfs subdirectory to somewhere...
  20. M

    ZFS NFS: read-only does not allow reading

    So source of the cp is a zfs snapshot, destination is NFS? I would ask "what is under the NFS file system?" To me, it's obvious the zfs snapshot is readonly (because that's part of the definition of a snapshot). I'm not sure what that error message is actually referring to. Is it the zfs...
Back
Top