Here's a detail for the array: Code: [[email protected] ~]# mdadm --detail /dev/md0 /dev/md0: Version : 00.90.03 Creation Time : Tue Mar 21 11:14:56 2006 Raid Level : raid6 Device Size : If anyone has suggestions, feel free to jump in at any time!! 11-28-2006 #3 cwilkins View Profile View Forum Posts Private Message View Articles Just Joined! So thanks! –Jonik Mar 10 '10 at 14:19 2 The reason you had problems with sudo ... >> mdadm.conf is that the shell opens the redirected files before sudo runs. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Post Reply Print view 8 posts • Page 1 of 1 Return Check This Out
Can't assemble degraded/dirty RAID6 array! Results 1 to 5 of 5 Thread: Eeek! I can press 'e' to edit boot commands, press 'a' to modify kernel arguments and press 'c' for grub command line. Now I don't seem to run into the "inactive" problem anymore and the RAID device mounts automatically at /opt upon booting.
TKH View Public Profile Find all posts by TKH Tags assemble, device, fails, mdadm, raid « Previous Thread | Next Thread » Thread Tools Show Printable Version Display Modes Linear Mode Not the answer you're looking for? I run ubuntu desktop 10.04 LTS, and as far as I remember this behavior differs from the server version of Ubuntu, however it was such a long time ago I created Hyper Derivative definition.
Why is Professor Lewin correct regarding dimensional analysis, and I'm not? It may also be that I just missed some option. If it is Linux Related and doesn't seem to fit in any other forum then this is the place. http://www.linuxquestions.org/questions/linux-general-1/raid5-with-mdadm-does-not-ron-or-rebuild-505361/ Reason: Moved to a new thread HellesAngel View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by HellesAngel 02-16-2010, 11:31 PM #12 jonbers
I've run the above raid 1 and raid 5 for years with no problems. If the physical machine gets pulled out of the data centre then I strongly recomment adding a DRAC. (or configuring the already present one). –Hennes Sep 8 '12 at 15:33 add Sadly there's no logging at this point so everything I give here as information has been typed in the long way so be gentle if I'm a bit sparse on details. FWIW, here's my mdadm.conf: Code: [[email protected] ~]# grep -v '^#' /etc/mdadm.conf DEVICE /dev/sd[bcdefghi]1 ARRAY /dev/md0 UUID=d57cea81:3be21b7d:183a67d9:782c3329 MAILADDR root Have I missed something obvious?
Code: [email protected]:/# mknod /dev/md0 b 9 0 [email protected]:/# mknod /dev/md1 b 9 1 [email protected]:/# mknod /dev/md2 b 9 2 [email protected]:/# ls -al /dev/md* brw-r--r-- 1 root root 9, 0 Feb 21 https://www.radio.warwick.ac.uk/tech/Mdadm I know as a last resort I can create a "new" array over my old one and as long as I get everything juuuuust right, it'll work, but that seems a I didn't define any spare device ... I had the same problem, with an array showing up as inactive, and nothing I did including the "mdadm --examine --scan >/etc/mdadm.conf", as suggested by others here, helped at all.
I can't be certain, but I think the problem was that the state of the good drives (and the array) were marked as "active" rather than "clean." (active == dirty?) I his comment is here try the Fedora cd1 (or the dvd) in linux rescue mode, see if it finds something. __________________ But of course, take the above with a grain of salt... If it has one you can avoid going to the data center and edit the console via that. Ask questions about Fedora that do not belong in any other forum.
or ideally a new switch in mdadm which lets you 'force clean on degraded array. do_exit+0x741/0x750 [
Or so Knoppix told me with gparted ) –nl-x Sep 11 '12 at 16:57 | show 6 more comments Your Answer draft saved draft discarded Sign up or log in So for me I can simple copy the partition table from any working drive in a couple of seconds sfdisk -d /dev/sda | sfdisk /dev/sdb where I want to copy from What is the temperature of the brakes after a typical landing?
It boots from another disk /dev/sda1 but tries to mount the raid array /dev/md0 and as this fails the boot stops at a rescue prompt. The drive was good as evidenced by the boot up state and the disk SMART evaluation, and the recent few days. This isn't guaranteed to work (if md2 is your root filesystem it will fail). asked 4 years ago viewed 2415 times active 4 years ago Related 0Kernel panic almost daily, why?3dirty degraded array, unable superblock, kernel panic0How to log kernel panics without KVM1Ext4 kernel panic2CentOS
Join Date Nov 2006 Posts 4 Ok, done a bit more poking around... md: pers->run() failed ... mdadm --stop /dev/md0 mdadm -A /dev/md1 -m0 --update=super-minor
I'm attempting the echo "clean" fix, but getting this error: Code: [email protected]:~# echo 'clean' > /sys/block/md1/md/array_state -su: echo: write error: Invalid argument Any ideas why? It's moving kinda slow right now, probably because I'm also doing an fsck. DEVICE partitions # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST
I am using 4 300 GB drives with 1 partition (type fd linux raid autodetect) on brand-new sata-drives. But still ending with a kernel panic. –nl-x Sep 11 '12 at 16:51 Quoting myself: "If this fails to get you a shell, you will have to go find This is wrong. What seems odd is that all the disks seem OK, the BIOS sees them, when booted with a live CD they're all present, it seems that somehow the RAID configuration has
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I tried anyhting I found about this issue, but nothing helps. I've never touched mdadm.conf - what is the tool that autogenerates it? –Jonik Mar 10 '10 at 12:36 For the record, removed the /etc/rc.local workaround as it seems I I also remember in the past that the server also wouldn't boot from a bootable USB disk.
bnuytten View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by bnuytten 03-23-2007, 06:40 AM #9 myrons41 LQ Newbie Registered: Nov 2002 Location: Please visit this page to clear all LQ-related cookies. Yay! If I'm reading that /proc/mdstat output right, you'll not be able to activate the array in its current state.
md: pers->run() failed ... mdadm --create /dev/md1 --level=5 --raid-devices=8 /dev/sd[a-g]1 missing Grow an array You can grow both the number of devices (for RAID1) and the size of the devices (for RAID1).