![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hardware Raid related problem | girish.batra | SUN Solaris | 4 | 09-04-2008 10:56 AM |
| Benchmarking hardware RAID vs. Linux kernel software RAID | iBot | UNIX and Linux RSS News | 0 | 07-15-2008 05:10 AM |
| Problem replace disk with RAID-5 volumes | bonovox | Filesystems, Disks and Memory | 0 | 05-26-2008 10:02 AM |
| HPUX 10.20 and RAID ARENA EX3 shutdown problem | nleuenbe | Filesystems, Disks and Memory | 1 | 09-27-2005 09:25 AM |
| 2-Ch RAID Problem in SCO Open Server | pko60 | Filesystems, Disks and Memory | 1 | 11-25-2002 01:03 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
RAID setup automation problem
Hi guys,
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: Code:
start=`mdadm --create $2 --level=$3 --raid-devices=$4 $5 $6 << MAYDAY y MAYDAY` Code:
./redundancy -setup /dev/md0 1 2 /dev/files/test0 /dev/files/test1
MDADM Module successfully loaded. Starting the RAID Array.
mdadm: /dev/files/test0 appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu Aug 28 18:56:33 2008
mdadm: /dev/files/test1 appears to be part of a raid array:
level=raid1 devices=2 ctime=Thu Aug 28 18:56:33 2008
Continue creating array? Continue creating array? (y/n) Continue creating array? (y/n) mdadm: create aborted.
Thank you |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|