General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks
Jun 4, 2010
I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.
This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....
View 2 Replies
ADVERTISEMENT
Dec 15, 2010
So I didn't notice when I setup my CentOS 5.5 server that I left / as RAID 0 on md1. All the rest are RAID 1. Is there a way I can modify the array to RAID 1 without a risk of data loss? I'm glad I caught this before I setup any other services. I've only setup smb so far...
[root@ftpserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 16G 3.0G 13G 20% /
[code]....
View 1 Replies
View Related
Feb 18, 2010
I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:
I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.
View 4 Replies
View Related
Mar 27, 2010
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
View 4 Replies
View Related
Feb 10, 2011
I got a motherboard asus m2a-vm that has support for raid 0, 1 and 10 and I was just curios if anybody has used a fakeraid for raid 0 with ubuntu. If so did it work out as planed?
View 4 Replies
View Related
Dec 2, 2009
I have 2 drives and wish to use the following partition setup.
sda1 /boot 1GB ext4
sda2 / 50GB ext4 raid 0
sdb1 / 50GB ext4 raid 0
Unfortunately only Ubuntu server has the option to make a raid in the install. Can somebody point me to a howto on something like this up. I'm thinking I will want to install onto a sdb2 set up the raid and copy the file system to the raid.
View 2 Replies
View Related
Aug 19, 2010
I have the latest ubuntu V10 and trying to set up a raid 5 to use as storage. I have 3 1 TB drives along with the 160 GB OS drive. Is what I want to do possible and is there a gui interface to perform this or clear instructions on how to accomplish this? I am a novice when it comes to Linux but trying to ween myself off of Microsoft.
View 2 Replies
View Related
Jan 11, 2011
I was wondering what is the proper way to setup a hardware based mirrored raid. I have two 2TB drives and a nvidia based raid on the motherboard. I used the nvidia raid manager to setup a Mirrored array consisting of those two drives. The total shows as 1.81TB array.
I boot into OpenSuSe 11.3 and in the partitioner I see two drives (dev/sda and dev/sdb each 1.82TB) listed instead of a single RAID drive. Am I doing something incorrectly that two drives show up instead of the array? Does something need to be enabled?
View 1 Replies
View Related
Aug 4, 2010
I want to build a 6xSATA RAID 5 system with on of the disks as spare disk. I think this give me a chance of 2 of 6 disks failing without losing data. I am right?
Hardware: Intel ICH10R
First I will creat a 3xSATA RAID 5, after I will add the spare disk and after that I will add the others disks. This is what I think I should do.
Step 1:
Create RAID Device
Code:
mdadm --create --verbose /dev/md0 --metadata 1.2 --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
I read that "--metadata 1.2" is the best option. It is true?
Create filesystem on the RAID device
Using this method of calculation:
* chunk size = 128kB (for RAID 5)
* block size = 4kB (recommended for large files, and most of time)
* stride = chunk / block = 128kB / 4k = 32kB
* stripe-width = stride * ( (n disks in raid5) - 1 ) = 32kB * ( (5)- 1 ) = 32kB * 4 = 128kb
Then:
Code:
mkfs.ext3 -v -m .1 -b 4096 -E stride=32,stripe-width=128 /dev/md0
Step 2:
Add spare-disk
Code:
mdadm --add /dev/md0 /dev/sdd1
Is this enough?
Step 3:
Adding disks:
Code:
mdadm --add /dev/md0 /dev/sde1
mdadm --grow /dev/md0 --raid-devices=4
fsck.ext3 /dev/md0
resize2fs /dev/md0
View 1 Replies
View Related
Feb 14, 2010
I setup a HTPC about a month ago, and just expanded my storage by adding two 750GB drives in addition to my OS drive. I am using Ubuntu 9.10 as my OS and need help setting up a raid 1 on the two 750GB drives.
gparted shows the two drives as /dev/sdb and /dev/sdc
View 2 Replies
View Related
Apr 26, 2011
I have Ubuntu 10.04 and MegaRAID controller. The only tool I have is the notorious MegaCli. I need to be emailed when some disk has failed in the RAID array. How to set that up?
View 3 Replies
View Related
Nov 10, 2009
Have been tasked with a couple of Sunfire X2100 that I am slapping Fedora 11 onto for some high profile tasks around the office. Have two drives of the same size in each server and would like to have the two disks mirrored for redundancy. Admittedly I am new at Linux administration and am feeling over my head.
1. Can this be managed during the installation process of Fedora 11?
2. If yes, let me know the step by step please.
3. If no, I take it a cron job of rsync is going to be my best option.
4. Alternatives insights etc.
View 2 Replies
View Related
Oct 24, 2009
Okay on /dev/sda
sda1 is windows xp
sda2 slackware /boot /system files
sda3 slackware swap
sda5 Centos LVM
Now my question is when I install CentOS grub did not automatically setup the slackware partition and I have to configure it manually. This is my grub.conf file
[root@centos ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol01
# initrd /initrd-version.img
# boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5)
root (hd0,4)
kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol01 rhgb quiet
initrd /initrd-2.6.18-92.el5.img
title Slackware root (hd0,1)
kernel /vmlinuz-generic-2.6.29.6
title Other
rootnoverify (hd0,0)
chainloader +1
How should I do the slackware in grub?
View 13 Replies
View Related
Apr 25, 2010
I have set up a RAID1 array and am trying to test if its is set up correctly/if errors are detected, reported and recoverable.
Started up the mdadm monitor with:
Code:
I set the RAID array to a faulty state by doing:
Code:
However I do not get any problem reports to my e-mail address. When I test the mdadm I get this result:
Code:
When I look in the postfix folder, sure enough.. there is no main.cf file there... but there IS a file named 'master.cf'. I am running Ubunto 9.10 with default components - have postfix but no sendmail.
View 2 Replies
View Related
Aug 2, 2011
I have a situation where I need to setup some sort of storage solution with Raid 5 redundancy. I was thinking that Linux would be the way to go but I am not certain what platform would be best.
I was thinking running two SATA RAID controllers to get me somewhere between 4 - 6 TBs in Raid 5. I am very comfortable with ubuntu now and would love to use it. I have also used FreeNas in the past but would love to have a full OS on the machine if at all possible.
View 2 Replies
View Related
Apr 10, 2010
I want to set up grub for a dual boot system of xp and vista. The thing is that I have vista installed and would have to install it ance again after setting up XP in order to use the microsoft bootloader. And secondly I slowly want to get into linux...
This is how I tried it: I have four partitions on my HD and want to install the Bootloader on /dev/sda3. I started up the ubuntu live cd, mounted partition3, opened the console and tried this command line which I found in a tutorial
grub-install --root-directory=/media/hda3 --recheck /dev/hda However I get the following error message:
mkdir: cannot create directory '/media/hda3/boot': No such file or directory
View 2 Replies
View Related
Jul 12, 2010
I'm setting up a web server but I have no experience with RAID. I would like to try this configuration if possible:
2 x HDD 500GB RAID1
1 x HDD 20GB (logs and tmp)
The old 20GB drive I would like to use it to store logs and temporally files (mounted in /var/log and /tmp respectively). With this I'm trying to reduce some disk usage in the RAID drives. In my idea, it would be better to write the access/error logs of the web server in a separated drive to the one serving the files which may increase speed... sounds crazy?
One problem is that during the installation, If I set the RAID automatically it will try to use my 20GB HDD as well in the RAID... Does it will work if I set the RAID first (removing the 20GB HDD) and then set the mount points in it after the installation?
View 4 Replies
View Related
May 16, 2011
I've just finished setting up a RAID 1 on my system. Everything seems to be okay, but I have a very slow boot time. It takes about three minutes between the time I select Ubuntu from GRUB and the time I get to the login screen.
I found this really neat program called bootchart which graphically displays your boot process.
This is my first boot (after installing bootchart). I'm not an expert at reading these, but it appears there are two things holding up the boot, cdrom_id and md_0_resync. I tried unplugging my CD drive SATA cable, and this is the new boot image.
It's faster, but it still takes about a minute, which seems pretty slow on this system. The md0 RAID device is my main filesystem. Is it true that it needs to get resynced on each boot?
I'm not sure how to diagnose my CD drive issue. The model is a NEC ND-3550A DVD RW drive. I should also note that there's a quick error message at startup about the CD rom. It's too quick for me to read it, just one line on a black screen saying "error: cdrom something something".
View 5 Replies
View Related
Mar 11, 2011
I am just getting into the Raid world with my home server. what i have:
Asus M3A78-CM (may be wrong, cant remember for sure) Motherboard with 6 Sata2 Connectors
3 2TB Sata2 Drives
2GB of DDR2 Ram set in bank A
AMD Dual Core (i'll know what it is when i get the system booted)
What i am trying to figure out is when i build this system, I will put in the HDD's into Sata Ports 1-3 and in the BIOS i will setup a RAID 5 Array. Now, do i just format and partition like normal? Would it be better to have a smaller, and better performing Sata2 for the system so i can have the raid be only for file storage?
In what i have read about this, i need to format each drive into two partitions at least but i do not know what needs to be done, The guides just vaguely say something about two partitions and then move on (trick of the trade? keep all of us in the dark? LOL) I would like to have a raid for my storage and a faster disk for the OS and home directories. But if it cannot be done then thats how it is. So do i put the TB drives in Sata Ports 4-6 and my other drive in Sata Port 1?
View 8 Replies
View Related
Jul 21, 2009
I looking to setup a CentOS server with RAID 5 i was wondering what the best way to set it up and How with the ability to add more HDD to the RAID system later on if needed?
View 1 Replies
View Related
Dec 9, 2009
I'm setting up a backup server using Centos 5.3 and an Adaptec 5805 raid card and discovered that I can't use a raid setup that is over 2TB in size as the boot drive. What I eventually did was set up 2 raids on the same set of 4 drives so that I have a 200Gb 'drive' for booting and a 2.6TB 'Drive' for data. I want to keep the OS in the raid setting so I have some protection instead of having a dedicated stand alone drive for the OS. This will be for a company wide backup server and I want to minimize the possibility of drive failure for the OS as well as the Data.
I was able to install and reboot the system and everything seemed to be working but after some working on it a bit I did a reboot and wound up with a non-booting system. I can boot to the rescue mode with the install dvd and mount the original system and I even tried to reinstall the grub setup per instructions I found on the net but still I get a system that hangs up after it asks if I want to boot from the CD. If I take out the CDROM option from the boot lineup in the bios I stop at the same place minus the boot cd prompt.
I'm guessing it is something to do with one of the raid drives being over 2TB but I'm booting from a 200gb sized raid so I'm really at a loss for what to do next??
Is what I've described the correct way to handle booting up with a large raid or is there another way to reconfigure the drives as one big 2.8TB raid and use something other than grub to boot to it?
View 5 Replies
View Related
Oct 6, 2010
Can I use UUIDs to setup a raid with mdadm?
View 3 Replies
View Related
Jan 9, 2011
I'm trying to setup a RAID 5 array of 3x2TB drives and noticed that, besides having a faulty drive listed, I keep getting what looks like two separate arrays defined. I've setup the array using the following :
sudo mdadm --create /dev/md01 --verbose --chunk=64 --level=5 --raid-devices=3 /dev/sdb /dev/sdc /dev/sde
So I've defined it as md01, or so I think. However, looking in the Disk Utility the array is listed as md1 (degraded) instead. Sure enough I get :cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid5 sde[3](F) sdc[1] sdb[0]
3907028992 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]
So I tried getting info from mdadm on both md01 and md1 :user@al9000:~$ sudo mdadm --detail /dev/md1
/dev/md1:
Version : 00.90
Creation Time : Sun Jan 9 10:51:21 2011
Raid Level : raid5 ......
Is this normal? I've tried using mdadm to --stop then --remove both arrays and then start from scratch but I end up in the same place. I'm just getting my feet wet with this so perhaps I'm missing some fundamentals here. I think the drive fault is a separate issue, strange since the Disk Utility says the drive is healthy and I'm running the self test now. Perhaps a bad cable is my next check...
View 3 Replies
View Related
Apr 4, 2011
I have the current disk setup :
disk1 :
Code:
sda:
(primary) sda1 ntfs
(primary) sda2 ext3 (mounted as / )[code]....
Before i set up the raid, but with this exact partitioning, the system booted perfectly. When i installed mdadm and created the raid1 mirroring on sda6 and sdb1, the init got screwed up, and all i get is a shell on initramfs, from where i can inspect that sda is binded on md, and cat /proc/mdstat tells me that i have an inactive sda[4].I can't mount the root partition (sda2), because it's busy (i suspect dmraid to lock it), which is, i guess, why init cannot be found.
I wonder if my error is to setup a raid array using a logical partition contained in an extended partition (but i hardly see why it would not work - but the sda bind and the sda[4] in mdstat seems to tell me that it does not), or it's just the initrd that is improperly configured. The other things that bothers me, is that changing the partition type of the raid partitions (fd to 0 - Empty), to disable raid autodetection, resulted in the same behavior on boot. Which might lead me again to think about configuration file problem instead of improper setup.The live cd doesn't not seem to recognize raid, so i can't inspect problems any further, but i could inspect system configuration, but i don't really know where to start.
View 2 Replies
View Related
May 27, 2011
My system includes two 120GB disks in fake raid-0 setup. Windows vista is installed on these.For Debian I bought a new 1 TB disk. My mission was to test Debian and I installed it to the new disk. The idea was to remove the disk afterwards and use windows as it was before. Everything went fine. Debian worked perfectly but when I removed the 1 TB disk from system grub will show up in boot in grub recovery mode.
Is my RAID setup now corrupted? Grub seems to be installed on the other raid disk? Did grub overwrite some raid metadata? Is there any way to recover the raid setup?
dmraid -ay:
/dev/sdc: "pdc" and "nvidia" formats discovered (using nvidia)!
ERROR: nvidia: wrong # of devices in RAID set "nvidia_ccbdchaf" [1/2] on /dev/sdc
ERROR: pdc: wrong # of devices in RAID set "pdc_caahedefdd" [1/2] on /dev/sda
ERROR: removing inconsistent RAID set "pdc_caahedefdd"
RAID set "nvidia_ccbdchaf" already active
ERROR: adding /dev/mapper/nvidia_ccbdchaf to RAID set
RAID set "nvidia_ccbdchaf1" already active
View 1 Replies
View Related
Dec 7, 2010
I have a Dell workstation, 2 HDD, HDD 1 setuped Red Hat 5.3 with LVM, and that HDD 2 is empty, not install RAID 1. And, I want to setup RAID 1 (hardware RAID)...but, have a problem. I don't want to lost data on HDD 1 when I setup raid, I try ghost or backup it, but when I restore, it error because LVM is setup on that.
View 4 Replies
View Related
Mar 9, 2011
My specs are as follows:
Motherboard:Asus Crosshair Formula IV
CPU:AMD Phenom� II X6 1090T Black Edition 3.2GHz
RAM:Corsair Vengeance 8GB DDR3 1600MHz CL8 Dual Channel Kit (2 x 4GB)
HDD: 1 Sata 750 GB Hard Drive
HighPoint 3120 PCI-E TrueRaid Controller, 2x250GB set as Mirroring.
So everything is working good. I have windows on the 750 GB Sata hard drive, and OpenSuse 11.3 on the Mirrored raid setup. I have grub as the bootloader, it loads windows and linux without error. So i have 8 gb of ram installed, but i have room for another 8 gb. This is where the error starts. After i install the other 8 gb of ram, which is corsair vengeance as well, windows will boot, but not linux. When i remove the newly installed ram, linux boots no problem. I tried putting the ram back in, then reinstalling linux again, but as i go through the setup, linux doesn't recognize the RAID setup. Like i can see it there, but i can't use it, partitions don't show up.Now i remove the install cd and tried to start linux again, still error. The error it gives me goes like this:
>Trying manual resume from /dev/disk/by-id<...>-part2
>resume device /dev/disk/by-id/<...>-part2 not found (ignoring)
>Waiting for device /dev/disk/by-id/<...>-part1 to appear: .............
>Could not find /dev/disk/by-id/<...>-part1
>Want me to fall back to /dev/disk/by-id/<...>-part1? (Y/n)
Wether i select Y or N, it takes me to a shell. I tried using fdisk in the shell to check if /dev/sda the linux setup has any partitions on it, and no it does not recognize any of it. When i use fdisk on /dev/sdb to list the partitions it works. So only the raid setup gets affected by the increase in RAM.
View 3 Replies
View Related
Apr 15, 2010
I am rebuilding two microsystems servers and I need some advice to make my dreams come true.I want to setup the servers in a RAID configuration and want to install a GUI Linux application to manage a file server, manage a subnet, and host a Moodle on my subnet.I am planning to use Asus eee netbooks running Linux as my client computers. I basically need to be able to get my kids on the web and be able to have them use some open source office suite tools. No major crunching. I'll have two Macs for that.
View 3 Replies
View Related
Dec 22, 2010
I'm asking for an advice about the setup of a large volume: I have 2 disks of 1 Tb each and I want to merge them in a single volume/partition. I am in doubt about setting up a LVM, a RAID0 device or both. I know that RAID0 has no redundancy but I will manage a backup on other media, so that I can take advantage of the stripe feature in terms of I/O performance. On the other hand LVM let me to easily manage and expand the volume in a near future. Am I correct? Anyway I don't know if I can ever setup both and in which order. First LVM then RAID, I suppose.
View 8 Replies
View Related
Oct 3, 2010
i installed ubuntu server on a 4-hard disk system, i installed with the RAID 10 support that comes with 10.04 server optioon. my raid swap is /dev/md0 and my raid data partition is /dev/md1
hard drives are /dev/sda /dev/sdb /dev/sdc /dev/sdd
the instalation goes fine, from the 8TB im getting 4TB mirrored which is what i want,
but the instalation setup goes up to the point where it asks me to install grub boot loader, There i choose the default option and it does a fatal error.
my main goal is just to make it bootable, any method is welcome. this went beyond my RAID knowledge (more conceptual than technical)
View 2 Replies
View Related