Not able to extend ZFS file system

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Not able to extend ZFS file system
# 1  
Old 06-06-2012
Not able to extend ZFS file system

Hi All,

I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs.
I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not reboot it anyway.
HTML Code:
root@psapcp01:/# df -h | grep /zone/psapcp01-zt3p01/tqcnpp1/cs01
zt3p01_tqcnpp1_pool/cs01   1.2T   746G   433G    64%    /zone/psapcp01-zt3p01/tqcnpp1/cs01
root@psapcp01:/# zfs set quota=1628G zt3p01_tqcnpp1_pool/cs01
root@psapcp01:/# df -h | grep /zone/psapcp01-zt3p01/tqcnpp1/cs01
zt3p01_tqcnpp1_pool/cs01   1.2T   746G   433G    64%    /zone/psapcp01-zt3p01/tqcnpp1/cs01
I tried unmounting, exporting, importing and mounting it back, but still no luck.

---------- Post updated at 03:05 PM ---------- Previous update was at 12:20 PM ----------

I have rebooted the server and then able to fix the issue. Please consider this thread as closed
# 2  
Old 06-06-2012
Could you please post the output of below commands?
Code:
zpool list
zpool status

You cannot increase the size of a ZFS file system by setting quota. That's really a very wrong idea. Quota is a way to set a hard limit on the maximum size of the ZFS file system.

How did you add the LUNs to the zpool? You need to check the total pool size with the "zpool list" command. If you want to see the underlying ZFS volume's size, use "zfs list" command. Data provided by df command for ZFS filesystems is kind of misleading due to the whole pooling concept.
# 3  
Old 06-09-2012
We had enough new free disks added in pool. We are increasing file-system size by setting quota only. As you said, this is not right way to extend quota, what should be the correct way? Please suggest.
# 4  
Old 06-09-2012
By default, zfs filesystem does auto-resizing of itself when the pool size is increased. That's the whole point of zfs, isn't it? But, in your case, as you want to restrict you filesystem to be of certain size after the pool size is increased, I would have followed the below steps to make sure things go just fine:

1. Remove the quota of the filesystem
Code:
zfs set quota=none pool/filesystem

2. Increase the size of the pool
Code:
zpool add blah blah

3. Now, restrict the filesystem size
Code:
zfs set quota=blah blah

It doesn't say anywhere in Solaris documentations, but I figured, it's always a good idea to unset the quota before setting it to a bigger number. Works every time!
# 5  
Old 06-10-2012
Quote:
Originally Posted by solaris_1977
We had enough new free disks added in pool.
Please post
Code:
zpool status
zpool list
zfs list -t all
df -k

output for us to understand the issue.
Quote:
We are increasing file-system size by setting quota only.
Then please post also the quota settings you are using:
Code:
zfs get all | grep -i quota

# 6  
Old 06-11-2012
The user asked for this thread to be closed and so it is.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Extend zfs storage filesystem

Hello, Need to ask the question regarding extending the zfs storage file system. currently after using the command, df -kh u01-data-pool/data 600G 552 48G 93% /data /data are only 48 gb remaining and it has occupied 93% for total storage. zpool u01-data-pool has more then 200 gb... (14 Replies)
Discussion started by: shahzad53
14 Replies

2. AIX

Unable to extend file system

Hi, I have inherited this AIX 5.3 host. I'm unable to increase the /usr file system. It gives me this error. What needs to be done to remove this error? vios:/home/padmin$ chfs -a size=+128M /usr 0516-304 lquerypv: Unable to find device id 0002ef4df616f9690000000000000000 in the Device ... (14 Replies)
Discussion started by: dn888
14 Replies

3. 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

4. Solaris

Not able to increase ZFS file system on NGZ

I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server. I have added a new disk of 9 GB, which is emcpower56a and now I can... (16 Replies)
Discussion started by: solaris_1977
16 Replies

5. Solaris

How to extend an existing file system using SVM in solaris 10

Hi All I want to extend this file system to 120Gb: df -h /xyz Filesystem size used avail capacity Mounted on /dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb. This file system is mounted on: metastat d80... (1 Reply)
Discussion started by: fretagi
1 Replies

6. Solaris

Patching on ZFS file-system

Hi, I have Solaris-10 (Update-7). This is having ZFS file-system and 10 sparse-root zones are there. I want to install Solaris-10 recommended patch cluster on it, but not sure, how to go ahead with procedure. I want to patch one side of the mirror and keep intact another side safe in case of... (6 Replies)
Discussion started by: solaris_1977
6 Replies

7. Solaris

increase SWAP on ZFS file system

Hi All, I am using this commands to dynamically increase ZFS swap space on Solaris my question is: 1- after i make these commands it will permanent or it will remove after restart 2- how to make it permanent # swap -l swapfile dev swaplo bloques libre /dev/zvol/dsk/rpool/swap... (4 Replies)
Discussion started by: osmanux
4 Replies

8. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

9. UNIX for Dummies Questions & Answers

zfs file system

Hi, I try add a new file system: #zfs create dsk1/mqm it came back with: #cannot create 'dsk1/mqm': no such pool 'dsk1' what do I have to do? Kind regards Mehrdad (2 Replies)
Discussion started by: mehrdad68
2 Replies

10. AIX

Can not extend a JFS file system

Hi, I am getting an error message when i try to increase the size of a filesystems under AIX 4.3.3: chfs: 0506-932 Can not extend a JFS file system with nbpi = 4096 and frag = 4096 past 134217728 (512 byte blocks). -> Characteristics Journaled File System ... (4 Replies)
Discussion started by: Can
4 Replies
Login or Register to Ask a Question