Ubuntu Servers :: RAID 5 Failure While Increasing Size?

Sep 6, 2010

Based on the reading I've done over the past 48 hours I think I'm in serious trouble here with my RAID 5 array. I got another 1 TB drive and added to my other 3 to increase my space to 3 TB...no problem.

While the array was resyncing...it got to about 40%, I had a power failure. So I'm pretty sure it failed while it was growing the array...not the partition. Next time I booted mdadm didn't even detect the array. I fiddled around trying to get mdadm to recognize my array, but no luck.

I finally got desperate enough to just create the array again...I knew the settings of my and had seen some people have success with this method. When creating it, it asked me if I was sure because the disks appeared to belong to an array already, but I said yes. The problem is when I created it, it created a clean array and this is what I'm left with.

Code:
/dev/md0:
Version : 00.90
Creation Time : Sun Sep 5 20:01:08 2010
Raid Level : raid5
Array Size : 2930279808 (2794.53 GiB 3000.61 GB)

[Code]....

I tried looking for backup superblock locations using e2fsck and every other tool I could find, but nothing worked. I tried testdisk which says it found my partition on /dev/md0, so I let it create the partition. Now I have a /dev/md0p1, which won't let me mount it either. What's interesting is gparted reports /dev/md0p1 as the old partition size (1.82 TB)...the data has to still be there, right?

View 3 Replies


ADVERTISEMENT

Server :: Squid Servers Cache Size On Disk Automatically Increasing And Decreasing?

Jun 24, 2010

Squid servers cache size ondisk automatically increasing and decreasing,how I would resolve this issue

View 6 Replies View Related

Fedora Servers :: Recovering From Software RAID Failure (controller Died)

Jan 3, 2009

I had a RAID1 'device' build on two physical partitions on two drives. One of the disk controllers died and software RAID did the job - now I am working on the degraded array.

Now I want to put the old disk (sdb) back, and I am not sure what will happen. Both disks have 'raid auto' partitions. And sdb file structure from before of the failure. The raid code will find inconsistency between both partitions. What will it decide? Will it start coping from the currently running system (sda) all the data to the old one (sdb) at the boot time, as I wish?

I don't want to it to write from the old one to the new one, as some months passed and lots of changes happened to the data.

View 1 Replies View Related

Ubuntu :: Increasing Home Folder Size?

May 17, 2010

i got low space left on my home folder .. i installed ubuntu and set home folder's size to 20 gbs and 70 gbs for my "/" partition , 2gbs for swap.Is there a way to increse those 20 gbs ? maybe take a lil from my "/" partition?

View 2 Replies View Related

General :: Increasing Size Of A Folder?

Jul 28, 2010

As I have a opt/sybase folder in Linxs I want to increase the size of this folder how can I increase it? For example the size we mention at the time of installation Sybase is 2gb now I want to increase by 4gb how can I increase it.

View 2 Replies View Related

Fedora :: Increasing Size Of System Partition?

Jul 29, 2011

I am running Fedora 15 along with Windows 7 on my Dell laptop. Yesterday, when I was trying to install TeX Live, it stopped in between saying that there is no space left in File System. Even though I have space in my hard drive volumes, space seems to be running out of my system partition which is only 9GB in size (I guess!).I am posting a few results that might help you guys. I have an unformatted 15GB partition. How can I add it to my system partition? And is my var folder too big (1.5GB)? If yes, how do I backup its contents and then delete them? Additionally, the File System shows a folder 'media' (89GB) which links the C: drive that contains Windows 7 and my personal files. Should it remain that way or should I separate it? If the latter, how? I just couldn't find any.

Code:
#df -h
Filesystem Size Used Avail Use% Mounted on

[code]....

View 3 Replies View Related

General :: Increasing Font Size In Console

Feb 26, 2011

I am using ubuntu lucid.as a desktop and don't run a server. The editor I use is vim so increasing font by edit > profile preferences. What I need to know is how to increase the size in console ie. when I use Ctrl +Alt + F1 to F6. On running xrandr I get this :

[Code]...

I know that,the graphical user interface ( using X windows , I think ) sits on top of the base system ie F1 to F6. In the Fs , xrandr replies "Can't open display ". The question is am I right in thinking that "gui" is totally independant of the base ( is that the correct word ?). I have read that messing about with resolution can wreck a monitor ( I'm using a laptop) , is there a safe way to proceed?

View 5 Replies View Related

General :: Increasing The Swap Partition Size?

Jun 21, 2010

ecently I tried to increase the size of my swap partition using GParted, but it wouldn't let me. I wondering if there was another way? Currently it's 795 MB but I want it to be 1GB

View 3 Replies View Related

Programming :: Increasing Thread Stack Size?

Jan 23, 2011

I seem to only be able to set my stack size on my linux server to 15000. If I increase it to 20000 I get a Segmentation Fault. how I can get the linux OS to increase the stack size? Code: threadRet |= pthread_attr_setstacksize( &m_ThreadAttributes, 15000 );

View 8 Replies View Related

Programming :: Resident Set Size Increasing Continuously

Jun 13, 2010

I am working on a C++ application, using the latest Slax as distro and CodeBlocks 8.02 as IDE.

I have a problem that is really biting me hard... And i'm sorry if my questions will sound trivial: i'm still a C++ noob...
Basically,looking with KSysGuard i can notice a constant increment of the VmRss parameter,i.e. the resident set size of my program.

While stepping with the debugger i noticed that the VmRss parameter increases by 4 (KB?) when i push_back into some STL vectors (i have this problem in various parts of the code).

While i analyze the problem with KSysGuard i'm also looking at the /proc/statm file of my process. When KSysGuard shows a VmRss increment by 4, i can actually see an increment (by 1) in the 2nd parameter of that file (which is the resident set size) but not in the 1st parameter (which is the total program size).

What surprises me most is that the VmRss is reported in KB and i really am not pushing 4 KB inside the vector all at once...

So i ask:

1)Is this a memory leak?

2)Why the total program size doesn't increase?

3)To me, it looks like VmRss increases "cumulatively" only after several insertions in the various vectors.

View 3 Replies View Related

Server :: Increasing HDD Size While Keeping Data Intact

Jun 15, 2010

I'm currently setting up a server with 2x 1TB disks in raid1. (Centos 5.5)In the future, if the storage is insufficient and I decide to upgrade the disks to 2x 2TB, could I just:

- dump ghost image of the array on usb drive
- replace hdd's and build new array
- ghost array with image created previously

Would the above work, will the new partition automatically resize to 2TB or do I need to partition right now with LVM? would it work with LVM?

View 1 Replies View Related

CentOS 5 :: Slab-cache Increasing Size-2048?

Jun 28, 2010

On a full update centos 5.5 64 bit every day increases slab cache , specialy size-2048 eat a lot of memory ..

how can change this ? maybe a kernel bug ?

cat /proc/slabinfo
slabinfo - version: 2.1
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>

[Code]....

View 1 Replies View Related

Ubuntu :: Increasing Harddisk Size Allocated For 10.10 Installed Inside Windows

Jan 27, 2011

I have installed ubuntu 10.10 inside windows 7. I have allocated 15 GB hard disc size for it which is almost filled. So I want to increase the size of hard disc partition allocated for ubuntu 10.10. Can i do that? If yes then how?

View 3 Replies View Related

Networking :: SO_RCVBUF Does Not Reflect Increasing Listen Queue Size

Jul 9, 2010

In my Solaris tcp client server program, In server side I am checking the size of recv buffer, based on different listen queue size.

I was expecting this size to be increased due to the increase in receive queue size. why the value is same ?

View 1 Replies View Related

SUSE / Novell :: Increasing Size Of A Mirrored Volume In Vxvm?

Apr 6, 2010

is it possible to extend a mirrored veritas volume which has two SAN LUNs each one in a seperate EMC storage box.

i need to add diska -> EMC box1

and diskb -> EMC box 2

then i need to increase the size of the mirrored volume.

View 1 Replies View Related

Ubuntu Installation :: Increasing Size Of Hard Disk Space Allocated For Filesystem?

Jan 4, 2010

I recently installed Bio-Linux 5.0 as a dual boot system with XP for some bioinformatics applications, but Im having some problems with the amount of disk space which can be allocated specifically for the Ubuntu install.

I partitioned a 250 GB portable hard drive into:

/dev/sdb1: 154.76 GiB (with 30 GiB allocated for Ubuntu)
/dev/sdb2 : 78.13 GiB

Ive been using blastclust to analyse some very large data sets, which keeps on crashing due to filesystem running out of disk space.

When I installed Bio-Linux 5.0 from the live cd, the maximum size I could allocate to the install was 30 GiB, and I havent been able to find a way to change this.

Ive tried using System->Administration->Partition Editor using the live cd, and can view / delete the partitions, but I cant find a way to specifically alter the disk space allocation for Ubuntu.

How do I increase the filesystem size to larger than the current 30 GiB?

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

Server :: Increasing Size Of Extended Partition To Allow Creation Of New Partition

May 18, 2010

I've got a server that needs more space. To achieve this we added space (by extending the VMware disk attached to it).Normally this isn't an issue, because we just add an new partition and LVM it from there, but this host predates our deployment of LVM everywhere.

Our current theory is that the unallocated sectors can not be assigned because they aren't part of the extended partition, and thus ... we go in a circle.So what i believe the way forward is to extend sda4 so that i can then create an sda10 inside of it. Anyone have any ideas on how to do this? I was thinking gparted may do the trick ... but being a server i'm in runlevel3, with no X...

View 5 Replies View Related

Server :: Increasing Size Of /var Folder Or Mount To Another Folder?

Nov 16, 2010

I'm installing things in a new Red Hat server and saw that the /var folder is full (100%). I need this folder to have more space or another kind of solution because this server is going to be used as a print server.

View 7 Replies View Related

Ubuntu :: MDADM Raid 5 - OS Failure?

Jun 5, 2011

I have 4 WD10EARS drives running in a RAID 5 array using MDADM.Yesterday my OS Drive failed. I have replaced this and installed a fresh copy of Ubuntu 11.04 on it.I then installed MDADM, and rebooted the machine, hoping that it would automatically rebuild the array.It hasnt, when i look at the array using Disk Utility, it says that the array is not running. If i try to start the array it says : Error assembling array: mdadm exited with exit code 1: mdadm: failed to RUN_ARRAY /dev/md0: Input/output errormdadm: Notenough devices to start the array.I have tried MDADM --assemble --scan and it gives this output:mdadm: /dev/md0 assembled from 2 drives - not enough to start the array.I know that there are 4 drives present as they are all showing, but it is only using 2 of them.I also ran MDADM -- detail /dev.md0 which gave:

root@warren-P5K-E:~# mdadm --detail /dev/md0
/dev/md0:
Version : 0.90

[code]....

View 2 Replies View Related

CentOS 5 Hardware :: Fake Raid Versus Hardware Raid After A Hardware Failure?

Oct 12, 2010

Recently while using a Highpoint 2310 (raid 5) I lost the mother board and CPU. I had to reinstall Centos and found it needed to initialize the array to function. Total loss of date. Question: If I use a true hardware card (3ware 9650se) and experience a serious hardware loss or the C drive can the card be installed with the drives on a new motherboard and function without data loss even if the OS must be reinstalled.

View 4 Replies View Related

Ubuntu :: Mdadm Raid 5 Single Disk Failure

Feb 2, 2010

Recently, one the SMART utility said that one of the drives had failed and another drive was about to fail. I downed the box and hooked them up to my windows machine to run sea tools on them (They are all seagate drives). Sea Tools said that the drives were fine, while ubuntu said they were failing/dead. Yesterday I decided to try to fix one of the drives in the raid. I turned the server off, took the failed drive out, and restarted. Of course the raid didn't work because only 2 of the 3 drives were there, however it had been working w/ only 2 of the 3 drives for a couple months now (I'm a lazy college student). I turned it back off and back on with the drive there just to see if I could get the raid up again, but I havn't been able to get it to go. So far I've tried:

Code:

mdadm --assemble /dev/md0 /dev/sd[b,c,d]
mdadm: no recogniseable superblock on /dev/sdb
mdadm: /dev/sdb has no superblock - assembly aborted

[code]....

I'm looking for a way to trick the raid into working with just 2 drives until I can warranty the seagate and buy an external 1.5 TB drive to use as another backup. how to remove the bad drive from the array and replace it with a fresh drive, without data loss.

View 3 Replies View Related

Ubuntu :: MDADM RAID 5 Disk Failure And Recovery?

Jun 18, 2010

I have a fileserver which is running Ubuntu Server 6.10. I had a RAID5 array consisting of the following disks:

Code:
/dev/sda1
/dev/sdb1
/dev/sdd1
/dev/md0 -

the raid drive for the above three disks. The sda1 disk has failed and the array is running on 2 of 3 disks

/dev/sdc (OS disk)
/dev/sde (new 2tb disk - unused)
/dev/sdf (new 2tb disk - unused)

My plan was to rebuild the array using the two new disks as RAID1. Would the best way to do this be to create a new RAID1 disk on /dev/md1 then copy all data over from /dev/md0? Also - this may sound stupid but since all 3 drives in md0 are identical i'm not sure physically which disk is bad. I tried disconnecting each disk one-by-one then rebooting but the system doesn't appear to want to boot without the bad drive connected. I've already failed the disk in the array with mdadm but i'm unsure of how to remove it properly.

View 3 Replies View Related

Ubuntu :: Install Failure - Nvidia Raid And No Boot?

Sep 13, 2010

on my pc, that was running WinXP, I thought of installing Ubuntu. (I did install linux already a few times in the past years and use it on another couple of pcs) But something went wrong. This machine has 2 x 200MB maxtor drives, in raid 0 configuration, supported by the motherboard Nvidia chipset, and working well in Windows. When ran the live Ubuntu 10.04 cd, gparted was not able to access the drives in raid configuration, until I installed the mdadm and kpartx packages then the existing data became visible. So after that initial moment I thought all was ok and proceeded to install Lucid on the machine, dual booting with Windows. I did partition manually so that in my 400GB raid drive there is an 80GB NTFS partition with WinXP, a 90GB extended partition for Linux Ext4 and Swap and then a last NTFS 200GB partition for data. All went well, but now on restarting the computer nothing happens, nothing loads, Grub is not showing, and it looks like I cannot launch Linux nor Windows. All the data from WinXP and the Ubuntu installation seems to be on the disks but the pc is just not booting. I suppose the problem is with the raid configuration that is not handled properly during the installation, but is there anything that I can do now, apart from reinstalling Windows Xp or installing Ubuntu in a non raid configuration?

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

CentOS 5 :: Software RAID 1 HDD Failure

Nov 6, 2009

1. One of my hdds failed (sda) in software raid 1. I rma'd the hdd to western digital and got another one. Now do I have to format it before putting it in my centos server? If yes, how do I format?

2. Also since sda drive failed, I gotta mark sda as failed in raid. Then remove the sda hdd, and pop in the new hdd for sda? Or do I switch sdb to sda and put the new hdd in sdb's place?

3. After that add it to raid correct, then once raid rebuilds I have to do grub? Can grub be done via ssh only? or do I need to be at the datacenter or get kvm?

4. Last question, I've got a supermicro hotswap hdd case, so do I need to shutdown server while I replace the hdd's? I just want to be sure I do this correctly.

The following is the guide that I will be using, please look at it and let me know if that is the correct procedure: [URL]. Another thing, when the hdd (sda) failed I put it back into raid, but the hdd has bad sectors that is why m replacing it.

View 8 Replies View Related

Ubuntu Installation :: Alternate 64bit Iso Install Raid Failure

Aug 27, 2010

UPDATE: decided to reinstall and run the partitioner to get rid of the raid. Not worth dealing with this since seems to be lower level as /dev/mapper was not listing any devices. Error 15 at grub points to legacy grub. So avoiding the problem by getting rid of raid for now. So ignore this post. Found a nice grub2 explanation on the wiki but didn't help this situation since probably isn't a grub problem. Probably is a installer failure to map devices properly when it only used what was already available and didn't create them during the install. I don't know, just guessing. Had OpenSuSE 10.3 64bit installed with software raid mirrored swap, boot, root. Used the alternate 64bit Ubuntu iso for installation. Since partitioning was already correctly setup and the raid devices /dev/md0,1,2 were recognized by the installer, I chose to format the partitions with ext3 and accept the configuration:

/dev/md0 = swap = /dev/sda1, /dev/sdb1 = 2Gb
/dev/md1 = boot = /dev/sda2, /dev/sdb2 = 256Mb
/dev/md2 = root = /dev/sda3, /dev/sda3 = 20Gb

Installation process failed at the point of installing grub. It had attempted to install the bootloader on /dev/sda2 and /dev/sdb2. I moved on since it would not let me fiddle with the settings and I got the machine rebooted with the rescue option on the iso used for installing. Now, I can see the root partition is populated with files as expected. dpkg will list that linux-image-generic, headers, and linux-generic are installed with other supporting kernel packages. grub-pc is installed as well. However, the /boot partition or /dev/md1 was empty initially after the reboot. What is the procedure to get grub to install the bootloader on /dev/sda2 and /dev/sdb2, which represent /dev/md1 or /boot?

Running apt-get update and apt-get upgrade installed a newer kernel and this populated the /boot partition. Running update-grub results in a "/usr/sbin/grub-probe: error: no mapping exists for 'md2'". grub-install /dev/md2 or grub-install /dev/sda2 gives the same error as well. Both commands indicate that "Autodetection of a filesystem module failed, Please specify the module with the option '--modules' explicitly". What is the right modules that need to be loaded for a raid partition in initrd? Should I be telling grub to use the a raid module?

View 1 Replies View Related

Server :: Dual Drive Failure In RAID 5

May 22, 2009

I *had* a server with 6 SATA2 drives with CentOS 5.3 on it (I've upgraded over time from 5.1). I had set up (software) RAID1 on /boot for sda1 and sdb1 with sdc1, sdd1, sde1, and sdf1 as hot backups. I created LVM (over RAID5) for /, /var, and /home. I had a drive fail last year (sda).After a fashion, I was able to get it working again with sda removed. Since I had two hot spares on my RAID5/LVM deal, I never replaced sda. Of course, on reboot, what was sdb became sda, sdc became sdb, etc.So, recently, the new sdc died. The hot spare took over, and I was humming along. A week later (before I had a chance to replace the spares, another died (sdb).Now, I have 3 good drives, my array has degraded, but it's been running (until I just shut it down to tr y.

I now only have one replacement drive (it will take a week or two to get the others).I went to linux rescue from the CentOS 5.2 DVD and changed sda1 to a Linux (as opposed to Linux RAID) partition. I need to change my fstab to look for /dev/sda1 as boot, but I can't even mount sda1 as /boot. What do I need to do next? If I try to reboot without the disk, I get insmod: error inserting '/lib/raid456.ko': -1 File existsAlso, my md1 and md2 fail because there are not enough discs (it says 2/4 failed). I *believe* that this is because sda, sdb, sdc, sdd, and sde WERE the drives on the raid before, and I removed sdb and sdc, but now, I do not have sde (because I only have 4 drives) and sdd is the new drive. Do I need to label these drives and try again? Suggestions? (I suspect I should have done this BEFORE failure).Do I need to rebuild the RAIDs somehow? What about LVM?

View 6 Replies View Related

CentOS 5 :: Disk Failure And Software Raid 1?

Jun 9, 2011

Following scenario: My server in some data center on a different continent with two disks and software raid 1.

One day I see that a disk failed (for example with /proc/mdstat). Of course I should replace the failed disk asap. Now that I think about it, I am not sure how. What should my email to the data center support guy mention to make sure that guy doesn't replace the wrong disk?

With hardware RAID it is very easy, because the controller usually has some kind of red LED indicator. But what about software raid?

View 8 Replies View Related

Ubuntu Networking :: Samba Failure / Failed To Fetch Size Mismatch?

Mar 16, 2010

I've just installed an ubuntu 9.10 server at my office and configure apache, php and mysql without problems.
Now i need to share some directories in order to wed developers access to the websites files.But when I try to share, ubuntu tries to install samba services, and I keep to get those errors:
"W: Failed to fetch url Size mismatch


W: Failed to fetch url
Size mismatch"

View 6 Replies View Related







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