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


ADVERTISEMENT

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 Servers :: Mdadm Raid1 Doesn't Finish Syncing?

Nov 14, 2010

One of the hard drives in my server failed the other day, backups saved the day and downtime was only a few hours, but when setting up the new drive I went ahead and migrated to software RAID, in the hopes it may give me less downtime in the future when a drive fails. It all went rather well, but my main root partition won't finish syncing for some reason.

sda was the original drive with sda4 as /, sda1 as /boot, and sda2 as swap. sdb was the drive that failed and was replaced with the new drive. So I set up sdb with the same partitions of sda, added it to a RAID1 array, copied files from sda, and reboot to md4 as /, md1 as /boot, and md2 as swap. I added the sda partitions to the array, and the sync went off without a hitch on md1 and md2, md4 progresses well, but after a few hours /proc/mdstat just shows this:

Code:
root@d668:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdb2[1] sda2[0]
9767424 blocks [2/2] [UU]

[Code]...

View 3 Replies View Related

Ubuntu :: KDevelop4 Asks For Cmake File In Order To Finish Creating C++ Project?

Jan 4, 2010

relative n00b to C++ but I have heard that KDevelop rocks so I am using it as my IDE. what does it mean when it wants me to find a cmake file? idk what that is lol, just got through the section on if statements on my book. where do i find this file? are there any good tutorials on the KDevelop4 Enviroment?

Charlie

View 2 Replies View Related

Server :: Benefits To Creating Multiple Partitions For RAID1 Setups?

Dec 21, 2010

I am rebuilding a bunch of servers and want to do it right. They are Dell R200s and R300s with on-board LSI SAS1068E SCSI controllers with 2 SATA drives. The only RAID level supported on these cards is RAID 1. So, to the server, we have 148GB of space to deal with. They currently run 32-bit Ubuntu 8.10; I will be installing x64 Ubuntu 10.04.

I have always seen that it is best practice to partition in such a way that /boot, /var/log, /temp, and /home for example are separated out from /. Usually this is on a RAID5 or higher box. Is there any benefit to doing that sort of thing on a RAID1 box? I realize that this is in some ways a matter of opinion, but I would like the opinion of folks with experience. I'm pretty new to Linux in general.

The main services running on these boxes are Apache2, Tomcat6, MySQL, and Java.

View 2 Replies View Related

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 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

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

Debian :: Qemu - Windows 7 From Partition - Error ""Ramdisk Device Creation Failed Due To Insufficient Memory"

Sep 8, 2011

I'd like to learn it. So I installed lenny & grub2, after that win7, reconfigured grub2, upgraded to squeeze. All is fine, but I cant start working in Debian as I can work only in Windows. So I decided to use qemu to emulate win7 booting. I have sda1, sda2 for squeeze; sda3 and sda4 for win7. If I try "qemu /dev/sda3" I get disk read error. If I try "qemu /dev/sda" I have grub 2 boot screen and when continue booting win7 I get "Ramdisk device creation failed due to insufficient memory" (as screen on [UR:]). I tried to use m -1024 parameter and got screen with "Windows load files" and reboot to grub2 screen/

View 4 Replies View Related

Ubuntu :: Creating A Partition For Installation ?

Apr 29, 2010

To install ubuntu 10.04, I've tried to create partitions on my hard drive, and an external hard drive. Both have failed. I have apparently exceeded the max number of partitions on my hard drive (came with 4 on it. Recovery, OS, and 2 others I don't want to mess with.), and the external hard drive won't let me shrink the NTFS volume to create space for a new partition. Can I get steps to create a new partition, preferably on the external drive (it has more space). My computer is a dell inspiron 1525 with a 225 Gb hard drive, And my external drive is a windows system Seagate 1 Tb Hard drive (I've checked, external drive works with ubuntu).

View 9 Replies View Related

Ubuntu :: Creating The Partition For Windows?

Oct 4, 2010

I have been using Ubuntu 10.04 for awhile now, and I wish to create a partition for Windows 7 so that I can dual-boot. I know you all are cursing me right now, but I have no choice. I run too much high-end software for business purposes that I need to.

I have dual-booted before, but that was when I had windows xp on a primary partition, and I seem to recall that was necessary. I dual-booted ubuntu afterwards as a trial basis, and then I completely switched to Ubuntu 100% for the last couple years. Unfortunately I need to go back. Is it possible to create a file partition for windows as a secondary partition without wiping all my data?

View 1 Replies View Related

Ubuntu :: Error While Creating A New Partition?

Dec 28, 2010

I'm trying to install XP Sp 3 on my comp which is running Ubuntu atm. But when I tried to create a partition after I clicked "Apply" I get this error :

GParted 0.6.2 Libparted 2.3 Create Primary Partition #1 (ntfs, 74.50 GiB) on /dev/sda 00:00:01( ERROR ) create empty partition 00:00:01( ERROR )libparted messages( INFO ) Partition(s) 1, 5 on /dev/sda have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.

View 2 Replies View Related

Ubuntu :: Creating New Partition In Terminal ?

Dec 9, 2010

How to create a partition in terminal, like using fdisk.

How to do it in command line,what are the commands to be executed and if there are best practices that I should observe when doing it.

View 5 Replies View Related

Fedora Installation :: Installation - Creating A Swap Partition Or A Boot Partition?

Jul 27, 2009

I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?

Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?

View 4 Replies View Related

Ubuntu Installation :: Creating Shared Partition For 9.10 And Win 7

Jan 18, 2010

i already reserved the space for the partition, from what i have read so far, it has to be FAT32 or NTFS. also my major question is how i would be able to point both OS to save my files to the 3rd partition i am creating for sharing. cos in my experience, windows likes to store files in its home partition without even giving u an option to see other partitions in ur system, ubuntu at leastb allows me see the other partitions on the drive.

View 3 Replies View Related

Ubuntu Installation :: Creating A Boot Partition ?

Apr 27, 2010

Ive decided to create a new thread because my old one had become rather complicated and now had a misleading title.

I have a laptop with Windows XP and because of a few programs I want to keep it on and dual boot with Ubuntu. I have created a boot partition at the beginning of the harddisk because I had broken the 137gb and cant keep Ubuntu at the end and still make it bootable.

The separate boot partition is at the beginning of the disk and mounted as /boot in the installation.

The system still cant boot into Ubuntu, but at least grub shows up with a decent menu and I can choose Windows. When I try to choose Ubuntu it says that it cant find the specific drive. The UUID is the same as the boot partition

So what should I do now ? Should I change fstab and move some files to the boot partition ? Id rather not move the entire Ubuntu partition to the front.

Here is my boot info script

Code:

Boot Info Summary:

sda1:

sda2:

View 4 Replies View Related

Ubuntu :: Creating A Partition From None To Dual Boot?

May 25, 2010

I'm running UbuntuStudio 9.10 on my Toshiba Satellite A40 Laptop... it's perfect and I love it... but, I installed it cleanly doing a reformat of the drive, and with no partition - so using as much of the newly replaced 80gb drive as possible.Now, if I want to create a partition to install WinXP as a dual boot, 1) can this be done? 2) what do I use to do it?

View 9 Replies View Related

Ubuntu :: Creating New /home Partition Using Psychocats?

Jun 27, 2010

Ran into a roadblock in trying to create a new /home partition on my hard drive. Used Gparted to create the new partition,when I mount the new partitions and checking to see if they are mounted I see that they are. I then cd /old/home and then I use the command (find . -print0 | cpio --null --sparse -pvd /new/). I get the following on all of my files:

cpio: cannot make directory `/new//./dan': Permission denied
cpio: /new//./dan/Music/Patsy Cline: Cannot stat: No such file or directory
cpio: cannot make directory `/new//./dan': Permission denied

[code]....

How can I clear the permission denied and copy my files to /new?

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 3 Replies View Related

Ubuntu :: Creating A Separate Partition For /home/?

Aug 14, 2010

I'm about to reinstall Ubuntu and one thing I'd like to do is create a separate partition for /home. also what are the exact benefits of that?upgarding ubuntu doesn't necessarily delete your files right?is it just as a security measure in case the kernel becomes corrupted?

View 8 Replies View Related

Ubuntu :: Creating A Shared FAT32 Partition

Oct 3, 2010

I am dual booting windows 7 and ubuntu 10.04 using grub. I am using a 1tb samsung hard drive. Ubuntu has 750gb and windows has 250gb. I want 500gb of my HD to be FAT32 so I can put all of my music, pictures, and videos on it. I don't have more than 100gb used on either partition.

I have done quite a bit of searching and browsing, but I can't find a good step by step guide to do this. I am guessing I need to figure out how to use fdisk?

View 3 Replies View Related

Ubuntu Installation :: Creating A New Partition And Then Deleting It

Jan 20, 2011

I have two 500gb hdd. One of them crashed (the one which i used windows on) and its now getting sent to the warranty people. On my other hdd i do not have any OS installed, it's just one 500gb NTFS partition, i have there just some personal important stuff. I want to install ubuntu 10.10 x64 on it. I understood that when i will do this, from the available free space it will be created a new partition.

I have tryed to get along with linux a few years ago and i failed... Can you tell me if i will be able to delete the partition ubuntu is creating and merge the unpartitioned space back to NTFS without formating the drive? Also how big are the risks of losing my data when i try to install ubuntu and when i will try to go back to one big NTFS?

View 3 Replies View Related

Ubuntu :: Creating Primary Partition With GParted?

Mar 5, 2011

I am running a dual boot of WIndows XP and Xubuntu 10.10 and I want to have an NTFS partition so I access files in both OSs. From what I understand, it has to be a Primary Partition, not a logical one, right? The thing is, GParted doesn't give me the option to create a Primary Partition, only a Logical one inside sda2 (Xubuntu).

P. s.: I am running GParted from inside the Live CD.

View 9 Replies View Related

Ubuntu :: Creating Separate /Home Partition?

Jul 24, 2011

I've been wanting to do this for awhile now, But just got around to having the time/energy to do it.Getting a separate /Home partition is my main goal,But Ive got a couple others as well.

I've never really done much work manually editing/extending/creating of partitions, Soo Im going to need really simple, noob-like instructions if possible. I'd love to get this on the first try without having to start all over.. So I come to you first, before I just jump in and start clicking things.

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Creating Fat32 Partition During Install?

Jun 28, 2010

I purchased a new HD and my goal is to have a Windows partition, an Ubuntu partition, (a swap partition of course), and large fat32 partition for storing data to be used on both the Windows and the Ubuntu side.

I am installing from USB and do not yet have a copy of Windows to install. I keep getting an error saying that the attempt to mount vfat failed.

View 6 Replies View Related

Ubuntu :: Installation / System Creating Automatically Another Partition

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

Ubuntu Installation :: 10.10 - Creating New Partition To Stock Files

Mar 10, 2011

I am using ubuntu 8.04 right now but I'd like to install ubuntu 10.10 or ubuntuStudio. Well I did it for trying as a dual boot just to see if it works. But I have files to back up. I tried to have them on dvds or usb but it takes time. I want to know if I can create a new partition where to stock my files and then erase the rest to install ubuntu 10.10.

When I am in gparted I see:
/dev/sda 111.79GB:
/dev/sda1 ext3 107GB
/dev/sda2 extended 4.58GB -> I cant use it
/dev/sda5 ext3 4.3GB
/dev/sdb fat32 15GB -> I think its my ubuntustudio
Is there any chance to create a new partition (40GB) to stock my files?

View 1 Replies View Related

Debian :: Creating A New Swap Partition ?

Jul 3, 2011

Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).

Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.

Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?

I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.

As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?

View 2 Replies View Related

General :: Creating An Extended Partition

Mar 14, 2011

I'm trying to create an extended partition. In GParted, I shrunk the size of the existing partition and now want to create a new EXTENDED partition in the free, unallocated space. GParted only lets me create a PRIMARY partition. What am I doing wrong here?

Here's what I've got right now:

You can actually ignore the flag for the swap as "boot." That was me just messing around trying to get it to work. I've removed that flag. Not sure how the question of boot affects all of this...maybe it factors in somehow.

View 2 Replies View Related







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