On Thu, 6 Jan 2011 15:02:11 -0600, Mark Steely <[email protected]> wrote:
>I have a zfs file which is over allocated. I would like to reduce the
amount of space this file is using.
Mark,
What I would do is to reallocate a temporary zFS of the size you
want and mount it at a temporary mountpoint. Then use 'copytree' to copy the
contents from the over-size zFS into your temporary one. Then unmount the
over-sized zFS and delete it (making sure that you have a backup of it) and
the reallocate it to the desired size and remount it. Again, using
'copytree' copy from your temp zFS back into it. You should also ensure that
you specify 'aggrgrow=on' in your IOEPRMxx member of Parmlib as this will
allow the zFS aggregrate to take extents automatically.
Hope this helps.
Roger
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html