Grow / expand a ZFS volume


 
Thread Tools Search this Thread
Operating Systems Solaris Grow / expand a ZFS volume
# 1  
Old 01-30-2012
Grow / expand a ZFS volume

Hi, I need to expand a ZFS volume from 500GB to 800GB. I'd like to ask your help to confirm the following procedure:

Quote:
# zfs get quota,reservation data/app1/u02
NAME PROPERTY VALUE SOURCE
data/app1/u02 quota 500G local
data/app1/u02 reservation 500 local

# zfs set reservation=800G data/app1/u02
# zfs set quota=800G data/app1/u02
Can I do it on the fly without bothering the users working on this volume?

Thank you in advance!
# 2  
Old 01-30-2012
Yes, this can be done with the file system on line.
This User Gave Thanks to jlliagre For This Post:
# 3  
Old 01-30-2012
Thanks. How about these two commands, correct or incorrect? What is requota?
By the way the pool has enough space. Nothing to worry about that.

Quote:
# zfs set reservation=800G data/app1/u02
# zfs set quota=800G data/app1/u02
# 4  
Old 01-30-2012
Code:
# zfs set reservation=800G data/app1/u02

This one reserves 800G for u02 dataset from the available pool. So other zfs datasets will have only (total capacity of the pool - 800G) available for them. This is treated as the minimum capacity of u02 dataset and any decedent by default.

With quota you are setting the maximum value. So the dataset will not grow above 800G. That commands are good if this what you want!!
This User Gave Thanks to admin_xor For This Post:
# 5  
Old 01-30-2012
Reservation is guaranteed minimum and quota is permitted maximum - I know this.
# 6  
Old 01-30-2012
Quote:
Originally Posted by aixlover
What is requota?
AFAIK, "requota" is not part of ZFS vocabulary or of any platform using it.

It might be a mistyped "repquota".
# 7  
Old 02-01-2012
Done. Working well. Thanks!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

How to grow a zfs file system?

Hi I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb: df -h /oradata1 Filesystem Size Used Available Capacity Mounted on oradata1 587G 517G 69G 89% /oradata1 I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies

2. Solaris

Delete zfs dump volume

Hi guys, how do you delete a zfs dump volume ? Thanks for your help. (2 Replies)
Discussion started by: cjashu
2 Replies

3. Solaris

2540 volume expand and solaris zfs grow

Hello I hope everyone is having a good day! Situation: 2540 with 3.6TB of usable space volume A is 2.6TB volume B was 1TB Volume A is mounted via a single lun on a solaris server and is running out of space. Volume B was used on another server but is no longer, I deleted the volume in... (7 Replies)
Discussion started by: Metasin
7 Replies

4. UNIX for Dummies Questions & Answers

Help to Grow the Size of volume

I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command. root@WRPDWI6k-BU # df -h Filesystem size used avail... (3 Replies)
Discussion started by: udubya
3 Replies

5. Solaris

Mount A ZFS volume

Is there any way i can mount a zfs volume using snapshot or some other means ? (2 Replies)
Discussion started by: fugitive
2 Replies

6. Solaris

Ldom OS on SAN based zfs volume

Is it possible to use zvol from SAN LUN to install LDOM OS ? I 'm using following VDS from my service domain VDS NAME LDOM VOLUME DEVICE primary-vds0 primary iso sol-10-u6-ga1-sparc-dvd.iso cdrom ... (16 Replies)
Discussion started by: fugitive
16 Replies

7. HP-UX

/usr out of disk space need to unmount/ expand volume /mount

Greetings, I am running HP-UX 10.2 and /usr is out of disk space already. I installed IE 5.0 for UNIX on my machine under /usr and browsed the Internet for a while and presto no more disk space. I have plenty of hard disk space on my computer so would like to expand the size of the volume. The... (5 Replies)
Discussion started by: Dirk_
5 Replies

8. Solaris

ZFS and SVM - volume management

pupp, thanks for the information. but is its integrated volume management better than SVM that we use (with ufs i believe)? (2 Replies)
Discussion started by: StarSol
2 Replies

9. Solaris

How can i grow Raid 5 volume in SVM..?

Hello experts.. How can i grow Raid 5 volume in SVM? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies
Login or Register to Ask a Question