Ubuntu Servers :: How Do You Enlarge Raid 6 Partition
May 13, 2011
I am trying to grow my array to make full use of my drives. I have a raid 6 using mdadm on my home server. The array used to consist of 6 1.5TB drives when it was created. Since then I've been replacing the 1.5TB drives with new 2TB drives. And now I have replaced the last 2 drives.
When I added the first 3 disks I did not use the whole disk for the raid partition but rather made it the same size as the 1.5 partitions. As it turns out this may have been a bad idea. (But it gave me another 3 partitions of 500GB that I turned into 1 disk using mhddfs.)
Now I'm trying to grow the array. I've been testing in a virtual enviroment on how to do it but I cannot find another method than this :
1) fail 1 disk.
2) re-partition the disk with the size of the whole disk.
3) re-add the drive as a spare.
4) start the now degraded array to let it resync.
5) wait quite a while. (aprox 5 hours)
6) start again from step 1 for the other disks.
7) use mdadm with grow command to enlarge the array
use resize2fs to fill array to max size
Now although since this is a raid 6, I keep some redundancy but I still worry about degrading the array so manny times and rebuilding the whole thing. I mean I read the thing out 3 or 4 times over doing this.
View 5 Replies
ADVERTISEMENT
Jun 2, 2010
extended sata partition shrunk at 15 partition limit, how to re-enlarge i hit the 15 partition limit, forgetting it now exists for sata drives, thinking i would add more. upon creation of the 15th, it squished the end of the extended partition to meet the last logical partition, leaving a large unallocated portion after the extended partition, which seemingly nothing can be done with, just sat being wasted space. i have since deleted a few of those partitions, but so far have still failed to find a way to recoup the unallocated space back into the extended partition.
[URL]
if necessary, i'll do it the painful long winded way of backing up and starting the extended partition again from scratch, but i really rather wouldnt have to do that. i'm sure there must be a way of telling the extended partition to once again reach the end of the drive.
View 3 Replies
View Related
Jun 10, 2011
I've installed fedora on my PC by reducing the existing NTFS partition and installing Fedora on free space at the end of the disk. Now I'd like tho enlarge fedora's partition. How can I do this? If I just move the partition back in disk, can I boot normally on fedora?
View 14 Replies
View Related
Jul 2, 2011
I want to increase the size of my Linux partition (yellow and highlighted in image), which is situated in an extended partition, along with my biggest partition.
When I try to select the options from any partitioning software (EASUS, Paragon, Gparted) the option to resize is not available (or can't enlarge).
For example in the Paragon Hard Disk Manager, I can't add free space before the partition, even if I first shrink the "G:" partition, then try to enlarge the one with Linux.
Do you know what's happening here? Why am I not allowed to resize the partition?
View 2 Replies
View Related
Sep 1, 2011
Quote:
EFI GUID Partition support works on both 32bit and 64bit platforms. You must include GPT support in kernel in order to use GPT. If you don't include GPT support in Linux kernel, after rebooting the server, the file system will no longer be mountable or the GPT table will get corrupted. By default Redhat Enterprise Linux / CentOS comes with GPT kernel support. However, *******if you are using Debian or Ubuntu Linux,******** you need to recompile the kernel. Set CONFIG_EFI_PARTITION to y to compile this feature.
Is this true? Ubuntu has no GPT support native to the server install? Never compiled a kernel. Is that of itself going to be a mind bender? How much doo doo am I going to get into if I haven't done it a few times? Trust me when I tell you its no thrill formatting and reformatting a 8tb raid drive or the individual disks if it screws up. Been on that ride way too long already. Need things to go smoothly. This is not a play toy server, but will be used in a business.
View 2 Replies
View Related
Mar 19, 2016
I have a 500 GB dual boot debian jessie + windows laptop; I intend to erase windows completely and add the extra space to my existing /home partition. What is the best way of doing it without harming data in my present /home partition?
View 12 Replies
View Related
Feb 26, 2011
I am finally, and happily ditching Windows IIS, SQL Server, and ASP in favor of LAMP. Not only will I save a bunch of money on operating systems but I've found php and MySQL development to be much faster than their Microsoft counterparts.Currently I have two W2008 and two Ubuntu servers running and doing virtually parallel tasks. I want to can the W2008 machines but I am not 100% sure of my Ubuntu mirrors.Everything seems to be working fine. I've copied tons of data back and forth as a primitive test but sometimes things work fine for all the wrong reasons. Here's where I get confused.
Question 1:Do I need to partition the RAID device (MD0) and then format it?From my experience this is necessary to get the device to mount.
Question 2:In this case was it also necessary to format the individual drive partitions?
Question 3:If I do a daily cat /proc/mdstat is this all I need to do to check the drive status.
Question 4:Is there any other check I can do to assure that the mirrors are created, mounted, and operating correctly?
View 3 Replies
View Related
Aug 9, 2011
I have been working in my spare time over the last few days, Had problems with the whole grub2 not installing on RAID 1. Then I found out that I had to have a separate non raid Ext4 partition on one drive with "/Boot" as mount point and install went though fine.
My question is, will the developers FIX this. I mean if I only have 2 x 2tb drives in teh pc as RAID 1, and the one fails with the boot partition the whole machine goes down. Kinda defeats the whole RAID feature huh.
I USED to run a windows network with RAID 5 servers, and windows never had a problem installing everything on the RAID. Or even setting up RAID 1 in the bios on the PC and installing XP or NT4 on the RAID 1. There was never a need for a separate non raid boot partition.
Do we need a separate RAID friendly/enabled Grub? I guess for now I will get a 250gb drive and install the Server OS to it, and setup RAID1 manually after the server OS boots. Then will make a ghost type image of the server in case that drive fails so I can quickly install a new drive and restore the image and get it back up and running again.
View 9 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
Jun 15, 2010
I've got 2 hard disk drives of 250GB, with this partitions :
All partitions are with format "linux raid software". I made 3 raid1 with them like that :
I want to clone them to news hdd of 500Gb, to have this partitions :
My problem, how can I resize partitions, before resize the array md2 with the command mdadm --grow /dev/md1 --size=max ?
After, how can I rebuild /dev/md2 without lost any datas ?
I'm using ubuntu-server 10.04 64bits.
View 3 Replies
View Related
Nov 23, 2010
I have my partitions as follows:- Windows 7- UbuntuIf I shrink the Windows partition will I be able to enlarge the Ubuntu root partition with gparted live cd?I know I can add space after Ubuntu but can it be done before it?
View 3 Replies
View Related
Mar 4, 2011
I recently enlarged my Root and Home partitions and in the process was left with 1.69 GB of unallocated space next to Swap(see image). Not quite sure how it happened this way but for some reason I was unable to grab all the unallocated space available when enlarging either Home or Root. What I am wondering is there any reason why I couldn't enlarge Swap and thereby use up that unused 1.69 GB? Would there be any minor advantage to this? Also if I did this would it simply be a matter of booting from Live Disc and running GParted with Swap off and grabbing that space?
View 3 Replies
View Related
Feb 11, 2010
I have two hard drives inside an Ubuntu 9.10 machine, each with a data partition on. What I want to do is as I save files to one data partition partition (or delete them) I want the files copying/deleted automatically on the the other data partition. I do not want to start using RAID or end-of-day incremental backups.
View 5 Replies
View Related
Sep 6, 2010
How do I recreate an LVM raid 1 partition, without destroying data on the discs? I have a 650GB data partition which is a raid 1 array with ext3. Two days ago, the system (Ubuntu 9.04) started to refuse to write to it, claiming no space left on device - even if there is ca. 102GB free left, if the disk is 85% full (according to df)! Interestingly, removing a couple of GB did not help, after reboot the disk was again full..
I did the "tune2fs -m 0" trick and then forced file check on next reboot by "sudo touch /forcefsck" .. and the result is that the raid partition is gone. I have the two physical drives /dev/sd*, unmounted, but the /dev/md1 is no longer there. What can I do to re-create it, without losing the data? I realized that I ran tune2fs on the physical partitions /dev/sd* - was I supposed to run it on /dev/md1?
View 1 Replies
View Related
Mar 6, 2011
Is there a way to increase the area around a window that can change its size? When I'm using the touch-pad I'm not that stable (to much coffee) and find it really had to get the mouse to sit on the one pixel that allows you to resize a window. Or another way to resize a window?
View 6 Replies
View Related
Jul 16, 2010
The ext4 file system creation in partition #1 of Serial ATA RAID isw_fjidifbhi_Volume0 (mirror) failed. Not sure what's wrong? How do I solve this? This happens after I enter my login details and click next. Then it fails on the install screen with this error.
View 2 Replies
View Related
Jul 16, 2010
Been attempting to install ubuntu on my Intel fake raid on a new PC.The installer sees the raid, but errors out:Quote:The ext4 file system creation in partition #1 of Serial ATA RAID isw_ehbgbddej_Volume0 (mirror) failed.This seem to be the EXACT issue described in this bug report:I read all the way down this bug report, and at the bottom it says:Quote:Launchpad Janitor on 2010-06-25Changed in parted (Ubuntu Lucid):status: Fix Committed → Fix ReleasedA few weeks ago, a fix was "committed" and "released". I had been working with an earlier 10.04 ISO, so I downloaded 10.04 from the web site today. Still the same problem.Maybe I'm just reading the bug report wrong? If it says the fix is committed and released, I would naively assume that it is fixed. Do I need to patch to apply the fix or something? Doesn't seem likely.
View 3 Replies
View Related
Apr 4, 2011
I am unable to hibernate my computer while using Ubuntu and I figured out the reason--Ubuntu is not using my swap partition. I would follow the existing tutorials on setting up a swap partition after installing Ubuntu, but since the volume uses hardware RAID 0, the swap partition is not assigned a /dev/ entry (like /dev/sdxx) and I am not sure how I can mount it.
Here is what I have:
Code:
View 2 Replies
View Related
Oct 21, 2010
I have installed Ubuntu 10.04 LTS on machine but wanted to choose RAID and LVM during partition scheme. Unfortunately I couldn't find such option during partitioning. Is it true that for Ubuntu 10.04 LTS it is unable to use RAID and LVM ?
View 2 Replies
View Related
Dec 28, 2010
The one thing that I can't learn to do is to expand the canvas size. So if the ratio is 3x2, I want to add extra white space to make it 3x3. If I use the -geometry function, it enlarges the image to the proportions I want, but it loses the aspect ratio.
If you turn to page 377 (or 388 in PDF) of the User Manual, under "Montage", you'll see that ImageMagic can do what I want. The thumbnails in the example image are all of different proportions but the alloted space is 1x1 for all.
However the documentation on this function is pretty bad! Does anyone know how to do this?
View 1 Replies
View Related
Sep 1, 2011
I have two disks in a RAID.
Code:
SATA device C465.76 GBATA WDC WD5000AVDS-6
SATA device D465.76 GBATA WDC WD5000AAKS-0
[code]....
View 4 Replies
View Related
Mar 23, 2010
I have Ubuntu server 8.04. I have 4 hard drives of 149Go each. Size of a mounted partition is smaller thant the partition itself :
- first drive is the system
- I mounted the 2nd drive (ext3) on a folder, but the Size is 941.89 MB instead of 149Go
- same for drive 3 monted on another folder, but the Size is 941.89 MB instead of 149Go
View 2 Replies
View Related
Aug 26, 2009
I am trying to partition my server before installing CentOS and cPanel.I have hardware RAID 1/10 On RAID 1 I would have
/
/boot
On RAID 10 I would have
/tmp
/usr
/var
/var/log
2 GB swap
/home
Is it correct partionining setup?What should I have on RAID 10 ?
View 1 Replies
View Related
Mar 1, 2010
I have just installed a new version of fedora 12 64bit and have setup the following drive configuration -
Code:
But for some reason I am getting dm-1 and dm-3.
How can I change the array so it contains the normal /dev/sda and /dev/sdb disks and partitions?
Why is the system telling me my drives are dm devices? I have no bios raid features on the motherboard.
How do I use md-1 and md-3 partitions?
How do I go back to the traditional /dev/sda and /dev/sdb devices?
By the way the system tells me that /dev/sda1 and /dev/sdb1 do not exist.
View 1 Replies
View Related
Mar 1, 2010
I have just installed a new version of fedora 12 64bit and have setup the following drive configuration -
Code: [root@fedora ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 sdc1[0] sdd1[1]
312568576 blocks [2/2] [UU]
[Code]....
but for some reason I am getting dm-1 and dm-3.
How can I change the array so it contains the normal /dev/sda and /dev/sdb disks and partitions?
Why is the system telling me my drives are dm devices? I have no bios raid features on the motherboard.
How do I use md-1 and md-3 partitions?
How do I go back to the traditional /dev/sda and /dev/sdb devices?
By the way the system tells me that /dev/sda1 and /dev/sdb1 do not exist.
View 1 Replies
View Related
Jun 22, 2011
I'd like to set up RAID for my data partition.
My data are in /dev/sda5 (ext3).
There's an empty partition /dev/sdb5 (ext3).
I want /dev/sdb5 to be a mirror image of /dev/sda5, the command to invoke should be :
mdadm --create /dev/md0 --level=mirror --raid-devices=2 /dev/sda5 /dev/sdb5
My question is : how to ensure that the synchronization is done by copying data to the empty space and not the converse ?
View 2 Replies
View Related
Jan 12, 2010
I have 8.04 running mdadm raid 1. I selected the wrong drive in gparted and managed to hose my partition tables.
View 7 Replies
View Related
Jun 3, 2010
After a disastrous upgrade to 10.04 I am at my wits end trying to recover my /home partition from my unbootable system. The /home partition is part of a RAID5 array across 4 disks and I've been trying to use some disk imaging tools from Ultimate Boot CD to recover it with, but none of the utilities seem to recognize or will let me work with my multi-disk device.
Currently I've been booting up with a Live CD in attempts to mount the encrypted partition then copy all the files to an external device I bought, but the mounting process has presented me with some problems. The partition in encrypted with ecryptfs and I have both the disk's passphrase as well as an FNEK signature to work with. Attempting the following:
Code:
Another small issue is the cipher I used. I don't remember which kind of encryption the disk is encrypted with (80% sure it's aes though). I assume figuring out which cipher I used will be more like a guessing game through the ecryptfs mount prompt, but I'm wondering if this would affect the error message I get.
View 9 Replies
View Related
Jul 13, 2010
I am trying to install Ubuntu Server 10.04 on a home server I am making. I have 3 1-TB drives set up in RAID 5 via my mobo (ASUS M2NPV-VM). The installation detects that I have a RAID array, but when it goes to partition, all it shows me is the usb stick I am installing from.
View 1 Replies
View Related
Jan 31, 2010
I ran a program under WINE and when it terminated, suddenly lots of programs were running with tiny fonts, including Google Chrome, Unison, and PLT Scheme. I think what these programs have in common is they all use GTK. I am running Debian Linux without a Gnome desktop. As suggested on the web, I put this text in ~/.gtkrc-2.0:
style "user-font"
{
font_name="BitStreamVeraSans 14"
}
widget_class "*" style "user-font"
gtk-font-name="BitStreamVeraSans 14"
Unfortunately this change has had no discernible effect.
How can I escape the land of tiny-fonted ones?
View 1 Replies
View Related