Ubuntu :: Looking For Guidance On Raid / Nas Setup?
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
ADVERTISEMENT
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
View Related
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
Jun 14, 2010
I am new for linux, in my environment we use centos 5,so some one to guide me how to install and configure the VNC.
View 1 Replies
View Related
Dec 26, 2010
I am using Logical Volumes and currently have Windows7 on 1st partition. At boot I mount 4 linux partitions. I would be looking to eliminate Windows for good, and use the available space for my /home partition. If I am correct, I can use that space easily since I use LVM. How best to go about this?
View 3 Replies
View Related
May 13, 2010
I can not get Guidance to remember my choices past the first suspend. I open Guidance from the battery icon on my screen and select "Suspend" from the "lid closed" option list. I click OK (or apply then OK) and my choice is remember right until I close the lid and restart. If I don't go through the process again random events occur when I resume the second time. I am a member of the power group, this was working perfectly on 4.4.2 and previous. Is there a text file I can edit to fix this properly instead of all the clicky-clicky I'm not listening nonsense?
View 7 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
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
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
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
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
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
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
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
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
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
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
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
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
Mar 17, 2011
I'm helping my brother setup a server he has. The server has a 3Ware 9690SA Hardware RAID card, and it has 4 x 2Tb 5400 RPM Samsung Harddrives. When I boot into the 3Ware BIOS, it recognizes all 4 drives, no problem. What he wants to do is install them in RAID 10 for a 4 Tb mirrored volume for performance and redundancy. When I try to create a RAID array with the 4 drives, and set it to use RAID 10, it only allows me to utilize 2079 Gb (1/4 x 8 Tb), which is half of what I would expect for this RAID config.
Assuming I go ahead and allow it to build the array with this volume, we can go on to install Fedora 14 with no issue, but still only 2 Tb are available. This is our first time setting up a RAID array like this, I've also tried enabling Auto-carving to insure that I have support for physical volumes larger than 2 Tb, but to no avail. With the version of Linux we're running, and the RAID card he's got, it should support greater than 2 Tb PVs either way though.
View 10 Replies
View Related
Jul 21, 2010
I planned to setup raid 1 mirroring for my small home environment. Then I selected two new harddisk and connected to my system. I inserted my fedora dvd and I clicked raid button in the graphical installation process by refering redhat docs. I installed successfully in /dev/sda /dev/sdb it works fine. For testing purpose I removed one harddisk /dev/sda. My system didnt boot it shows grub error. Why this happened? Since I have configured raid mirroring why the system is not booting from second harddisk /dev/sdb.
View 1 Replies
View Related