steini84

Community Developer
  • Posts

    434
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by steini84

  1. One way around that would be to run a blank install in a vm I suppose. I wonder if@limetech could give you some kind of dev licence for that. 

    I actually do that and don't need a license for that purpose. I just don’t have it spun up 24/7 smile.png&key=d7bc0bbbfa2056a2a63af437c1f4a1188d2d7eb0deb5aa11e8f34aa88765e668

     

     

    Sent from my iPhone using Tapatalk

  2. 21 hours ago, Marshalleq said:

    Hey, I feell bad enough just asking all the time - so even tomorrow would be amazing!  Shame it can't autogenerate locally - that would be cool.

     

    Updated for RC6

     

    The build progress is really automated already. No problem to fully automate the build process, just a matter of expanding the build script:

    https://github.com/Steini1984/unRAID6-ZFS/blob/master/build.sh

     

    The problem Is more that I don't have a server running the RC series so I don't get any notifications about updates . 

  3. I have the same setup, didn't have to re-install ZFS plugin after installing Unraid Nvidia. Be good if @steini84 can confirm just for sanity.

    I don’t see why you would need to reinstall. On the setup where I tested it with both plugins it was working without problems.


    Sent from my iPhone using Tapatalk
    • Thanks 1
  4. On 11/11/2019 at 11:37 AM, sotirone said:

    Here is a written guide from LevelOneTechs, just thought I should mention it here: https://forum.level1techs.com/t/zfs-on-unraid-lets-do-it-bonus-shadowcopy-setup-guide-project/148764

    Complimentary videos are on the Gamers Nexus YouTube channel.

     

    Thank you so much for the answer!

     

    Thanks so much for your work and contribution!

    Also, I am really surprised that UnRAID is running on the latest kernel! I was really thinking that it would be on some old kernel since NAS/server distros tend to do so.

     

    Also, on the GUI side of things, there is some active development on integrating ZFS with Cockpit: https://forums.servethehome.com/index.php?threads/cockpit-zfs-manager-coming-in-november.25668/

     

    Would running cockpit on UnRAID or integrating the ZFS-manager plugin into the OS itself be something that could be feasible?

    I think it would be a huge undertaking to incorporate cockpit with unRAID, but I personally don´t have a use case for that so I did not think it through.

  5. Hi,

     

    Here is a companion plugin for the ZFS plugin for unRAID.

     

    Quote

    ZnapZend is a ZFS centric backup tool to create snapshots and send them to backup locations. It relies on the ZFS tools snapshot, send and receive to do its work. It has the built-in ability to manage both local snapshots as well as remote copies by thinning them out as time progresses.

    The ZnapZend configuration is stored as properties in the ZFS filesystem itself.

     

    To install you copy this url into the install plugin page in your unRAID 6 web gui or install through the Community Applications.

    https://raw.githubusercontent.com/Steini1984/unRAID6-ZnapZend/master/unRAID6-ZnapZend.plg

     

    To run the program i recommend using this command to put the log in a separate file

    znapzend --logto=/var/log/znapzend.log --daemonize

    You can start ZnapZend automatically from the boot file or you can create a empty file called auto_boot_on under /boot/config/plugins/unRAID6-ZnapZend/

    touch /boot/config/plugins/unRAID6-ZnapZend/auto_boot_on

    Documentation can be found on https://www.znapzend.org/ and I recommend using the examples as a starting ground.

     

    Here are some links worth checking also:

    https://github.com/oetiker/znapzend/blob/master/doc/znapzendzetup.pod

    https://www.lab-time.it/2018/06/30/zfs-backups-on-proxmox-with-znapzend/

     

    For example the following command makes automatic snapshots and keeps 24 backups a day for 7 days, 6 backups a day for a month a then a single snapshot every day for 90 days:

    znapzendzetup create --recursive SRC '7d=>1h,30d=>4h,90d=>1d' tank/home

     

    • Thanks 1
  6. 2 hours ago, Marshalleq said:
    So does that mean I can upgrade unraid to rc3 and ZFS will keep working, or does the same kernel need to be assigned to the RC3 version of zfs so that it activates post upgrade?


    Just update, it's the same kernel


  7. I can build for rc3 tomorrow if there is a new kernel. The I have made a plug-in for ZnapZend which is awesome! I can make that available also smile.png&key=d7bc0bbbfa2056a2a63af437c1f4a1188d2d7eb0deb5aa11e8f34aa88765e668


    Sent from my iPhone using Tapatalk

    No need to update for RC3 - same kernel


    Sent from my iPhone using Tapatalk
  8. Hello again all, I've been trying to get autosnapshot working as per page 4 of this post, but have had no end of issues.  It may be the new version of unraid I'm not sure.
     
    For example, the update_cron command doesn't seem to actually update cron i.e /etc/cron.anything or crontab -e - I didn't know unraid could support custom cron - I thought that's why the user scripts plugin was made.  Manually running the cron script says that the file it's referencing doesn't exist, even though I can see quite clearly that it does exist.  So I suppose that's due to permissions, which are -rw-------  1 root root 16937 Oct 19 12:17 zfs-auto-snapshot.sh - however I can't actually change these permissions as root doing anything not even chmod 777 works - is this normal?  I've not noticed this issue before, but to be honest I haven't played around in the scripts directory before.
     
    On the command line I assume the following is acceptable, ID=zfs-auto-snapshot-weekly /boot/config/scripts/zfs-auto-snapshot.sh --quiet --syslog --label=02 --keep=8 but I get permission denied which aligns with the above.
     
    I'm assuming you're going to tell me I need to fix the permissions issue - but thought I'd check in case I'm missing something obvious.
     
    I see 6.8 RC3 is already out which was fast!
     
    Thanks.

    I can build for rc3 tomorrow if there is a new kernel. The I have made a plug-in for ZnapZend which is awesome! I can make that available also :)


    Sent from my iPhone using Tapatalk
    • Like 1
  9. I had some problems with autotrim (high cpu load) so I personally have it disabled for now.

     

    But the property is at least written to the pool

    root@Tower:~# zpool set autotrim=off test
    root@Tower:~# zpool get all test | grep "trim\|NAME"
    NAME  PROPERTY                       VALUE                          SOURCE
    test  autotrim                       off                            default
    

     

  10. My apologies for all the questions, is it possible to make a share with unraid into this mount?  It doesn't seem possible from the GUI.  I assume I'd have to use the Go file?

    Look into smb-extra.conf



    Sent from my iPhone using Tapatalk
    • Like 1
  11. Wow fantastic thankyou!  This is like Christmas!
     
    I've just installed my first ZFS mirror.  I take it I can just upgrade to the new unraid version and ZFS plugin handles that automatically?
     
    I've just done my first 2x8TB HDD's:
    # zpool create -f -m /mnt/data data mirror ata-ST8000NM0055-1RM112_ZA170J50 ata-ST8000NM0055-1RM112_ZA1740ET
    # zfs set compression=lz4 data
     
    Also, I discovered I had to stop the array to do the above otherwise it said,
    "the kernel failed to rescan the partition table: 16, cannot label 'sdd': try using parted(8) and then provide a specific slice: -1"
     
    Will add my VM ssd later to do send/receive to these drives and snapshots which will be very nice.
     
    Does this look OK?
     
    Thanks.

    I try not to give any general zfs advice or support since there are much better forums for that, but yeah that looks fine to me.

    Just update the plugin before you upgrade to the RC and then you are good to go.





    Sent from my iPhone using Tapatalk
    • Thanks 1
  12. Wow fantastic thankyou!  This is like Christmas!
     
    I've just installed my first ZFS mirror.  I take it I can just upgrade to the new unraid version and ZFS plugin handles that automatically?
     
    I've just done my first 2x8TB HDD's:
    # zpool create -f -m /mnt/data data mirror ata-ST8000NM0055-1RM112_ZA170J50 ata-ST8000NM0055-1RM112_ZA1740ET
    # zfs set compression=lz4 data
     
    Also, I discovered I had to stop the array to do the above otherwise it said,
    "the kernel failed to rescan the partition table: 16, cannot label 'sdd': try using parted(8) and then provide a specific slice: -1"
     
    Will add my VM ssd later to do send/receive to these drives and snapshots which will be very nice.
     
    Does this look OK?
     
    Thanks.

    I try not to give any general zfs advice or support since there are much better forums for that, but yeah that looks fine to me.

    Just update the plugin before you upgrade to the RC and then you are good to go.





    Sent from my iPhone using Tapatalk
  13. So 6.8 rc1 is out. I wouldn't normally ask, but given I've just discovered  ZFS on unraid and the whole 6.7 series has performance issues in the array, what are the chances to compile ZFS for 6.8 rc1?
     

    Updated to 6.8 rc1 just for you just pm me if I miss the next rc releases and I can compile.


    Sent from my iPhone using Tapatalk
  14. 3 minutes ago, glennv said:

    Something else i do wonder though with using ZFS.

    How about trim for ssds ?

    I have several ZFS ssd pools and the normal trim command i would run against my btrfs pool(s) does not work anymore for zfs.

    Is it part of ZFS itself somehow ? Or am i missing something ?

     

    ---

    # fstrim -v /mnt/disks/virtuals
    fstrim: /mnt/disks/virtuals: the discard operation is not supported

    You can use zpool trim <poolname>

    https://github.com/zfsonlinux/zfs/commit/1b939560be5c51deecf875af9dada9d094633bf7

     

    I had some problems with autotrim, but I might need to test it again since the bug seems to be fixed 

    https://github.com/zfsonlinux/zfs/issues/8550

  15. 8 hours ago, glennv said:

    Love this plugin. 

    One issue i have is that mountpoints seem to not be persistent over a boot.

    After the boot i have to do a zpool export <pool> and then an import -R <mountpoint> <pool>, to get the mountpoint correct again.

    zfs get mountpoint shows it correctly after the reimport.

     

    Anything i missed ?? Its shitty as my dockers/vm are on there so will fail after reboot untill manualy fixed.

    Can you post the output of zfs get all <pool>

  16. Finally updated for 6.7.0 - sorry for the delay, but I was traveling with little access to a computer.

     

    @voltaic there is always something that comes up, but usually it´s updating the links and then finding new dependencies that might are needed with the updates. I don´t have a set way of doing it, I see it more like a puzzle that needs to be solved.

  17. Hi there!
     
    I took the plunge and upgraded to 6.7.0 Stable today, and the plugin promptly let me know that the kernel was unsupported.
     
    Do we have an update in the works soon?

    Thank you so much for all you've done already!

    Yeah I will push a update in the next few days.


    Sent from my iPhone using Tapatalk