This discussion is archived
2 Replies Latest reply: Jan 23, 2013 12:14 PM by 986485 RSS

ZFS relocation

986485 Newbie
Currently Being Moderated
I have two zfs created as such:
testpool /users
testpool /app /app
testpool is 50GB in size. Each zfs will have 25GB usage. set the quota on /app is straight forward, but how to set quota of 25GB on /users zfs?
Any suggestion on how to without any down time or any backup restore?
Thank you.
  • 1. Re: ZFS relocation
    bigdelboy Pro
    Currently Being Moderated
    983482 wrote:
    I have two zfs created as such:
    testpool /users
    testpool /app /app
    testpool is 50GB in size. Each zfs will have 25GB usage. set the quota on /app is straight forward, but how to set quota of 25GB on /users zfs?
    Any suggestion on how to without any down time or any backup restore?
    Thank you.
    I suspect you are trying to set the quota on the mountpoint rather than the file system name.

    1) Use zfs list to identify the zfs file system names:

    e.g.

    zfs list
    testpool /app
    testpool/users /users

    2) Having identified the zfs filesystem name for /users set the quota ( Please note I

    zfs set quota=25G testpool/users



    I apologise if I have not understood your question correctly.
  • 2. Re: ZFS relocation
    986485 Newbie
    Currently Being Moderated
    It is not my case. But assume you are correct for zfs list
    zfs list
    testpool /app
    testpool/users /users

    In this case how to set quota of 25GB on /app?

    Thank you.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points