09-27-2006
The E450 does not by default have an array, but it does have the capacity for lots of internal disks if the additional backplanes are installed.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I wish to store $string1 in $string1array a character in each array element.
Then i wish to echo the entire array to the screen so that it reads as the normal string again.
I have been trying with the code below but does not work. Please help...
To put string into array:
... (5 Replies)
Discussion started by: rorey_breaker
5 Replies
2. Solaris
I would like to extend a logical drive on our 3510. I have four unallocated disks which I would like to use for this purpose.
The 3510 supports a Sun Cluster but for now all I wish to see is a "new" disk when I run format.
I am a little familiar with the telnet/ssh session on the 3510 but am... (2 Replies)
Discussion started by: malcqv
2 Replies
3. Programming
I am facing a strange error while creating posix threads:
Given below are two snippets of code, the first one works whereas the second one gives a garbage value in the output.
Snippet 1
This works:
--------------
int *threadids;
threadids = (int *) malloc (num_threads * sizeof(int));
... (4 Replies)
Discussion started by: kmehta
4 Replies
4. Solaris
Hi;
I have 4 new disks in a 6120 Array attached to a SUN server running zfs.
There are already two virtual disks on the array comprising of 3 disk raid 5 for each Vdisk.
I need to add two more disks to each vdisk making each a 5 disk raid 5 Vdisk.
If ZFS already has the original... (3 Replies)
Discussion started by: myjess
3 Replies
5. Shell Programming and Scripting
Hi All,
I'm writing a nagios check that will see if our ldap servers are in sync...
I got the status data into a nested array, I would like to search key of each array and if "OK" is NOT present, echo other key=>values in the current array to a variable
so...eg...let take the single array... (1 Reply)
Discussion started by: zeekblack
1 Replies
6. Shell Programming and Scripting
Hi Everyone,
#!/usr/bin/perl
use strict;
use warnings;
my @test=("a;b;qqq;c;d","a;b;ggg;c;d","a;b;qqq;c;d");
would like to split the @test array into two array:
@test1=(("a;b;qqq;c;d","a;b;qqq;c;d"); and @test2=("a;b;ggg;c;d");
means search for 3rd filed.
Thanks
find the... (0 Replies)
Discussion started by: jimmy_y
0 Replies
7. Shell Programming and Scripting
Hi.
I'm new to scripting / programming and was wondering what the best way to output all mounted storage devices and their names to an array would be ? I would like to achieve this using the bash shell.
Any assistance with this would be greatly appreciated.
Regards,
Jonno :b: (4 Replies)
Discussion started by: Jonno888
4 Replies
8. Shell Programming and Scripting
I have an array and two variables as below,
I need to check if $datevar is present in $filename.
If so, i need to replace $filename with the values in the array.
I need the output inside an ARRAY
How can this be done.
Any help will be appreciated. Thanks in advance. (2 Replies)
Discussion started by: irudayaraj
2 Replies
9. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4 Replies
10. Shell Programming and Scripting
hello,
i need a bit of help on how to do this effectively in bash without a lot of extra looping or massive switch/case
i have a long array of M elements and a short array of N elements, so M > N always. M is not a multiple of N.
for case 1, I want to stretch N to fit M
arrayHuge
H = (... (2 Replies)
Discussion started by: f77hack
2 Replies
LEARN ABOUT HPUX
extendfs_hfs
extendfs_hfs(1M) extendfs_hfs(1M)
NAME
extendfs_hfs: extendfs - extend HFS file system size
SYNOPSIS
size] special
DESCRIPTION
If the original HFS file system image created on special does not make use of all of the available space, the command can be used to
increase the capacity of an HFS file system by updating the file system structure to include the extra space.
The command-line parameter special specifies the character device special file of either a logical volume or a disk partition. The special
must be unmounted before the command can be run (see mount(1M)).
Options
recognizes the following options:
Specify the HFS file system type.
Query the size of
special. No file system extension will be done.
Verbose flag.
Specifies the number of
blocks to be added to the file system. If the number of blocks is not specified, the maximum possible size is used.
EXAMPLES
To increase the capacity of a file system created on a logical volume, enter:
WARNINGS
The root file system cannot be extended using the command because the root file system is always mounted, and the command only works on
unmounted file systems.
will fail if used on a file system, on a logical volume, where the logical block size of the logical volume is greater than the file sys-
tem's fragment size. The logical block size, of a logical volume changes, when additional disks with larger sector size are added.
RETURN VALUE
returns the following values:
0 No errors were detected and file system was successfully extended.
1 Command aborted.
SEE ALSO
extendfs(1M), lvextend(1M), mkfs(1M), mount(1M), umount(1M).
extendfs_hfs(1M)