GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NetApp::Qtree(3) User Contributed Perl Documentation NetApp::Qtree(3)
 

NetApp::Qtree -- OO class for creating and managing qtrees

    use NetApp::Filer;
    use NetApp::Qtree;
    my $filer   = NetApp::Filer->new( .... );
    # Create a tree, with all options in one call
    my $qtree   = $filer->create_qtree(
        name            => "/vol/vol1/qtreename",
        oplocks         => 1,
        mode            => 0755,
        security        => 'unix',
    );
    # Alternately, you can create it, and then change things
    my $qtree   = $filer->create_qtree(
        name            => "/vol/vol1/qtreename",
        mode            => 0755,
    );    
    
    # The mode must be set when created
    $qtree->set_oplock(1);
    $qtree->set_security('unix');

This class encapsulates a single NetApp qtree, and provides methods for querying information about the qtree, as well as methods for managing it.

This method method takes a single argument, which is the security value to set on the qtree. It must have one of the following values:
    unix
    ntfs
    mixed

Returns a string containing the current security setting of the qtree.

This method takes a boolean argument, and sets the oplocks attribute of the qtree to "enabled" if the value is true, and "disabled" if the value is false.

Returns true is the oplocks are set to "enabled", false if they are set to "disabled".

Returns the status value for the qtree. It waill have the values such as:
    normal
    snapmirrored

Returns the qtree id.

Returns the vfiler which owns the qtree. If vfilers are not licensed on the filer, this method will simply return a false value.
2008-11-26 perl v5.28.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.