03-26-2009
Information About raidctl
Hello people i have a question, when i put raidctl -l on sun fire show this
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c1t0d0 68.3G N/A OPTIMAL ON RAID1
0.0.0 68.3G GOOD
0.1.0 68.3G GOOD
but when i write in another sun fire show this
Volume Size Stripe Status Cache RAID
Sub Size Level
Disk
----------------------------------------------------------------
c3t0d0 68.3G N/A OPTIMAL OFF RAID1
0.0.0 68.3G GOOD
0.1.0 68.3G GOOD
The cache is off, must be ON or OFF? what is the different?
Another question how can i see the version of raidctl o the packages version?
THANk you for yor time ffrom Argentina i send my regrets.
Last edited by enkei17; 03-26-2009 at 12:20 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a live Sunfire v440 server with 4 drives and I want to mirror drive 0 & 1 to 2 & 3. The on-board raid controller only allows for 1 live mirror. I was thinking of disksuite, but unfortunately the second disk is just one large partition with no free slices.
I was thinking of using... (0 Replies)
Discussion started by: csgonan
0 Replies
2. UNIX for Dummies Questions & Answers
I am using raidctl on a v440 disk and noticed it resyncs after every boot, which takes about 30 minutes because of the size of the partition. I am concerned with what happens during the resync if "writes" happen to the disk before it is complete?
Any info would be helpful.
Thanks (0 Replies)
Discussion started by: csgonan
0 Replies
3. UNIX for Dummies Questions & Answers
I am mirroring a single partition drive with raidctl. The source partition was mounted when I created the mirror with raidctl -c c1t1d0 c1t3d0. The source disk was defined with s2 and s6 only.
I didn't think to umount it first.
Is there a problem with that? (2 Replies)
Discussion started by: csgonan
2 Replies
4. Solaris
At my own eys I can see 4 disks inside of server. Previous admin told me that hardware mirror is done.
What I see with "format" is 2 disks - I suspect that these are 2 MIRRORS.
I just cant be sure because raidctl show this:
# raidctl -l c0t0d0
Volume Size Stripe ... (0 Replies)
Discussion started by: czezz
0 Replies
5. Solaris
Setting up a T5240 with two disks c1t0d0 and c1t1d0.
I am trying to use raidctl but when I issue.
raidctl -l
I get
Controller 1
Disk: 0.0.0
Disk: 0.1.0
So I try
raidctl -c '0.0.0 0.1.0' -r 1 1
and I get "Array in use."
I try (4 Replies)
Discussion started by: photon
4 Replies
6. UNIX for Advanced & Expert Users
Hello World:
Recently I ran into an issue where a collegue had installed a Sun T5140 with twin 136GB disks in them. However, he forgot to execute the raidctl command first to mirror c1t0d0 to c1t1d0 boo hoo:) So along I come and try to mirror the disks by booting to sigle user... (1 Reply)
Discussion started by: rambo15
1 Replies
7. Solaris
using the internal 2 drives mirror was created using raidctl on 100's of our servers . sometime when one drive fails we dont face any issue & we replace the drive with out any problem . but sometimes when one drive fails , system becomes unresponsive and doesnot allow us to login , the only way to... (1 Reply)
Discussion started by: skamal4u
1 Replies
8. Solaris
I have boot disk mirrored using hardware raid i.e raidctl command.
If I want to place an order for a spare drive and keep it at our location for spare, how do I find the disk specification since #format does not reveal this.
The server is T2000 running Solaris 10.
Any help please. (5 Replies)
Discussion started by: Tirmazi
5 Replies
9. Solaris
I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right?
This is what I was seeing after a reboot.
I decided to just reinstall the OS. It let me go through all of... (3 Replies)
Discussion started by: kingdbag
3 Replies
10. Shell Programming and Scripting
getStatusi86()
{
#storing logical volume name
volumelist=`cfgadm -val | grep "Logical Volume" | awk '{print substr($1,9,14)}'`
controller=`echo $volumelist | awk '{print substr($1,2,1)}'`
#errordisk=""
volume1=`echo $volumelist | awk '{print $1}'`
for volume in $volumelist
do... (1 Reply)
Discussion started by: frintocf
1 Replies
LEARN ABOUT DEBIAN
term::size
Size(3pm) User Contributed Perl Documentation Size(3pm)
NAME
Term::Size - Retrieve terminal size (Unix version)
SYNOPSIS
use Term::Size;
($columns, $rows) = Term::Size::chars *STDOUT{IO};
($x, $y) = Term::Size::pixels;
DESCRIPTION
Term::Size is a Perl module which provides a straightforward way to retrieve the terminal size.
Both functions take an optional filehandle argument, which defaults to *STDIN{IO}. They both return a list of two values, which are the
current width and height, respectively, of the terminal associated with the specified filehandle.
"Term::Size::chars" returns the size in units of characters, whereas "Term::Size::pixels" uses units of pixels.
In a scalar context, both functions return the first element of the list, that is, the terminal width.
The functions may be imported.
If you need to pass a filehandle to either of the "Term::Size" functions, beware that the *STDOUT{IO} syntax is only supported in Perl
5.004 and later. If you have an earlier version of Perl, or are interested in backwards compatibility, use *STDOUT instead.
EXAMPLES
1. Refuse to run in a too narrow window.
use Term::Size;
die "Need 80 column screen" if Term::Size::chars *STDOUT{IO} < 80;
2. Track window size changes.
use Term::Size 'chars';
my $changed = 1;
while(1) {
local $SIG{'WINCH'} = sub { $changed = 1 };
if ($changed) {
($cols, $rows) = chars;
# Redraw, or whatever.
$changed = 0;
}
}
RETURN VALUES
Both functions return "undef" if there is an error.
If the terminal size information is not available, the functions will normally return "(0, 0)", but this depends on your system. On
character only terminals, "pixels" will normally return "(0, 0)".
BUGS
It only works on Unix systems.
AUTHOR
Tim Goodwin, <tim@uunet.pipex.com>, 1997-04-23.
Candidate for maintainership: Adriano Ferreira, <ferreira@cpan.org>, 2006-05-19.
perl v5.14.2 2012-03-04 Size(3pm)