How to grow a zfs file system?


 
Thread Tools Search this Thread
Operating Systems Solaris How to grow a zfs file system?
# 15  
Old 03-07-2017
Quote:
Originally Posted by gull04
The "replace" action migrates data to the new device from the damaged device or from other devices in the pool if it is in a redundant configuration.
But the oradata1 pool is not in a redundant configuration.

---------- Post updated at 18:34 ---------- Previous update was at 18:31 ----------

Quote:
Originally Posted by fretagi
Thanks Gull04!

I dont have access to NetApp cli, the NetApp admin does it for me, on my side (operating system wise) If I am going to replace current oradata1disk with newdisknamewould I not be destroying current data on oradata1?
You can't replace a non redundant disk.

Assuming you have proper backups, the simple way is to extend the size of the LUN. The data already stored on it won't be lost.
# 16  
Old 03-07-2017
Hi,

There is an excellent guide on the oracle site here - - as I read it (but I've been known to be wrong). I can't really understand the logic of a single disk in a zpool, as there are no data replicas available that allow the benefits of zfs - you might as well use UFS at least you have more recovery tools.

Obviously the best approach would be to grow the original LUN or have the SAN admin people do this, then grow the FS into it. In any case you should ensure that you have a backup of the data before you start doing anything.

Regards

Gull04

Last edited by gull04; 03-07-2017 at 03:24 PM.. Reason: Additional Info
# 17  
Old 03-07-2017
Quote:
Originally Posted by gull04
I can't really understand the logic of a single disk in a zpool, as there are no data replicas available that allow the benefits of zfs - you might as well use UFS at least you have more recovery tools.
A single disk pool is a poor practice, but unfortunately widespread when storage arrays are used. ZFS is still beneficial when using a single disk pool though.
  • There is double or triple redundancy in the metadata, that makes the file system resilient to moderate disk corruption.
  • You can also enable ditto blocks (copies) so data itself would recover from some disk blocks issues.
  • ZFS will immediately spot corrupted data or metadata while UFS will return corrupted data without notice and might panic the OS if metadata is corrupted.
  • Finally, telling you have more UFS recovering tools is questionable. With ZFS, you can recover from situations where UFS would be helpless.
This User Gave Thanks to jlliagre For This Post:
# 18  
Old 03-08-2017
a couple of notes because I run this exact setup.

#1. I would never build a zpool without the following conditions being met.
a. multipathing on the netapp AND the solaris box being configured and working correctly.
#2. At a minium 2 luns in a zpool mirror, a raidZ would be better.


if these conditions are met, you'll probably never lose data. While it's all fine and good to say that Netapp handles the redundancy using huge aggregates, all that really does is buy you insulation from hard disk failure, not corruption or loss of connection. the zpool is likely in a degraded state due to loss of comms or poor network performance. Thus the multipathing suggestion.

to answer your specific question though, the way I have handled this in the past is to grow the lun and then just turn on autoexpand. that will grow the zpool to meet the new lun size.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

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

2. Emergency UNIX and Linux Support

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... (5 Replies)
Discussion started by: solaris_1977
5 Replies

3. Solaris

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: Can I do it on the fly without bothering the users working on this volume? Thank you in advance! (6 Replies)
Discussion started by: aixlover
6 Replies

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

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

6. Shell Programming and Scripting

ZFS file system - memory monitoring

I am working on a server where the 'root' user ZFS filesystem. Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total size of the server is 32G. I think rest of the space is held up by ZFS file system. Is there a... (5 Replies)
Discussion started by: prasperl
5 Replies

7. Solaris

How to grow my files System?

Dear Gurus of Unix. When I Put this command: # iostat -E cmdk0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Model: SAMSUNG SV4012H Revision: Serial No: 0540J1BTC53208 Size: 40.06GB <40060403712 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal... (6 Replies)
Discussion started by: andresguillen
6 Replies

8. AIX

Cannot grow jfs file system on AIX 5.2

Hello all, I'm trying to grow a file system by 500MB using SMIT on AIX 5.2 but I receive this error: "0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests.... (3 Replies)
Discussion started by: need2bageek
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
Login or Register to Ask a Question

Featured Tech Videos