10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
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. UNIX for Advanced & Expert Users
I have a 3510 disk array attached to a T2000 server.
The dmesg command shows disk error as follows and is generated a couple of times during the day
Aug 18 03:35:51 myserver SUNWscsdMonitor: <rctrl6042> Standard General Event, CHL:2 ID:22 Drive NOTICE: Drive Recovered Error - 5F8E1F... (1 Reply)
Discussion started by: Tirmazi
1 Replies
7. Solaris
Hi Peeps,
Can anyone help me an EFI lablel on a 3510 raid array that I cannot get rid of, format -e and label just asks you if you want to label it. Want an SMI label writing to it.
Anyone got any ideas on how to remove the EFI label?
Thanks in advance
Martin (2 Replies)
Discussion started by: callmebob
2 Replies
8. 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
9. Solaris
Hi everyone,
I changed the batteries on 29-Jun-2008 for the storedges.
But received error messages from the server today,I used the "-u" option to update the service date information but it syntaticaly fails. Why?
Jul 4 12:00:03 auriga SUNWscsdServer: <rctrl8001> The battery on... (3 Replies)
Discussion started by: incredible
3 Replies
10. 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
AAC(4) BSD Kernel Interfaces Manual AAC(4)
NAME
aac -- Adaptec AdvancedRAID Controller driver
SYNOPSIS
aac* at pci? dev ? function ?
ld* at aac? unit ?
DESCRIPTION
The aac driver provides support for the Adaptec AAC family of SCSI and SATA RAID controllers. These controllers support RAID 0, 1, 5, 10,
and volume sets. They have four channels in the add-in version or 1-2 channels in the motherboard integrated version, and are most often
found rebadged by Dell, Hewlett-Packard or IBM. Supported controllers include:
o Adaptec AAC-364
o Adaptec SCSI RAID 2120S
o Adaptec SCSI RAID 2200S
o Adaptec SATA RAID 2410SA
o Adaptec SATA RAID 3405
o Adaptec SCSI RAID 5400S
o Dell PERC 2/Si
o Dell PERC 2/QC
o Dell PERC 3/Di
o Dell PERC 3/Si
o Dell PERC 320/DC
o Dell CERC SATA RAID 1.5/6ch
o HP NetRAID 4M
o HP ML110 G2 (Adaptec SATA RAID 2610SA)
o IBM ServeRAID 8k
Access to RAID containers is available via the ld device driver. Individual drives cannot be accessed unless they are part of a container or
volume set, and non-fixed disks cannot be accessed. Containers can be configured by using the on-board BIOS utility of the card.
DIAGNOSTICS
The adapter can send status and alert messages asynchronously to the driver. These messages are printed on the system console.
SEE ALSO
intro(4), ld(4)
HISTORY
The aac driver first appeared in NetBSD 1.6, and was based on the FreeBSD driver of the same name.
BUGS
This driver is not compatible with controllers that have version 1.x firmware. The firmware version is the same as the kernel version
printed in the BIOS POST and driver attach messages.
BSD
February 19, 2011 BSD