ZFS Filesystem


1 zfs pool aanmaken met daarin 2 filesystems:
beide filesystems hebben de beschikking over
de totale opslag van de pool:

Ik en herman gaan even aan de slag.

stap 1: aanmaken zfs-pool op 1 lege slice:

# zpool create -f pool1 c0d0s7

stap 2: aanmaken filesystem in zfs pool:

# zfs create pool1/export

stap 3: aanpassen mount point:

# zfs mountpoint=/export pool1/export

stap 4: nog een ander filesystem aanmaken in pool:

# zfs create pool1/home_dir

stap 5: aanpassen mount point:

# zfs mountpoint=/home_dirs pool1/homedir

stap 6: overzichtje zfs pools:

# zfs list

pool1 248K 9,05G 8K /pool1
pool1/export 8,50K 9,05G 8,50K /export
pool1/home_dir 154K 9,05G 154K /home_dirs

tadaa! zowel /home_dirs als /export zitten in de
zfs pool pool1 en hebben beide 9 Gb tot hun beschikking

Aanmaken ZFS mirror:

root@myhost:~# zpool create raid1 mirror c0d1 c1d0
root@myhost:~# zpool status raid1
pool: raid1
state: ONLINE
scrub: none requested

raid1 ONLINE 0 0 0
mirror ONLINE 0 0 0
c0d1 ONLINE 0 0 0
c1d0 ONLINE 0 0 0

errors: No known data errors

Aanmaken ZFS RAID5 pool:

root@myhost:~# zpool create raid5 raidz c0d1 c1d0 c1d1
root@myhost:~# zpool status raid5
pool: raid5
state: ONLINE
scrub: none requested

raid5 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
c0d1 ONLINE 0 0 0
c1d0 ONLINE 0 0 0
c1d1 ONLINE 0 0 0

errors: No known data errors

compressie aanzetten op ZFS volume:

root@myhost:~# zfs set compression=on raid1
root@myhost:~# zfs set compression=on syspool

quota zetten op ZFS volume:

root@myhost:~# zfs set quota=800m raid1/homedirs/emile

checken van quota:

root@myhost:~# zfs list -o name,used,available,reservation,quota
raid1 165K 976M none none
raid1/homedirs 36.5K 976M none none
raid1/homedirs/emile 18.5K 800M none 800M

This entry was posted in ZFS. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.


  1. Posted March 14, 2015 at 2:28 pm | Permalink

    Please pay a visit to the websites we comply with, such as this one particular, as it represents our picks through the web.

  2. Posted March 19, 2015 at 3:03 pm | Permalink

    It is not my first time to pay a visit this site, i am
    browsing this website dailly and get nice data
    from here everyday.

  3. Posted March 21, 2015 at 12:42 pm | Permalink

    Good day! I know this is somewhat off topic but I was wondering which
    blog platform are you using for this site? I’m getting fed up of
    Wordpress because I’ve had issues with hackers and I’m
    looking at alternatives for another platform. I would be great if you could point me in the
    direction of a good platform.

    • netranger1989
      Posted April 23, 2015 at 8:21 am | Permalink

      I’m sorry to inform you that I’m using wordpress.

  4. Posted March 23, 2015 at 10:25 pm | Permalink

    Excellent blog here! Also your site loads up very fast!
    What host are you using? Can I get your affiliate link to your host?
    I wish my site loaded up as fast as yours lol

  5. Posted March 24, 2015 at 2:58 am | Permalink

    Useful information. Lucky me I found your site accidentally, and I’m stunned why this coincidence did not came about earlier!
    I bookmarked it.

  6. Posted March 24, 2015 at 1:15 pm | Permalink

    One of our guests lately recommended the following website.

  7. Posted March 24, 2015 at 3:59 pm | Permalink

    You’re a really valuable website; couldn’t make it without ya!

  8. Posted March 25, 2015 at 1:54 pm | Permalink

    Thank you for the good writeup. It in fact was a amusement account
    it. Look advanced to more added agreeable from you! By the way, how can we communicate?

  9. Posted March 26, 2015 at 11:43 pm | Permalink

    I know this site gives quality depending articles and extra information, is there
    any other web site which gives these kinds of data in quality?

  10. Posted March 27, 2015 at 1:25 am | Permalink

    Hey would you mind sharing which blog platform you’re
    using? I’m looking to start my own blog soon but I’m having a tough time making a decision between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your layout seems different then most blogs and
    I’m looking for something unique.
    P.S Apologies for getting off-topic but I had to ask!

    • netranger1989
      Posted April 23, 2015 at 8:19 am | Permalink

      I use a simple wordpress installation.

  11. Posted March 28, 2015 at 6:46 pm | Permalink

    I like this web site so much, saved to favorites. “Respect for the fragility and importance of an individual life is still the mark of an educated man.” by Norman Cousins.

  12. Posted March 28, 2015 at 8:55 pm | Permalink

    I think everything said made a lot of sense. However, consider this, suppose you were to write a killer post title?
    I ain’t saying your information is not good., however suppose you added a post title to possibly grab people’s attention? I mean ZFS Filesystem
    is a little plain. You might peek at Yahoo’s front page
    and see how they create news titles to grab viewers to click.
    You might add a related video or a pic or two to get people excited
    about what you’ve written. Just my opinion, it would bring your
    posts a little bit more interesting.

  13. Posted March 29, 2015 at 7:00 am | Permalink

    Hey there, I think your site might be having browser compatibility issues.
    When I look at your blog site in Safari, it looks fine but when opening
    in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, superb blog!

  14. Posted March 29, 2015 at 12:38 pm | Permalink

    I do not even know the way I stopped up here, however I thought
    this put up was great. I don’t know who you are however definitely you’re going to a famous blogger when you aren’t already.

  15. Posted March 30, 2015 at 2:02 am | Permalink

    I simply want to say I am just very new to weblog and really enjoyed this web page. Almost certainly I’m planning to bookmark your website . You actually have awesome article content. With thanks for sharing your website page.

  16. Posted March 31, 2015 at 11:02 pm | Permalink

    Hey! This is my first visit to your blog! We are a team of volunteers and
    starting a new initiative in a community in the same niche.
    Your blog provided us beneficial information to work on. You
    have done a marvellous job!

  17. Posted April 1, 2015 at 12:47 am | Permalink

    Hi there to all, how is the whole thing, I think every one is getting
    more from this website, and your views are fastidious for new visitors.

  18. Posted April 1, 2015 at 3:07 pm | Permalink

    Thanks for the auspicious writeup. It in fact used to be a amusement
    account it. Glance complicated to more introduced agreeable from
    you! By the way, how could we communicate?

  19. Posted April 2, 2015 at 1:40 am | Permalink

    Have you ever thought about adding a little bit more than just your articles?
    I mean, what you say is important and everything.
    Nevertheless imagine if you added some great images or videos to give your posts more, “pop”!
    Your content is excellent but with pics and videos,
    this site could definitely be one of the very best in its niche.
    Superb blog!

  20. Posted April 2, 2015 at 6:25 pm | Permalink

    What i do not understood is in reality how you’re not actually much more well-liked than you may be right now.
    You are very intelligent. You understand therefore considerably
    in terms of this topic, produced me for my part believe
    it from a lot of varied angles. Its like men and women aren’t interested unless it is one thing
    to do with Lady gaga! Your own stuffs nice. At all times
    handle it up!

  21. Posted April 2, 2015 at 9:04 pm | Permalink

    Hmm it seems like your site ate my first comment (it was extremely long) so I guess I’ll just
    sum it up what I submitted and say, I’m thoroughly enjoying your blog.
    I as well am an aspiring blog blogger but I’m still new to
    everything. Do you have any tips and hints for rookie blog writers?
    I’d really appreciate it.

  22. Posted April 3, 2015 at 4:23 am | Permalink

    Thanks for a marvelous posting! I seriously enjoyed reading it, you will be a great author.I will make certain to bookmark your
    blog and will eventually come back at some point.
    I want to encourage continue your great job, have a nice weekend!

  23. Posted April 4, 2015 at 1:04 am | Permalink

    These are actually enormous ideas in on the
    topic of blogging. You have touched some good points here.
    Any way keep up wrinting.

  24. Posted April 4, 2015 at 2:03 pm | Permalink

    Good blog you have here.. It’s hard to find good quality writing
    like yours nowadays. I seriously appreciate people
    like you! Take care!!

  25. Posted April 5, 2015 at 8:54 pm | Permalink

    What’s up everyone, it’s my first go to see at this web page, and paragraph
    is really fruitful in favor of me, keep up posting such articles or

  26. Posted April 6, 2015 at 1:41 am | Permalink

    Pretty great post. I just stumbled upon your weblog and wished
    to say that I’ve truly enjoyed surfing around your blog posts.

    After all I’ll be subscribing in your feed and
    I’m hoping you write once more very soon!

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>