CentOS 5 :: Detect Efficiency Of Mirrored Array?
Aug 3, 2010
I have mounted a mirrored array on my linux machine. I used the Nvidia raid controller in my bios and mounted the resulting raid drive.
under /dev
the 2 drives sdb (2tb) and sdc (2tb) are symbolic links to
/dev/mapper
nvidia_dcabdggcp1
I then created a file system on nvidia_dcabdggcp1 and mounted it to /share
the output of my df -h is
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
897G 8.0G 843G 1% /
/dev/sda1 99M 19M 75M 21% /boot
[Code]....
Is there a way to check to make sure that my mirror array is actually working correctly without unmounting/remounting the sdc drive somewhere to see if it's a mirror of sdb.
View 2 Replies
ADVERTISEMENT
May 4, 2010
I've installed Debian Squeeze twice using CD1. First time with a high-speed internet connection using a mirror, 2nd time without. With a mirror, much more is installed, and clearly a much more complete installation. What packages would I install to make a basic CD install more like a mirrored install? Is there a list on the CD somewhere?
View 5 Replies
View Related
May 7, 2010
I have applied a patch in linux kernel version-2.6.31(fedora core 12)source code.Now I want to check whether the performance of the memory management part has been enhanced. So how to test the efficiency of this new modified code?
View 1 Replies
View Related
Apr 13, 2011
I have a need of a database, and the information to go into it. I know how I want to organise my data for optimal cross referencing, but what I know is merely what I know and I do not know if what I know is what is known...
Madness to say... looking at my database I see this is the best way to organise the data, but what I do not know is how the computer will respond to my methodical madness.
Is it quicker to have one table with many fields or many tables with few fields?
We've got information for 10 users with 17 idiosyncrasies.
So, would one table with 17 columns and 10 rows... or... a group of 50 tables with one column and 3 rows and one table with 4 columns and 5 rows...
Be more efficient concerning:
QUERIES...?
Searching?
Comparison?
Insertion?
Deletion?
Modification?
The queries and modifications will be daily, and constant. These numbers are really much larger but the math is easier for me to articulate on a smaller scale. I use Perl, php, and C with SQL for management.
View 14 Replies
View Related
Jul 20, 2010
Can someone tell me if there a difference between running a 1000 watt computer PSU and a 1000 watt light bulb? For instance, Im sure if you burn a 1000 watt light bulb you'd burn the maximum amount of energy all the time (1000 watts). Using the full 1000 watts might be substantially more costly at the end of the month if you didn't need all the light produced all the time, but of course as long as the light was turned on it would burn the 1000 watts.
Now my question about a computer, while 1000 watt is probably an overkill, I'm thinking I should get a bigger wattage PSU than my current 400 watt power supply. If I got a higher wattage PSU, is there a chance that the wattage rating would burn the power based on the immediate computer load (components installed and intensity of the immediate applications) rather than a constant use based on the 1000 watt rating? During off peak times when I might not have many USB devices plugged in and not be running graphic intensive applications, would it be possible that the 1000 watt PSU would be less bucks (or equal to) the cost of the 400 watt PSU? Or would the 1000 watt PSU cost the same amount for the 24 hour operation of the computer as running a 1000 watt light bulb for the month.By the way, I'm looking at purchasing an 800 watt PSU and I'll be upgrading my 88000gts graphics card soon. I just replaced the case with an AXP 600 that has lots of room and cooling facility. I probably don't need the 800 watts at present, but with time I will be replacing the CPU and motherboard.Is there a chance (or scenario) where a higher wattage PSU might actually be more cost efficient at the end of the month and possible burn less electrical dollars because of less strain to keep up?
View 5 Replies
View Related
Aug 27, 2010
What I have works, but wondering what is the 'right' way to replace the digits with the letters given in this loop? somehow use a case or multiple sed? i thought of a multiple sed or a case but couldn't get it to work
Code:
# ...
bcv=$(echo $line | awk -F" " '{ print $1 }' | sed 's/1/q/g;s/2/w/g;s/3/e/g') # and so on
Code:
while read line
do
bcv=$(echo $line | awk -F" " '{ print $1 }')
if [ $bcv == "" ]
[code].....
View 12 Replies
View Related
Dec 12, 2010
how to rename disk array
# df -kh
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
444G 4.4G 417G 2% /
[code]....
View 3 Replies
View Related
May 11, 2011
Round two:I am trying to install a RAID 1 array on my system. I already have another RAID 1 array in there. I am using the BIOS RAID option to set up the array.Here's what dmraid -r tells me:
# dmraid -r
/dev/sda: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0
/dev/sdb: pdc, "pdc_bajfedfacg", mirror, ok, 3906249984 sectors, data@ 0
[code]....
View 9 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
Jul 20, 2009
I'm not able to spin down my harddisks in raid array. I did hdparm -S 240 /dev/sdb and the same for the second hdd. Smaller values like 2 minutes work. I don't have log files on this disks. How can I determine, which processes are accessing these disks? I have apache and samba running. Nobody is accessing the server.
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
Jan 6, 2010
I am using Centos 5.2, with the latest 3ware driver installed. The 3ware bios shows all the external disks (its a 9690SA-8-E), they are setup as Jbod, but when I login to Centos I do not see my attached drives only my local ones. When using fdisk -l under root I see my attached disks but not my external array:
[root@sf ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 7.6G 749M 6.5G 11% /
/dev/md2 190M 24M 157M 14% /boot
/dev/mapper/vg01-scratch
[Code]...
View 3 Replies
View Related
Mar 10, 2010
I have a raid 1 array which I did setup on a Centos box. I can configure the array fine the problem is every time is restart my machine I can no longer see the array and have to go create it all over again. I tried doing a few searches on it but have came up with nothing so far.
View 19 Replies
View Related
Nov 16, 2010
I'm trying to do a disk upgrade on some servers. They are using LVM with DRBD on top and each LVM volume contains a Xen image. I have already created identical volumes on another volume group, copied the data and pointed DRBD to the new source (Which seems to have worked).
What I am unsure of is how to safely remove the disks. The disks are an Areca Raid 1 array and support hotswap. Can I just pull them out of the machine or is some sort of command needed to tell LVM or the kernel to disconnect from the physical array device? Is removing the raid array from the Areca management GUI first a good idea?
View 3 Replies
View Related
May 5, 2011
I have a couple of Centos servers, each connected to the Internet using its Static IP address. They are in the same physical rack. Is there a way I an get them to share a disk array. The disk array could be on one of the servers, or it could be separate SAN array.
View 3 Replies
View Related
May 6, 2009
I have an old server based on Tyan Thunder LE-T (s2518UGN),: embeeded VGA - ATI Rage XL two Intel Pentium III (PGA370) processors at 1133 MHz 512 MB ECC RAM embeeded Dual Intel 82559 LAN controllers 10/100Mbps embeeded Adaptec 7899W NT Ultra160 SCSI Adaptec SCSI RAID 2000S (PCI card to support for bootable RAID 5) 3x Seagate HDD ST318438LW connected in RAID 5 instaled OS was RedHat 8 rack case (2U) It worked fine but one disk from array failed.
I provided backup and decided use two mirrored SATA disks Seagate ST3500320NS HDD ES.2 500GB with PCI SATA controler Kouwell KW-5125 (SiI3124 chipset) inserted through PCI riser card (2U case). (I can't replace old SCSI disk because it isn't available any more.) I disabled SCSI controler in BIOS and removed Adaptec SCSI RAID 2000S PCI card. I inserted PCI SATA controler connected both SATA disks and configured mirroring.
[Code]....
View 10 Replies
View Related
Jul 15, 2010
I've been having troubles with software raid. In particular, the raid array becomes un "assembleable" after reboots. The config is CentOS 5, 4 sata discs (one by 160 containing OS, no raid and 3 2TB disks configured as a RAID 5 array - no spare drive). These drives were configured in anaconda and all seemed to go well (the drive and its lvm partitions worked and it finished rebuilding overnight). A couple of reboots later the drives cannot be assembled anymore and the machine won't boot. The error message says:
mdadm: /dev/md0 assembled from 1 drive and 1 spare - not enough to start the array.
Of course there are 3 drives and no spares in the array as configured. Manually starting the array with mdadm --assemble --scan gives the same message as does assembling the drive by specifying the individual parts. /proc/mdstat does recognize the 3 drives and when I look at the partition tables in fdisk, they show as being software raid. What could be wrong or steps to diagnose? I tried configuring the raid drives manually before going the anaconda route. Also, does anyone know I can edit the /etc/fstab file to disable them so the machine will at least boot. The (Repair filesystem) shell has the / drive mounted r/o.
View 7 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
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
Apr 15, 2010
I have 4 drives. Two identical pairs. Each pair does something different and serves a different purpose to my system. Can I set up two RAID 1 arrays?
500gb/500gb = Raid 1
250gb/250gb = Raid 1
Can I do this with Ubuntu's software raid?
View 9 Replies
View Related
Aug 21, 2010
I often use dvdbackup to mirror dvd's to my harddrive. I used to use k3b to burn them to disks. The problem is I no longer use kde, and I realy hate installing kde apps these days, since they seem totaly bloated. Brassero isn't smart enough to take a directory with a dvd's file structure mirrored into it, and burn this as a video dvd. Is there a way to convert such a directory into an iso from the command line so brassero can handle it?
View 2 Replies
View Related
Jun 23, 2009
I need to mount my raid array on CentOS 5.2 samba server.
Here are my hardware specs:
Motherboard: Tyan S2510 LE dual PIII
CPU's: Intel PIII 850ghz socket 370
Memory: 4 gig Crucial 133 ECC SDRAM
OS: 2 x'x IBM Travelstar 6.4 gig 2.5 hard drives, (low heat/noise)
Storage: 4 x's Seagate 500 gig IDE 7200 rpm
RAID controller: 3Ware 7500-12 controller, (RAID 5) (66 mhz PCI bus)
NIC: 3COM 3C996B-T gigabit NIC, (66 mhz PCI bus)
I have the 2 IBM's set as RAID 1, (mirror) and the 4 Seagates as RAID 5, (1.5 TB) I have installed the OS with minor problems, (motherboard doesn't like the 2.6.18-128.1.14.el5 kernel, removed it from my grub.conf).
My problem is mounting the RAID array. I have done the following:
formatted with fdisk;
fdisk /dev/sdb
Then formatted with the following command;
mkfs.ext3 -m 0 /dev/sdb
The hard drive was formatted with the ext3 files system, but I have mounted it as an ext2 file system as I don't want 'journaling' to occur. I then edited my /ect/fstab like this: .....
Then: mount -a
When I go into my "home" directory and type ls, I get the following:
[root@hydra home]# ls -l
total 24
drwx------ 2 zog zog 4096 Jun 23 15:50 zog
lrwxrwxrwx 1 root root 6 Jun 23 15:46 home -> /home/
drwxrwxrwx 2 root root 16384 Jun 23 15:34 lost+found
drwxr-xr-x 2 root root 4096 Jun 23 17:18 tmp
Why my home directory is showing under home?
View 5 Replies
View Related
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
Nov 17, 2009
Our server is a CybertronPC I2XV9080 Imperium Tower. It is equipped with a supermicro X7DVL-I Motherboard and Quad 750 GB SATA2 RAID edition hard drives in a raid 5 array. We tried to install Centos on the Raid5 array with Device-Mapper as the LVM. In the BIOS SATA Raid was enabled and the ICH RAID code base option was set to [Intel].
Intel Matrix Storage Manager Option ROM V5.6.4.1002 ESB2
RAID
ID Name Level Strip Size Status Bootable
0 Raid5 Raid 5 64KB 80GB Normal Yes
1 Raid_5 Raid 5 64kB 2000GB Normal Yes[code].....
Can I have multiple level raids across the same array or would that lead to problems as above? Is the root cause of my problem the fact that intel raid5 is not supported for Linux as based on the following link http:[url]....
View 3 Replies
View Related
Jul 13, 2011
My goal is to connect up a bunch of CentOS 5.6 servers to storage array which is running as an SRP target. These servers will be running eventually as Xen hypervisors. I'm using Mellanox Infiniband cards and a Qlogic Infiniband switch.
OFED drivers are already installed as standard. I have done the following.
1. Base install of CentOS 5.6 X86_64
2. Installed the following packages...
openib
ibutils
srptools
infiniband-diags
opensm
[Code]...
It works perfectly and connects to the target immediately with great results. I'd just like this to happen correctly on startup.
To work around the issue I have added the line srp_daemon -e -o into the init script for opensm /etc/init.d/opensmd but it doesnt always start the srp_daemon process. Its rather hit and miss
I'd really like srp_daemon to run as a service with a proper init script but I wouldnt know how to write one. I understand that this issue has been addressed in the RHEL6 srptools package but that doesnt help me because the software I intend to use on these servers specifically requires 5.
View 4 Replies
View Related
Apr 28, 2009
I've just setup a new centos 5.3 server with a 3-disc raid 5 software RAID array. I've setup other software raid 5 arrays on this same hardware, whilst testing, and had no trouble... I only just installed 3 new drives and performed a new install from scratch.
Hardware is: 4800XP X2 64-bit, 2GB RAM, Albatron KI-690G mainboard with Marvel SATA controller (I think) - 4 ports.
SATA port 0 is system drive (OCZ vertex 32GB SSD)
SATA port 1 is Western Digital "green" 1TB 8MB cache SATA 2
SATA port 2 is Western Digital "green" 1TB 8MB cache SATA 2
SATA port 3 is Western Digital "green" 1TB 8MB cache SATA 2
Ports 1-3 in software raid MD0 (raid 5)
All of this was configured in the GUI setup, with LVM on top of software RAID 5 mounted on /var. Partition size is ~1.9TB
Trouble is I get all sorts of "hardware failure" messages at bootup and the MD driver reports it was only able to bring up 2 out of 3 drives in the RAID set... however the RAID set formatted fine during the setup?
Here is the relevent dmesg output...
View 2 Replies
View Related
Dec 23, 2010
I have a RAID 5 array, md0, with three full-disk (non-partitioned) members, sdb, sdc, and sdd. My computer will hang during the AHCI BIOS if AHCI is enabled instead of IDE, if these drives are plugged in. I believe it may be because I'm using the whole disk, and the AHCI BIOS expects an MBR to be on the drive (I don't know why it would care).
Is there a way to convert the array to use members sdb1, sdc1 and sdd1, partitioned MBR with 0xFD RAID partitions?
View 1 Replies
View Related
Jun 4, 2010
This _almost_ works. I just can't quite get it to honor the spaces.
Code:
#!/bin/bash
profiles=(
PROFILE_ONE
)
PROFILE_ONE=(setting1 "setting number 2")
[code].....
View 9 Replies
View Related
Jan 11, 2011
I was wondering what is the proper way to setup a hardware based mirrored raid. I have two 2TB drives and a nvidia based raid on the motherboard. I used the nvidia raid manager to setup a Mirrored array consisting of those two drives. The total shows as 1.81TB array.
I boot into OpenSuSe 11.3 and in the partitioner I see two drives (dev/sda and dev/sdb each 1.82TB) listed instead of a single RAID drive. Am I doing something incorrectly that two drives show up instead of the array? Does something need to be enabled?
View 1 Replies
View Related
Aug 1, 2010
I have an internal hard drive split between Windows 7 and Fedora 12. The Fedora 12 install exists on a LVM which presents a bit of a challenge when trying to mirror the drive. I was trying to use gparted but it doesn't have support for LVM. I discovered g4l, which does a bit-by-bit copy and ran a full disk copy using that from the 500 GB internal to a 500 GB external. Inspecting it with gparted, the copy LOOKS like it went correctly.
However, when I disconnect the internal and attempt to boot to the external (specifically in the BIOS), it's unable to boot to it. It instructs me to insert bootable media and try again. Has something gone wrong with the copy? It SEEMS like g4l finished faster than it should have given the copy rate it was operating at (I had figured out when it should finish up), but the screen saver had been on and when I came back it was back at the menu, so I don't know if it got to 100% or ended prematurely? There were certainly no error messages...
View 1 Replies
View Related