Sponsored Content
Operating Systems Solaris How to grow a zfs file system? Post 302993109 by fretagi on Tuesday 7th of March 2017 03:12:35 AM
Old 03-07-2017
We are using NetApp as storage
 

9 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

9. 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
NetApp::Aggregate(3pm)					User Contributed Perl Documentation				    NetApp::Aggregate(3pm)

NAME
NetApp::Aggregate -- OO class for creating and managing NetApp filer aggregates SYNOPSIS
use NetApp::Filer; use NetApp::Aggregate; my $filer = NetApp::Filer->new({ .... }); my @aggregate_names = $filer->get_aggregate_names; my @aggregates = $filer->get_aggregates; my $aggregate = $filer->get_aggregate( 'aggr01' ); DESCRIPTION
This class encapsulates a single NetApp filer aggregate, and provides methods for querying information about the aggregate and it's sub- objects (eg. volumes), as well as methods for managing the aggregate itself. INSTANCE METHODS
General Instance Methods get_filer Returns the NetApp::Filer object representing the filer on which the aggregate exists. get_name Returns the name of the aggregate as a string. get_states, get_statuses, get_options Each of these methods returns a list of strings, each of which represents a single state, status, or option for the aggregate. NOTE: All you English grammar pluralization rules fanatics can give up trying to convince the author to call that one method get_stati. get_state( $state ), get_status( $status ), get_option( $option ) Each of these methods returns the value for the specified state, status or option. If that particular key wasn't present, then this method will return undef. This makes it easy to tell the difference between a key that doesn't exist, and one that has a false value. get_plex Returns the NetApp::Aggregate::Plex object representing the plex on which the aggregate lives. Volume Specific Methods get_volume_names Returns a list of the volume names which are contained within this aggregate. get_volumes Returns a list of NetApp::Volume objects, each of which represents one of the volumes in the aggregate. get_volume( $name ) Returns a single NetApp::Volume object representing the specified volume. If that volume doesn't exist on the aggregate, then a fatal exception is raised. create_volume( %args ) This method creates a flexible volume in the aggregate, and returns the NetApp::Volume object representing the new volume. The arguments are as follows. All values are simple strings, unless otherwise noted. $aggregate->create_volume( # Required arguments name => $name, size => $size, # Optional arguments space => 'none' | 'file' | 'volume', language => $language, source_filer => $source_filer, source_volume => $source_volume, ); Both the source_filer and source_volume arguments must be given when creating a flexcache volume. The space and language arguments may not be specified with the source_filer/source_volume arguments. destroy_volume( %args ) Destroys the specified volume. Note that since this API is not designed to be used interactively, the -f (force) argument is always used. Be sure you really want to destroy the volume, programatically. $aggregate->destroy_volume( # Required argument name => $name, ); The $name must be a string, and it must be one of the volumes in the $aggregate. Qtree Specific Methods get_qtree_names Returns a list of strings, each of which is the name of a qtree on the aggregate. get_qtrees Returns a list of NetApp::Qtree objects, each of which represents a single qtree on the aggregate. get_qtree( $name ) Returns a single NetApp::Qtree object for the specified qtree name. The name must in the form of a pathname, for example: /vol/volume_name/qtree_name The qtree_name is optional if querying the object for a volume's qtree. This method simply returns nothing if the specified qtree doesn't exist on the aggregate. Snapshot Specific Methods get_snapshots Returns a list of NetApp::Snapshot objects for each of the snapshots of the aggregate. get_snapshot( $name ) Returns a single NetApp::Snapshot object matching the specified name, if it exists for the aggregate. create_snapshot( $name ) Creates a snapshot of the aggregate with the specified name. delete_snapshot( $name ) Deletes a snapshot of the aggregate with the specified name. get_snapshot_deltas Returns a list of NetApp::Snapshot::Delta objects for each snapshot delta for the aggregate. get_snapshot_reserved Returns a string representing the amount of reserved space, as a percentage. This string does NOT include the % sign. set_snapshot_reserved( $percentage ) Sets the snapshot reserved space to the specified percentage, which should also NOT include the % sign. get_snapshot_schedule Returns a NetApp::Snapshot::Schedule object representing the snapshot schedule for the aggregate. set_snapshot_schedule( %args ) Sets the snapshot schedule for the aggregate based on the arguments passed. The argument syntax is: $aggregate->set_snapshot_schedule( weekly => $weekly, daily => $daily, hourly => $hourly, hourlist => [ $hour1, $hour2, $hour3, .... ], ); TO BE IMPLEMENTED
NOTE: Currently, all of the following methods have yet to be implemented, but will be soon. This documentation serves as a guideline for how to implement the perl API for each associates CLI function. NetApp::Aggregate->create( ... ) my $aggregate = NetApp::Aggregate->create( # Required arguments filer => $filer, # NetApp::Filer object name => $aggregate_name, # Required but mutually exclusive arguments # Either 'disks' OR 'diskcount and/or disksize' disks => [ [ $disk1, $disk2, .... ], [ $diskn, $diskn+1, .... ], ], diskcount => $diskcount, disksize => $disksize, # Optional arguments raidtype => 'raid0' | 'raid4' | 'raid-dp', raidsize => $raidsize, disktype => 'ATA' | 'FCAL' | 'LUN' | 'SAS' | 'SATA' | 'SCSI', rpm => $rpm, mirrored => $boolean, ); $aggregate->add( ... ) $aggregate->add( # Required arguments name => $aggregate_name, # Required but mutually exclusive arguments # Either 'disks' OR 'diskcount and/or disksize' disks => [ [ $disk1, $disk2, .... ], [ $diskn, $diskn+1, .... ], ], diskcount => $diskcount, disksize => $disksize, # Optional arguments raidgroup => $raidgroup, force => 1, ); $aggregate->destroy() NOTE: This always uses the -force option, since this API is not interactive. $aggregate->offline() $aggregate->offline( # Optional arguments cifsdelaytime => $cifsdelaytime, ); $aggregate->online() NOTE: It is unclear whether or not we should always imply -f (force => 1), or whether we should treat the prompted scenario as an error, and raise an exception. Since forcing an aggregate online can result in data loss when -f is used, perhaps we should force that state to be cleaned up first. $aggregate->rename( $newname ) $aggregate->restrict( ... ) $aggregate->restrict( # Optional arguments cifsdelaytime => $cifsdelaytime, ); perl v5.14.2 2008-11-26 NetApp::Aggregate(3pm)
All times are GMT -4. The time now is 05:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy