Hi , Can one increase (or decrease ) a ZFS file system like the Veritas one (vxresize)? What is the command line syntax please ? ..you can just make up an example .. for example in veritas : "/etc/vx/bin/vxresize -x -F vxfs -g DG1 volume_name new_total_size" Will increase "volume_name" to "new_total_size" Thanks. This message posted from opensolaris.org
On 7/16/07, tayo <ffwoc at yahoo.com> wrote:> Hi , > > Can one increase (or decrease ) a ZFS file system like the Veritas one (vxresize)? > What is the command line syntax please ? > ..you can just make up an example .. > > for example in veritas : > "/etc/vx/bin/vxresize -x -F vxfs -g DG1 volume_name new_total_size" > Will increase "volume_name" to "new_total_size"Tyao, there is no need to increase ZFS file system, since it has no fixed size. It just grows on demand by drawing the blocks out of the zpool it belongs to. It is, of course, limited in growth by the total amount of free storage available in this zpool. The zpool itself can be grown online by adding new devices to it. -- Regards, Cyril
Cyril Plisko wrote:> On 7/16/07, tayo <ffwoc at yahoo.com> wrote: > >> Hi , >> >> Can one increase (or decrease ) a ZFS file system like the Veritas one (vxresize)? >> What is the command line syntax please ? >> ..you can just make up an example .. >> >> for example in veritas : >> "/etc/vx/bin/vxresize -x -F vxfs -g DG1 volume_name new_total_size" >> Will increase "volume_name" to "new_total_size > there is no need to increase ZFS file system, since it has no > fixed size. It just grows on demand by drawing the blocks > out of the zpool it belongs to. It is, of course, limited in growth > by the total amount of free storage available in this zpool. > The zpool itself can be grown online by adding new devices > to it. >Another way to look at it is that the equivalent operation is increasing the quota on that filesystem. If your pool isn''t big enough to support the increase, you may also have to add more vdevs (of appropriate redundancy) to your pool. (You can also add vdevs of inappropriate redundancy, and that works fine, except for the minor matter of the safety of your data.) -- David Dyer-Bennet, dd-b at dd-b.net; http://dd-b.net/dd-b Pics: http://dd-b.net/dd-b/SnapshotAlbum, http://dd-b.net/photography/gallery Dragaera: http://dragaera.info
Increasing is not that problem. ZFS does it automatically. Change the size of a partition or replace a disk with a bigger one and it will use the newly available space. -- Ted Turner - "Sports is like a war without the killing." - http://www.brainyquote.com/quotes/authors/t/ted_turner.html