Ubuntu :: System Automatically RAID Itself?
Sep 6, 2010
When I installed this system (Xubuntu 9.04 x64) several months ago, I had two identical SATA hard drives, but I didn't do a RAID1 mirror then because I didn't want to wipe out my old OS (FreeBSD) on the second drive in case I needed to retrieve something from it. So I installed Xubuntu on the first drive (sda) and for all that time, the second drive (sdb) has been running but unused, and fdisk showed that the FreeBSD partition was still there.
A couple weeks ago, my separate backup server failed, so as a short-term backup I did a 'dd if=/dev/sda of=/dev/sdb' to make an exact copy of my Xubuntu install on drive A upon drive B (the former FreeBSD drive), then mounted /dev/sdb1 on /mnt to make sure it worked successfully. So far so good, but I still didn't set up any RAID stuff.
Several days later, I needed to reboot because of a security upgrade, and when I logged out, the GUI froze up. Thinking not too much of it, I restarted the system, and it came up fine. But the next day, I discovered that I was missing several days worth of email and recent files. In fact, everything had been reverted back to a state from several days earlier --- I think from the day I copied the first drive to the second one. Files I created in the interim were gone, and files I deleted in the interim were back. It was as if the first drive was 'restored' from the second one without my knowledge.
Doing some testing now, I find that if I create a new file on /dev/sda1 and then mount /dev/sdb1, the file also exists on sdb1. It's as if they're acting as a RAID1 mirror, without my telling it to do so. Could it just decide to do RAID1 because it sees there are two identically partitioned drives? That seems dangerous. And if they were really in a RAID mirror, why would it let me mount them separately? It's very strange.
I don't mind if it's suddenly decided to do RAID, but I want to make sure it's not going to 'restore' a more current filesystem from an older one again, if that's indeed what happened.
View 3 Replies
ADVERTISEMENT
Jan 6, 2010
Here is my system: I have dell poweredge 1950 PERC 6 with 300 GB raid system. It has two disks of each 300GB RAID mirrored system. I have few applications and data that reached around 280GB. As you know, poweredge 1950 we can have only two disk.
They are not mission critical. Hence, I wanted to remove the raid system and use as a non-raid system. By doing it, The applications and data can grow upto 600GB. I do not want to loose the data and setup. I am not so clear about RAID system and its conversion.
View 6 Replies
View Related
Jun 29, 2011
migrate an installed Ubuntu system from a software raid to a hardware raid on the same machine? how would you go about doing so?
View 1 Replies
View Related
Jun 12, 2010
I have two 1TB hard drives in a RAID 1 (mirroring) array. I would like to add a third 1TB drive and create a RAID 5 with the 3 drives for a 2TB system. I have ubuntu installed on a separate drive. Is it possible to convert my RAID 1 system to a RAID 5 without losing the data? Is there a better solution?
View 1 Replies
View Related
Dec 17, 2010
I have a server setup with software raid, I've used mdadm to create the mirror and it seems to be working just fine but it won't start by itself.
2 x 160GB SATA drives, each with a single partition
/dev/sdb1 and /dev/sdc1 respectively
Code:
/dev/md0:
Version : 0.90
Creation Time : Fri Dec 17 13:31:13 2010
Raid Level : raid1
[Code].....
View 3 Replies
View Related
Jun 27, 2010
I am going to setup a new Ubuntu 10.04 using RAID 1 soon. Installation will be via the alternate CD. Older distributions required manually installing Grub to the second drive, to boot if the first drive fails. I found different statements about how this is handled since 9.10.e.g.
Quote:
Install GRUB boot-loader on second drive (this step is not need if you use Ubuntu 9.10)
or
Quote:
installing GRUB to second hard drive depending on your distribution
> grub-install /dev/md0
or
> grub-install /dev/sda
> grub-install /dev/sdb
is Grub2 automatically installed in all RAID drives using alternate CD 10.04 like executing sort of "grub-nstall /dev/md0" during the installation ?
View 2 Replies
View Related
Mar 24, 2011
I have a box that doesn't have a Raid controller or a software raid running currently. I would like to make it a RAID 1. Since it seems there isn't any IDE RAID controllers hardly around, I have another HD that is the exact model as the drive currently in the box running CentOS. Can I some how add the second drive and get the box to mirror from here own out? The box gets really hot and I want to be ready for a HD failure.
View 3 Replies
View Related
Jan 19, 2011
I have (had) Debian Testing running on a 250GB IDE hard drive, partitioned normally.
I also have 4x 1TB drives in a raid 5 using mdadm, and 2x 500GB drives in a raid 1 also with mdadm.
I put the two arrays in lvm using:
I then used "lvcreate" to make storage/backup 300GB, and the rest went to storage/media (approx. 2TB usable). I put an xfs filesystem on both and mounted them.
All was working fine until the system drive shorted out and died on me this morning. As far as I can tell, all my other drives and everything else is fine. I do a daily rsnapshot of the filesystem, which of course is residing on storage/backup (stupid, I know). So I have full backups of everything, but I'll have to put a new hard drive in and reinstall Debian before I can restore everything.
I've reinstalled before and simply reassembled mdadm arrays and remounted them before with no problems, but this is the first time I've used lvm, so I'm not sure what I have to do to restore everything. Is it as simple as reinstalling the system then doing a:
View 4 Replies
View Related
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
May 13, 2010
I am in the process of installing Ubuntu 10.04 LTS on a Compaq Presario 5900Z desktop, circa 1999.
Because of a change to some IDE/SCSI drivers during 2008, no Linux distribution from the fall/autumn of 2008 onward will install on this system using their standard images, every distro I've tried to install this way would report I/O errors. There was a bug report filed on this at Launchpad some time ago. Running the images as Live CD's would work, but the actual install would always fail.
I began this by installing Ubuntu 7.10, then upgrading it to 8.04 LTS. The next step is to upgrade to 10.04 LTS.
When booting up, there is a console message that briefly appears that the BIOS (being from 1999) fails the cutoff (2000) and to enable ACPI, acpi=force must be added to the boot parameters.
The issue is when powering the system off, it will not power off by itself. At one time, there had been a different distro installed on this same system alongside Windows XP and both systems correctly powered the system off when shutting down. Ubuntu keeps the system powered on and I would have to hold in the power button for up to 10 seconds, until it powers off.
I do not know if simply adding acpi=force to the boot parameters will fix this, but I also do not know where to place this. The other distro used on this system actually came with a GUI interface that would allow for something to be added to the parameters. I cannot find anything similar in Ubuntu.
So, my questions are:
1. Will adding acpi=force properly turn the PC off at shutdown?
2. If so, where can this be permanently added to the boot parameters?
View 5 Replies
View Related
Apr 7, 2010
I am trying to create a RAID data drive for my system but I am having setting it up since I am a total linux noob.
The system has 3 physical HDD-s:
1. 320 GB (has functional Ubuntu 9.10 installation) attached to a PCI SATA card
2. 2TB on motherboard
3. 2TB on PCI SATA card
I want to create a software RAID1 of disks 2 and 3. So far I have used the Palimpsest Disk Utility:
- Created a GUID Partition table on both disks (2, 3)
- Used File -> New -> Software Array, made sure both my drives were included
- Once Palimpsest listed the RAID Drive as a Software RAID Array, I told it to create Ext3 filesystem on it
Well.. at least thats what I thought I did. At this point I have been able to mount the RAID drive and put files on it. However when I look at its information in Palimpsest, I am told that the drive is not partitioned. Both RAId components /dev/sda1 and /dev/sdc1 are reported to be in Sync, but the RAID Drive's own state is 'Running, Resyncing @ 45%' (and lowly growing).
My questions are: Is this a normal setup or did I do something incorrectly? Why is the drive reporting to have no partition? And howcome I can use it if it does not have a partition? I have found the command line based configurations to be a tad too confusing to follow, so I have tried to stick to graphical tools - is this a hopeless cause in Ubuntu or is it possible to achieve what I want to do without command line? I will list some info on my disks below - perhaps this offers more insight to those of you more familiar with Linux.
Code:
mindgamer@mind-server:~$ sudo lshw -C disk
[sudo] password for mindgamer:
*-disk:0
description: ATA Disk
product: WDC WD3200BEVT-0
vendor: Western Digital
[Code]...
View 7 Replies
View Related
May 2, 2010
As the title says, my raid system is very very slow (this is for raid5 6x1Tb SAMSUNG HD103UJ):
Code:
leo@server:~$ sudo hdparm -tT /dev/sdb
/dev/sdb:
Timing cached reads: 1094 MB in 2.00 seconds = 546.79 MB/sec
Timing buffered disk reads: 8 MB in 3.16 seconds = 2.53 MB/sec
It's impossible and I've tried every configuration (raid5,raid0,Pass Through), and I become nearly exactly the same speed (with restarts, so I'm sure I'm really talking with the volumes I've defined).
One can compare it with the system drive :
Code:
leo@server:~$ sudo hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1756 MB in 2.00 seconds = 878.12 MB/sec
Timing buffered disk reads: 226 MB in 3.01 seconds = 75.14 MB/sec
Some hardware/software infos :
Code:
Raid card
Controller Name ARC-1230
Firmware Version V1.48 2009-12-31
Code:
Motherboard
Manufacturer: ASUSTeK Computer INC.
Product Name: P5LD2-VM DH
Code:
leo@server:~$ uname -a
Linux server 2.6.31-20-server #58-Ubuntu SMP Fri Mar 12 05:40:05 UTC 2010 x86_64 GNU/Linux
Code:
IDE Channels .....
I'm a bit lost now. I could change the motherboard, or some bios settings.
View 7 Replies
View Related
Jun 22, 2010
I tried to install new ubuntu on Intel raid 1 system but it said that:
Quote:
The ext4 file system creation in partition #1 of Serial ATA RAID isw_chibcceegh_Volume0 (mirror) failed.
My config is:
P5Q Pro
2x500 GB Seagate HDD
Intel Raid 1
Boot ubuntu from USB Drive (Wonder does this cause the problem?)
View 9 Replies
View Related
Jun 25, 2010
Is it possible to upgrade an Ubuntu install which is using software RAID?
I ask because I'm currently using Fedora, and one of my huge frustrations with the distro is that if you're using software RAID, the installer explicitly notes you can't upgrade to future versions. Instead, it requires that you wipe your entire drive and do a full reinstall to acquire the next release. I presume Ubuntu probably uses many of the same libraries to support software RAID as Fedora, so does Ubuntu also have this limitation?
View 3 Replies
View Related
Feb 22, 2011
1- I want to encrypt my system drive
2 - I want to make my system drive a RAID 1
3 - I have two 1 T hard drives, but I would like to be able to add two more 1 T hard drives for a total of 4 1T drives in the future. How do I do that?
I am using ubuntu 10, desktop edition. I have not added the OS yet, I am building this weekend.
View 2 Replies
View Related
Jan 8, 2010
Grub won't automatically boot my system... the timer is set to 1 second and the default OS is chosen, it just sits there completely without a timer!
View 9 Replies
View Related
Mar 21, 2010
Is it humanly possible to have a dual boot system and have it in RAID 0
I have three Hard drives.....
The three drives that I have are250GB IDE
1TB Sata
1TB Sata
And I edit . produce a lot of music/videos
What I am looking to do it have my 250Gb IDE drive as my Operating system (partitioned in two or something, one for Windows Another for Ubuntu)
And I would like when I am on either Operating System (ubuntu/windows_7)
its see's ,my computer as having a 2TB HDD (setting the two 1TB HDD's in RAID 0 )
So in Laymans... 250GB for OS's and 2TB (2 x 1TB HDD) as DATA drives
View 1 Replies
View Related
Aug 3, 2011
A while back I successfully set up a software raid (mdadm) install of ubuntu server on a cheap Compaq machine. I'm pretty sure it's running an nForce 430 chipset. Anyway, I put 3 2TB drives in it and set up two arrays: a small raid1 array for /boot and a raid5 array occupying the rest of the drives.
One point of note here is that the raid1 array never seemed to "take hold": the partition is empty, and the system has been booting entirely from the raid5 array. I'm not sure if this is relevant or not: just throwing it in there in case it is.
Anyway, I recently upgraded my desktop PC, and planned to hand down the Q6600 and DG33TL motherboard from it to the server. I did the hardware upgrade, but now the system will not boot. My question is: why.
Boot fails with the following error message:
"No bootable device -- insert boot disk and press any key"
This to me suggests that it's not even getting to the point of running grub2: the mobo itself just isn't finding anything it considers to be bootable.
I've tried all combinations I can think of of configuring the SATA support in the BIOS (modes include IDE, ACHI and RAID, all in combination with UEFI boot enabled and disabled). The system does detect the three drives: it lists them in the BIOS config screen.
I've booted from an ubuntu rescue USB drive and I'm able to see the drives and even assemble the array. I can mount the LVM partitions therein and do what I'd normally be able to do with them.
Everything *seems* fine: it just can't boot.
Grub2 is something of a mystery to me, so I'm not exactly sure what I need to do to get it booting again, if indeed it is a problem with grub.
View 9 Replies
View Related
Dec 30, 2010
I'm trying to install a box with Ubuntu 10.04 LTS server with a typical LAMP system in order to replace my old Ubuntu 8.04 server I have at my school to have a "backup" system and also trying to replace NIS authentication with LDAP. Well I'm getting stuck on the first step: installation of base system. I want to build a RAID-1 system with the two 320GB SATA HD's the machine has, I have a little experience in installing RAID because I installed my old 8.04 server with RAID-1 aswell. I boot my box from an USB stick with Ubuntu 10.04 Server 64bit, the systems boots well, asks me about language, keyboard and so, finds the two NIC cards and the DHCP configuration of one of the card is done.
Then it starts the partitioner. One of the HD's already contains three partitions with an installation of a regional flavour of Ubuntu, the other HD only contains a partition for backups, I don't want to preserve all this stuff, so the first thing I do is to replace the partition tables of both HD's with a new one. This is done without problems. Then I go to the first disk, by example, and create a new partition, the partitioner ask me for the size, I write 0.5 GB (or 500 MB), then I select that it has to be a Primary partition at the beginning of the disk, all goes OK.
Once created I go to the "Use as: " line, type Enter and select the option "Partition for RAID volume", when I hit Enter the error appears: the screen flickers in black for a second or two, then it shows a progress bar "Starting the partitioner..." That always get stuck at 47%!!! Sometimes the partitioner allows me progress a little further (for ex. lets me activate the boot bit of the partition, or it allows me to make another partiton, even once the error didn't appeared until the first partition of the second HD!!) but it always get stuck with the same progress bar at the 47%.
I've tried a lot of things: I downloaded again the ISO and rebuilt the USB, same result. Downloaded the ISO and rebuilt the USB from another computer, same result. Unplugged all the SATA and IDE drives except the two HD's, same result. Built a CD-ROM instead of an USB, same result. Downloaded the 10.10 server ISO (not an LTS), and the USB stick can't boot, is another error, but only to try.
When the error appears, I hit Ctrl+Alt+F2 and get into a root prompt, there I kill two processes: /bin/partman and /lib...don'tremember/init.d/35... and then when I return to the first console the progress bar has gone and the install process asks me at wich step I want to return, I hit "Partition disk" and then the progress bar reappears and Stucks immediately at 47%!!! Is the Ubuntu 10.04 LTS server installer wrong?
View 5 Replies
View Related
Jan 20, 2010
Hi!
I've been frustrated with several problems I've been experiencing with Karmic Koala. The one I'll mention in this post is the fact that it randomly decides to adjust the system clock ahead 6 hours. I believe this began happening when I set the location for the system time that displays in the top panel. I'm guessing that the 6 hours is the fact that I'm in the US Central Time zone.
View 4 Replies
View Related
Aug 10, 2010
I am using ubuntu operating system, recently I am getting one problem when i am using the system . system is automatically going to command line mode it is asking user name and password. After entering user name and password I can able to use the system only in command line mode. Again when i restart I am getting gui as usual. Please help me to resolve the problem.
View 1 Replies
View Related
Nov 11, 2010
I had problems with my old Ubuntu version,so I decided to upgrade to Ubuntu 10.10. As I wanted to keep my old files I didn't choose the erase the hard disk and install option so the installation system created automatically another partition.
Now that I've installed it I want to delete my old Ubuntu version AND keep my old files, or at least the most important ones (videogames saved games, openoffice documents, music and video). BUT there's one big problem, I can't start the old partition, if I try to run it it runs OK except that I don't see anything in the screen (yes, I listen to the Ubuntu start sound and so, but can't see anything). It happend before, that's why I changed it.
View 1 Replies
View Related
Feb 19, 2011
Is there any way to automatically activate the wifi at system startup without using the keyboard switch? I have tried this script in gedit, saved as .run and added to startup applications but it doesn't work:
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.DBus.Properties.Set stringrg.freedesktop.NetworkManager string:WirelessEnabled variant:boolean:true
View 9 Replies
View Related
Apr 6, 2011
I am helping a friend to install ubuntu, and he has a small ssd hardrive that he wants the OS installed on, but everything else he wants to save to another drive!
Is it possible to setup ubuntu to automatically save into another drive?
View 9 Replies
View Related
Mar 14, 2011
I am using Cent Os 5. I want that the system should shutdown automatically at 7:00 pm daily and next day I manually turn on the system.I have google it but the syntax is not clear.
I use # crontab -e
and write the command
0 19 * * * /sbin/shutdown -h now
I does't apply the command what is * * * after 19
View 5 Replies
View Related
May 3, 2010
I am running a RAID0 array, with Windows 7 Ultimate x64 installed.
When i install LL10.04 through Wubi, it installs fine, reboots, continues the installation procedure, then it gives me an error box "No root file system is defined".
I have attempted pressing the "OK" button 10 or 15 times, however it does not progress. The box just keeps on popping up. My only option is a hard reset.
I've tried downloading the latest version of Wubi from the official website, and allowing Wubi to download ubuntu itself, and still nothing.
I do not want to create a new partition for Ubuntu and use the GRUB loader. I have a multi boot system and would like to stick to the windows boot loader.
View 9 Replies
View Related
Oct 13, 2010
I've installed Ubuntu 10.10 (was having similar issues in 10.04 too) on his PC and generally it's working just fine. The problem is system tray icons disappears/rearranges automatically but the biggest issue is that NetworkManager applet icon disappears and somehow internet stops working every now and then...Is there any way to "weld" NetworkManager etc icons to the Gnome Panel/taskbar ? so that they can not be removed without entering the password?
View 3 Replies
View Related
Mar 1, 2016
I had a RAID problem on an HP Proliant server due to a failing disk. When I changed the disk, things got complicated and RAID seemed to be broken. I put back the old disk, repaired the RAID, then changed put the new disk again and all returned to normal except the system doesn't boot. I am stuck at grub stage (the grub rescue prompt). I grabbed a netinst CD and tried to rescue it, at some point, the wizard correctly sees my two partitions sda1 and sda2 and asks wether I want to chroot to sda1 or sda2. I had red screen errors on both.
The error message said to check syslog, syslog says can't mount EXT4 file system beacuse bad superblock. I switched to TTY2 (Alt-F2) and tried fsck.ext4 on sda1 (I think sda2 is the swap because when I ran fsck on it it said something like this partition is too small and suggested that it could be swap) it says bad superblock and bad magic number. I tried e2fsck -b 8193 as suggested by the error message but that too didn't work (I think the -b 8193 is for trying to get he backup superblock).
The RAID is as follows : One RAID array of 4 physical disks that are grouped into one Logical Volume /dev/sda, so the operating system only sees one device instead of four (4 disks).
View 0 Replies
View Related
Sep 25, 2010
I have implemented LVM to expand the /home partition. I would like to add 2 more disks to the system and use raid 5 for those two disks plus the disk used for /home. Is this possible? If so, do I use type fd for the two new disks and use type 8e for the existing LVM /home disk? Or do I use type fd for all of the raid disks?
View 1 Replies
View Related
Jun 29, 2010
For SATA drives in AHCI mode, the names are /dev/sdX, what about a RAID-0 or RAID-1 array of SAS drives? Are they the same?
View 8 Replies
View Related