10 More Discussions You Might Find Interesting
1. Solaris
Hi
I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb:
df -h /oradata1
Filesystem Size Used Available Capacity Mounted on
oradata1 587G 517G 69G 89% /oradata1
I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies
2. Shell Programming and Scripting
Why I get bad replace when using eval?
$ map0=( "0" "0000" "0")
$ i=0
$ eval echo \${map$i}
0000
$ a=`eval echo \${map$i}` !!!error happens!!!
bash: ${map$i}: bad substitution
How to resolve it ?
Thanks! (5 Replies)
Discussion started by: 915086731
5 Replies
3. Solaris
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. Virtualization and Cloud Computing
This process was collected by trial and error (mostly error) since most of the documents I found on the 'net were incomplete.
The cookbook/walkthrough on how to grow an Array on EBS at AWS...
# walkthrough by John Jones (jjones at cirrhus9 dot com)
umount /dev/md0
mdadm --stop /dev/md0... (0 Replies)
Discussion started by: Habitual
0 Replies
5. AIX
Hi,
I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb... (5 Replies)
Discussion started by: bbbngowc
5 Replies
6. UNIX for Dummies Questions & Answers
I have a 146Gb drive and want to grow the size from 12G to the max available left. I think 20G is being used so I want to max out from 12 G to 126G. Is this possible? Can you help with the command.
root@WRPDWI6k-BU # df -h
Filesystem size used avail... (3 Replies)
Discussion started by: udubya
3 Replies
7. Solaris
Hi,
this is solaris 10 on sparc sf280r, 2 disks mirrored using SVM,
swap is 4GB (slice 1) and rest all is given for / (slice0) in 36G disk.
I have already mirrored disks using SVM, for clear picture, I'm pasting some part of config below,
# Slice 0
metainit -f d110 1 1 c1t0d0s0... (2 Replies)
Discussion started by: upengan78
2 Replies
8. Solaris
Hi, how to grow a filesystem when the 2 disks are mirrored using hardware RAID? Only 100G out of 136G is used for now.
I would like to increase one of the slices by adding the 36G of space.
Pls assist. I only know of using growfs on mirrored disks using SVM.(soft mirror) (12 Replies)
Discussion started by: incredible
12 Replies
9. SuSE
Hi all,
I am using SLES 9 and have following partitions mounted
I would like to make /var 10G atleast.
fdisk -l
This system is doing RAID5(HW).
Can someone help me with this issue?
Thanks (4 Replies)
Discussion started by: upengan78
4 Replies
10. What is on Your Mind?
Hi, all!
I've been working for one year as a Unix systems engineer(Solaris) in a large company.
Two days ago I found, that I didn't exactly know where should I grow up?
I can't drop this idea away and I'm still thinking about it. I'm trying to imagine myself in a next year.
Available... (1 Reply)
Discussion started by: movx
1 Replies
Algorithm::Dependency::Source(3pm) User Contributed Perl Documentation Algorithm::Dependency::Source(3pm)
NAME
Algorithm::Dependency::Source - Implements a source of heirachy items
DESCRIPTION
The Algorithm::Dependency::Source class provides an abstract parent class for implementing sources for the heirachy data the algorithm will
use. For an example of an implementation of this, see Algorithm::Dependency::Source::File, which is bundled with the main
Algorithm::Dependency package.
METHODS
new @arguments
Although you cannot directly use the "new" constructor for "Algorithm::Dependency::Source", it will work the same in all subclasses.
The constructor takes zero or more subclass specific arguments to define the location of the source of the items, and returns a new object.
Alrough it may check that the arguments you passed are valid, the source will usually NOT actually load the items from the source, instead
defering the loading until you need to use the items.
Returns a new object on success, or "undef" on error.
load
The "load" method is the public method used to actually load the items from their storage location into the the source object. The method
will automatically called, as needed, in most circumstances. You would generally only want to use "load" manually if you think there may be
some uncertainty that the source will load correctly, and want to check it will work.
Returns true if the items are loaded successfully, or "undef" on error.
item $name
The "item" method fetches and returns the item object specified by the name argument.
Returns an Algorithm::Dependency::Item object on success, or "undef" if the named item does not exist in the source.
items
The "items" method returns, as a list of objects, all of the items contained in the source. The item objects will be returned in the same
order as that in the storage location.
Returns a list of Algorithm::Dependency::Item objects on success, or "undef" on error.
missing_dependencies
By default, we are leniant with missing dependencies if the item is neved used. For systems where having a missing dependency can be very
bad, the "missing_dependencies" method checks all Items to make sure their dependencies exist.
If there are any missing dependencies, returns a reference to an array of their ids. If there are no missing dependencies, returns 0.
Returns "undef" on error.
EXTENDING
"Algorithm::Dependency::Source" itself is a fairly thin module, and it is intended that you will probably need to extend it to be able to
extract item data from whatever location you have stored them.
This is usually a fairly simple two step process.
Overload the "new" method.
Assuming your subclass takes some form or argument on creation, you will need to overload the "new" method to accept the arguments,
validate them, and store them in the source object.
Define the method "_load_item_list".
Leaving our parent's "load" method to take care of conflict, errors, and whatever, the "_load_item_list" method is used to simply
create a list of Algorithm::Dependency::Item objects from wherever you store the item, and return them as a list.
Having completed these two things, your subclass should be completed. For an example of the code, have a look at the source for the simple
subclass Algorithm::Dependency::Source::File.
SUPPORT
For general comments, contact the author.
To file a bug against this module, in a way you can keep track of, see the CPAN bug tracking system.
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-Dependency>
AUTHOR
Adam Kennedy <adamk@cpan.org>
SEE ALSO
Algorithm::Dependency, Algorithm::Dependency::Source::File
COPYRIGHT
Copyright 2003 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.12.4 2009-04-14 Algorithm::Dependency::Source(3pm)