CentOS 5 :: Resizing Software RAID1 Partitions

Oct 22, 2009

I have software RAID 1 on two physical discs. There are now 4 md -partitions (md0 ... md3), which are used in such as / and /home among others. Now current size of /home (md3) is starting to be full, and since / (md1) has more than plenty of free space I decided to fix the situation by shrinking / (md1) partition to free 40 Gigs of space and then growing /home (md3) partition for that 40 Gigs.

I already checked for some info using mdadm and got the following:

Now I would need some support on HOW exactly should I do this resizing since it is on RAID partitions.

Would it be good to use resize2fs to modify the filesystem sizes and mdadm to configure the partition sizes. Or could I perhaps get over this even easier by using GPartED (in case it supports my RAID)? Has anyone here done similar resizing on software RAID1 partitions?

View 11 Replies


ADVERTISEMENT

CentOS 5 :: Can't Boot The System After Resizing The Partitions

Nov 9, 2009

I had installed CentOs 5.3 on a Virtual Box machine (v. 3.0.10) and then I needed more free space to upgrade to CentOS 5.4 on partition /. I wanted to substract some space from /home partition in order to add some more free space to /. Thus I used a gparted live cd (v. 0.4.8-1) that it is a debian live cd. I resized the partition as I wished and every operations went successfully, but when I tried to reboot the only message that I see its 'GRUB' and nothing else happen. If I start again with the gparted live cd, everything seens to be fine as the partitions are there but I can't boot the system.

View 3 Replies View Related

Ubuntu :: Resizing Partitions ?

Apr 10, 2010

is this possible ? I have 3 partitions 2 different Linuxes on of which Ubuntu and one MS Windows. One of the partitions has come too small. Can I resize all in safe way when plenty of empty space on one partition ?

View 6 Replies View Related

Fedora :: Resizing Partitions Without Uninstalling OS?

Mar 22, 2011

I made quite a bit of partitions of different Linux distributions in an attempt to compile a massive program. (To those who do a bit of weather research, I'm trying to compile both WRF and WPS on 64 bit Linux.) I finally compiled the program on 64 bit Fedora 14, and now I'm running out of space on this partition. Is there a way to increase the size of a partition without uninstalling the current OS? I don't mind what happens to the other partitions, but I put quite a bit of effort in this current one. Also, the program demands that all of the data be contained in the same home directory, so I can't keep files in other partitions.

View 5 Replies View Related

General :: Resizing Partitions With Gparted?

Nov 18, 2010

resizing partitions with gparted

tools for resizing linux partitions under RHEL 5.5. ALSO what precaution we can take before resizing the partitions.

View 1 Replies View Related

Software :: Resizing Partitions In Ubuntu 10.04?

Nov 7, 2010

I've been running lucid lynx on my inspiron 6000 for a couple of months now, and have become very comfortable with it. I would really like to eliminate xp, but I own a zune, and cannot do anything with it in linux. So xp must stay .

Anyway, my hdd is a paltry 60GB, and when I first set it up I gave xp 40GB, 513MB to swap, and the remainder was given to linux. Now I would like to expand the linux partition and shrink the xp partition, and am looking for the safest way to do it without reinstalling either os.

ps. xp is ready to go (defraged and all that), and I have some partitioning software in xp, but don't think its a good idea to resize linux's partition in winblows.

View 3 Replies View Related

Ubuntu :: Resizing Both Root And Home Partitions?

Jan 27, 2011

What I want to do is enlarge both my root partition by about 10 GB and also enlarge my Home partition by about 45 GB. I realize there is enough space in the root partition for expansion (see screen shot) but I want to be certain (some of the last updates have been over 100 MB). I have a dual boot 10.10 64 bit system with XP . There are two drives ; a 1 TB drive with Windows, Ubuntu and a NTFS data partition and a 2 TB drive for media which won't be touched by this operation. I have taken about 58 GB from my Windows partition and this now sits unallocated and ready to be used to expand the Ubuntu partitions. expanding these partitions (root and home) would be appreciated. I read bodhi.zazen' excellent tutorial on partitioning [URL] but I still am unsure how to go about this. I have a live Meerkat CD.

View 9 Replies View Related

Ubuntu Installation :: Resizing Partitions After Dualboot?

Aug 17, 2011

I am currently using Ubuntu 10.10 on my laptop. I saw Fedora had the new Gnome3, so I decided I might like to try that, My hard drive is about 230GB. Ubuntu currently has all of it, and I would like to make a small partition for Fedora. I know that during the Fedora install you can resize the current Ubuntu partition manually, very simple, gives you the size in MB, and you just shrink it, and Fedora takes up the remaining amount of space.

My actual question here, is how would I, if I should like Fedora 15 more than I thought I would, proceed to shrink the Ubuntu partition more, and increase the one for Fedora?

Ubuntu would have 200GB. Fedora would have 30GB. How do I go from this point, to having Ubuntu use 180GB, and Fedora having 60GB?

I realize there are lots and lots of guides already on the Ubuntu website for help with partitioning etc, but they all seem to be about first time install, or for doing so with windows. All I would like to do is use something like gparted to resize the Ubuntu partitions and expand the Fedora one.

View 1 Replies View Related

Ubuntu :: Resizing Partitions Without An Optical Drive?

Apr 21, 2010

I have this rather old Compaq Presario 2184 (Celeron processor), with a completely busted optical drive - which means I cant boot from Live CD, and it doesn't boot from USB, either... which means I cant use a live memory stick, either. It's currently running Xubuntu 9.04.

I'm seriously running short of space on my root partition - can't upgrade to 9.10...

I had a Windoze partiion that I decided to remove, using Gparted. Identified the NTFS partition, right click, delete. After that, I couldn't do anything else... I then found this page, that told me that I cant resize all partitions while booting from hard drive, and that I needed a Live CD. For the reasons mentioned above, that's just not possible...

Are there any alternatives that the good folks here can suggest? For example, can I create a new partition, and move my entire /usr there? It would solve the space problem, but I'm not confident of doing it without screwing up something... could someone kindly guide me through the process?

View 8 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Fedora Installation :: F11 Won't Boot After Resizing Partitions With GParted

May 24, 2010

I resized all of my partitions using GParted, I got Windows 7 and Vista to boot up again ok but I can't get F11 to boot. I am not using GRUB nor do I want to, I tried using the install disks and doing a repair and "chroot"-ed my filesystem and everything is still there, there is just something small missing that I am not remembering to do. I have the NST files on my Windows drives and it tries to boot but F11 complains that there is no boot disk. I'll try to boot once again and write down the exact error message.

View 12 Replies View Related

Ubuntu Installation :: 9.10 And XP Dual Boot - Resizing Partitions

Apr 15, 2010

I have a dual boot system 9.10 and XP. The hard drive is 234. For some reason during the install I only allocated 128 to windows and 16 to ubuntu. Or at least, gparted tells me I have 127.99 NTFS and 104 unallocated (=231G ??).

System monitor tells me I have the following:
/dev/loop0 is ext4 = 16 G total
/dec/sda1 is host = 128 G total
this is 134G total

From windows, the partitioner tells me the same. I have 104 of unallocated disk space and 128 of NTFS. I assume the 16G allocated to ubuntu is inside the 128G?. How do I get that additional 104 into ubuntu without screwing up the MFT of windows. Or can I? Is it as simple as telling gparted to format the space? or will that mess windows up?

View 2 Replies View Related

Ubuntu :: Resizing Partitions With GParted And What Will Happen With Grub

May 7, 2010

I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.

1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS

2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4

3rd Partition -Linux swap about 2.5Gb

Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4

I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.

After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).

View 9 Replies View Related

Ubuntu Installation :: Moving / Resizing Partitions Win7?

Aug 29, 2010

I have 1 HD with the following OSes, each on his own partition:

p1 WinXP
p2 Win7
p3 Ubuntu
p4 Ubuntu Studio
p5 Unallocated (not actually a partition)

I intended to create a 5th partition, formatted as NTFS, for data. That's when I found out that Windows only supports 4 partitions per disk (yeah, I know, should've looked it up first). On Win7 Disk Management applet, they're all listed as "Primary Partition".

I've come up with a few possible solutions: s1. Move partitions p3 & p4 down towards the end of the HD, and add half of the available space to partition p2 (Win7) and the other half to partition p4 (Ubuntu Studio).

s2. Move partitions p3 & p4 to the end of the HD, and add all available space to partition p2 (Win7).

s3. Increase partition p4 (Ubuntu Studio) to take up all the available space.

My questions:

q1. Win7 Disk Management applet gives me no option to move or resize (other than shrink) the partitions. Does this mean I'll have to use another partition manager (e.g., gparted)?

q2. If I move the partitions p3 & p4 (both Ubuntu), will there be any impact on grub?

q3. Is there any way to turn partition p4 to extended instead of primary? If so, what are the consequences?

View 6 Replies View Related

General :: Deleting / Resizing Partitions On Android Tablet

Apr 13, 2011

I have a Huawei IDEOS S7 android tablet running 2.1.My USB port has died, so I need to delete a partition I put on the internal memory area, then resize the remaining partition back to the full amount. It looks like I should be able to use terminal emulator to do that, but I don't know any of the commands.

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

CentOS 5 :: Resizing CentOS Boot Partition, Dual-booting?

Jun 9, 2009

I have a laptop that came with Windows Vista (64-bit) installed. I created a new partition and installed XP (also 64-bit) alongside it.Last night I shrunk my XP partition and created another new partition and installed Linux (CentOS 64-bit) on it. I made an error in judgment and didn't allocate enough space, so I need about 10 more gigs for the Linux partition. It boots up and runs, but I need about 10 more gigs of storage for the files I want to keep on the partition (and yes, they have to be on the partition, I definitely need to know how to do this, not a workaround)I went into Vista and shrunk the XP partition by 10 gigs, so now I have 10 gigs of free, non-partitioned space.

As it stands, when I start up the computer I get the GRUB boot loader. I can boot my Linux install or choose "Other" and be taken to the Vista boot loader. From there I can choose XP or Vista to boot.So, my question is... what is the best way to append the 10 gigs of free space to the Linux partition? Is this something I should do inside of Linux? I have the option to do it in Vista, but the partition shows up as "healthy" but without a file system type.I just don't want to screw up the boot loader, partitions or anything else.This isn't my area of expertise, so if anyone could give me a good suggestion or solid answer

View 10 Replies View Related

Ubuntu :: Resizing Windows In Evolution \ Resizing Doesn't Work And It Only Moves Horisontally, Not Vertically?

Oct 28, 2010

maybe this is something extremely simple and my brains are just mush after a whole night of struggling (and succeeding) with wifi driver issues.i'm running a brand new 10.10 netbook on a brand new asus eee 1015. i am trying to set up my email in evolution and the evolution windows are larger than the netbook screen, which means that the OK, SAVE, etc buttons are outside reach. i tried to resize, move window - resizing doesn't work and it only moves horisontally, not vertically.

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

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

CentOS 5 :: How To Mount A New Hardware RAID1

Jun 11, 2011

I'm new to Centos and very new to RAID/hd setup. I have a old HP proliant G3 ML150. I have no drivers cd or other, only the server. I have created a RAID1 array (named SYSTEM) with 2 HD of 250GB from the controller and have installed Centos 5.2 (updated after to 5.6). The installation is ok. Now I have added 2 HD of 1TB each and have created another RAID1 array (named DATI) from the controller. This RAID is to store data files. (And next I have to add another RAID1 for backup, but this is to do next week). how can I format and add it to Centos so I can use it?

[Code]...

View 13 Replies View Related

CentOS 5 :: Possible To Add Second Hard Drive To Create Raid1?

Jul 2, 2010

The motherboard currently installed on my PC has a RAID Utility (Ctrl+I) at the startup that allow creating RAID1. But I already have a system installed with CentOS 5.4. In order to protect my data, I need RAID1. Can I add another Hard Drive now and have the data mirrored and synced onto both hard drives as if it was in RAID1 right from the beginning?

View 2 Replies View Related

CentOS 5 :: Server Won't Boot - RAID1 Errors?

Aug 9, 2010

Not sure on what is going on here. The server is RAID1 through hardware RAID. It was running an unusual high load so I rebooted it. Now it won't boot up. I am getting these errors after the CentOS boot screen:sda: Current [descriptor]: sense key: Medium ErrorAdd.Sense: Address mark not found for data field

end_request: I/O error, dev sda, sector 3040555357
device-mapper: raid1: A read failure occurred on a mirror device.
device-mapper: raid1: All sides of mirror have failed.

[code]....

View 10 Replies View Related

CentOS 5 Hardware :: ASUS M3A78-CM RAID1 Not Recognized

Aug 28, 2009

OS Version: CentOS 5.3
Motherboard: ASUS M3A78-CM (BIOS v.2003)

I have a single disk running the base OS and just installed 2 x Seagate 500GB SATA 3.0 drives in a RAID1 set that I would like to use for data storage. The OS sees the drives individually but not the RAID. Has anyone worked with a similar board and has any ideas what I need to do to get the OS to recognize the RAID1 array?

View 1 Replies View Related

CentOS 5 Hardware :: Software RAID1 Arrays Disappearing

Jun 22, 2010

I created two software RAID1 arrays with the following commands:

mdadm --create /dev/md2 --level=1 --raid-devices=2 -v /dev/hda5 /dev/hdc5
mdadm --create /dev/md3 --level=1 --raid-devices=2 -v /dev/hda6 /dev/hdc6

and I verify that /dev/md2 and /dev/md3 exist. But if I reboot the computer, these two devices are gone. I'm sure I am overlooking a step but I can't seem to find what it is. Could someone tell me what I need to do next?

View 8 Replies View Related

CentOS 5 Hardware :: 5.5 On An Intel S5500BC Board With RAID1?

Nov 23, 2010

I'm trying to load CentOS 5.5 on a new server with an Intel S5500BC motherboard using RAID 1. This board has a known problem with RHEL 5.x and the driver disk supplied has a fix. Here is the download for the driver [URL] Under the ESRT2_RHEL4-5_SLES9-1--11_v.13.21.2010_README file are directions in Section 3.1.3 on how to install the RHEL5x megasr driver. This works. The last thing replaces the ACHI driver with the megasr driver (paragraph 15) by loading the megasr.13.21.0614.2010-1-rhel50-u4-all.img in a temp file and then type "./replace_achi.sh". This step doesn't work and it is the critical one as it replaces the achi with megasr in the initrd image.

View 1 Replies View Related

CentOS 5 :: Permanently Remove Drive From Md Array (RAID1)

May 14, 2011

I installed a distro based on CentOS 5.5 (FreePBX distro FYI). It used an automated kickstart script to create an md RAID1 array of all the hard drives connected to the machine. Well, I installed from a thumb drive, which the script in interpreted as a hard drive and thus included in the array. So, I ended up with three md arrays (boot, swap, data) that included the thumb drive. Even better, it used the thumb drive for grub boot so I couldn't start up without it. I was able to mark the USB drive as 'failed' and remove from each array, and even change grub around to boot without the usb drive, but now each of the arrays is marked as degraded:

[Code]...

View 1 Replies View Related

CentOS 5 :: Resizing Software-RAID Disk Space On 5.5?

Mar 13, 2011

I have a dedicated server that has CentOS 5.5 installed.. I can access that server via SSH as root. Now the issue is.. httpdocs folder is situated in /var where all website data is stored. I have more than 50GB of website that needs to be transfered to this partition but this partition is of 4.0GB..

# cat /etc/fstab
/dev/md1 / ext3 defaults 1 1
/dev/sda2 none swap sw
/dev/sdb2 none swap sw

[code]...

View 2 Replies View Related

CentOS 5 Hardware :: HDD Dma _intr Errors After Rebuilding Raid1 Array

Sep 2, 2009

I've got a mailserver set up in a raid1 array.I shut down the system to install a CD-ROM drive but forgot to change the master/slave settings (I know, don'tt say anything) and didn't realize it before Centos started booting up, so it booted the hdc drive from the array.I rebuilt the array using mdadm without any apparant issues but on subsequent bootup, I get the following error :

kernel: hdc: dma_intr: status=0x51 { DriveReady SeekCompleteError }
kernel: hdc: dma_intr: error=0x84 { DriveStatusError BadCRC }
kernel: ide: failed opcode was: unknown

[code]....

There doesn't seem to be any side effects to this but since that didn't happen prior, I figure there's probably something I didn't do properly since I'm fairly new to the linux world.My raid array was originally set up by the Centos instal software and is set up like this :

hda1 + hdc1 = md0 (boot)
Hda3 + hdc3 = md2 (/)

The other partitions are of the same size on each drive and are swap partitions.

PS : The drive is SMART capable and no errors appear during a self-test.

edit : Clonezilla also fails to boot properly although I don't know if its due to a software raid array in the first place or the errors in the filesystem. When only one drive was detected because of the jumpers, it booted properly.

View 2 Replies View Related

CentOS 5 Hardware :: 2TB Drive Installed RAID1 Not Mounting In Fstab

Aug 15, 2010

I have installed a 2TB drive in my dual PIII 866 with 750MB ram. The drive is properly installed and I have configured the drive with 1 partition in RAID1. The array loads fine, but when I add the entry to mount the /dev/md2 /data/repository the following error occurs The filesystem size according to the superblock is 488378000 blocks The physical size of the device is 488377986 blocks Either the superblock or partition table is likely corrupt I have run fsck manually with no errors reported. I have removed the partition and rebuilt the array. The array assembles properly and I can manually mount the /dev/md2, but as soon as I add the entry to the fstab I get dropped to a shell after a reboot. Not sure where to go now?

View 3 Replies View Related







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