Hi,
I am a newbie at all this and lost in the dataset thingy. I have set-up a zfs raided pool with 5 disks called tank1. I have been using it for a while as a simple CIFS share.
Now, that the pool is starting to fill-in, I just realize that I should have enabled compression.... upsi.....
Anyhow, since I still have some room left in the pool, I was thinking I could perhaps:
1 - Create a dataset in the pool tank1 (let's call it T1Dataset with no quota)
2 - Enable compression in the dataset T1Dataset - gzip 6
3 - Move all the files from tank1 into T1Dataset
The gist of it is that as files are "removed" from tank1 and compressed into T1Dataset, as space frees from tank1, this space can be used by T1Dataset. Since the actual space used by T1Dataset will be less than the uncompressed files in tank1, I am guessing it should work.
However, I am lost at the whole datast thingy.
To create a dataset in GUI, I go to Disk / ZFS / Datasets and create one with compression enabled. Save.
So far, so good. And now what?
If I check Disk / ZFS / Dataset / Information, is not listed there (only tank1)
If I check Disk / ZFS / Dataste is listed there
If I check Disk / ZFS / Configuration / Current, it is there
If I check Disk / ZFS / Configuration / Detected, it's not there
Furthermore, where is T1Dataset mounted? I can't find it anywhere.
What am I missing? Do I need to reboot or something for the dataset to be created?
Totally lost. Any help would be very appreciated! Tx!
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Newbie - How to enable compression? Lost...
-
tine1999
- NewUser

- Posts: 1
- Joined: 02 Jul 2012 19:34
- Status: Offline
- lux
- Advanced User

- Posts: 193
- Joined: 23 Jun 2012 11:37
- Location: Bielefeld, Germany
- Contact:
- Status: Offline
Re: Newbie - How to enable compression? Lost...
would not work
i spend some time to test zfs compression some month ago
there's no noticable higer compression for media files such as video/audio/pics
don't know your files but if any (compressed) media in there is would say it would not work
i spend some time to test zfs compression some month ago
there's no noticable higer compression for media files such as video/audio/pics
don't know your files but if any (compressed) media in there is would say it would not work
Home:11.3.x.7538/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only
- johl
- NewUser

- Posts: 14
- Joined: 29 Jun 2012 07:53
- Location: Örebro
- Status: Offline
Re: Newbie - How to enable compression? Lost...
Hi, you can see a dataset as an map and as a filesystem, in which you can set compression, permissions and split your snapshots. Hence, every dataset can create/be used as an snapshot (not the whole pool). If needed, run snapshot with -R to handle to whole pool for snapshot. Works perfect when you'll need to set quotas for different things for you needs. I use it for my time capsule "slice", my snapshots, and some dropbox-alike applications SparkleShare.
If you start and console or and ssh session, you can type:
To se some of your usage in ifs.
Cheers Jonas
If you start and console or and ssh session, you can type:
Code: Select all
# zfs list -o spaceCode: Select all
# zfs list -t snapshotCheers Jonas
tine1999 wrote:Hi,
I am a newbie at all this and lost in the dataset thingy. I have set-up a zfs raided pool with 5 disks called tank1. I have been using it for a while as a simple CIFS share.
Now, that the pool is starting to fill-in, I just realize that I should have enabled compression.... upsi.....
Anyhow, since I still have some room left in the pool, I was thinking I could perhaps:
1 - Create a dataset in the pool tank1 (let's call it T1Dataset with no quota)
2 - Enable compression in the dataset T1Dataset - gzip 6
3 - Move all the files from tank1 into T1Dataset
The gist of it is that as files are "removed" from tank1 and compressed into T1Dataset, as space frees from tank1, this space can be used by T1Dataset. Since the actual space used by T1Dataset will be less than the uncompressed files in tank1, I am guessing it should work.
However, I am lost at the whole datast thingy.
To create a dataset in GUI, I go to Disk / ZFS / Datasets and create one with compression enabled. Save.
So far, so good. And now what?
If I check Disk / ZFS / Dataset / Information, is not listed there (only tank1)
If I check Disk / ZFS / Dataste is listed there
If I check Disk / ZFS / Configuration / Current, it is there
If I check Disk / ZFS / Configuration / Detected, it's not there
Furthermore, where is T1Dataset mounted? I can't find it anywhere.
What am I missing? Do I need to reboot or something for the dataset to be created?
Totally lost. Any help would be very appreciated! Tx!
-
aaronb
- Starter

- Posts: 26
- Joined: 25 Jun 2012 08:16
- Status: Offline
Re: Newbie - How to enable compression? Lost...
You Datasets are Mounted within the pool they are created from.
When you created your ZFS file system, you created the RAIDz1, the Pool, and the Dataset.
The mount point by default is /mnt/Pool/Dataset
- in other words, the dataset looks like a folder within the Pool.
If you add another dataset to the pool, i.e. - newDataset, it also is mounted by default in the pool at /mnt/Pool/newDataSet
You should be able to share out the Pool and see both.
You should also be able to just share out the other dataset to see them both from the network.
When you created your ZFS file system, you created the RAIDz1, the Pool, and the Dataset.
The mount point by default is /mnt/Pool/Dataset
- in other words, the dataset looks like a folder within the Pool.
If you add another dataset to the pool, i.e. - newDataset, it also is mounted by default in the pool at /mnt/Pool/newDataSet
You should be able to share out the Pool and see both.
You should also be able to just share out the other dataset to see them both from the network.