CentOS 5 Hardware :: Disks Switched Place In 2 Different RAID5 Arrays?
Feb 21, 2011
We have CentOS on an HP proliant g5 server and attached to it is an DAS with 3 branches of disks so 5 - 5 - 5 drives.Now what we had so far there is that every branch was on raid 5 and totaling 3 mounted drives each with 4TB (disks are 1Tb each).But a couple days ago something happened while i was replacing older drives with some bad sectors with new one. What I did is to remove old drive, put in new one, initialize and attach to array and rebuild starts.Now somehow 2 drievs ( as i was rebuilding 2 arrays at once) switched place.so disk on 1_1_5 and disk on 1_3_5 switched place. There coul dbe possibility that I made mistake and assigned them to different arrays when initializing but that is really hardly as i replaced one then later another so...
Anyway to the to the point.Is there painless option to remove 1 disk from array and then assign it to other array and then let raid rebuild everything normally?I;ve made backup of everything there so there is no fear of loosing anything...By the way at the same time when that switch happens a partition from 1 raid array completely dis speared and there is only unallocated space on that one right now.
View 3 Replies
ADVERTISEMENT
Jan 9, 2011
I've got a raid5 array of 4 disks with ubuntu 8.04 runing on it that is currently still working:
/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd
Smartmontools for /dev/sdc tell that there are 9 sectors pending for reallocation:
Code:
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 9
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 9
And /dev/sdd has increasing number of reallocated sectors (about 1 every couple of minutes):
Code:
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 1735
/dev/sdc has failed a coulple of times this week (but I have always sucessfully readded it to raid5) . But the increasing number of reallocated sectores on /dev/sdd concerns me even more.
I'm affraid that during removal of /dev/sdd and adding new /devs/sdd disk, raid might fall appart. That's why I would try to do it in Ubuntu Live CD:If the raid falls appart (/dev/sdc fails) during the readding of new /dev/sdd disk, I might still remove the new /dev/sdd and return the previous one and assemble the raid with:
/dev/sda
/dev/sdb
/dev/sdd (old one that was previously removed)
Does assembling Raid in Ubuntu Live and adding new disk for /dev/sdd write anything on /dev/sda, /dev/sdb and /dev/sdc in the process of adding /dev/sdd into raid5?
View 2 Replies
View Related
Apr 9, 2011
as title, is there someone who switched a 5.5 lamp server to 5.6 simply with a yum update?Is it a safe and painless procedure?
View 7 Replies
View Related
Jul 2, 2010
i opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?
View 10 Replies
View Related
Mar 23, 2010
I had a sata drive go down on my software raid array a couple days ago..After replacing the defective drive, I rebuilt it using fdisk to set partitions and mdadm to add the drive back into the raid array.After getting md2 to mount to /mnt I copied the /mnt/etc/fstab and /mnt/etc/mdadm.conf to the /etc directory and rebooted..When I boot, my /dev/md2 partition is not mounting to / It is not loading all of the services at boot time it should.. the size of /dev/md2 on / is even wrong.. it should be about 1.3TBwhen I manually mount /dev/md2 to /mnt I can access all of my data, through /mnt/var/www/vhosts and so on.. I am at a loss, why is the machine booting to this craziness?All of my data, that I know of can be accessed when md2 is mounted to /mnt[root@ESS000272 etc]# cat mdadm.conf
# mdadm.conf written out by anaconda
DEVICE partitions
MAILADDR root
[code]....
View 1 Replies
View Related
Nov 17, 2009
I currently have an array with 8TB, that will eventually grow to 10TB+ with 2TB disks. How would I partition, format, then mount an array of this size, and also have room to grow, when I add new disks? I heard ext3 only supports 8tb? So would lvm be the best use here?
View 2 Replies
View Related
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
Mar 30, 2010
i want to remove the raid 1 arrays on our server centos and use standalone drive
View 3 Replies
View Related
Jun 10, 2011
With mdadm was only able to add a new drive to the using the --force function. I do not feel comfortable with using the function that way though.
When I remove a disk in VMWare, it perfectly says that the drive is lost and the array is degraded (mdadm --detail /dev/md0). Although after re-adding the drive, it immediately shows device as busy for both mdadm and sfdisk when I don't use --force.
Recovery and repairation of degraded array worked fine with sfdisk --force, mdadm --add --force, it automatically started recovering and took not so long.
What are best practises to manage software raid-1 arrays?
View 1 Replies
View Related
Jun 12, 2010
I have a software program that when you try to install it on Centos it returns "This programs requires RHEL 4" Is there a work around to get the software to use the Centos software the same as it would RHEL 4?
View 6 Replies
View Related
Jul 13, 2010
I edit /etc/login.defs so it change the mail directory:
Before changes:
MAIL_DIR /var/spool/mail
#MAIL_FILE .mail
View 3 Replies
View Related
Jun 26, 2009
I have looked thru the forums and I am not sure if LSI 8204ELP definitely works with Centos 5.3 or 5.2 or 5.1 or not. Can anyone who has had a positive experience with this hardware combination give some feedback etc. mobo is supermicro c2sbx [URL]
View 2 Replies
View Related
Sep 12, 2009
Ok, as the title indicates I have a RAID5 array with 4 500GB SATA drives. This is the only drive configuration on the system (i.e. the OS also resides in the RAID array). I'm running CentOS 5 and need to know how to go about increacing the space in the RAID array by replacing the drives with 4 1TB drives.
View 3 Replies
View Related
Feb 17, 2011
I have a CentOS 5 based Linux system with a 3Ware 9550SU RAID card and four 500GB drives set up in a RAID5 array (3 in the array and 1 hot spare).
I want to 'replace' these drives with four 2TB drives without data loss. My server case has a total of 8 drive bays all hot-swap and all attached to the RAID card, this means I have four empty drive bays on the RAID card.
One thought is to put the four new 2TB drives in the empty drive bays, configure them in a new RAID5 array. Then the question is now to I "mirror" the original RAID5 array over to the new one?
This is just a thought though, I am not sure it will work. In short my question to this forum is how do I accomplish this upgrade?.
View 4 Replies
View Related
Mar 8, 2010
I've tried to type this message twice in detail, but the computer won't submit it. What are the proper steps to take when a SCSI drive fails in a RAID five array running CentOS 5.4?
Yes, I read the manual. On a Dell 6650 system the drive can't be rebuilt because it is not recognized as the correct size. Linux rescue doesn't work... won't find the linux partitions that are still there according to fdisk -l
View 7 Replies
View Related
Jan 27, 2011
What is the best place to get an updated nVidia video driver for CentOS 5.5? Is there a CentOS package available that will update it? Or is it best to download it directly from nVidia?
Also, I do not have an internet connection on the machine, so it will have to be a manual download and installation.
View 6 Replies
View Related
Jan 9, 2010
I have no drive failures but just need to recreate a raid5 set as the next free MD disk number. Originally I built a temp OS of debian on a single drive and had 4x2TB drives in a raid5 software array (MD0) this worked fine and allowed me to move all data to it, and remove our old fileserver. I have now pulled out the 4 x 2TB Raid 5 drives and created a new OS on two new 80GB drives, partioned as follows,
MD0 is now 250mb Raid1 as /boot
MD1 is 4GB Raid1 Swap
MD2 is 76GB Raid1 as /
If I turn off and push back in the 4x2TB drives I cannot see a MD3. I presume I would need to create a MD3 from these 4 drives but I dont want to mess things up as its live data. So im here asking for help, or a bit of hand holding to get it done right.
PS - Its a Debian Lenny 5.0.3 Raid1 fresh install replacing a Debian Lenny 5.0.3 on a single disk.
View 2 Replies
View Related
Jun 30, 2011
I know you can fail and then remove a drive from a RAID5 array. This leaves the array in a degraded state.
How can you remove a drive and convert the array to just a regular, clean array?
View 9 Replies
View Related
May 9, 2010
System Specs
3.2 GHz Dell GX280
Sans Digital TR5M-B in JBOD configuration (PCIe 1x)
CentOS 5.4 installed via QmailToaster instructions. Up to date via YUM.
No GUI (no KDE/Gnome), command line only.
My old server died and reinstalled based on above with no problems. All is running well. Box is used as mail/web/home disk network. I want to be able to spin down the drives in the Sans Digital box when idle as they are used mostly for bulk storage (video editing, etc...). The external enclosure on my old server automatically spun down idle drives so this has never been a concern. Google has not helped me so far (operator error?). I did see "hdparm" may work if the drives support it but I am not sure if this is the nest solution.
View 1 Replies
View Related
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
Aug 27, 2009
How many disks are required to get Centos 5 up and running.? It has been awhile since I've done an install but I use to use just the first three disks, with the rest being the manuals and such.
View 5 Replies
View Related
Jan 13, 2011
I've downloaded 7 ISO images in order to install CentOS as a Virtual Machine on Fusion. First disk goes through successfully, but when I try to "insert" 2nd disk, I get an error message "unable to access the cdrom". I've ejected 1st disk, mounted second. I tried all possible scenarios I could think of, but still getting an error message.
I see the disk mounted in a terminal:
/dev/disk1 600600 600600 0 100% /Volumes/CentOS_5.5_Final
View 1 Replies
View Related
Feb 23, 2011
Setting up a new Centos 5.5 server with an LSI Logic 7402XP fiber channel HBA card connected by fiber to an enclosure with 28 SATA drives.This is just a bunch of disks.I want to mount them /disk1, /disk2,disk28. No RAID or LVM. After connecting the dsisks and rebooting there are 28 new devices /dev/sdc, /dev/sdd, ...
/dev/sdad. Going to /sys/class/scsi_disk will list all of them. Pick any one and go into device and you can cat the vendor and model and state is "Running." But try parted /dev/sdc and it just quitts. fdisk and mkfs produce errors. Attepting to read or write the device directly with dd fails. The mpt fusion kernel mods are present. I'm pretty sure this hardware is on the suuported list. And I've tried swapping out the card and cables in case of bad hardware. What am I missing to be able to partition and mkfs these disks?
getinfo is at
http://pastebin.centos.org/36873
[root@localhost dev]# cd /dev ; ls sd*
sda sda3 sda6 sdac sdb1 sdb4 sdc sdf sdi sdl sdo sdr sdu sdx
sda1 sda4 sdaa sdad sdb2 sdb5 sdd sdg sdj sdm sdp sds sdv sdy
[code]....
View 8 Replies
View Related
Jan 13, 2010
I've just removed fedora 10 and installed CentOS 5.4 both x86_56 on my Lenovo ThinkCentre 9091-CTO workstation, and observed serious performance degradation while intensive I/O operations and huge load without significant CPU consumption in user mode with about 50% in I/o wait.For example if I do the "tar xjvf some_large_tar.bz" file and run vmstat i get the output below. This is the only cpu and io intensive process running. The load gets up to 6 on C2D CPU and the machine has unacceptable responsivness.
[root@f00 ~]# vmstat 5 10
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
[code]....
View 4 Replies
View Related
Nov 15, 2010
I have a server wich is connected to an iSCSI storage and gets harddisks from this storage. Sometimes I have to add new disks to this server. Everytime I add a disk and make an /etc/init.d/iscsi restart on the server the disks don't have the same device name as before the iscsi restart.
It should be possible to gave the disks persistent names using udev rules. Now I tried to create different rules in "/etc/udev/rules.d/99-static-iscsi-names.rules" e.g.
# /dev/sdc
KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -s %p",RESULT=="360a98000503355344c4a576864467877" NAME=="sdc%n"
In "/etc/rc.local" I added "/sbin/start_udev" and in "/etc/scsi_id.config" I added the line "vendor="NETAPP",model="LUN",options=-g"
[Code]...
View 3 Replies
View Related
Oct 25, 2010
I have a Raid5 software partitioned using LVM (at centos 5.2 installation). Actually the raid is composed by 3 320Gb HDD. I would like to replace them with 3 2T hdd, but I'm worried about the alignment issues of the upgrade. I know it is easy to align the raid partition URL But what will happen to the LVM partition? Reformat and install everything is not an option
View 15 Replies
View Related
Apr 19, 2009
Having some troubles with NEC AD5170A device - it can`t read any dual layer disks. First layer reading is ok, but when drive switching to second layer it stops and don`t read any data from disk. Media - licensed DVD video disks. Same drive in windows read everything. I try to update firmware, but it doesn`t.
[Code]....
View 2 Replies
View Related
Feb 25, 2010
I just replaced a DVD-RAM drive in one HP server running CentOS5 (2.6.18-164.11.1.el5PAE #1 SMP )
The drive is recognized by the OS:
# lshw -class disk
*-cdrom UNCLAIMED
description: SCSI CD-ROM
product: DVDRAM GSA-T50L
[Code].....
View 2 Replies
View Related
Feb 25, 2010
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
[Code].....
View 3 Replies
View Related
Mar 31, 2010
I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)
Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?
View 2 Replies
View Related