ZFS question


 
Thread Tools Search this Thread
Operating Systems Solaris ZFS question
# 1  
Old 03-10-2007
ZFS question

How does one set a size limit on a ZFS filesystem? It seems every ZFS FS I create has the same size limit as the parent Zpool.

I want to create an FS with a much smaller limit. how?


Thanks in advance my friends.
# 2  
Old 03-10-2007
I am not sure because I have not a system like that running here but I think you can take a look at: http://www.tech-recipes.com/solaris_..._tips1404.html

Something like: zfs set quota=10g techrx/home/qmchenry

Regards,
Johan Louwers
# 3  
Old 03-10-2007
There are two three things in zfs which you can consider to deal with size restrictions.

Preferable:
Code:
zfs set quota=<size> <zfs filesystem>  # set the max size
zfs set reserve=<size> <zfs filesystem>  # set the amount of space reserved for the filesystem
#or create it as a volume
zfs -V <size> <volume>

# 4  
Old 03-11-2007
Quote:
Originally Posted by reborg
There are two three things in zfs which you can consider to deal with size restrictions.

Preferable:
Code:
zfs set quota=<size> <zfs filesystem>  # set the max size
zfs set reserve=<size> <zfs filesystem>  # set the amount of space reserved for the filesystem
#or create it as a volume
zfs -V <size> <volume>

Thank you very much reborg, that is very helpful.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris ZFS and reservations question

I'm having trouble increasing my reservations on some ZFS filesystems, although there seems to be enough space in the zpool, and no constraints on the parent device. Note that I'm using refreservation instead of reservation, so I'm not constrained by the reservation on the parent device (or... (1 Reply)
Discussion started by: akbar
1 Replies

2. Solaris

Solaris ZFS question

What I am trying to do is reuse space that was used from an old solaris zone and take that space used in the 2 disk mirror from the 2nd zpool and relocate it to /var/audit in the root pool. The pysical server has 4 disks. 2 disks are a mirrored root zone(c1t0d0s0,c1t1d0s0) and the other were the... (1 Reply)
Discussion started by: jpolachak
1 Replies

3. Solaris

ZFS mirroring

Hello, I just build a Solaris 10 server on an x86 box. I forgot to mirror the two disks when I install the OS. Can I get some help with this? I have this # zpool list rpool 278G 5.77G 272G 2% ONLINE - # zpool status pool: online state: ONLINE scan: none requested config: ... (12 Replies)
Discussion started by: bitlord
12 Replies

4. Solaris

ZFS

Hi, I need some advice please. I have this server with a couple of zpools, lets call them pay_serv ukb_pool There are two zones attached to these pools. When I do a zfs list I see this pay_serv 8.41G 265G 8.41G /pay_serv ukb_pool 79.8G 194G 23K /ukb_pool ukb_pool/temp_ps 9.11G... (4 Replies)
Discussion started by: giles.cardew
4 Replies

5. Solaris

ZFS

what are all the advantages of ZFS comparing to UFS SVM what is the use of creating file system in a file system in ZFS (15 Replies)
Discussion started by: dinu
15 Replies

6. Solaris

Are you using ZFS ?

With Solaris 11 coming out with a requirement of ZFS on the root disk, I was curious to know who is using the Zeta File System now? I have been using ZFS for the past year and don't plan to go back to UFS since ZFS is much more reliable and easier to maintain. (13 Replies)
Discussion started by: bluescreen
13 Replies

7. Solaris

zfs-acronym

zfs-zeta bye filesystem or zope filesystem which is correct (2 Replies)
Discussion started by: kishanreddy
2 Replies

8. Solaris

ZFS question.

I have a oracle instance running in NGZ which is on zfs dataset. Is there any possibility if i can take a zfs snapshot without shutting down the zone and then restore the zfs on other server and start oracle .. will the data be fine or not ? (2 Replies)
Discussion started by: fugitive
2 Replies

9. Solaris

ZFS pool question

I created a pool the other day. I created a 10 gig files just for a test, then deleted it. I proceeded to create a few files systems. But for some reason the pool shows 10% full, but the files systems are both at 1%? Both files systems share the same pool. When I ls -al the pool I just... (6 Replies)
Discussion started by: mrlayance
6 Replies

10. Solaris

ZFS Question

We are looking into testing ZFS at our location. Because we are a government agency we have security and auditors breathing down our neck to make sure we are not opening any security holes. My question is are there any ports or security concerns I would need to address if implemnting a ZFS file... (3 Replies)
Discussion started by: rkruck
3 Replies
Login or Register to Ask a Question