On 18 June, 2007 - [EMAIL PROTECTED] sent me these 10K bytes: > I have a cu that would like to increase a mount point with his > zpool....Cu explains below. > > I need to increase the size of one of the mount points, i.e. /d01. I > need the procedure to do this while on line. attached is the information > I have on my server > > as you will see I have the command "zpool status" executed and also a df > -h. I need to increase the size of /d01 > I need the step by step command to do this
'quota' is the magic (key)word. kalv:~# zfs list -o name,used,avail,quota,mountpoint NAME USED AVAIL QUOTA MOUNTPOINT kaka 104G 2.04T none /kaka ... kaka/staff/stric 50.0G 0 50G /kaka/staff/stric kalv:~# df -h kaka 2.1T 33K 2.1T 1% /kaka .. kaka/staff/stric 51G 51G 0 100% /kaka/staff/stric (51G is about 50G + 10kB, rounded up) kalv:~# zfs get all kaka/staff/stric ... kaka/staff/stric quota 50G local Increasing: kalv:~# zfs set quota=55g kaka/staff/stric kalv:~# df -h ... kaka/staff/stric 55G 51G 5.0G 91% /kaka/staff/stric So, what you want is: zfs set quota=100g array1/d1 or some other good value. > array1 803G 24K 303G 1% /array1 > array1/d1 50G 35G 15G 71% /d01 > array1/d2 50G 36K 50G 1% /d02 > array1/d3 50G 24K 50G 1% /d03 > array1/d4 175G 24K 175G 1% /d04 > array1/d5 175G 24G 151G 14% /d05 quota is just an upper limit, it doesn't guarantee space.. there is 303GB left for d01-d05 to share. /Tomas -- Tomas Ögren, [EMAIL PROTECTED], http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Umeå `- Sysadmin at {cs,acc}.umu.se _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss