Luke Poskitt > IBM-StorageSystem-0.043 > IBM::StorageSystem::FileSystem::FileSet

Download:
IBM-StorageSystem-0.043.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: IBM-StorageSystem-0.045

NAME ^

IBM::StorageSystem::FileSystem::FileSet - Utility class for operations with a IBM storage system filesystem filesets

VERSION ^

Version 0.01

SYNOPSIS ^

IBM::StorageSystem::FileSystem::FileSet - Utility class for operations with a IBM storage system filesystem filesets

        use IBM::StorageSystem;

        my $ibm = IBM::StorageSystem->new(      
                                        user            => 'admin',
                                        host            => 'my-v7000',
                                        key_path        => '/path/to/my/.ssh/private_key'
                        ) or die "Couldn't create object! $!\n";

alloc_inodes

Returns the number of allocated inodes for the fileset.

Note that the number of allocated inodes is returned in a human-readable format with a variable units - e.g. the value may be returned as 10K or 10M, where K and M refer to the unit.

comment

Returns the user-specified fileset comment.

creation_time

Returns the fileset creation time.

data

Returns the amount of data in use for the fileset in a human-readable format (kB, MB, GB, TB or PB where 1 kB is equal to 1000 bytes).

device_name

Returns the name of the file system to which the fileset belongs.

id

Returns the fileset numerical identifier.

inode_space_owner

Returns the numerical identifier of the fileset owner.

inodes

Returns the number of inodes in use.

is_independent

Specifies if the fileset is independent.

max_inodes

Returns the maximum number of allocatable inodes.

name

Returns the fileset name.

parent_id

Returns the parent fileset identifier.

path

Returns the fileset path if the fileset status is linked and blank otherwise.

root_inode

Returns the number of the root inode.

get_snapshots

Returns an array of IBM::StorageSystem::Snapshots for the fileset.

See IBM::StorageSystem::Snapshots for more information.

status

Returns the fileset status; either linked or unlinked.

timestamp

Returns a timestamp of the last time at which the fileset information was updated in the CTDB.

AUTHOR ^

Luke Poskitt, <ltp at cpan.org>

BUGS ^

Please report any bugs or feature requests to bug-ibm-storagesystem-filesystem-fileset at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IBM-StorageSystem-FileSystem-FileSet. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc IBM::StorageSystem::FileSystem::FileSet

You can also look for information at:

ACKNOWLEDGEMENTS ^

LICENSE AND COPYRIGHT ^

Copyright 2012 Luke Poskitt.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: