You can dd files too.
Greetings
David
You can dd files too.
Greetings
David
Hi David,
thanks for the tip. Copied one 1080p-movie from my system ssd to the lz4-compressed filesystem and after that to the uncompressed filesystem with the following results:
root@mediatank:/# dd if=/tmp/test.mkv of=/mediatank/videos/videos/test.mkv
62896466+1 Datensätze ein
62896466+1 Datensätze aus
32202991065 Bytes (32 GB) kopiert, 356,293 s, 90,4 MB/s
root@mediatank:/# dd if=/tmp/test.mkv of=/mediatank/videosc/test.mkv
62896466+1 Datensätze ein
62896466+1 Datensätze aus
32202991065 Bytes (32 GB) kopiert, 351,629 s, 91,6 MB/s
Copying the file to the lz4 compressed filesystem was a little bit faster. More testing is not necessary for me, because the performance is quite the same for such media files.
Because of my test results and the fact that since freenas 9.2.1 lz4 compression is activated in the default configuration, I decided to activate lz4 compression for my entire pool.
Greetings Hoppel
Hi guys,
another question. When I check my partitions with fdisk I get the following output:
root@mediatank:~# fdisk -l
Disk /dev/sda: 232,9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x466bed89
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 468553727 468551680 223,4G 83 Linux
/dev/sda2 468555774 488396799 19841026 9,5G 5 Extended
/dev/sda5 468555776 488396799 19841024 9,5G 82 Linux swap / Solaris
Partition 3 does not start on physical sector boundary.
Disk /dev/sdb: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D11BC10B-E10C-9F4A-A706-C546EEFA4747
Device Start End Sectors Size Type
/dev/sdb1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdb9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdc: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6925394E-BC5D-7D48-9E3A-5A1EE2FB8B61
Device Start End Sectors Size Type
/dev/sdc1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdc9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdd: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3BB1311E-F682-0143-B22B-19B60E7DABFF
Device Start End Sectors Size Type
/dev/sdd1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdd9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sde: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CB0981D4-1481-CA43-A00B-7645D6684C66
Device Start End Sectors Size Type
/dev/sde1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sde9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdf: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: AD304C98-1491-4941-B75D-67F987EA3C91
Device Start End Sectors Size Type
/dev/sdf1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdf9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdg: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F8C0AB07-D16E-854B-96EB-237032573934
Device Start End Sectors Size Type
/dev/sdg1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdg9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdh: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 62569B24-FC97-5342-8363-9824BD9FE35C
Device Start End Sectors Size Type
/dev/sdh1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdh9 7814019072 7814035455 16384 8M Solaris reserved 1
Disk /dev/sdi: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: F24243BB-109D-3B4E-A3A5-F3F01FFE9606
Device Start End Sectors Size Type
/dev/sdi1 2048 7814019071 7814017024 3,7T Solaris /usr & Apple ZFS
/dev/sdi9 7814019072 7814035455 16384 8M Solaris reserved 1
Alles anzeigen
Is this correct for /dev/sdb-/dev/sdi?
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
In the first moment I thougt that I forgot the ashift=12 alignment while creating the pool, but its correct for 4k hdds:
root@mediatank:~# zpool set cachefile=/tmp/zpool.cache mediatank
root@mediatank:~# zdb -U /tmp/zpool.cache | grep ashift
ashift: 12
Shouldn't it be "Units: sectors of 1 * 4096 = 4096 bytes" after the ashift=12 alignment?
Greetings Hoppel
hi guys,
at the moment everthing works really flawless, but who can answer my question about the sector alignment?
And I have another last question. Under "Storage - File Systems" is listed one of my zfs filesystems. But I think this is not correct, because my other zfs filesystems also aren't specified there. Have a look at the screenshot. Can you explain the right way to remove it from this section?
Greetings Hoppel
Can a pool created in FreeNAS 9.10 to OMV? I've read in this same thread many post ago that ZoL didn't had all the flags needed, but that was 1 year ago.
If I remember right the new feature flags came up in freenas v9.3.
But I am not absolutely sure...
Even if some of the features aren't supported, that doesn't mean that a pool cannot be imported. It really depends on which features you're using on your pool and which are supported (or how well) on ZoL. Use `zpool get all ${your pool}` to see which features you're using and then you can check the `zpool-features` man page to see which are supported. ZoL's man page in source form is available here https://github.com/zfsonlinux/…man/man5/zpool-features.5. On my system, it lists:
async_destroy, empty_bpobj, filesystem_limits, lz4_compress, spacemap_histogram, extensible_dataset, bookmarks, enabled_txg, hole_birth, embedded_data, large blocks
As always, backups are a great idea.
I remember at the date that hole_birth was introduced in freenas 9.3 pools would not import into ZoL. I think that got fixed months later.
confirmed: [HOWTO] Instal ZFS-Plugin & use ZFS on OMV
I can do another test later today if I find some time with latest freenas
Thank you so much.
Now I'm toying with ZFS in OMV and I'm finding that the GUI is lacking in a few options, but it does the work.
If you ask about what options I wasn't able to find how to replace a disk in a RAID-Z or to set the autoexpand to yes without using the CLI.
Also the "Edit Options" menu should give a list of available options to things like the Compression.
Also the "Edit Options" menu should give a list of available options to things like the Compression.
I also missed that "dropdown menu". It is ok, if you know how to use google and the command line.
Compression works, just have to write type of compression method and not expect a drop down.
Or am I just lucky?
Question to plug-in programmer: Possible to add scrub option of sunday night scrub every two/three/four weeks?
Compression works, just have to write type of compression method and not expect a drop down. Or am I just lucky?
Yes, you are right, but a dropdown menu would be nice.
Is anybody working on compatibility to omv >3.0.13? Greetings
version 2.1.0 of ZFS shows in plugins list but everytime i try to install i get a status 1 error code. i have tried to purge the package and reinstall, but get the same thing. I have even downloaded .deb package to root and tried to dpkg install this way and get the same errors. Nothing i do works. please help.....
Post the error output.
dpkg -i openmediavault-zfs_2.1.0_amd64.deb
Reading database ... 59545 files and directories currently installed.)
Preparing to replace openmediavault-zfs 2.1.0 (using openmediavault-zfs_2.1.0_amd64.deb) ...
Unpacking replacement openmediavault-zfs ...
Setting up openmediavault-zfs (2.1.0) ...
update-rc.d: using dependency based boot sequencing
FATAL: Module zfs not found.
dpkg: error processing openmediavault-zfs (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for openmediavault ...
Restarting engine daemon ...
Errors were encountered while processing:
openmediavault-zfs
i couldn't copy the output from the gui installer, but this is from SSH and it looks the same.
This also pops up when i try to hit the check box on update manager: not sure if related
Failed to execute command 'export LANG=C; apt-get update 2>&1': Ign file: Release.gpg Ign file: Release Ign file: Translation-en Hit http://archive.zfsonlinux.org wheezy Release.gpg Hit http://download.mono-project.com wheezy Release.gpg Hit http://security.debian.org wheezy/updates Release.gpg Hit http://archive.zfsonlinux.org wheezy Release Hit http://download.mono-project.com wheezy Release Hit http://security.debian.org wheezy/updates Release Hit http://ppa.launchpad.net precise Release.gpg Hit http://packages.openmediavault.org stoneburner Release.gpg Ign http://dh2k.omv-extras.org stoneburner-miller Release.gpg Ign http://shell.ninthgate.se squeeze Release.gpg Hit http://packages.omv-extras.org stoneburner-backports Release.gpg Hit http://ppa.launchpad.net precise Release Hit http://ftp.us.debian.org wheezy Release.gpg Hit http://archive.zfsonlinux.org wheezy/main amd64 Packages Hit http://download.mono-project.com wheezy/main amd64 Packages Hit http://security.debian.org wheezy/updates/main Sources Hit http://ftp.us.debian.org wheezy-updates Release.gpg Ign http://dh2k.omv-extras.org stoneburner-miller-testing Release.gpg Get:1 https://dl.bintray.com wheezy Release.gpg [475 B] Hit https://dl.bintray.com wheezy Release.gpg [475 B] Ign http://shell.ninthgate.se squeeze Release Hit http://ftp.us.debian.org wheezy Release Hit http://security.debian.org wheezy/updates/contrib Sources Hit http://ppa.launchpad.net precise/main amd64 Packages Hit http://packages.omv-extras.org stoneburner Release.gpg Hit http://ftp.us.debian.org wheezy-updates Release Hit http://ftp.us.debian.org wheezy/main Sources Hit http://security.debian.org wheezy/updates/non-free Sources Hit http://dh2k.omv-extras.org stoneburner-miller Release Hit http://ftp.debian.org wheezy-backports Release.gpg Hit http://packages.openmediavault.org stoneburner-proposed Release.gpg Hit http://ftp.us.debian.org wheezy/main amd64 Packages Hit http://ppa.launchpad.net precise/main Translation-en Hit http://security.debian.org wheezy/updates/main amd64 Packages Hit http://ftp.us.debian.org wheezy/main Translation-en Hit http://packages.omv-extras.org stoneburner-testing Release.gpg Ign http://download.mono-project.com wheezy/main Translation-en Hit http://ftp.us.debian.org wheezy-updates/main Sources Hit http://security.debian.org wheezy/updates/contrib amd64 Packages Hit http://ftp.debian.org wheezy-backports Release Ign http://archive.zfsonlinux.org wheezy/main Translation-en Hit http://dh2k.omv-extras.org stoneburner-miller-testing Release Hit http://ftp.us.debian.org wheezy-updates/contrib Sources Hit http://security.debian.org wheezy/updates/non-free amd64 Packages Hit http://ftp.us.debian.org wheezy-updates/non-free Sources Hit http://packages.omv-extras.org stoneburner-mono Release.gpg Get:2 https://dl.bintray.com wheezy Release.gpg [475 B] Hit https://dl.bintray.com wheezy Release.gpg [475 B] Hit http://security.debian.org wheezy/updates/contrib Translation-en Hit http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex Hit http://ftp.debian.org wheezy-backports/main amd64 Packages/DiffIndex Hit http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages Hit http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages/DiffIndex Hit http://security.debian.org wheezy/updates/main Translation-en Ign http://dh2k.omv-extras.org stoneburner-miller/main amd64 Packages/DiffIndex Hit http://packages.openmediavault.org stoneburner Release Hit http://ftp.us.debian.org wheezy-updates/contrib Translation-en Hit http://packages.omv-extras.org stoneburner-mono-testing Release.gpg Hit http://security.debian.org wheezy/updates/non-free Translation-en Hit http://ftp.us.debian.org wheezy-updates/main Translation-en/DiffIndex Hit http://ftp.us.debian.org wheezy-updates/non-free Translation-en/DiffIndex Hit http://ftp.debian.org wheezy-backports/contrib amd64 Packages/DiffIndex Hit http://packages.omv-extras.org stoneburner-backports Release Get:3 https://dl.bintray.com wheezy Release [1124 B] Hit https://dl.bintray.com wheezy Release [1124 B] Ign http://dh2k.omv-extras.org stoneburner-miller-testing/main amd64 Packages/DiffIndex Hit http://ftp.debian.org wheezy-backports/non-free amd64 Packages/DiffIndex Hit http://packages.openmediavault.org stoneburner-proposed Release Hit http://packages.omv-extras.org stoneburner Release Hit http://ftp.debian.org wheezy-backports/contrib Translation-en/DiffIndex Hit http://packages.omv-extras.org stoneburner-testing Release Hit http://ftp.debian.org wheezy-backports/main Translation-en/DiffIndex Get:4 https://dl.bintray.com wheezy Release [1124 B] Hit https://dl.bintray.com wheezy Release [1124 B] Hit http://packages.omv-extras.org stoneburner-mono Release Hit http://packages.openmediavault.org stoneburner/main amd64 Packages Hit http://ftp.debian.org wheezy-backports/non-free Translation-en/DiffIndex Hit http://packages.omv-extras.org stoneburner-mono-testing Release Hit http://packages.openmediavault.org stoneburner/partner amd64 Packages Hit http://packages.omv-extras.org stoneburner-backports/main amd64 Packages Get:5 https://dl.bintray.com wheezy/main amd64 Packages [828 B] Hit https://dl.bintray.com wheezy/main amd64 Packages [828 B] Err http://shell.ninthgate.se squeeze/main amd64 Packages 404 Not Found Ign http://shell.ninthgate.se squeeze/main Translation-en Hit http://packages.omv-extras.org stoneburner/main amd64 Packages Hit http://packages.omv-extras.org stoneburner-testing/main amd64 Packages Get:6 https://dl.bintray.com wheezy/main amd64 Packages [1234 B] Hit https://dl.bintray.com wheezy/main amd64 Packages [1234 B] Hit http://packages.openmediavault.org stoneburner-proposed/main amd64 Packages Hit http://packages.omv-extras.org stoneburner-mono/main amd64 Packages Hit http://packages.omv-extras.org stoneburner-mono-testing/main amd64 Packages Hit http://dh2k.omv-extras.org stoneburner-miller/main amd64 Packages Ign http://dh2k.omv-extras.org stoneburner-miller/main Translation-en Hit http://dh2k.omv-extras.org stoneburner-miller-testing/main amd64 Packages Ign http://dh2k.omv-extras.org stoneburner-miller-testing/main Translation-en Ign https://dl.bintray.com wheezy/main Translation-en Ign https://dl.bintray.com wheezy/main Translation-en Ign http://packages.omv-extras.org stoneburner-backports/main Translation-en Ign http://packages.omv-extras.org stoneburner/main Translation-en Ign http://packages.openmediavault.org stoneburner/main Translation-en Ign http://packages.omv-extras.org stoneburner-testing/main Translation-en Ign http://packages.openmediavault.org stoneburner/partner Translation-en Ign http://packages.omv-extras.org stoneburner-mono/main Translation-en Ign http://packages.omv-extras.org stoneburner-mono-testing/main Translation-en Ign http://packages.openmediavault.org stoneburner-proposed/main Translation-en W: Failed to fetch http://shell.ninthgate.se/pack…ain/binary-amd64/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead.
Hi,
does anyone know a way to automatically create a zfs filesystem for each users home directory (during user creation) instead of a normal folder?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!