Using ZFS for DSUs

LToro's picture

I have a white paper from SUN on configuring ZFS for use as Netbackup DSUs. The example in the white paper shows one ZFS pool, with 4 filesystems. So when you do a 'df', each filesystem looks to have a total amount of space equal to the zfs pool total. So if I have 500gb in a ZFS pool, and 4 filesystems configured in that pool, a df will show EACH filesystem as having 500gb available. How does Netbackup handle this? The white paper makes no reference to utilize zfs reservation or quota on the DSU filesystems.

Thank you

Chris Colvin's picture

About two years ago I bought

About two years ago I bought a Sun X4500 server for a 6.5.2 media server.   I had them break the single pool into 4 different mount points.   I had to create a different DSSU for each.   Not sure if that is the same as four different file systems.   In my case I was using them for different things, so that's what I requested.   You may be able to create a storage pool of different DUs to have the equivilant of one.    

LToro's picture

Were the 4 different mount

Were the 4 different mount points in the same zpool? If thats the case then that is what I'm doing. Each mount point shows the TOTAL amount for the pool:

backuppool                33394636800      36 33392385344     1%    /backuppool
backuppool/disk1     33394636800 2107964 33392385344     1%    /backuppool/disk1
backuppool/disk2     33394636800    7431 33392385344     1%    /backuppool/disk2
backuppool/disk3     33394636800   12345 33392385344     1%    /backuppool/disk3
backuppool/disk4     33394636800      74 33392385344     1%    /backuppool/disk4

So each mount point is a DSU. SUN recommended breaking it up this way (as opposed to a single mount point) for performance reasons. If you notice, each mount point/zfs filesystem shows ~33TB, which is really the total for the pool (a ZFS "feature"). So, does NB think it has 4x33TB available? Or is it smart enough to realize the 33TB is pooled among the 4 mount points?

gavrilov's picture

May be create different pools

May be create different pools for each DSSU? :) Don't forget to enable compression it's nice. But I woildn't use ZFS for DSSU cause it  like to use RAM and media server need RAM for shared memory.