Ubuntu Servers :: Resize Raid Partition - Rebuild /dev/md2 Without Lost Any Datas ?

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


ADVERTISEMENT

Ubuntu Servers :: RAID Arrays Rebuild The Data On The New Drive?

Jun 5, 2010

I have never preformed a rebuild of an RAID array. I am collecting resources, which details how to build an RAID 5 array when one drive has failed. Does the BIOS on the RAID controller card start to rebuild the data on the new drive once it is installed?

View 4 Replies View Related

Ubuntu :: MD RAID Partition Lost On Boot, Every Time?

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

Ubuntu Servers :: Lost Partiontable On RAID 1 Array?

Jun 4, 2010

I just restarted my server (Ubuntu 9.04 server, running on ESXi 4.0) and while copying files onto the server using samba I got strange problems and the connection was lost. When I rebooted the total system, so ESXi as well as Ubuntu Server I did find problems on my RAID disk.

The directory, where the new files were added I have a lot of files, but a lot of them do not have any info except their name:

1304 -rw-rw-rw- 1 spoorhobby spoorhobby 1327274 2010-05-15 22:10 DSCF1895.JPG
? -????????? ? ? ? ? ? DSCF1896.JPG
? -????????? ? ? ? ? ? DSCF1897.JPG
? -????????? ? ? ? ? ? DSCF1898.JPG

[Code].....

Both mirror disks are still functioning and I can still add/delete files, from the server, from other LINUX systems and from other Windows systems via samba.

I did make a full backup on a different server.

View 9 Replies View Related

CentOS 5 :: MD Raid Lost On 2 Servers / Get That Back?

Nov 2, 2010

I have a problem with a few up-to-date installations of CentOS 5.5. I have lost all md (software raid) devices on them some point in the past. They were working ok.

Now the 2 disks are seen as two separate disks, with no link between them.

# cat /proc/mdstat
Personalities :
unused devices: <none>

View 12 Replies View Related

CentOS 5 :: How To Rebuild Sofware Raid

Apr 6, 2009

I've got a server running a software Raid for SATA disks on a P5E motherboard.

I had to had a lot of memory on thi sserver, then I have had to flash the bios. This has resetted the software raid on the disks, then when I boot, i got a Kernel Panic cause it doesn't find anything ...

how to rebuild the raid ? I can boot on a live cd, or anything else, but don't know how to do it without loosing my data.

View 2 Replies View Related

Ubuntu :: Rebuild Md RAID Array After OS Disk Failure?

Dec 19, 2010

I went to setup my linux box and found that the OS drive had finally died. It was an extremely old WD raptor drive in a hot box full of drives so it was really only a matter of time before it just quit on me. Normally this wouldn't be such a big deal however I had just recently constructed an md RAID5 array of 3 1TB disks to act as an NFS mount for basically all of my important files. Maybe 2-3 weeks before the failure I had finished moving all of my most important stuff onto that array. Now I know that the array is intact. All the required data is sitting on those disks. Since only the OS level disk failed on me I should be able to get a new disk in there, reinstall ubuntu and then rebuild that array. how exactly do I go about doing that with mdadm? Do I create the array from the /dev character devices like when I initially built the array?

View 2 Replies View Related

Ubuntu :: Server Was Used To Boot (after MDADM Raid Rebuild)

Feb 1, 2011

My home-backup server, with 8*2TB disks won't boot anymore. Two disks failed at the same time and i rebuilt the raid 6 array without any problem, but now i can't boot the os. I'm using ubuntu server, 10.10. I've made screens of the displays to don't copy everything here. The problem at the boot:

And the Grub config: It's not a production server, but i would like to have it online. I've tried for the lasts 2 days (just a couple hours a day) but without success. I was suggested to do "mount -o remount,rw /" and than edit /etc/fstab, but it get the file don't exist error.

View 2 Replies View Related

Debian :: Rebuild Lost Bootloader Flash

Aug 29, 2015

I use a usb flash stick for bootloader and /boot. Debian resides on sdaX and is LUKS encrypted (in fact LVM on LUKs). I am trying to learn how to use the Deb LIVE disk with rescue mode to re-build the bootloader and /boot on a fresh different flash drive. As a learning tool I want to approach this task as described. I have full access to a perfectly running system at this point, but I want to learn this process knowing eventually something will go "bump in the night". I did a custom install so I am aware of how this works generally speaking.

I have password access to the LUKS volume and can easily open it at the LIVE disk prompt to do so. My new flash drive is wiped and EXT2 formatted and should be ready to go. I have RAM based backup software for doing sector backups of the LUKS partition/volume. Doing a full restore at any point will be a piece of cake. I have lots of family around and the thought of a missing bootloader flash drive, while not likely, is not out of question.

View 6 Replies View Related

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

Ubuntu Servers :: 4TB Raid Partition For Server ?

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

Fedora :: Eth0,1,2,3 Become Eth4,5,6,7 After Cloning Via Raid 1 Rebuild?

Aug 10, 2011

I've cloned a machine by removing a HDD from a Raid mirror set putting it into another machine and powering on and fsck'ing a few times and everything is great apart from the ethernet port numbering has gone a bit wonky.

The cloned machine which must have a specific configuration using eth0,1,2,3 naming convention however when I boot the freshly cloned machine eth4,5,6,7 show up and eth0,1,2,3, are missing (as it detects the new machines ethernet ports)

Is there some configuration file I can delete, reboot the machine and then Fedora rebuilds the file using eth0,1,2,3, and populating with the correct hardware address.I need to clone this machine lots and lots and lots of times and the manual why I've figured out is a little long winded.

View 2 Replies View Related

General :: No Automatic Rebuild Of RAID 5 After Replacing Bad Disk

Dec 12, 2009

I have a 5 disk raid 5 array that is composed of SATA A:0,1; SATA B: 0,1, and SATA C:0, and one of the disks (SATA A:0) recently went bad on me. I have an ICP raid controller that is about 5 years old. I replaced SATA A:0. After rebooting, I went into the controller and verified that it saw the disk in the hard-disk info section...there I noticed that in the "status" section, that the SATA C:0, SATA B:1 disks were listed as being "in array", the SATA A disks were blank, and the SATA B:0 disk was listed as "fragment". When I go into the "repair array" section, the controller tells me that there are no arrays that are in failure, error, or need to be rebuilt.

This puzzles me, as I thought the controller would know that the array needs to be rebuilt after replacing the disk and I don't see a way to initiate a rebuild. If I just let the server boot after replacing the disk, then I get back that there are the correct number of disks in the raid 5 and that it is ready, however, the screen then goes blank and I get a blinking cursor and the system seems to hang. There are no activity lights on any of the drives associated with the raid 5, which makes me think that the system is not rebuilding the array at this point.

View 3 Replies View Related

Ubuntu Servers :: Partition RAID Device (MD0) And Then Format It?

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

Ubuntu Servers :: Separate Non Raid Boot Partition?

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

CentOS 5 Server :: Random Auto Rebuild Of Software Raid ?

Jan 16, 2010

I have set up a software raid 5 and a software raid 1 on the same 3 disks.

But my problem is, every couple of days the software raid starts automatically resyncing. This resync is always succesful.

I do not know why this happens, any ideas to troubleshoot this further? I can not see an error in /var/log/messages

View 14 Replies View Related

Fedora :: Lost Mdadm Superblock But Not Drives / Can Rebuild Software RAID5?

Jan 25, 2010

I have an old Athlon XP 3000 machine that I keep around as a file server.It's currently got three 1TB drives which I had setup as mdadm raid 5 on FC10. The machine's original drive held the superblock for the raid array and it just had a massive heart attack. I've searched, my biggest source being URL...I can't tell if I can reassemble the superblock info lost with the original hard drive or if I've lost it all...

View 9 Replies View Related

Server :: Mdadm: Rebuild A Software Raid From Drives With Existing Partitions?

Apr 24, 2011

Its from a Synology Box with 3 disks, which one is damaged. But this disk wasnt in use.Take a look on the raid-size of 493 GB - and the both available disks with 250GB..)
On the others there were a linear raid. during this damaged disk the synology-device tells me, that the volume was crashed.But it look like, that this disk was not mounted into this volume.Quote:

DiskStation> mdadm --detail /dev/md2
/dev/md2:
Version : 00.90

[code]....

View 3 Replies View Related

Ubuntu Servers :: RAID-5 Recovery (spare/active) / Degraded And Can't Create Raid ,auto Stop Raid [md1]?

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

Ubuntu :: Partition Manager: Unable To Resize Partition To Use Free Space BEFORE Partitio?

May 29, 2011

I have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.

I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).

I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).

Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?

View 9 Replies View Related

Ubuntu :: Rebuild Partition Table Or Create RAW File?

Jul 12, 2010

I need to be able to access the files on the image of a hard drive created with ddrescue. The original drive had bad, unreadable sectors, and was corrupted in a way that damaged the partition table. It was formatted NTFS, but because of the corrupted partition table, nothing recognizes it as such anymore. Is there some other way I can mount it, rebuild the partition table or create a RAW file tree out of the image file?

View 6 Replies View Related

Ubuntu Installation :: Rebuild Status Raid 1 Intel Isw Fakeraid Intel?

Oct 1, 2010

I have recently installed Ubuntu 10.04.1 lts server on my Intel "fakeraid" (software raid) (2x250 sata).To test my RAID 1 I turned off one HD and start the system.The first screen (Intel software screen) show Status = Degraded, but the system starts normally with just one HD.Then I turned off the system and turned on the HD again, so the first screen (Intel software screen) shows Status = Rebuild. If I enter in the software raid panel the folowing message is showed: "Volumes with "Rebuild" status will be rebuilt within the operating system"The system starts normally... but this message status stays permanently even I restart the system again

View 9 Replies View Related

Server :: How To Resize Software RAID Partitions?

Aug 24, 2009

Googling tells you how to resize RAID partitions but not how to resize the underlying disk partitions. In my particular case, I initially sized a RAID array way too large - and when I added another disk to the array, I decided I was wasting too much space.I shrunk the file system, then "grew" the array (/dev/md2) to the smaller size, and resized the file system again to fit. However the actual disk partitions (/dev/sda2, /dev/sdb2, etc.) are still the original size - they are just mostly unused space.As I understand it, the superblocks are at the end of the partition. I believe this means the end of space used by the array on each device, so that the superblock moved to a lower block number when I shrunk the array. However it also means that I need to get the new physical partition size correct to avoid clobbering the superblock.

Is there an easy way to get any partition editor to shrink the physical partitions to the new array size?If not, is the superblock included in the space allocated to the array so that the next partition can start in the very next block, or is it added after the array so I'd need to allow some space for it?

View 3 Replies View Related

General :: Looking For Ways To Manually Rebuild A Partition Table?

Dec 14, 2010

I need to find a program or a way to edit the partition table and set the values and addresses for the partition boundaries manually. A while ago I had a very messy data loss that left me with a disk full of data but without a partition table (and without file indexes for some of the partitions on the disk). So, for recovery reasons I need to try lots of combinations of starting and ending addresses for each partition. Additionally it would be extra nice if I could do this with a live cd since I don't have the faulty drive attached to a working computer at the moment.

View 6 Replies View Related

Software :: Rebuild/repair Array(Raid 1) With Only "mdadm" Command Slack12.2?

Mar 18, 2010

I wonder how to attach new sata hard disk to software array where are two disk and one is crashed (this is a mirroring mode=Raid 1).Situation like this:I unpluged crashed disk and I buy the similar one and plug in What Next should I do?

View 4 Replies View Related

CentOS 5 :: Software RAID Auto Sensing Auto Rebuild Possible?

Jul 23, 2010

I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?

View 1 Replies View Related

Ubuntu Servers :: RAID6 Rebuild - Drives Got Out Of Sync?

May 16, 2010

I have a 12 disk raid 6 Array with 2 additional spare drives. Two of the drives got out of sync (because I was fat fingering the mdadm commands while trying to reassemble the array), so I added them back as spares. This is what mdadm is showing me:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Rebuild Raid5 Array After Every Restart?

Jul 8, 2011

I have software raid 5 array, each time I reboot my server, I have to rebuild array again. Rebuilding array takes too long. I am using ubuntu server 10.10.

View 7 Replies View Related

Fedora :: Rebuild: Cannot Rebuild From Current State

Nov 21, 2010

When trying to rebuild a RAID1 on a FastTrak TX4310 controller after a disk was replaced the below message is given:

Code:
[root@SAMBA Samba]# dmraid -R pdc_gigcjhdfa /dev/sdc
Volume "pdc_gigcjhdfa" is not in rebuild state (current: 16)

Rebuild: cannot rebuild from current state!

View 4 Replies View Related

Ubuntu Servers :: 15K/sec Rebuild Speed On Mdadm RAID6 Array?

Jul 18, 2011

Code:

$cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]

[code]....

1/4 of my drives died after about 3 years of usage. I replaced it with an identical drive and did a mdadm -add to re-add it to the array. I expected this to take quite a long time, but not more than 1 million minutes to complete!

View 5 Replies View Related







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