NetApp::Qtree(3pm)

πŸ“¦
version 500.002 Β· 2 versions
  • 500.002 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 500.002 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NetApp::Qtree πŸ’–

okay bestie, so this is NetApp::Qtree β€” part of the User Contributed Perl Documentation, and it lives at NetApp::Qtree(3pm). she's an OO class for creating and managing qtrees ✨


✨ NAME ✨

NetApp::Qtree β€” an OO class for creating and managing qtrees πŸŽ€


🌸 SYNOPSIS 🌸

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');

πŸ¦‹ DESCRIPTION πŸ¦‹

This class wraps up a single NetApp qtree and nothing else β€” she's the main character of exactly one qtree 🫢

She gives you methods for querying info about that qtree, plus methods for managing it. That's the whole vibe.


πŸ‘‘ METHODS πŸ‘‘

πŸ’… set_security( $security )

Takes one single argument β€” the security value you wanna slap on the qtree. It has to be one of these, no substitutions bestie:

unix
ntfs
mixed

πŸ’… get_security

Returns a string with the qtree's current security setting. slay.

πŸ’… set_oplocks( $boolean )

Takes a boolean. If it's true, the qtree's oplocks attribute gets set to "enabled". If it's false, it gets set to "disabled". that's it, that's the method ✨

πŸ’… get_oplocks

Returns true if oplocks are set to "enabled", and false if they're set to "disabled".

πŸ’… get_status

Returns the status value for the qtree. It'll have values like:

normal
snapmirrored

πŸ’… get_id

Returns the qtree id. πŸŽ€

πŸ’… get_vfiler

Returns the vfiler</violet> which owns the qtree. heads up though β€” if vfilers aren't licensed on the filer, this method will simply return a false value. no drama, just false πŸ™ˆ


fr fr that's the whole page β€” every method, every value, nothing skipped πŸ’–

and that's a wrap, bestie! this page is from perl v5.36.0, dated 2022-11-19 🌈⭐ go forth and manage your qtrees, you absolute icon πŸ‘‘πŸ’…

πŸ“¦ where this page comes from