Posts by adeelleo

    Ok, I think the option in the GUI is to create a folder not share an existing one.


    So i guess the rsync command through a scheduled task is the only option.


    Thanks for the suggestion.


    For the snapshot. Do i need to install the zfs-auto-autosnapshot for automated scheduled snapshots to make auto snapshots work or can this also be done through a scheduled task?

    Hi crashtest,


    Found a way to browse the subfolders from the GUI as well.


    But even after recreating all Pools and copying data back and forth. I still cant seem to get rid of the permission issues.


    When i try to add the source subfolder i get the below error>


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; setfacl --modify group:users:--x /Backups/Backups 2>&1' with exit code '1': setfacl: /Backups/Backups: Operation not supported

    I am current having a challenge configuring rSync though. Appears that the source needs to be a shared folder.


    In my case i have a folder hierarchy. For Example i created a shared folder named data and this folder has multiple folders like office data, personal data etc. I want to use rSync for one of these sub folders not the main folder for each pool. Is that possible in any way?


    Best regards,


    Adeel Akram

    Thanks crashtest,


    You have a very solid point on using snapshots for backup and restore. I didn't think of it from that angle. Would enable snapshots right away.


    Enabled compression on the Multimedia pool as well. Maybe a little bit of space can be saved there. Lets see.


    I was still getting permission errors. So decided to go as per your suggestion and recreate all pools and copy data again. Took me some time to copy over 10TB of Data to and fro between internal disks while recreating each ZFS pool. But it was still much much faster as compared to copying data over the network.


    Best regards,


    Adeel Akram

    Thanks for the valuable inputs crashtest.


    If i see any issues with permissions moving forward i would consider your suggestion on copying back the files to and fro from another storage.


    I might even consider getting rid of ZFS all together. Since I don't use ZFS RAID anyway. I just use rsync to copy important files on another disk based on a daily schedule.


    I am already using Proxmox Kernel. Installed that before installing ZFS.


    Would keep your suggestion of not updating the kernal and ZFS packages before i have a backup.


    Was looking at the below video to backup the OS USB Drive. Lets me know what you think about this process:



    issued the command "zfs set compression=lz4 ZFS1" on the pools that contained Data. Would there be any use issuing this command on the pool that contains only multimedia files, like movies and songs etc. Since i don't think they would be compressed.


    Never used snapshots on FreeNAS either. I replicate the data on this NAS to another NAS periodically to have an offline backup of things.

    Thanks crashtest,


    I actually had already installed OMV-Extras and Rest Permissions.


    I think i tested on one of the Pools as well.


    Just in this case i had not ran it on the pool on which i was trying to modify files. My Bad :-)


    After your suggestion i again ran on all pools and things look to be perfect now.


    I am able to read and write to all pools.


    Thanks for you patience and support. :-)


    OMV has an excellent community. I think i would stick to OMV moving forward. :-)

    Thanks crashtest,


    The zfs destroy Data/.system -r command worked perfectly. (ZFS Tab looks all clean now :-) )


    I already created each shared folder for each ZFS pool as you suggested to give a structure to things. Created another folder with Same name as the pool in each ZFS pool and put all folders inside the same name folder. I then created an SMB share with this folder. All looks nice and clear in the network shares now. With each shared folder having the same name as the ZFS pool.


    Below is what my ACL window looks like:


    I selected the below options as you suggested:


    But after a while i get errors similar to below error on all files and folders in the share:


    setfacl: /Backups/Backups/: Operation not permitted


    Best regards,


    Adeel Akram

    Also i can not seem to delete the highlighted unwanted folders that became visible once i imported the pool from one of the pools.


    Same folders were visible on other pools as well but i was able to delete them one by one from the ZFS tab.


    I Get the below error when i try to delete them.


    No such Mntent exists


    Error #0:
    OMVModuleZFSException: No such Mntent exists in /usr/share/omvzfs/Utils.php:84
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/zfs.inc(253): OMVModuleZFSUtil::deleteOMVMntEnt(Array, Object(OMVModuleZFSFilesystem))
    #1 [internal function]: OMVRpcServiceZFS->deleteObject(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('deleteObject', Array, Array)
    #4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ZFS', 'deleteObject', Array, Array, 1)
    #5 {main}



    Hi raulfg3,


    Yes, i have two disks, each pool with only 1 disk. I am not using ZFS RAID. I use rsync to replicate only the important data on to another disk.


    I am just testing these two disks first before moving the other two to this storage. The data on these disks is also backed up.


    I did the zpool upgrade on one of the disks as you suggested. But that was actually not the issue. I just was not sure how to share the data that was on the pools. Since its been only a few days that i have started using OpenMediaVault.


    After i created shared folders and mapped folders on the Pool with the created shared folder and assigned them to an SMB share i was able to access the data on the pool. I still get permission errors when adding the existing folders but things seem to be working since i am able to read and write data in the folders. Is there an easy way to get rid of all these permission errors.

    Hi raulfg3,


    Below is the output for zpool status for the two pools:


    root@OpenMediaVault:~# zpool status Data

    pool: Data

    state: ONLINE

    status: Some supported features are not enabled on the pool. The pool can

    still be used, but some features are unavailable.

    action: Enable all features using 'zpool upgrade'. Once this is done,

    the pool may no longer be accessible by software that does not support

    the features. See zpool-features(5) for details.

    scan: scrub repaired 0B in 04:07:05 with 0 errors on Sun Dec 27 04:07:09 2020

    config:


    NAME STATE READ WRITE CKSUM

    Data ONLINE 0 0 0

    sdb ONLINE 0 0 0


    errors: No known data errors


    root@OpenMediaVault:~# zpool status Replica

    pool: Replica

    state: ONLINE

    status: Some supported features are not enabled on the pool. The pool can

    still be used, but some features are unavailable.

    action: Enable all features using 'zpool upgrade'. Once this is done,

    the pool may no longer be accessible by software that does not support

    the features. See zpool-features(5) for details.

    scan: scrub repaired 0B in 00:06:21 with 0 errors on Sun Dec 27 00:06:27 2020

    config:


    NAME STATE READ WRITE CKSUM

    Replica ONLINE 0 0 0

    sdc ONLINE 0 0 0


    errors: No known data errors


    Best regards,


    Adeel Akram

    Hi Guys,


    I am moving from TrueNAS to OpenMediaVault.


    Installed the latest version on Debian.


    Have everything configured and running.


    I managed to install zfs and import the pools with the command "zpool import -f PoolName" since import from the GUI was giving errors.


    I am just having issues accessing the Data already on the disks.


    If i create a shared folder it gets created and i am able to write data on the folder. But i am not able to browse the data already on the pool.


    What am i missing. What do i need to do to be able to access the data already stored on the pools.


    Best regards,


    Adeel Akram

    Hi Guys,


    I am in the same boat.


    Moving from TrueNAS to OpenMediaVault.


    Installed the latest version on Debian.


    Have everything configured and running.


    I managed to install zfs and import the pools with the command "zpool import -f PoolName" since import from the GUI was giving errors.


    I am just having issues accessing the Data already on the disks.


    If i create a shared folder it gets created and i am able to write data on the folder. But i am not able to browse the data already on the pool.


    What am i missing. What do i need to do to be able to access the data already stored on the pools.


    Best regards,


    Adeel Akram