Ubuntu Servers :: Create Raid 0 Without Altering Install ?

Nov 17, 2010

I have 10.04.1 on my server with a 250gb sata drive. I have all my files on this hard drive. I'm running out of space so I have another 250gb sata drive I need installed. I want to create raid 0 so I can expand my servers hard drive space. I don't want to lose my data on original hard drive or reinstall to create the raid. Is there a way to achieve this with mdadm without altering the first hard drives data?

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: RAID-5 Recovery (spare/active) / Degraded And Can't Create Raid ,auto Stop Raid [md1]?

Feb 1, 2011

Could any RAID gurus kindly assist me on the following RAID-5 issue?I have an mdadm-created RAID5 array consisting of 4 discs. One of the discs was dropping out, so I decided to replace it. Somehow, this went terribly wrong and I succeeded in marking two of the drives as faulty, and the re-adding them as spare.

Now the array is (logically) no longer able to start:

mdadm: Not enough devices to start the array.Degraded and can't create RAID ,auto stop RAID [md1]

I was able to examine the disks though:

Code:
root@127.0.0.1:/etc# mdadm --examine /dev/sdb2
/dev/sdb2:
Magic : a92b4efc
Version : 00.90.00
code....

Code:
mdadm --create --assume-clean --level=5 --raid-devices=4 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2
As I don't want to ruin the maybe small chance I have left to rescue my data, I would like to hear the input of this wise community.

View 4 Replies View Related

Applications :: Create Local Mirror Of Remote Server Without Altering It?

Jul 29, 2009

I'm new here and hope to profit from your immense linux knowledge and of course to share my own experience where I can.

I'm in a student organization and we use a file server that runs linux. I can log in through ssh and copy using scp using login and password (no rsa/dsa keys because most users are windows users using winSCP and they're lacking in computer knowledge so we don't require them to mess around with keys)

However, I don't have network access everywhere, so I'd like to make a copy on my laptop harddisk of some of the folders I use most frequently. Note that I don't need it to copy files from my pc back to the remote server so I don't need two-way sync. Deleting the local copy every time and downloading a new full copy is not an option as we are talking about several gigabytes and the download speed is limited. Normally I would use Unison, however, this requires unison to be installed on both pc's and I can't install any software on the file server so this is not an option.

Any ideas on how to achieve this? I'm reasonable knowledgable about linux so I don't mind tinkering with some config files and using command line applications.

View 1 Replies View Related

Ubuntu Servers :: 10.4 (64bit) - How To Create Raid 5

Jan 11, 2011

I'm using a Intel mac pro running Ubuntu Server 10.4 64bit, and I have it working. Currently, I'm just using Ubuntu using bootcamp, and not using EFI. The OS drive is 250gb which I know is more than enough, but it was what I had free at the time. I added 3 1tb drives to the computer, but not sure how to create a raid with them. I've done some searching, but still haven't been able to get it done successfully.

View 3 Replies View Related

Ubuntu Servers :: Add Another Drive And Then Create A Mirrored RAID Between The Two ?

May 10, 2011

I have a server that has one drive with Ubuntu already loaded on it. I would like add another drive and then create a mirrored RAID between the two.

View 4 Replies View Related

Ubuntu Servers :: Create A New Mdadm RAID 5 Device /dev/md0 Across Three Disks?

Feb 5, 2011

I am trying to create a new mdadm RAID 5 device /dev/md0 across three disks where such an array previously existed, but whenever I do it never recovers properly and tells me that I have a faulty spare in my array. More-specific details below. I recently installed Ubuntu Server 10.10 on a new box with the intent of using it as a NAS sorta-thing. I have 3 HDDs (2 TB each) and was hoping to use most of the available disk space as a RAID5 mdadm device (which gives me a bit less than 4TB.)

I configured /dev/md0 during OS installation across three partitions on the three disks - /dev/sda5, /dev/sdb5 and /dev/sdc5, which are all identical sizes. The OS, swap partition etc. are all on /dev/sda. Everything worked fine, and I was able to format the device as ext4 and mount it. Good so far.

Then I thought I should simulate a failure before I started keeping important stuff on the RAID array - no point having RAID 5 if it doesn't provide some redundancy that I actually know how to use, right? So I unplugged one of my drives, booted up, and was able to mount the device in a degraded state; test data I had put on there was still fine. Great. My trouble began when I plugged the third drive back in and re-booted. I re-added the removed drive to /dev/md0 and recovery began; things would look something like this:

Code:
user@guybrush:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdc5[3] sdb5[1] sda5[0]
3779096448 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]

[Code]...

View 9 Replies View Related

OpenSUSE Install :: 11.2 - Unable To Create RAID 5 Disks

Jun 25, 2010

I've got 3 extra disks on OpenSuse 11.2 - all the same size. I've created a partition on all of them as type 0xFD. If I then try and add raid in yast I get "There are not enough suitable unused devices to create a RAID."

View 9 Replies View Related

Ubuntu Installation :: Create File Server - Install Hardware Raid Controller

Jun 18, 2010

I want to create a file-server with Ubuntu and have two additional hard drives in a RAID 1 setup. Current Hardware: I purchased a RAID controller from [URL]... (Rosewill RC-201). I took an old machine with a 750GB hard drive (installed Ubuntu on this drive). I installed the Rosewill RAID card via PCI port. Connected two 1TB hard drives to the Rosewill raid card. Went into the RAID bios and configured it to RAID 1.

My Problem: When I boot into Ubuntu and go to the hard drive utility (I think that's what its called). I see the RAID controller present with two hard drives configured separately. I format and tried varies partition combination and at the end of the day I see two separate hard drives. Just for giggles, I also tried RAID 0 to see if they would combine the drives.

View 3 Replies View Related

Hardware :: RAID - Create RAID 1 Without Deleting Data?

Jul 18, 2009

how can I create RAID 1+0 using two drives (one is with data and second one is new). Is it possible to synchronize data drive with empty drive and create RAID 1+0 ?

View 3 Replies View Related

Ubuntu Servers :: Upgrade 8.04 To RAID 1 After Install / DMRAID Necessary?

Nov 27, 2010

I have two Ubuntu 8.04 servers currently. I've purchased some 500 GB hard drives and a RAID cage just yesterday and plan to change my current servers to using RAID1 with the hard drives. Much like everyone else, I have the nVidia RAID built onto the motherboard that I plan to use. There are many how-to's out there on how to setup RAID using dmraid during the install process - but what would a person do if they are simply changing over to a RAId system? I installed dmraid a few days ago on the server. It seems that even though I have RAID shut off in the BIOS, it saw the one and only drive as a mirrored array. When I rebooted today, the server would not start; it had ERROR: degraded disks.. bla bla. Then Grub tried to start the partition based off the UUID of the drive (which was not changed) and it said "device or resource busy" and would not boot.

This problem was corrected by going into the BIOS and turning on RAID. When I rebooted, the nVidia RAID firmware started and said degraded. I went in there and deleted the so-called mirror keeping the data intact. Rebooted, disabled the RAID feature in the BIOS and then the server loaded normally with a message "NO RAID DISKS" - but at lest it did boot! So this leads me to believe that trying to turn on a RAID-1 array (just mirror between two disks) may be a challenge since I already have the system installed. I will be using Partimage to make an image of the current hard drive and then restore it to one of the new drives.

The next question is - is it a requirement that dmraid is even installed? While I understand that the nVidia RAID is fake-raid - if I go into the nVidia RAID controller and setup the mirroring between the two disks before I even restore the files to the new disk, will both drives be mirrored? However, I do think that I'd probably have to have dmraid installed to check the integrity of the array. So, I'm just a bit lost on this subject. I definitely do not want to start this server over from scratch - so curious to know if anyone has any guidance on simply making a mirrored array after the install procedure, what kind of Grub changes will be needed (because of the previous resource is busy message), and whether installing dmraid is even a requirement.

View 9 Replies View Related

Ubuntu Servers :: Install Boot Loader Into RAID 10 Setup?

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

Ubuntu Servers :: Dell Powerconnect Sc1425 Won't Detect Raid 1 On Install

Jun 4, 2010

got a dell powerconnect sc1425 running 2 250gb sata drives configured as raid 1 on a CERC onboard raid controller. boot up into 10.04 x64 server install, all goes well until after network discovery it goes to detect hard drives. a message appears "one or more drives containing serial ata raid configurations have been found. do you wish to activate these raid devices?" yes/no whether or not i hit yes or no, the next screen doesnt have any drives listed, just configure iscsi, undo changes to partitions and finish/write changes to disk.so where are these drives? do i have to load drivers like in winblows setup?

View 3 Replies View Related

Ubuntu Servers :: Installing RAID 10 Fresh Install 10.10 64bit Server On A Supermicro 6025B-T?

Mar 17, 2011

I have a client with a pair of Supermicro 6025B-T servers that he wants to have Ubuntu 10.10 64bit Server running on for VM/Cloud experimenting. He needs these to be set up RAID 10. I can go into the Adaptec utility and make the array and make it bootable and get to the point in the installer where it asks me if I want to use the SATA array - then it gets to the partitioning screen and the array is nowhere to be found.

View 1 Replies View Related

OpenSUSE Install :: Create RAID For Second HDD Which Is Named "sdb"?

Dec 14, 2009

When in YaST/System/Partitioner I try to create RAID for my second HDD which is named "sdb".

My original "sda" hdd is partitioned as follows:
dev/sda, disk type
dev/sda1, linux swap, swap, swap
dev/sda2, linux native, ext3, /
dev/sda3, linux native, ext3, /home

When trying to partition second "sdb" hdd I go to "/dev/sdb" under "Hard Disks", then create partition on "/dev/sdb" ... new partition/maximum size, press next button, do not format partition/0xFD linux raid/do not mount partition. After that "swap" partition of the whole size of disk gets created. However when trying "raid" in system/partitioner/add raid I end up with ("ERROR" there are not enough suitable unused devices to create raid).

View 4 Replies View Related

Slackware :: Windows Raid-O Install Virtualbox, Will Slackware Install Raid-o Without Raid Driver?

Feb 28, 2011

If I have a windows installed in raid-0, then install virtualbox and install all my linux os,s to virtualbox will they be a raid-0 install without needing to install raid drivers?

View 1 Replies View Related

Ubuntu :: Remove Password For Altering System?

Nov 13, 2010

Having recently installed Ubuntu 10.10, I'm currently looking around for different programs. However, it's already getting on my nerves that I have to type my password every time I want to install something. Where and how do I disable this? I already set myself as admin in the user settings but that doesn't seem to work.

This goes for things like changing system settings too, it's really annoying.

View 4 Replies View Related

Ubuntu :: Command For Altering Maximization State Of Window

Jan 6, 2011

Is there a command I can implement into a script that I am working on to change the maximization state of a window (maximize/restore)? I know there is a keyboard shortcut (Alt + F10), and I'm not interested in doing that.

View 2 Replies View Related

Fedora :: Way Of Altering Time Between Password Requests

Oct 26, 2010

Is there a way of altering the time between password requests. For example after I login there seems to be a certain amount of time before the screen blanks out and a new request for the user password is asked. I would like to increase the time substantially.

View 1 Replies View Related

General :: Dnsmasq Without Altering /etc/hosts File Manually?

Jul 19, 2011

I've trying to get dnsmasq working as a combined dns and dhcp server. It's infuriating so far... In short, the DNS works fine for anything added to /etc/hosts, and the dhcp works fine, but the dhcp is not updating the dns with hostname information from clients.

The outcome of this is that i can only ping a node by hostname if i know it's address, which means setting a static dhcp allocation and putting the hostname into /etc/hosts manually, which is very annoying and kind of defeats the poit of dhcp. There must be a way to get dnsmasq to update the hosts file, surely The clients aren't using fqdn's if that matters, and i think i've tried every combinination of "expand-hosts" and "domain=" following is the dnsmasq config file contents:

domain-needed
bogus-priv
except-interface=tun0

[code]....

View 2 Replies View Related

Software :: Tape Loader Device /dev/sgN Is Altering After Each Reboot

Sep 24, 2009

We are running SLES 11 where an iscsi tape library is attached. To load the tape in a slot we are using for
instance the command #mtx -f /dev/sg1 load 2 which is doing very well. But after a server's reboot the device name of the loader is now /dev/sg4 or /dev/sg5 I mean it is dynamic. Is there any way to have a fixed device name for all times?

View 1 Replies View Related

Fedora :: How To Create Software RAID 5

Oct 31, 2010

I've never worked with a software raid before, and I was a little worried about getting the hand of it before actually relying on it. So what I decided to do is to create a raid 5 on my Fedora 12 installation, and then install fedora 14 and see if the raid 5 was still in tact on the OTHER 4 disks that were NOT a part of the OS drive. After installing Fedora 14 I noticed that the raid5 was broken, and I googled for hours and even started a thread here, but could not get it working again.

I decided to start from scratch, and just delete all of the partitions and the raid, and do a new raid5 using 4 disks that are 2tb each. I googled for a long time, and tried using both the cli (mdadm) and the gui (disk utility), but I was not able to successfully get a new raid5 working? I've tried various examples, to no avail. Any link to a difinitive resource on how to setup a raid5? I don't just mean the commands for mdadm, but also the actual disk formatting that's required before setting up a raid, if it's even required. I say thing for 2 reasons:

1) In fedora 12, using disk-utility, I didn't have to format the drives first, or anything else. I just selected 4 drives, said to make them a raid 5, and then formatted them as ext4. But many examples I've seen says that the drives must already be formatted, and you use partition #1 of each drive to setup the raid, whereas when I did it, I didn't have any partitions (they were new drives), and I could format after.
2) One example I've found says to use ext*, whereas another example says to use xfs. I don't feel this matters, and is only a matter of choice/taste, right?

View 14 Replies View Related

General :: Create RAID In Rhel-5

Apr 22, 2010

how to create RAID-1 in rhel-5

View 2 Replies View Related

General :: Create A RAID Set Up And Merge Partitions?

Aug 7, 2009

I have three hard drives in my computer That I want to make RAID 0. All of them already have partitions and data on them. What I want to know is if I can, without losing data, add the disks to RAID and then merge the partitions? All the partitions are of the same type. Or would it easier/better/possible to do this with LVM? Even if I'd have to shrink partitions and copy data to a new LVM one to get it set up properly, would it be better than RAID 0?

View 2 Replies View Related

Server :: Create Nested Raid In Centos?

Jan 21, 2010

We can create normal raid levels in centos using mdadm, but how can we create nested raid levels ( example raid 1+0 Raid 0+1).

View 2 Replies View Related

CentOS 5 :: Raid 1 - Need To Create Array On Every Restart

Mar 10, 2010

I have a raid 1 array which I did setup on a Centos box. I can configure the array fine the problem is every time is restart my machine I can no longer see the array and have to go create it all over again. I tried doing a few searches on it but have came up with nothing so far.

View 19 Replies View Related

Fedora :: RAID 1 - How To Create New Array Without Losing Data

Jan 1, 2010

I have a software RAID array using mdraid that consists of two 1.5TB drives that I use for storage, the array is mounted at /Storage. I am running out of space in the array so I ordered two more 1.5TB drives to create a 4 drive RAID 1+0 array which will be 3TB big. My question is how do I create the new array and not lose any data?

The drives and partitions are sdc1, sdd1, and soon to be sde1, sdf1. I currently have 4 RAID arrays (md0,md1,md2,md3). I think I can create the RAID 1+0 array with the two new drives, copy the data from my current array to the new one, remove the old array, then add the two original drives to the new array. But I wanted to ask on here first to make sure my data doesn't go poof.

View 1 Replies View Related

Server :: Mdadm Create,, Raid Array Is Not Clean?

Nov 16, 2009

mdadm --create /dev/md1 --level=1 --raid-disks=2 missing /dev/sdb1and I getmd1: raid array is not clean -- starting background reconstructionWhy is it not clean?Should I be worried?The HD is not new it has been used in before in a raid array but has beenrepartitionated.

View 2 Replies View Related

Slackware :: How To Create Raid Arrays With Mkfs.btrfs

Jun 21, 2011

what do I have:2x 150GB drives (sda) on a raid card (raid 1)for the OS (slack 13.37)2x 2TB drives (sdb) on that same raid card (raid 1, too)2x 1.5TB drives (sdc,sdd) directly attached to MoBo2x 750GB drives (sde,sdf) attached to MoBo too.if i got about it the normal way, i'd create softRAID 1 out of the the 1.5TB and the 750GB drives and LVM all the data arrays (2TB+1.5TB+750GB) to get a unified disk.If I use btrfs will I be able to do the same? mean I have read how to create raid arrays with mkfs.btrfs and that some lvm capability is incorporated in the filesystem. but will it understand what I want it to do, if i just say

Code:
mkfs.btrfs /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1
probably not, eh?

View 3 Replies View Related

CentOS 5 Server :: Possible To Create RAID SW On Working System

Oct 5, 2009

I'm working in a little company and 2 weeks ago one of our server had a hard disk failure (yes it was a seagate 11) and after passed two days without sleep trying to recover everything (and we did it!!) we took the decision now to use in some of our server a raid sw, so if one HD fail we can continue with our system without losing nothing. Yes I know normally you have to take all the precautions before so this things never happen, but you know I thing if it never arrives you, you always think than you're lucky and it's never going to happen to you but one day you discover reality.

So now this server is working with a Centos and the default HD partitions one boot partition and the LVM. I'm reading everything I'm finding about raid sw and lvm but I don't find if it's possible to create now with the system working a raid sw without having to reinstall all the system. Is it possible to do it ? If not what are my options to make a system backup before reinstalling everything?

View 1 Replies View Related

General :: Problems With Pvcreate To Create A Physical Volume For RAID 1

Jul 29, 2010

Hi,

I am experiencing problems in creating a physical volume on RAID 1 system.

Here is what I did.

#/usr/sbin/pvcreate /dev/md0

the message reads:
"Device /dev/md0 not found (or ignored by filtering)."

The /dev/md0 has a partition type 8e for linux LVM

Can anyone enlighten me?

Thanks

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved