Sponsored Content
Operating Systems Linux Red Hat missing raid array after reboot Post 302528830 by sriniv666 on Wednesday 8th of June 2011 04:49:48 AM
Old 06-08-2011
missing raid array after reboot

Dear all ,

i ve configured raid 0 in redhat machine(VM ware), by following steps:

Code:
#mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdc1 
#mkfs.ext3 /dev/md0 
#mdadm --detail --scan --config=mdadm.conf >/etc/mdadm.conf

then
mounted the/dev/md0 device and also added a entry in fstab.

how the isssue is when the system rebooted the raid array configuration is missing, there is no device as /dev/md0..
what's the solution for this??? any help !!!!

Last edited by pludi; 06-08-2011 at 07:06 AM.. Reason: content editing...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Percent complete error while scanning RAID array during 5.0.6 load

Percent complete SCO 5.0.6 / No longer an issue (0 Replies)
Discussion started by: Henrys
0 Replies

2. AIX

RAID level of array = false?

I created a RAID 5 array and when I list out the attributes of the "hdisk" it reports back raid_level = 5 but the RAID level of the array = false. What does this actually indicate about my array? I've never paid much attention to this until now since I have a disk reporting failure I want to make... (0 Replies)
Discussion started by: scottsl
0 Replies

3. UNIX for Advanced & Expert Users

Create RAID - Smart Array Tool - ML370

Hi guys, i must install an old old old ml370 server... I must create a RAID 5 with my 4 SCSI disk. I need a SmartStart disk for create it or a Floppy Disk called "Array configuration Tool". I don't find it on the hp website...:mad::mad::mad: Anyone have it?? Thanks in advance. Zio (0 Replies)
Discussion started by: Zio Bill
0 Replies

4. Solaris

EFI Disk labels on 3510 raid array

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

5. Emergency UNIX and Linux Support

Loading a RAID array after OS crash

One of my very old drive farm servers had an OS fault and can't boot now but I'd like to restore some files from it. I tried booting Ubuntu from a CD, but it couldn't see the drives -- possibly because they're RAIDed together. Is there a good way to get at my files? The data in question is a... (2 Replies)
Discussion started by: CRGreathouse
2 Replies

6. Solaris

How to find missing disks on Sun x4150 without reboot?

Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice. # format < /dev/null Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies

7. Fedora

Missing entries in log files just before/after reboot

Hello world, One of the servers, a Fedora one,rebooted today (Luckily, a testbox). I tried to get the reason the server rebooted. After going through the messages, I think that the log entries just before and after reboot are missing. Please below: (****** is the server name, for privacy... (0 Replies)
Discussion started by: satish51392111
0 Replies

8. Solaris

Solaris 10 Installation - Disks missing, and Raid

Hey everyone. First, let me start by saying I'm primarily focused on linux boxes, and just happened to get pulled into building two T5220's. I'm not super educated on sun boxes. Both T5220's have 8 146GB 15k SAS drives. Inside the service processor, I can run SHOW /SYS/HDD{0-7} and they all come... (2 Replies)
Discussion started by: msarro
2 Replies

9. UNIX for Advanced & Expert Users

Revive RAID 0 Array From Buffalo Duo NAS

Thank you in advanced, I had a Buffalo DUO crap out on me that was setup as RAID 0. I dont belive it was the drives but rather the controller in the DUO unit. I bought another external HDD enclosure and was able to fireup the two older DUO drives in it and I think I resembled the RAID... (12 Replies)
Discussion started by: metallica1973
12 Replies
LSRAID(8)							Linus md Utilities							 LSRAID(8)

NAME
lsraid - List and query Linux md devices. SYNOPSIS
lsraid -A [-g|-s|-f] {-a <device> | -d <device>} ... lsraid -A -p lsraid -D [-l] {-a <device> | -d <device>} ... lsraid -D -p lsraid -R {-a <device> | -d <device>} ... lsraid -R -p lsraid -h lsraid -V DESCRIPTION
lsraid is a program for querying Linux md devices. It can describe the composite device and the block devices that belong to it. It can also provide a description of the md device suitable for including in the /etc/raidtab configuration file. lsraid also has the ability to operate on online and offline devices. It can read an online device via the kernel interface and provide information about it. When a device is offline, lsraid can look at any of the block devices that are a part of the md device and read the persistent md superblock for information. OPTIONS
-A Selects array-based operation. lsraid will query the given devices and output a short listing of the referenced md devices. -a <device> Adds md device <device> to the list of devices to query. If the device is online, lsraid will discover all of the block devices that belong to it via the kernel interface. Otherwise lsraid will only be able to verify that the device exists. -D Selects disk-based operation. lsraid will query the given devices and then output a description of all the member disks requested. -d <device> Adds block device <device> to the list of devices to query. lsraid will read the md superblock off of <device> and use it to discover the assocated md device and block devices. -f Displays only failed block devices in array-based mode (-A). -g Displays only good block devices in array-based mode (-A). -h, --help Displays a short usage message, then exits. -l Displays a long dump of block device superblocks in disk-based mode (-D). This output is verbatim from the on-disk md superblock, and reflects the state on the specific disk, not the state the md device currently considers authorative. -p Scans all block devices in /proc/partitions for RAID arrays. This can be slow in the presence of network block devices and the like. This option is mutually exclusive with the -a and -d options. -R Selects raidtab operation. lsraid will query all the devices specified and output a description of the referenced md devices in a for- mat suitable for placing in a raidtab(5) file. -s Displays only spare block devices in array-based mode (-A). NOTES
lsraid cannot discover the block devices that make up an offline md device. Providing one of the member devices with the -d option allows lsraid to discover the rest of the information about the offline md device. Disk-based operation only displays the block devices specified on the command line. Specify the md device on the command line to see information about all of the member disks. If the md device is offline, specify both the md device and one of the member disks. lsraid does not do any special handling of md devices composed of other md devices (eg RAID 1+0). The member devices are merely treated as block devices while in the context of the parent device. This is only an issue for raidtab-based operation. The raidtab(5) output will be printed in the order the md devices are queried. This means that a command creating a raidtab(5) for a RAID 1+0 device should list the member devices first on the command line. EXAMPLES
lsraid -A -a /dev/md0 Display a short listing of the md0 device. lsraid -A -d /dev/sda1 Display a short listing of the array that sda1 belongs to. lsraid -A -f -a /dev/md0 Display the failed devices belonging to the md0 device. lsraid -D -l -a /dev/md0 Display a long dump of the on-disk md superblock of every disk in md0. lsraid -D -a /dev/md0 -d /dev/sda1 Display a short discription of the disks in md0 as well as a short description of the disk sda1. sda1 will only be described once if it belongs to md0. lsraid -R -a /dev/md0 -a /dev/md1 -a /dev/md2 Display a description of the arrays in an output format suitable for using in raidtab(5) files. Note that if md0 and md1 are raid0 arrays and md2 is a raid1 created from md0 and md1, this command will output the information in the correct order. lsraid -R -p Scan all block devices in /proc/partitions and display all discovered md devices in a format suitable for using in raidtab(5) files. BUGS
Probably. SEE ALSO
mkraid(8), raidtab(5), raidstart(8), raidstop(8) VERSION
lsraid version 0.7.0 (26 March 2002) HISTORY
Version 0.7.0 Added scanning of active block device partitions. Version 0.4.0 Initial documented version. Functionally complete. AUTHOR
Joel Becker <joel.becker@oracle.com> COPYRIGHT
Copyright (C) Oracle Corporation, Joel Becker. All rights reserved. This program is free software; see the file COPYING in the source distribution for the terms under which it can be redistributed and/or modified. 3rd Berkeley Distribution 2002-03-26 LSRAID(8)
All times are GMT -4. The time now is 06:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy