10 More Discussions You Might Find Interesting
1. Red Hat
Hi
I have the following difficulty:
the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server.
I can see the LUN as:
fdisk -l
Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders
Units =... (1 Reply)
Discussion started by: fretagi
1 Replies
2. AIX
Hi,
We have a number of Windows Server 2003 shares mounted on our AIX server via CIFS, using a command similar to this:
mkcifsmnt -f /test -d testshare -h testserver -c testuser -p pass -w DOMAIN
The windows servers are currently being upgraded to 2012, and as part of this they are setting... (0 Replies)
Discussion started by: AndyG
0 Replies
3. Solaris
Hi
I have NetApp lun, that was mounted on server as a file system that failed, and that server is no longer in use, but I would like to use that file system on another server. The NetApp Admin, told me he can present that lun to my other system, but my problem is how to mount it? Because that... (8 Replies)
Discussion started by: fretagi
8 Replies
4. AIX
Hello AIX gurus,
I am trying to mount a CIFS share on AIX and I could use some help. Here are the environment details:
AIX - 6100-05-01-1016
Domain Controller - WIN2K8R2 (authentication takes place here)
CIFS share is stored on a NetApp storage array that is joined to the domain
I have... (2 Replies)
Discussion started by: jhall
2 Replies
5. AIX
Hi
i have some problem to mount a Windows Server 2008 R2 share on AIX. I found the artikel 157701-aix-cifs-mount-windows-server-2008-share on the Forum (cant post the Link) witch decribe my situation but there is no solution.
I can mount a share to a Windows 2003 SP2 Server but not to 2008 R2... (2 Replies)
Discussion started by: MrTee
2 Replies
6. Windows & DOS: Issues & Discussions
I'm in the process of migrating my windows file servers to a Ubuntu Samba server.
My plan is to use cp -Rp to copy all the mounted files to the proper directory on my Ubuntu server.
I can mount them just fine but if I run getfacl against a mounted directory its not showing any of my Windows... (0 Replies)
Discussion started by: binary-ninja
0 Replies
7. AIX
Hello,
I've been using AIX cifs to mount windows XP shares with no problems till now.
Now it's Windows Server 2008 R2 - no go:
mount -v cifs -n host1/user1/pass1 /share1 /mountpt1
There was an error connecting the share or the server.
Make sure the lsdev command shows that device nsmb0 is in... (6 Replies)
Discussion started by: vilius
6 Replies
8. UNIX for Advanced & Expert Users
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies
9. HP-UX
hi everyone
months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful.
Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies
10. UNIX for Dummies Questions & Answers
getting "NFS mount: netapp : RPC: Program not registered" error
searched the site but none of the fixes from previous threads are helping (2 Replies)
Discussion started by: calamine
2 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)