[SOLVED] Kernel cant rebuild RAID 1 array with mdadm

I am trying to setup a raid 1 array. My problem is that the kernel doesn't assemble the array after reboot and says that it cant find /dev/md1
I've chrooted in the new environment from the existing installation on the old disk and added the mdadm hook and it 'compiled' (mkinitcpio -p kernel26) with the /etc/mdadm.conf. I've added all the stuff to fstab. I have a / and a separate /boot array. The /boot array was created with --metadata=0.90 because grub cant access partitions with newer style metadata.
I added the array info to /etc/mdadm.conf and ran mkinitcpio -p kernel26 with the mdadm hook. The hook ran and printed a notice that it would get the array info from /etc/mdadm.conf, so I guess that worked.
After I reboot and set the drive with the array as the first boot device in the BIOS, grub starts up with one additional entry that I added before:
timeout 5
default 0
color light-blue/black light-cyan/blue
title Arch on RAID
root (hd1,0)
kernel /boot/vmlinuz26 root=/dev/md1 md=0,/dev/sda3,/dev/sdb3 vga=792
initrd /boot/kernel26.img
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/8b19e18d-9beb-49da-83f1-b29284b8d6e1 ro vga=792
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/8b19e18d-9beb-49da-83f1-b29284b8d6e1 ro
initrd /boot/kernel26-fallback.img
The first entry is the one that should load the new mdadm enabled kernel and it works...it loads some kernel, but I'm not sure if its the right one since it cant 'find' /dev/md1 witch was added as a hook before.
I'm a little suspicious since /boot is a separate drive in my situation, so technically the kernel would be on /vmlinux26, not /boot/vmlinuz26. Ive tried all different combinations of root (hd0,0, hd0,1, ...) and with or without /boot, but no luck. hd1,0 is the only one that works.
/etc/mdadm.conf:
DEVICE partitions
ARRAY /dev/md0 metadata=0.90 UUID=a5db7993:bc310e03:a0504988:dd22e85f
ARRAY /dev/md1 metadata=1.2 name=scorpion:1 UUID=7e20d1a8:4382351d:56d4cac8:d65a45b8
/etc/fstab:
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
/dev/md1 / ext4 defaults 0 1
/dev/md0 /boot ext2 defaults 0 1
/dev/sdb1 swap swap defaults 0 0
The array assembles just fine on my existing installation:
[root@scorpion krt]# mdadm -A /dev/md0 /dev/sdb2
mdadm: /dev/md0 has been started with 1 drive (out of 2).
[root@scorpion krt]# mdadm -A /dev/md1 /dev/sdb3
mdadm: /dev/md1 has been started with 1 drive (out of 2).
[root@scorpion krt]# mount /dev/md1 /mnt/root/
[root@scorpion krt]# mount /dev/md0 /mnt/root/boot/
[root@scorpion krt]# mount --bind /sys /mnt/root/sys/
[root@scorpion krt]# mount --bind /proc /mnt/root/proc
[root@scorpion krt]# mount --bind /dev /mnt/root/dev
[root@scorpion krt]# chroot /mnt/root/
[root@scorpion /]#
I was trying to get this going all yesterday, but no luck.
Can anyone help me figure it out? I'm desperate here.
Last edited by KRTac (2010-08-05 17:58:01)

If you use separate partition for /boot then you definetely should put /vmlinuz26 not /boot/vmlinuz26.
And under root hd(x,y) you should put your /boot partition number.
If interested here is the output of few commands on my up and running machine with RAID 1 /boot + grub:
http://pzt.me/hzvta
http://pzt.me/c2xz1
http://pzt.me/9gbqx

Similar Messages

  • Ghost/Clone Program to rebuild RAID 1 array on a SAS6IR Controller

    Can anyone suggest a ghost/clone program I can use to rebuild a RAID 1 array on a SAS6IR controller. I also would like to increase the size of the C:/ drive. The server is a Dell PowerEdge T105 running windows 2008 R2.

     "Cloning isn't a supported process with Dell, as it can cause issues and instability in the array"
    I do not understand Dell's stance on cloning. Unless and array already has issues such as a double fault, puncture, major chkdsk errors cloning is a practical/safe means of porting an array over to a new array, with or without resizing, or porting over to a different array type.
    The rebuild from scratch/restore method, on a complicated server, is time consuming, tedious, expensive, and pressure involved.  Have servers with multiple resident programs, multiple SQL instance etc etc which manually could take over 30 hours to rebuild; rather expensive, especially if for some reason it must be accomplished during working hours. In my experience, I have ported smaller arrays to larger array at least 40 times and never had any issues. Have cloned between different controllers, the on board disk interface(motherboard) and Percs, between different arrays...always works.
    Used different cloning softwares, primarily Acronis. Granted if you use a little known cloning software and or do not test your array for errors previous to cloning you could have issues. Go from scratch/restore on a complicated server and you will have issues, especially if your not the one who built the server originally.

  • Recover RAID 5 array with new root drive

    Ok, I have a root mirror and a 4 drive RAID 5 array on an E250. The linker got hosed on the root partition and mount fails as a result. I've tried repairing the linker to no avail. So I replaced c0t0d0 with a brand new drive and put a fresh install on it. The second half of the mirror is still there and can be mounted now. The question is how to I restore the RAID 5 array to get to that data without losing data on the RAID 5 array ?
    lidavidson

    Ok, here's what I got:
    From the new, fresh, root partition c0t0d0s0 the first 6 lines are the old root mirror that I copied over:
    bash-2.05# more md.tab
    # metadevice configuration file
    # do not hand edit
    d2 -m d0 d3 1
    d0 1 1 c0t0d0s0
    d3 1 1 c0t8d0s0
    d5 -m d4 d1 1
    d4 1 1 c0t0d0s1
    d1 1 1 c0t8d0s1
    d6 -r c0t9d0s1 c0t10d0s1 c0t11d0s1 c0t12d0s1 -k -i 32b
    bash-2.05# metainit d6 -r c0t9d0s1 c0t10d0s1 c0t11d0s1 c0t12d0s1 -k -i 32b
    metainit: tempest: there are no existing databases
    bash-2.05# pwd
    /etc/lvm
    bash-2.05# cd ..
    bash-2.05# more system
    * Begin MDD root info (do not edit)
    forceload: misc/md_trans
    forceload: misc/md_raid
    forceload: misc/md_hotspares
    forceload: misc/md_sp
    forceload: misc/md_stripe
    forceload: misc/md_mirror
    forceload: drv/pcipsy
    forceload: drv/glm
    forceload: drv/sd
    *rootdev:/pseudo/md@0:0,2,blk
    * End MDD root info (do not edit)
    * Begin MDD database info (do not edit)
    set md:mddb_bootlist1="sd:3:16 sd:59:16 sd:64:16 sd:72:16 sd:80:16 sd:88:16"
    * End MDD database info (do not edit)
    I also rebooted after copying the entries in /etc/system.

  • Need help with formatting a software RAID 5 array with xfs

    Hi,
    i'm tying to format a software RAID 5 array, using the xfs filesystem with the following command:
    # mkfs.xfs -v -m 0.5 -b 4096 -E stride=64,stripe-width=128 /dev/md0
    but all I get is the attached error message. It works fine when I use the ext4 filesystem. Any ideas?
    Thanks!
    http://i.imgur.com/cooLBwH.png
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

    Sorry I numbered them to show the flow of information, this was also just a place for me to store info as I worked through it. I managed to get it to work by creating a partition that takes up the whole drive and is actually 22 GB larger than all the other drives (since I found out that the had root, swap and home partitions that are no longer needed).
    I should be able to resize the other partitions without a problem, correct? They're EXT4. Should I unmount the raid array and do them individually, remount the array, let it sync and do the next? Or just unmount the array, resize all of them, mount it and let it sync?

  • Expanding Raid 5 array (with windows 2003)

    I recently put 2 more 500GB drives into my existing 4 drive Raid 5 setup. I went through the expansion through RAID ADMIN 1.5. It synced the array which took about a day and inside the RAID ADMIN 1.5 tool it says the array is now 2.27 TB.
    Inside windows 2003, the size of the drive still says 1.36 TB. I've restarted the windows server, and restart the x-serve RAID. Still it wont update the size of the drive.
    I have read some PDFs from apple that expanding is a 2 stage process, doing the expansion followed by merging the slices together afterwards. When i goto the merge slicing tool, it says the array has 1 slice, but underneath it there is a checkbox that says "I understand that slicing an array or merging slices will cause data on the array to be lost"
    I'm not sure if thats what i need to do, i'm worried that im going to loose all my data on the drive by just wanting to expand it. If you have any information that can help that would be appreciated. Thank you!

    I recently put 2 more 500GB drives into my existing 4
    drive Raid 5 setup. I went through the expansion
    through RAID ADMIN 1.5. It synced the array which
    took about a day and inside the RAID ADMIN 1.5 tool
    it says the array is now 2.27 TB.
    Inside windows 2003, the size of the drive still says
    1.36 TB. I've restarted the windows server, and
    restart the x-serve RAID. Still it wont update the
    size of the drive.
    Windows 2003 can extend the disk using disk administrator on file system/volume level. I have tried it and it worked just fine.
    http://www.windowsitpro.com/Article/ArticleID/48992/48992.html
    Would I not backup my data before doing this? NO WAY. Always backup your data before you do any volume expansion or re-layout.
    Would this work every time? I do not know if Apple test Xserve RAID for ALL Xserve RAID features such as LUN expansion or LUN masking, etc. It's certified though.
    I have read some PDFs from apple that expanding is a
    2 stage process, doing the expansion followed by
    merging the slices together afterwards. When i goto
    the merge slicing tool, it says the array has 1
    slice, but underneath it there is a checkbox that
    says "I understand that slicing an array or merging
    slices will cause data on the array to be lost"
    I'm not sure if thats what i need to do, i'm worried
    that im going to loose all my data on the drive by
    just wanting to expand it. If you have any
    information that can help that would be appreciated.
    Thank you!

  • RAID 5 array. 2 arrays (/) and (/home) - asks about this

    Hello pals. On wiki, we'have that it's necessary create the array with mdadm, after assemble, and after installs arch like anyother disk system, just add while in chroot "mdadm_udev" and run "mkinitcpio -p linux"
    My question, however, is:
    In a first try, I don't know if I did the mistake, but my /home partition were mounted, with, the root partition. So "not enough space".
    I've reinstalled all again, Everithing working since, but yesterday, arch halts and, after reboot, I "lost" my /home, and not "md0" and "md1" devices, but "md126" and "md127" ones are founded on my arrays, and, no more linux.
    fsck didn't work (not found the uuid XXXX partition"
    I'm using a RAID5 scheme with "md0" as /root and "md1" as /home. md0 with 3 hard disks and md1 with three too.
    RAID is a LSICorp with 21320R 6 bay. HD SCSI
    partition type were XFS to "root" and "ext4" to /home.
    Begginer's guide to install, and
    https://wiki.archlinux.org/index.php/RAID
    to create RAID

    Ok... everything reinstaled.
    sdc                                                                       
    └─sdc1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sdd                                                                       
    └─sdd1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sde                                                                       
    └─sde1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sdf                                                                       
    └─sdf1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    sdg                                                                       
    └─sdg1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    sdh                                                                       
    └─sdh1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    cat /proc/mdstat
    cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md1 : active raid5 sdh1[3] sdg1[1] sdf1[0]
          142884864 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
    md0 : active raid5 sde1[3] sdc1[0] sdd1[1]
          70778880 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
    /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir>   <type>  <options>       <dump>  <pass>
    # /dev/md0 LABEL=root
    UUID=3cd56eab-5747-4468-92e0-d53baf0d5544       /               xfs             rw,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota  0 1
    # /dev/md1 LABEL=home
    UUID=6cb919d4-9016-4a7b-8336-01a1244a0630       /home           ext4            rw,relatime,stripe=192,data=ordered  0 2
    Anything to change?
    I remember that the ~last problem~ were during a upgrade.

  • Adding partition to free space on external that contains RAID 0 array

    Hello.
    I have a Lacie 2BIG 6TB Thunderbolt drive. This was partitioned into a 5TB RAID-0 array, with some smaller partitions in the rest of the available space for other media and backups.
    I tried to delete the other partitions to consolidate whatever space was used by these for other media. Disk Utility let me remove these partitions, but when I try to recreate anything in the free space now available, Disk Utility states that it will also erase the partition that is used as a slice of the RAID array.
    I do not have the space to move everything off the array to completely re-partition the disk, and am looking for a solution to re-partition only this free space on the pair of physical drives.
    Can anyone offer any advice on how I might accomplish this? I have tried to attach images of what Disk Utility shows when I attempt what what I want to do.
    I have tried iPartition, and would like to try Drive Genius, but I'm not sure that this will help the situation.
    Thanks a lot.

    Just a quick confirmation that I have still been unable to resolve this after a few more attempts.
    Anyone out there know more about this than I do?
    Thanks.

  • [Solved] Move Software RAID 5 Array From NAS To Arch

    Edit: I probably never had a problem at all, the error in dmesg probably just scared me, because after I disconnected it I noticed that /dev/d127 was 8.1 TB, the exact size of my RAID array node in my NAS which was /dev/md0, I just overlooked it. I reconnected it to my pc and mounted /dev/md127 to /mnt/raid and got this wonderful sight!
    [bran@ra ~]$ ls /mnt/raid
    data lost+found meta sys
    [bran@ra ~]$ ls /mnt/raid/data/
    data ftproot module _NAS_Media _NAS_Piczza_ _NAS_Recycle_RAID _P2P_DownLoad_ stackable _SYS_TMP TV USBHDD
    download htdocs Movies _NAS_NFS_Exports_ NAS_Public nzbget-downloads PLEX_CONFIG sys tmp USBCopy
    I bought a Thecus N4520 a few months ago and it's ok but programs crash a lot and they're hard to debug, apps have to be updated manually and the whole thing is moderately underpowered. I'm trying to move the software RAID 5 array from the NAS to my desktop, the kernel seems to detect that there is a RAID array but all these drives aren't part of it. I'm pretty new to RAID and I'm just getting my feet wet with it.
    When I try to assemble the RAID array, it just tells me that it isn't an md array. How can I get it to build my array?
    [bran@ra ~]$ sudo mdadm --assemble /dev/sdb /dev/sdc /dev/sdd /dev/sde
    mdadm: device /dev/sdb exists but is not an md array.
    Found this little chunk of info in dmesg, it says that the md devices have unknown partition tables.
    [ 3.262225] md: raid1 personality registered for level 1
    [ 3.262483] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.10
    [ 3.262508] iTCO_wdt: Found a Patsburg TCO device (Version=2, TCOBASE=0x0460)
    [ 3.262585] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 3.262933] md/raid1:md126: active with 4 out of 4 mirrors
    [ 3.262961] md126: detected capacity change from 0 to 536850432
    [ 3.263272] RAID1 conf printout:
    [ 3.263274] --- wd:4 rd:4
    [ 3.263276] disk 0, wo:0, o:1, dev:sdc3
    [ 3.263276] disk 1, wo:0, o:1, dev:sdb3
    [ 3.263277] disk 2, wo:0, o:1, dev:sdd3
    [ 3.263278] disk 3, wo:0, o:1, dev:sde3
    [ 3.263501] md: bind<sde4>
    [ 3.264810] md: bind<sdb2>
    [ 3.268262] async_tx: api initialized (async)
    [ 3.272632] md: raid6 personality registered for level 6
    [ 3.272636] md: raid5 personality registered for level 5
    [ 3.272637] md: raid4 personality registered for level 4
    [ 3.272905] md/raid:md127: device sdb2 operational as raid disk 1
    [ 3.272908] md/raid:md127: device sde2 operational as raid disk 3
    [ 3.272910] md/raid:md127: device sdd2 operational as raid disk 2
    [ 3.272911] md/raid:md127: device sdc2 operational as raid disk 0
    [ 3.273211] md/raid:md127: allocated 0kB
    [ 3.273241] md/raid:md127: raid level 5 active with 4 out of 4 devices, algorithm 2
    [ 3.273243] RAID conf printout:
    [ 3.273244] --- level:5 rd:4 wd:4
    [ 3.273245] disk 0, o:1, dev:sdc2
    [ 3.273246] disk 1, o:1, dev:sdb2
    [ 3.273247] disk 2, o:1, dev:sdd2
    [ 3.273248] disk 3, o:1, dev:sde2
    [ 3.273273] md127: detected capacity change from 0 to 8929230716928
    [ 3.273322] RAID conf printout:
    [ 3.273326] --- level:5 rd:4 wd:4
    [ 3.273329] disk 0, o:1, dev:sdc2
    [ 3.273331] disk 1, o:1, dev:sdb2
    [ 3.273332] disk 2, o:1, dev:sdd2
    [ 3.273360] disk 3, o:1, dev:sde2
    [ 3.283617] md126: unknown partition table
    [ 3.309239] md127: unknown partition table
    [ 3.312660] md: bind<sdb4>
    [ 3.318291] md/raid1:md124: not clean -- starting background reconstruction
    [ 3.318296] md/raid1:md124: active with 4 out of 4 mirrors
    [ 3.318333] md124: detected capacity change from 0 to 10736291840
    [ 3.318385] RAID1 conf printout:
    [ 3.318391] --- wd:4 rd:4
    [ 3.318395] disk 0, wo:0, o:1, dev:sdc4
    [ 3.318398] disk 1, wo:0, o:1, dev:sdb4
    [ 3.318402] disk 2, wo:0, o:1, dev:sdd4
    [ 3.318405] disk 3, wo:0, o:1, dev:sde4
    [ 3.319890] md124: unknown partition table
    [ 3.323462] md: bind<sde1>
    [ 3.338094] md/raid1:md125: active with 4 out of 4 mirrors
    [ 3.338225] md125: detected capacity change from 0 to 2146414592
    [ 3.338253] RAID1 conf printout:
    [ 3.338258] --- wd:4 rd:4
    [ 3.338262] disk 0, wo:0, o:1, dev:sdc1
    [ 3.338266] disk 1, wo:0, o:1, dev:sdb1
    [ 3.338268] disk 2, wo:0, o:1, dev:sdd1
    [ 3.338271] disk 3, wo:0, o:1, dev:sde1
    Here's my full dmesg
    mdadm.conf
    # The designation "partitions" will scan all partitions found in /proc/partitions
    DEVICE partitions
    ARRAY /dev/md127 metadata=1.2 name=(none):0 UUID=d1d14afc:23490940:a0f7f996:d7b87dfb
    ARRAY /dev/md126 metadata=1.2 name=(none):50 UUID=d43d5dd6:9446766e:1a7486f4:b811e16d
    ARRAY /dev/md125 metadata=1.2 name=(none):10 UUID=f502437a:d27d335a:d11578d5:6e119d58
    ARRAY /dev/md124 metadata=1.2 name=(none):70 UUID=ea980643:5c1b79e8:64f1b4cb:2462799b
    Last edited by brando56894 (2014-04-21 22:51:01)

    Sorry I numbered them to show the flow of information, this was also just a place for me to store info as I worked through it. I managed to get it to work by creating a partition that takes up the whole drive and is actually 22 GB larger than all the other drives (since I found out that the had root, swap and home partitions that are no longer needed).
    I should be able to resize the other partitions without a problem, correct? They're EXT4. Should I unmount the raid array and do them individually, remount the array, let it sync and do the next? Or just unmount the array, resize all of them, mount it and let it sync?

  • Kernel Panic when using a new RAID 5 array

    I recently set up a new Sans Digital 5 disk 7.2TB hardware RAID 5 array that's connected to a Sonnet Tempo-X eSATA 4+4 PCI-X card which has been updated to the latest drivers. The same card supports a number of JBOD enclosures that run as mirrored RAIDs under SoftRAID 4.0. My system is a 2.7Ghz DP Tower.
    Upon trying to copy to the new RAID 5 volume I encountered a kernel panic and system freeze complete with wailing fans. After a few system restarts and a call to Sans Digital I tried to connect the RAID via USB upon the recommendation of tech support. Rather than causing a crash while copying I received an error message in the copy progress window that said that some files were locked and the process could not be completed and the RAID was no longer mounted in the finder.
    I called Sans Digital back and they said it was probably a defective enclosure. I have just received a new one and have put that into service. All seemed fine until, when I was 30GB into a 900GB copy, the system froze. I have also tried to copy fewer files (400GB) and still get a Panic. When the RAID is idle there does not seem to be a problem. The last time the problem occurred the copy progress bar hung but the system did not fully lock up. The LEDs on the front panel of the RAID enclosure were flickering rapidly but no data was copying from my other drive. I turned off the RAID and was able to use my mouse again and restart my machine with a normal restart.
    My system is running OS 10.5.8. When the RAID is off my computer runs fine.
    Not sure what to try next. Any help would be appreciated - Thank you.

    Hi-
    I'd be interested to know if Sonnet has any comments regarding the issue.
    In Utilities/Console/Logs, there should be some indication of what is occurring when the crashes occur.

  • Installing a RAID array with XP installed already????

    I have a MSI-7125 NEO4 ultra platinum board
    I have a SATA hard drive with XP already installed on it which was installed without RAID.
    Iis it possible to use that drive  as the bootable drive in a RAID
    mirroring Array?????????
    If it is possible how do you do it?
    If i try and install the Array it wants to install XP into unpartitioned space. It cannot see the bootable partition.
    thanks 

    Quote
    Afraid not. All data is lost as the raid data is held in stripes across the rai discs
    For striping, yes, that would be very true, but it sounds like he wants to set up a mirrored array.  
    In the case of a mirrored (RAID-1) array, it might be possible to set it up on the fly like this.  What you'd have to try is going into the RAID controller software and telling it that it needs to rebuild (*not* create a new one) a RAID-1 array using the data on your current drive.  There's no guarantee that it will work (probably depends on the controller, and if it adds any special headers/flags to RAID-1 arrays), and if it does it is likely that Windows will no longer boot properly until you do a rescue install or manually edit your boot.ini file.  This is because creating the RAID-1 may change the hardware address of the drive, and when Windows goes to boot from the old hardware address, there's nothing there anymore until the old address is updated with the new one.
    Anyways, if you want to do a RAID-0, there's no way while preserving your current data.  Doing a RAID-1 might be possible, though still potentially problematic.

  • Problem Rebuilding RAID set with 10.5?

    I have 1 RAID set (mirrored with autorebuild) composed of 2 (identical) HD. I got a message in 10.5 Disk Utility that one disk had failed and that the set was degraded.
    I replaced the drive and I am getting an error message during the rebuild "Unrecognized filesystem".
    I can still see and access my RAID set (1 slice still ok) so minimal damage here but I don't understand why I am getting this error message when trying to rebuild.
    Any idea?
    Thanks
    setup:
    -mirrored raid set
    - autorebuild selected
    - 2 slices (160Gb, GUI, OS journaled ext)

    Hi VK2CPJ,
    Today ( I slept on this idea was exhausted from previous day) tried on two blank eide drives in a raid box, no raid built just two independent drives, one set for master the other slave. A couple of observations:
    I did not raid because I want one small partition to contain a Leopard boot install from the DVD. The message I received from disk utility was that if I restore that DVD my raid may be unusable(if I did raid). So I did not raid the drives but let them stand as master and slave. I wanted to do a APM on the small "boot" partition to see if my intel and PPC Mac would in fact boot from that restored Leopard DVD boot partition. I used start up pane on both PPC and intel and they would not boot up from that Leopard partition even though the start up pane showed the disk as a startup device. Using the option key booted both Macs. Now I'm not sure if doing this was to procedure because the Apple docs says to use a PPC Mac to do this process. Which I have a difficult time to understand. I'm assuming that the doc says that because APM would be default and assisting the user not to make any option mistake. So currently I'm trying this same procedure using a PPC Mac to test out whether start up pane will boot both Macs. I don't think it will but do think using option within the start up manager will work. If so then does this mean imply that the start up pane has a bug or that user does not require a PPC Mac to do the setup process. Let you know shortly.

  • [SOLVED]Kernel 3.0 boot problems.

    I recently built the 3.0 kernel (downloaded from kernel.org) and am trying to make it bootable.
    After creating an image and editing grub, I get an error talking about how modules.dep was not found, that /dev/sda7 does not exist and can't be mounted to new_root, that I'm on my own and Good Luck, and then I get dropped to ram fs.
    I listed the contents of the kernel26.img and kernel30.img and there is quite a difference even though they were both built using the same mkinitcpio.conf. kernel26.img was built with -p kernel26. I haven't found a preset for kernel30.
    kernel26.img boots fine.
    I think the .imgs need to be similar but I don't know how to make them similar. Or I could be completley wrong and on the wrong track. Any ideas?
    kernel26.img listed:
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    /sbin/v86d
    /etc/modprobe.d/uvesafb.conf
    /lib/modules
    /lib/modules/2.6.38-ARCH
    /lib/modules/2.6.38-ARCH/kernel
    /lib/modules/2.6.38-ARCH/kernel/drivers
    /lib/modules/2.6.38-ARCH/kernel/drivers/connector
    /lib/modules/2.6.38-ARCH/kernel/drivers/connector/cn.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/video
    /lib/modules/2.6.38-ARCH/kernel/drivers/video/uvesafb.ko.gz
    /hooks/v86d
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/scsi_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/sd_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/cdrom
    /lib/modules/2.6.38-ARCH/kernel/drivers/cdrom/cdrom.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/scsi/sr_mod.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/libata.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/libahci.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/drivers/ata/ahci.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs
    /lib/modules/2.6.38-ARCH/kernel/fs/mbcache.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs/jbd2
    /lib/modules/2.6.38-ARCH/kernel/fs/jbd2/jbd2.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/lib
    /lib/modules/2.6.38-ARCH/kernel/lib/crc16.ko.gz
    /lib/modules/2.6.38-ARCH/kernel/fs/ext4
    /lib/modules/2.6.38-ARCH/kernel/fs/ext4/ext4.ko.gz
    /lib/modules/2.6.38-ARCH/modules.dep
    /lib/modules/2.6.38-ARCH/modules.alias
    /lib/modules/2.6.38-ARCH/modules.symbols
    kernel30.img :
    /proc
    /sys
    /dev
    /bin
    /sbin
    /lib
    /usr
    /usr/bin
    /usr/lib
    /usr/sbin
    /run
    /dev/null
    /dev/zero
    /dev/console
    /dev/mem
    /bin/busybox
    /lib/libc.so.6
    /lib/libc-2.13.so
    /lib/ld-linux-x86-64.so.2
    /lib/ld-2.13.so
    /sbin/modprobe
    /sbin/blkid
    /lib/libblkid.so.1
    /lib/libblkid.so.1.1.0
    /lib/libuuid.so.1
    /lib/libuuid.so.1.3.0
    /init_functions
    /init
    /config
    /etc
    /etc/modprobe.d
    /etc/modprobe.d/usb-load-ehci-first.conf
    /sbin/udevd
    /lib/librt.so.1
    /lib/librt-2.13.so
    /lib/libpthread.so.0
    /lib/libpthread-2.13.so
    /sbin/udevadm
    /lib/udev
    /lib/udev/rules.d
    /lib/udev/rules.d/50-firmware.rules
    /lib/udev/rules.d/50-udev-default.rules
    /lib/udev/rules.d/60-persistent-storage.rules
    /lib/udev/rules.d/80-drivers.rules
    /lib/udev/firmware
    /lib/udev/ata_id
    /lib/udev/path_id
    /lib/udev/scsi_id
    /lib/udev/usb_id
    /lib/udev/load-modules.sh
    /etc/udev
    /etc/udev/udev.conf
    /hooks
    /hooks/udev
    mkinitcpio.conf:
    # vim:set ft=sh
    # MODULES
    # The following modules are loaded before any boot hooks are
    # run. Advanced users may wish to specify all system modules
    # in this array. For instance:
    # MODULES="piix ide_disk reiserfs"
    MODULES=""
    # BINARIES
    # This setting includes, into the CPIO image, and additional
    # binaries a given user may wish. This is run first, so may
    # be used to override the actual binaries used in a given hook.
    # (Existing files are NOT overwritten is already added)
    # BINARIES are dependancy parsed, so you may safely ignore libraries
    BINARIES=""
    # FILES
    # This setting is similar to BINARIES above, however, files are added
    # as-is and are not parsed in anyway. This is useful for config files.
    # Some users may wish to include modprobe.conf for custom module options,
    # like so:
    # FILES="/etc/modprobe.conf"
    FILES=""
    # HOOKS
    # This is the most important setting in this file. The HOOKS control the
    # modules and scripts added to the image, and what happens at boot time.
    # Order is important, and it is recommended that you do not change the
    # order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
    # help on a given hook.
    # 'base' is _required_ unless you know precisely what you are doing.
    # 'udev' is _required_ in order to automatically load modules
    # 'filesystems' is _required_ unless you specify your fs modules in MODULES
    # Examples:
    # This setup specifies all modules in the MODULES setting above.
    # No raid, lvm2, or encrypted root is needed.
    # HOOKS="base"
    # This setup will autodetect all modules for your system and should
    # work as a sane default
    # HOOKS="base udev autodetect pata scsi sata filesystems"
    # This is identical to the above, except the old ide subsystem is
    # used for IDE devices instead of the new pata subsystem.
    # HOOKS="base udev autodetect ide scsi sata filesystems"
    # This setup will generate a 'full' image which supports most systems.
    # No autodetection is done.
    # HOOKS="base udev pata scsi sata usb filesystems"
    # This setup assembles an pata raid array with an encrypted root FS.
    # Note: See 'mkinitcpio -H raid' for more information on raid devices.
    # HOOKS="base udev pata raid encrypt filesystems"
    # This setup loads an lvm2 volume group on a usb device.
    # HOOKS="base udev usb lvm2 filesystems"
    HOOKS="base udev v86d autodetect pata scsi sata filesystems"
    # COMPRESSION
    # Use this to compress the initramfs image. With kernels earlier than
    # 2.6.30, only gzip is supported, which is also the default. Newer kernels
    # support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
    # compression.
    #COMPRESSION="gzip"
    #COMPRESSION="bzip2"
    #COMPRESSION="lzma"
    #COMPRESSION="xz"
    # COMPRESSION_OPTIONS
    # Additional options for the compressor
    #COMPRESSION_OPTIONS=""
    Last edited by bsilvereagle (2011-07-27 23:29:25)

    bsilvereagle wrote:
    karol wrote:
    bsilvereagle wrote:Oh, I have lts installed, I'd just like to have both kernel26 and 3.0.
    linux 3.0 is just the next version of the kernel26, and we don't have versioned kernel yet https://bugs.archlinux.org/task/16702
    It's just the same as you uninstall foo-1.2.3 and install e.g. foo-1.2.4 or bar-1.0.0 if package foo gets replaced by package bar.
    I know, I'd just like to be able to boot .38-ARCH and 3.0. I have problems w/ thermal and I'm trying to find the coolest kernel.
    You could rebuild the original .38 arch kernel but name it differently, look at e.g. the kernel26-lts package or the lots of custom AUR kernels for references.

  • Access to SATA RAID-5 array without an MSI motherboard?

    I have (had) an MSI K8N Diamoond Plus motherboard, and used it to create a bootable SATA RAID-5 array of three 300Gb Western Digital disks.  Two years later, the motherboard developed a serious problem with the memory access, and now it won't POST beyond the memory initialization. So it's fried. I've tried multiple memory modules in multiple configs, and nothing helps.
    OK, no problem, new motherboard and I'm good to go. Only this isn't an MSI motherboard, and it's an Intel chipset. So, the RAID array isn't recognized.
    Are there any software tools that can reconstruct the RAID array when running on a non-nvidia chipset motherboard? Is there any other solution besides buy a new MSI motherboard?
    And, if I have to get a new MSI motherboard to solve this, what's the cheapest currently available motherboard that would be compatible with the RAID established on the original K8N Diamond Plus?

    Quote from: cameradv on 23-January-08, 00:07:27
    Well, I'm not 100% sure which controller was doing the RAID. I'm thinking the SIL, but I beleive it was nvidia software drivers in windows that re-constructed the RAID-5 once when I replaced a drive.  Can you buy a standalone nVidia RAID controller, anyway?
    You were using Nvidia RAID, with Silicon can't do RAID5.

  • Xserve RAID lost RAID 5 array on right/bottom controller

    I cleanly shut down an Xserve G5 with an Xserve RAID attached and then powered off the Xserve RAID this morning. I replaced a failing memory module in the Xserve and moved the rack 6". I then powered on the Xserve RAID, waited for a couple minutes until it was fully booted, and then booted the Xserve. When it came up, my RAID 50 volume failed to mount. Upon further investigation, it appears that the RAID 5 array on the right hand disks is "gone". In RAID Admin (Disks and Drives tab), the left side array is visible, but all disks on the right side list status as "OK" and Type: as "Spare".
    Configuration: Xserve RAID with 14 250 GB disks. Each side was configured with 6 disks in a RAID 5 array and one spare. These were striped using Software RAID on the Xserve into RAID 50 and mounted as a single volume. The RAID firmware is currently 1.5 and the Xserve is running OS X Server 10.4.3.
    To summarize today's activities: under Apple's guidance (as this entire system is covered under a Premium Support contract), I swapped the (bottom) controller for the right side, updated firmware (from v1.3/1.20a to 1.5/1.50), multiple resets of both controllers, repeated forced firmware updates, etc.
    Also, I swapped the left set of disks for the right set, and the array from the left set now shows up on the right side, and the missing array from the right is still missing with the disks on the left side. I replaced the disks to their original positions with the same results.
    RAID Admin's Utility "Recognize Array" will not perform any operations on the rigth side disks and Apple tells me that there's nothing further that I can do with it.
    None of this has solved the problem or substantially changed the issue, and the disks on the right side are still missing their associated array. Apple is unable/unwilling to offer any further help except to refer me to 3rd party data recovery services.
    Does anyone have any suggestion at all that might possibly recover the missing array? Is anyone aware of any tools that I might use to recreate the RAID 5 array on the right controller? I was hoping that there might exist some low-level tools with which the disks could be recreated into an array by hand? Are there any commercial products that would work on this? Any other ideas?
    Many thanks for any suggestions.
    - Martin
    Xserve RAID (14 250GB disks) on Xserve G5   Mac OS X (10.4.3)  

    Not sure why you swapped the controllers back and forth
    William, I don't think I was clear on this. I swapped the controller with a new controller that I had in a spare parts kit. This was at Apple's request.
    really, RAID is not a backup...
    I'm well aware, but despite my incessant warnings, users will become lulled in to a false sense of security when something "just works" for a very long time. This array wasn't intended to store valuable data that couldn't be lost, but...
    It may be possible for Apple to re-create the RAID set, did you ask AppleCare about the possibility?
    Apple has told me more than once that there's nothing else that they can do for me...and yet I keep calling back.
    I was surprised that this array was lost when there were absolutely no prior signs of a problem and the system was merely shutdown and restarted cleanly. I'm more surprised and quite disappointed to learn that Apple will do nothing else for me (under a Premium Support contract) to attempt to repair a damaged array. When I asked questions about where the RAID information is stored, I received the answers: "I can't tell you that" and "Apple doesn't release that information". I did not get the feeling that they were working with me, but rather holding my hand while they walked me through published documentation.
    I expected that there would be utilities (analagous to filesystem repair utilities) such as RAID Admin's "Recognize Array" that could help repair and recover damaged array data. I think that the lesson that I've leanred today is that I was naive to have expected such a thing without actually having investigated it ahead of time.
    Anyway, thanks for your input, William.

  • Migrating a Single 250GB Drive to 2TB RAID 5 Array

    My Mac Pro has the original 250GB hard drive it came with. I just purchased a Mac Pro RAID Card. My intention is to install 2 1TB drives, and create a RAID 5 with the three drives. Obviously the new set will only use 250GB on each of the 2 new 1TB drives. Once the array is fully built out, I plan on removing the 250GB drive, and have the array rebuild on the 3rd 1TB drive. This should leave me at the same place i was with the 250GB drive installed.
    What I am wondering is that will the RAID utility now see extra space on all three drives, and subsequently allow me to create an additional RAID 5 set with the available space? I'm doing this in lieu of cloning the 250GB to a 1TB drive, boot from the 1TB drive, and then migrating a single boot volume to a RAID set.
    Any ideas is appreciated. Thanks.

    A thread that looked into RAID5.
    http://discussions.apple.com/thread.jspa?threadID=1070319&tstart=0
    A good start, AMUG review of the Mac Pro 2008.
    http://www.amug.org/amug-web/html/amug/reviews/articles/intel/macpro-2008/
    NewerTech to use ODD SATA ports to attach your OEM and one other drive. Free up your four internal drive bays.
    http://eshop.macsales.com/item/Newer%20Technology/MPQXES2/
    Alternative to Apple Pro RAID - HighPoint RocketRAID 3522
    Barefeats: RAID 3 vs RAID 5 vs RAID 6
    http://www.barefeats.com/hard101.html
    AMUG Review HighPoint RocketRAID 3522
    http://www.amug.org/amug-web/html/amug/reviews/articles/highpoint/3522/
    4-drive RAID performance
    http://www.barefeats.com/harper13.html
    Estimating capacity:
    http://docs.info.apple.com/article.html?artnum=306212
    Personally, from using RAIDs, don't mix drives with different performance, platters, seek or firmware.

Maybe you are looking for

  • Oracle Ad-hoc report with multiple queries creating issues

    Hi Guys, I have been having multiple issues (one after the other) in trying to generate a report for Business user. Let me start with my test cases and yes, this time I have made sure by testing and dirtying my hands that the test cases work properly

  • Office 2013 OEM and Group Policies

    Has anyone been able to apply group policy to a OEM (or Retail) version of Office 2013. Particularly I am not able to set the Workgroup Templates Location. Thank you.

  • Ipod nano 4g wont turn on

    I have an ipod nano 4th generation, was never used and sat in a box for years but i started using it as my iphone broke. Last night i went to sleep and it was working fine but when i woke up it was turned off and it wont restart and i have restored i

  • Not able to view Characteristic Hierarchy using Tcode KES3

    Hi everyone, I need to view the Characteristic Hierarchy using T-code KES3 in CO-PA. Ideally, once we are into KES3 screen, we need to select the characteristic and variant to display the hierarchy. But, when I select the characteristic and variant,

  • Report Builder 2.0 - Filtering multiple values with LIKE command

    Hi, I'm trying to use multiple values for a LIKE command in the Tablix Properties-Filters area. I thought this would be easy, and it may yet prove to be easy yet I'm banging my head against the wall at the moment. I have created a new filter with: Ex