Discussion:
pools and file systems
aurfalien
2013-08-20 00:00:33 UTC
Permalink
Hi all,

I created a zpool being 75TB usable space

I also created to zfs file systems off that zpool.

I did this to enable granularity in ZFS policy/feature per file system rather then a blanket off the pool.

A df shows this;

Filesystem Size Used Avail Capacity Mounted on
abyss 51T 50k 51T 0% /abyss
abyss/PROJECT 72T 20T 51T 29% /abyss/PROJECTS
abyss/PROJECTX 54T 2.6T 51T 5% /abyss/PROJECTSX

Few questions;
1) Is this a good practice?
2) The numbers seem odd. While Used and Avail are right, why isn't Size for all 3 the same?

The PROJECT and PROJECTX etc... will function as separate exports with there own policies as well.

Thanks in advance,

- aurf
Matthew Ahrens
2013-08-20 00:05:46 UTC
Permalink
Post by aurfalien
Hi all,
I created a zpool being 75TB usable space
I also created to zfs file systems off that zpool.
I did this to enable granularity in ZFS policy/feature per file system
rather then a blanket off the pool.
A df shows this;
Filesystem Size Used Avail Capacity Mounted on
abyss 51T 50k 51T 0%
/abyss
abyss/PROJECT 72T 20T 51T 29%
/abyss/PROJECTS
abyss/PROJECTX 54T 2.6T 51T 5% /abyss/PROJECTSX
Few questions;
1) Is this a good practice?
Yes.
Post by aurfalien
2) The numbers seem odd. While Used and Avail are right, why isn't Size
for all 3 the same?
GNU df (/usr/gnu/bin/df) only knows that size=used+avail. Use illumos df
(/usr/sbin/df), which understands ZFS.

--matt
Post by aurfalien
The PROJECT and PROJECTX etc... will function as separate exports with
there own policies as well.
Thanks in advance,
- aurf
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
https://www.listbox.com/member/archive/rss/182191/21635000-ebd1d460
https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com
aurfalien
2013-08-20 00:09:57 UTC
Permalink
Post by aurfalien
Hi all,
I created a zpool being 75TB usable space
I also created to zfs file systems off that zpool.
I did this to enable granularity in ZFS policy/feature per file system rather then a blanket off the pool.
A df shows this;
Filesystem Size Used Avail Capacity Mounted on
abyss 51T 50k 51T 0% /abyss
abyss/PROJECT 72T 20T 51T 29% /abyss/PROJECTS
abyss/PROJECTX 54T 2.6T 51T 5% /abyss/PROJECTSX
Few questions;
1) Is this a good practice?
Yes.
2) The numbers seem odd. While Used and Avail are right, why isn't Size for all 3 the same?
GNU df (/usr/gnu/bin/df) only knows that size=used+avail. Use illumos df (/usr/sbin/df), which understands ZFS.
Many thanks, I like it.

- aurf
Post by aurfalien
--matt
The PROJECT and PROJECTX etc... will function as separate exports with there own policies as well.
Thanks in advance,
- aurf
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/21635000-ebd1d460
Modify Your Subscription: https://www.listbox.com/member/?&
Powered by Listbox: http://www.listbox.com
illumos-zfs | Archives | Modify Your Subscription
-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com

Loading...