Ubuntu Installation :: Anyway To Re-partition Disks To Use RAID1

Aug 1, 2011

I just installed Ubuntu server edition to my computer (brand new, no OS) and finished installation. In the terminal I used apt-get ubuntu-desktop to install a desktop interface.In my rig, I have two 500GB HDDs. I set them up through my computer BIOS as RAID1 drives, yet as I understand I still need to configure the Ubuntu software raid for it to work correctly. Unfortunately, I already partitioned my drives! I used the easy way (guided with LVM or whatever) and let it do it for me. Now, RAID1 is very important to me! Is there anyway to repartition the disks to use RAID1, or do I need to wipe my computer and reinstall Ubuntu?

View 5 Replies


ADVERTISEMENT

OpenSUSE Install :: 11.3 Installation With RAID1 On Two Disks?

Dec 14, 2010

I fail to install OpenSuse 11.3 with Raid-1. What I do: Partitioning -> Expert. sda1 type RAID do not format / mount, sda2 /(root) type RAID do not format / mount, sda3 /home type RAID do not format/mount. Clone disk to sdb. Raid -> add md126p1 type swap mount to swap, add->md126p2 type etx4 mount to /(root), md126p3 type ext4 mount to /home. Bootloader: GRUB, boot from MBR enabled, boot from / disabled. After installation the system does not boot and grub reports error that the specified filesystem can not be found.

View 9 Replies View Related

General :: New Disks (RAID1) Not Enough Space?

Jan 13, 2011

I recently followed this guide to create a RAID1 [URL]... First I partitioned the disks with fdisk. I made the RAID array with

mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1. Then I created the filesystem with mkfs.ext3 /dev/md0.

I then mounted md0 at /Video with mount /dev/md0 /Video/ All according to the guide.. Today I made a samba-share out of /Video/Rorschach to easily put files in there from my windows7-machine (the plan is to steam from my CentOS-server to my HTPC which hasn't arrived yet). I started to put movies in there. It went just fine for a while but then I got this message: [URL]... How is that even possible when df -h looks like this?:

[code]...

View 2 Replies View Related

CentOS 5 :: New Disks (RAID1), Not Enough Space?

Jan 13, 2011

I recently followed this guide to create a RAID1 [URL]First I partitioned the disks with fdiskI made the RAID array with

mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1

Then I created the filesystem with

mkfs.ext3 /dev/md0

I then mounted md0 at /Video with

mount /dev/md0 /Video/

Today I made a samba-share out of /Video/Rorschach to easily put files in there from my windows7-machine (the plan is to steam from my CentOS-server to my HTPC which hasn't arrived yet).I started to put movies in there. It went just fine for a while but then I got this message:

[URL]

How is that even possible when df -h looks like this?:

[root@Rorschach Rorschach]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
446G 70G 354G 17% /

[code]...

View 2 Replies View Related

Ubuntu Servers :: Failure To Partition RAID1 During Installation

Jul 29, 2010

I have built a small test server. I am planing on using this machine a an email and web server to test out its hosting capacities. in the future I will build a larger and more well equipped version.

AMD Athlon x2 2.0ghz
2 160gb SATA drives (hardware raid 1, done through the Motherboard)
2 gb ram (dual channel)

Like I said small test server. I am trying to install 10.04 server edition. When I get to the point of partitioning it asks me to activate the raid so I do. I get through the guided partitioning and get ready to write the file system to the drives and the screen goes red and says that it has failed. On a side note, this works if i install it on the same drives without any raid configuration.

View 6 Replies View Related

Hardware :: Determine The UUID Of 2 Disks That Are Assembled In A RAID1 Array?

Feb 17, 2011

I just experienced a HDD failure and while reorganizing the drives inthis machine I realized the benefits of UUID instead of /dev/sdX nomenclature. I am trying to determine the UUID of 2 disks that are assembled in a RAID1 array. right now they are /dev/sde & /dev/sdf with each only one partition. I tried ls -l /dev/disk/by-uuid but I get only the UUID of other disks, not the ones currently ID'd as sde & sdf. my mdadm.conf assembles several raid arrays all by UUID, but somehow, I cant recall how I got the UUIDs of the other HDDs at first...

View 14 Replies View Related

General :: Commercial NAS RAID1 Disks Moved To Software Raid System?

Feb 14, 2011

I've got a couple of commercial NAS boxes and I'm wondering if they (ReadyNas duo, DLink DNS-323) or any other NAS is suitable for having their RAIDed disks moved to a software-based NAS. To be specific, I'm a big fan of the (largely) Debian-based Ubuntu. Can the aforementioned NAS drives be migrated to Ubuntu (e.g. using the mdadm Linux command)?

Secondly, is there any commercial NAS that can be migrated over? Incidentally, here is a link to somebody who succeeded in a migration:URL...My specific scenario I'd like to prepare for, is the eventual (sudden) death of one of the NAS motherboards.

View 2 Replies View Related

Ubuntu Installation :: Resize Partition On 10.04 - Virtual Disks ?

Aug 7, 2010

So I installed Wubi with Ubuntu 10.04 and chose the standard partition size (8GB?) and now I am running out of disc space. How do I resize this partition?

This guide didn't help: [url]

How do I resize the virtual disks? The download link doesn't work and LVPM doesn't support 10.04.

Any other options or do I need to re-install the whole Wubi?

View 2 Replies View Related

Ubuntu Installation :: Can't Resize Partition After Cloning Disks

Nov 8, 2010

I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial [URL]) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.

Here's the "sudo fdisk -l" output:

Quote:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]......

View 2 Replies View Related

Debian Installation :: Don't Want To Partition Disks But Installation Insists

Oct 1, 2014

I'm creating a new debian virtual machine. As virtual disks are free, I want to use tree for my new machine. The scheme will be like this:

sda -> /boot
sdb -> /root
sdc -> swap

View 8 Replies View Related

Debian Installation :: Creating A New Boot Partition - One Of My Disks In My Computer Crashed

May 11, 2011

One of my disks in my computer crashed, it was the one containing /boot and some data partitions. The other system and /home partitions were on a second disk, which is ok.

I was wondering, can I create a new /boot partition, and keep on using the rest of the system? Can I somehow do it with a chroot from a live/installer disk, run grub, and use my system again? I have another disk which I can put in the system, but there is even an unused partition on the disk which is ok (but it is rather big for /boot).

View 3 Replies View Related

Ubuntu Installation :: Which Disks Can Be Main Boot Disks

Mar 31, 2010

I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)

Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?

View 2 Replies View Related

General :: Creating A RAID1 Partition With Mdadm On Ubuntu?

Jan 28, 2010

I'm trying to set up a RAID1 partition on my Ubuntu 9.10 workstation.On this dual-boot system, Ubuntu is running from a separate drive (/dev/sdc - an SSD that is quite small, which is why I need more disk space). Besides that, there are two traditional 500 GB hard drives, which have Windows 7 installed (I want to keep the Windows installation intact), and about half of the space unallocated. This space is where I want to set up a single, large RAID1 partition for Linux.

(This, to my understanding, would be software RAID, whereas the Windows partitions are on hardware RAID - I hope this isn't a problem... Edit: See Peter's comment. I guess this shouldn't be a problem since I see both drives separately on Linux.)On both disks, /dev/sda and /dev/sdb, I created, using fdisk, identical new partitions of type "Linux raid autodetect" to fill up the unallocated space.

Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ de Dell Utility
/dev/sda2 * 11 106 768000 7 HPFS/NTFS

[code]....

But so is "Device or resource busy" when trying to create the RAID array. Quite strange.

Update: Could the device mapper have something to do with this? How do /dev/mapper and dmraid relate to all this mdadm stuff anyway? Both provide software RAID, but.. differently? Sorry for my ignorance here. Under /dev/mapper/ there are some device files that, I think, somehow match the 3 Windows RAID partitions (sd{a,b}1 through sd{a,b}3). I don't know why there are four of these arrays though.

$ ls /dev/mapper/
control isw_dgjjcdcegc_ARRAY1 isw_dgjjcdcegc_ARRAY3
isw_dgjjcdcegc_ARRAY isw_dgjjcdcegc_ARRAY2

View 2 Replies View Related

Ubuntu :: Finish Creating Raid1 Ramdisk/hdd Partition?

Mar 8, 2011

After some hours of googling, I've managed to increase the size of the default ramdisks (/dev/ram0-16) to 1 GiB each, I raided them together with mdadm to try it out, then created a filesyste, mounted it etc etc. No problems. The problem comes when I used gparted to move my windows partition over and in the unallocated space (1 GiB), I created an unformatted partition (/dev/sda2)Now when I try to create the raid array I get the following:

Code:
:~$ sudo mdadm --create /dev/md0 -l 1 -n 2 /dev/ram0 /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy

[code]....

View 2 Replies View Related

General :: Trouble Booting Up To LVM Partition On Raid1

Jul 10, 2010

I been trying all day to boot debian on a lvm partition on a raid1. I have found some howtos but they only show how to do it for one or the other not both at the same time. Using those howtos I think I have grub2 setup right the problem is my kernel. It has support for both LVM and Raid built-in. I setup the raid and lvm partitions while running that kernel. But when I use it to boot up the system on the lvm/raid it gives a kernel panic.

The OS is by itself on an old disk sda1. The raid1 is on two other disks sdb1 & sdc1. It is divided into 2 logical partition vg-root & vg-media. I just copied the OS onto vg-root. Then tolled grub to boot to it. The grub entry is like so..I tried setting root=(md0) but that didn't work either. I'm pretty sure the problem is with the kernel but I don't see why since it can it can see the raid and lvm partitions once it is booted up and both the raid & lvm options are built into the kernel so it should be able to see them at boot time.

View 2 Replies View Related

General :: Mirror The Boot Partition On Existing Raid1?

Feb 26, 2011

I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.

However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.

View 13 Replies View Related

CentOS 5 :: Fresh Installed Server With Large Partition In RAID1 Config High Serverload

Mar 15, 2009

Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.

View 7 Replies View Related

General :: GPT Partition Tables As Used With Disks Over 2TB?

Dec 12, 2010

Which distros are known to work with the new GPT partition tables as used with disks over 2TB?

View 5 Replies View Related

Software :: Mount Multiple Disks As One Partition?

Oct 11, 2010

This question has been bugging me for a few days now: How do you mount, say, 3 HDDs to a single partition. From what I've heard, it's possible, but I'd like to know how. I'm running Crunchbang! Linux, based on Ubuntu, in case you're wondering.

View 11 Replies View Related

Hardware :: Zero-length Partition - For 2 Hard Disks Within A Week?

Jul 15, 2011

Coming from Fedora, I had a Web/Mail/SQL server with 2 hdd's. One (sda1) was the one with Fedora on, and all backups were on sdb1.

Now, I started having issues with SDA1, so I started copying files to SDB1. 2 weeks later I noticed similar issues, and started copying new back files to SDB1. But once I started doing this I lost connection with the server.

Turns out that (in rescue mode) that I couldn't access SDA anymore, it couldn't even read stored data on it, etc. It didn't show up in fdisk anymore either.

So after a lot of trying I asked to replace the disk and started installing Ubuntu 10.04 LTS on it. After having installed everything, I tried to restore one of the MySQL backups that was on the SDB disk, but halfway I started getting errors. I stopped the restore and did some other stuff that I wanted to take care of first (apache2 config etc.).

I then tried to reboot to be sure that that was working as well, and then the problems started. I couldn't access the server anymore, and in rescue mode (which is a live cd my host provides, it's a dedicated server btw.) I didn't see SDB anymore.

I told them this and now after they told me that they managed to get it back, I went into the rescue mode and tried to recover bad blocks with the e2fsck command.

Code:

Trying to restore this bad superblock doesn't work. I've tried for almost all of them:

Code:

e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sdb1

Could this be a zero-length partition?

What are the chances of TWO hard disks failing? Surely there must be something else wrong? Did a bad driver (which would be weird, since I didn't do any updates like that) screw both of my hard disks up in Fedora?

Also, I must note that when I tried to copy the backups from SDB1 to SDA1 (the new one). I got a read only (??) error, and some other I/O errors.

Just for information, I'll show fstab and mtab as well: /etc/fstab

Code:

Code:

I haven't added the sdb here yet, but it was here in Fedora so that can't be the problem.

And this is /var/log/messages when the problems emerged

Code:

Then on the ubuntu forum they proposed me to do this:

I ran smartctl and it gave me this:

Code:

Code:

View 1 Replies View Related

Software :: Mounting USB Hard Disks With Partition Table Error

Mar 3, 2011

This was a really frustrating problem which turned out to have a really simple solution, so I'll share it with people who might be having the same struggle. Problem You plug in a usb hard disk and try and mount it using:

[code]....

I spent hours - days - hunting around for the solution! (And felt a bit humiliated when I realised how simple it was!) PS, There used to be a "Success story" section on LQ, but I couldn't find it; if this is better in another section, please move it. PPS, I'm on a public computer and won't have Linux access for a looong time - if anyone can copy the message that fdisk prints out to help people who are searching for it

View 1 Replies View Related

Fedora :: Gparted - Kernel Unable To Reread Partition Table On Disks

Jan 22, 2010

When I start gparted, to see if I can add extra harddisk where all my data is, I get the next error:

Code:
[root# gparted
libparted : 1.9.0

The kernel was unable to re-read the partition table on /dev/sda (Device or resource busy). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/sda. I can start fedora 12 x64 amd whitout any problem. My partition layout on a single disk (80 gb sata maxtor) for the system is:
Code:
/
/home
swap

When I try to mount one of the extra disks (samsung spinpoint 1 tb, I have 4) I get to next error:
Code:
root# mount /dev/sdb1 /media/sdb1
mount: you must specify the filesystem type

If I add the option with the filesystem I get:
Code:
root# mount -t ext3 /dev/sdb1 /media/sdb1
mount: special device /dev/sdb1 does not exist

In gparted, when I select just a flag option, and deselect, press ok, the disk is forced to be reread by the program. After that I can also mount it. When I use any of the programs linked in this post, I am able to mount the disks whitout any problem. Except after a reboot, I get the same problem. SO whit each reboot, or poweroff, I need to do a re-read of the disks. The system is fedora 12 x64 for amd, installed from a live cd, the rest whit yums groupinstall, the latest kernel.

View 6 Replies View Related

Ubuntu Installation :: Installation Of 10.04 With RAID1 - Encryption Fails ?

Jun 1, 2010

I just tried to install with Ubuntu 10.04 AMD64 Alternate on RAID1 and Encryption but after reboot the screen just stays black.

my system is a AMD Athlon 64 X2 Dual Core 4200+ on a Abit AN-M2HD Motherboard, and 2 HDs each 250.1 GB
i split the HD into
* 50GB for /
* 200GB for /home
* 1GB for swap
all get a RAID1
/home is encrypted with passphrase (Twofish 256, cbc-essiv:sha256)
swap is encrypted with random (Blowfish 128, cbc-essiv:sha256)

where can i check RAID and hardware compatibility?

View 9 Replies View Related

Ubuntu Installation :: After The Installation The System Cannot Autostart Raid1?

Oct 10, 2010

I just made a complete reinstall of my fileserver. After the installation the system cannot autostart my Raid1. For some reason it seams that only one of the identical disks are found by mdadm"disk utility" states "not running, partially assembled"If i immediately stop the raid in the disk utility I can restart it and mount it.some diagnosticsmdadm.confQuote:

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

[code]....

View 1 Replies View Related

Ubuntu Installation :: How To Setup Software RAID1

Sep 27, 2010

I recently set up an old desktop computer on my home network for use as a file server. I installed Ubuntu 10.04 Server on it and I'm slowly learning how to make it do what I want (I'm used to the GUI, so this is a bit of a jump for me).My plans are to put two 1.5TB hard drives in the computer (there's already a 160GB with the OS installed) and put them in a RAID1 configuration. This, as I understand it, will write all data to both drives, creating two identical drives. I'll only have 1.5TB total space for backup, but if one of the hard drives die, I can replace it without losing any data.

Hopefully I understand all that correctly. Now, my questions are how to actually set a RAID configuration up. I don't have a controller or anything, assuming I could do it off the two SATA ports in the motherboard (the 160GB is IDE) in software RAID.Once I have the two hard drives set up in RAID1, how do I allow the house to access the file storage?We're all on Windows 7 computers.If one of the hard drives fail, how will I know? Can I set it up so I receive some sort of notification? Also, how does the replacement process work; can I just pop the broken drive out and put a similar one in? Do I need to readjust any settings after replacing one?

View 9 Replies View Related

Ubuntu Installation :: Booting When RAID1 Array Is Present?

Feb 24, 2011

I'm sorry if this is the wrong section and if there is another thread on the matter. I searched but couldn't find threads with my specific problem. I've just installed Ubuntu 10.10 Server 64 bit which I intend to use as a internal file server.

The hdd setup is:
500gb system disk
1tb storage
2tb storage (2*2tb using built-in motherboard hardware RAID1) When the installation was complete and the computer rebooted I got an error message saying "error: no such disk". After re-installation I got the same message and I then tried disconnecting all the storage devices and it booted perfectly. I then tried connecting up the 1tb drive and again it booted as it should. But when I re-connected the RAID:ed disks the error message re-appeared.

View 5 Replies View Related

Ubuntu Installation :: Moving From Another Raid1 W/o Losing Data?

May 15, 2011

I would like to move a samba fileserver from ClearOS5 to Ubuntu. It has raid1 (software) and I would like to save one partition from it, md3. The other partitions could be used for Ubuntu. How would I go about this so that I don't erase data from md3 and is it even possible?

View 1 Replies View Related

CentOS 5 :: /dev/mapper And 5 Installation With RAID1?

Sep 28, 2009

I am using CentOS 5.2. I am installing from disc on a machine with Intel Embedded Server Raid Technology. It has two 500 GB SATA drives. During the initial boot process, it sees that these two devices exist. However, after getting into the screen to partition and configure RAID, it just shows this:

Drive /dev/mapper/ddf1_MegaSR R! #0 (475879 MB) (Model: Linux device-mapper)

I want to do a RAID1 so that the disks are mirrored. However, I would expect to see both drives listed. I can select RAID to create RAID partitions, but I think I need to be able to see both drives in order to do this correctly.

View 6 Replies View Related

Ubuntu Installation :: Hard To Install The RAID1 Array In Brand New PC?

Nov 19, 2010

Like it says in the title, I am thinking it should be this hard to install the RAID1 array in my brand new PC. Here is what is happening. I have two brand new 1TB drives that I am attempting a new, fresh install of 10.10 on (in fact, the entire box is new). I am attempting to use the alternate desktop install so that I can have access to the manual partitioning (which is required to setup RAID 1, correct?).

I tried to use the guide here: [URL]... I followed the steps, but when I got the the very end (after selecting and creating the MDs) I get an error message stating that there is no root file system defined. I went back and checked all the steps and I am sure I followed everything in the guide.

Here are some quirks (not sure if they are bugs or not) In step 5 of the disc partitioning, it says to select the bootable flag and set it to yes (I am assuming). I press enter over that options, the screen flashes really quickly to a progress bar, but then comes back to the options screen and it still says bootable flag is off. No matter how many times I do it is says "off".

Also, and here is the bigger problem I think. - So the guide says to select the free space in each drive and then select Automatically Partition the free space, which I do, and it comes back and looks formatted accordingly - has 975.6 GB ext4 / and 24.6 GB swap swap. No Problem there.

BUT - whenever I do the same thing to the second drive, the partitions on the first seem to disappear. Meaning, it doesn't say free space, and has two partitions listed, but the / and the swap (last items in each row) have moved to the second drive partitions. I am not sure if this is how it is supposed to be since the pictures in the linked guide to not show what it looks like after that. THis is driving me crazy and I have to have it set up in RAID 1 and unsure as to what it is I am missing.

View 1 Replies View Related

Ubuntu Installation :: Complete Crash And Lost RAID1 Config?

May 21, 2011

I have been running dual boots for a long time and never had a problem installing Ubuntu.I now tried to install Ubuntu Studio on my performance machine, a DELL Studio XPS, which has (had?) a RAID1 configaration.I got stuck in the partitioning and tried to abandon, which left me with maybe nothing... When I tried to reboot, my machine started Windows but then "autochk program not found". And I am lost for what to do...

View 3 Replies View Related







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