I'm trying to write a small script that sets up RAID using MDADM without asking user for any input.
Here's what I'm doing:
When I it, I get this
Can someone help me fix this please?
Thank you
Help, if possible.
In SCO Open Server with installation of two-channel RAID controller the following happens: on the channel 0 disk array is seen by an operational system, and on the channel 1 array is not seen (simultaneously). That is the operational system can not simultaneously use more than... (1 Reply)
Good morning,
I have a problem replacing a disk with raid-5 volumes.
An hardware error was occurred from a disk c9t3 so all slices were in maintenace. Every slice is part of a raid-5 volume. Any replica is present.
Following Volume manager manual for replacing a disk, I have:
- phisically... (0 Replies)
Dear All
I would Like to know that if suppose c1t0d0 is of 72 gb hard disk and system boot from this hard disk and c1t1d0 is of 147gb hard disk. Can we implement hardware raid (Mirror) between these two hard disks of different capacity if raid crontroller is present in the server
Kind regards (4 Replies)
Hello all
We've just bought a T2000. It has two disks and I'm trying to figure out how to create a mirror of the boot disk. I understand that I have to boot into single user mode from DVD and then use the raidctl command to set up the mirror and label the volume afterwards.
Format returns... (4 Replies)
I got the task writting Korn Shell script to automate the tuxedo login so that users neednot have to enter options manually. I have done that using expect tool from the Unix but my manger told me its not secure so you have to do that using Kornshell without using Expect. Here is the way to login to... (0 Replies)
I setup a RAID 5 with 5 drives, one failed, hardware failure so I physically removed it from the raid after powering the machine off then powered it back on and my raid was still good but no 5th drive. I built a 5th drive from scratch and added it in the raid thinking the raid would go into... (0 Replies)
Hi all,
First post so be gentile :)
It's my first time installing Solaris on T2000 server.
I have 2 72GB HD's on it.
After configuring HW raid and running raidctl command I get this output:
bash-3.00# raidctl -l c0t0d0
Volume Size Stripe Status Cache RAID
... (2 Replies)
Hi,
We have a Sunfire 4150 with On-Board Internal Raid Controller connected to 4 X 146 GB SAS disks.
This also has an External Raid Controller (Storagetek Eight-Port, External HBA
Model SG-XPCIESAS-R-EXT-Z) connected to a JBOD array ( Storagetek XTA2530 ) which has 5 X 300 GB Hard disk.
... (1 Reply)
Hi All,
I have been trying to create a USB RAID 5 using mdadm tool on Joli OS 1.2 (Ubuntu) but with no luck. I cannot even get pass the creation of array device (/dev/md0) and superblock. I am using 3 USB keys (2 16.4 GB kingston and 1 16GB sandisk).
My steps are:
... (5 Replies)
Hi All,
Quick question on the RAID. I have a Dell server with 27 hard drives. Two hard ware controller cards. Boot disks will be mirrored. That leaves us with 25 disks. I need to configure that as Raid 5. On the Boot disk, already installed RHEL 6. How do I make the 25 disks as RAID 5?
... (2 Replies)
Discussion started by: samnyc
2 Replies
LEARN ABOUT REDHAT
raidreconf
raidreconf(8) System Manager's Manual raidreconf(8)NAME
raidreconf - reconfigure RAID arrays
SYNOPSIS
raidreconf -h {--help}
- or -
raidreconf -V {--version}
- or -
raidreconf -o oldraidtab -n newraidtab -m /dev/md?
- or -
raidreconf -i /dev/sd?? -n newraidtab -m /dev/md?
- or -
raidreconf -n newraidtab -m /dev/md? -e /dev/sd??
WARNING
You should back up all data BEFORE any attempt is made to reconfigure a RAID device. YOU HAVE BEEN WARNED.
The author will give you no guarantee whatsoever, that this program works in any specific way at all. It may well destroy all data on any
device connected directly, indirectly, or not at all, to any system this software is used on. Please use this stuff with care, if you
decide to use it at all.
Ok, that said, let's see how to actually use it :-)
DESCRIPTION
raidreconf will read two raidtab files, an old one, and a new one. It will then re-build your old array to match the configuration for the
new array, while retaining all data possible.
It can also be used to import a single block-device into a RAID array (using more block devices), or export a RAID array to a single block-
device.
raidreconf can, of course, only retain your original data if you grow the configuration. If you shrink the configuration from say, P bytes
to Q bytes, raidreconf will retain the first Q bytes of your original data, but everything from Q bytes to the end of the old array (to P
bytes) will be lost.
Currently raidreconf can grow and shrink RAID-0 and RAID-5 arrays, and import non-RAID devices into a new RAID-0 or RAID-5.
The whole purpose of raidreconf is to be able to add disks to an existing array, or convert it to a new type (eg. RAID-0 to RAID-5) without
losing data. raidreconf will move the existing data around on your array, to match the layout of the new array.
OPTIONS -h {--help}
Raidreconf will print a short help message, and exit.
-V {--verbose}
Raidreconf will print it's version information, and exit.
-o {--old} oldraidtab
Specifies the path name of the old (current) raidtab. NOTE: raidreconf performs some tests to ensure that this configuration file
matches the raid superblocks stored on the disk, but there may be scenarios where the two are in conflict, but aren't detected as
such. Be very careful to specify this file properly.
-n {--new} newraidtab
Specifies the path name of the new raidtab. After raidreconf finishes, copy the newraidtab to the oldraidtab location, as
raidreconf doesn't perform this (potentially dangerous) operation.
-m {--mddev} /dev/md?
Specifies the name of the raid array to modify.
-i {--import} /dev/sd??
Specifies the name of the device to import from.
-e {--export} /dev/sd??
Specifies the name of the device to export to.
BUGS
Perhaps many. Well, the basic RAID-0 growth, shrink and import algorithms seem to work, but there are lots and lots of consistency checks
and graceful error handling missing.
The RAID-5 algorithms are simplistic, with little optimization other than that provided by the buffer layer. Conversions between non-RAID,
RAID-0, and RAID-5 all *seem* to work, but there may be some bugs left yet.
If an error occurs during reconfiguration, a power failure for example, restore from backup (you DID make a backup, right?), and try again.
Although RAID-4 is not supported, and almost no one uses it, it would be almost trivial to add.
REPORTING BUGS
Since this is highly experimental software, there are a number of known bugs already. The author would of course like to know about bugs,
but at this stage in development you shouldn't waste too much of your time trying to hunt them down. They're probably known, and maybe
already fixed in the author's tree.
Report bugs to <bugs@oss.connex.com>. ?????
AUTHOR
raidreconf was written in 1999 by Jakob Oestergaard <jakob@ostenfeld.dk>
The RAID-5 routines were written by Daniel S. Cox in 2001 <dcox@connex.com>
SEE ALSO mkraid(8), raidtab(5), raidstart(8), raidhotadd(8), raidhotremove(8), raidstop(8)raidreconf(8)