CentOS 5 Hardware :: Map Four Hard Disk As Single Volume?
Jul 1, 2010
I need to install a voice recording application on a server.My problem is that I have four hard disks with 150 GB storage space each. So I have 150*4 = 600 GB Storage available as whole .I need all four hard drives (600 GB ) as single volume to store and retrieve recording .
I dont know if this is possible or not but here what I would like to do. I have 6 linux server and each has 100GB disk space. All of these 6 box are compute nodes and space are not used really. However, If I can combine 6 servershard disk that will in total 6*100GB gives you quite a bigger space. Is there any tool or ways to mount these drive in one volume instead of mounting individually ?
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
For portability reasons; I am building a standalone kickstart ISO; based of Cent5.2. I am to the point where I can load my ks file (linux ks=cdrom:/ks.cfg), it reads it fine; and performs the install as I want.
Where I am having a problem; is a good way to have the install use upgraded RPM's, not the base; specifically a kernel with a few needed tweaks in it; which is packaged in an rpm.
I attempted to place my kernel rpm's into the CentOS directory and rerun creatrepo; but I simply managed to corrupt the base repo on the install media.
I ran yum update on my centos 5.6 box a couple of days ago and following this the system would not reboot, dont recall the exact error and don't seem to be able to find it logged anywhere but it was something to do with LVM not being able to find a disk.
In the end I have booted to linux rescue and edited my /etc/fstab file so the system does not try to mount the offending volume group. This enables the system to boot but I need to find out what is wrong with the system and get this volume group accessible again. Here is my edited fstab showing the commented out line. code...
I've added a new LUN to my Centos 5.2 server using Powerpath and have added it to an ext3 logical volume. I extended the logical volume using lvextend and the new space shows up correctly in lvdisplay. What I'm having problems with is getting Centos to see the new disk space (df -h shows 500GB, not 600GB as expected). I've tried running a resize2fs on the new volume but it tells me that "the filesystem is already n blocks long. Nothing to do". Does any one know where I'm going wrong? If possible I'd like to sort this without a reboot.
I have seen that is possible to boot from a USB stick and use a USB memory as hard drive.I have a server enable to hold 6 sata drives 3.5", But I want to use the 6 drives and make a Raid-5 setup for backups 5 -1 spare. /boot cannot be on a raid-5 level 0 or 1. But I want to have redundancy for my OS, them I can install Centos on a Raid-1 using 2 disk, which let me only 4 for the raid 5. I will run a backup I want to have a lot of space.
Using 4 disk for raid-5 2 TB I will have 6TB no spare, no spare is not a good option at least I will prefer 1 spare.Well, I was thinking, the server MoBo have USB support, if I open the box I can see the small entrances, If Centos let me installed on a USB memory drive, can I trust a USB memory stick?t night with bacula.
after installing Ubuntu on one WD 500 GB hard disk and after making mistake and pasting wrong code into Terminal:my OTHER WD 500 GB hard disk that was also in the system (I guess it was "hd1") - died.The problem must be, I guess, I typed wrong code: "hd1,1" instead of "hd0,0".)500 GB (NTFS) of data was on that other (non-Ubuntu) hard disk, and now I can not access it anymore. While booting, system gives "Hard Disk Error" warning and stops.One again: I installed Ubuntu od one hard disk and at the end of instalation I pasted wrong code for GRUB, giving address of another hard disk. Now that other hard disk has error and will not work
I have a sata 320 gb with mandriva linux 2009.1 on it.And it is what curently atached to my cpu. It is shown as 'sda' in the partition table.I also have another 40gb hard disk with windows xp installed on it.It is shown as 'hda' in the partition table . Now what i want to do is attach this 40gb hard disk to my pc and configure grub on my 320gb hard disk('sda') so as to boot windows xp(which is residing on the second hard disk,'hda')Can anyone tell me if what im doing is feasible or not? If it is feasible,can anyone suggest me how to get it working. I know i just need to add 2-3 lines to my grub.conf, but dont know what exactly i need to write.
I had a dual boot (windows 7 + debian), both of them installed in my internal hard disk, with the GRUB in it. I have recently installed a second linux distro (mint), but I put it in an external hard disk. Now the GRUB allows me to boot any of the three operating systems, but I need the external disk to do it. It seems that after the mint installation the GRUB is now working from the external disk (if the external disk is not connected, the machine does not boot.) �Is there a way to change the location of the GRUB, to the internal hard disk of my laptop?
i have Cent OS 5.2 CD (6) with me. I need to install it in my hard disk. I have already installed Windows XP in C: partition. I need to install Cent OS in D: partition. During installation process its asking for hard disk partition. In this regard, how to select the partition. I have C,D,E and F partitions and C,E and F are in common use. So i have to install Cent OS in D partition.
Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.
Can some one tell me how many space does a plan CentOS 5.4 take and the minium size of the memory. Also, what is the minium size I have to partition on /boot
I want to install Cent OS5 on my machine. The Hard Disk is SATA. I want to discuss about how to custom partition the hard disk. In the old version there is a drop down list for manual partition the hard disk. like /,boot,swap,var etc etc. In the new version of centos 5 I can not see things like that. During installation process and in partition page there are things like:
Code: Remove all partitions on selected drives and create default layout. Remove Linux partitions on selected drives and create default layout. Use free space on selected drives and create default layout. Create custom layout.
When I choose custom layout it show me an error message. "An error has occurred-no invalid devices were found on which to create new files system. Please check your hardware for the cause of this problem."
I just invested nearly 12 hours configuring a CCTV system using CentOS 5.5 Server and Zoneminder. I have it setup just the way I want it. I would like to make a clone image of the drive just in case disaster strikes (lightning strike, failed hard disk, etc). In the Windows PC world, I use a program called Ghost to make a mirror image of a hard disk. I power the computer down, run Ghost to make a block level clone of the drive, then power it back up. Can I assume that will work with CentOS without problem?
In the computer now is a 320GB SATA drive. One partition on it is swap, and the other is ext3. There is no raid setup on the drive. I have an identical 320GB drive I could use and keep it in the computer unplugged from the power and not spinning. That way if anything ever happens, I can power down, move the power and data cable to the new drive and power it back up. Granted, I will lose any new config and database changes, but it will be a lot better than starting back at square 1 and reconfiguring the entire OS and software.
I was using Terminal and browsing a directory in my home folder. My "home" directory is located on "/dev/sdb1". When in Terminal I typed "ls" in one of my directories and the output was garbage. The output didn't show the files in the directory. I think it said something like, "input/output error". Unfortunately, I didn't write the exact error down. Instead I rebooted.The hard disk with the problem is:
Code: $ sudo hdparm -I /dev/sdb [sudo] password for brian:
A while back I decided to use CentOS as my main day to day operating system :) Previously I was mainly using Fedora (old Red Hat <9.x) and occasionally Debian / Debian based distros.Since I am running CentOS on a Dell M1530 laptop I am concerned by the Load Cycle issue that plagues many laptop hard disks due to aggressive default power management. For those of you who are not aware of the Load Cycle issue please refer to the following link from Ubuntu forums which documents it really well:URL...
In Fedora and various other distros I have successfully used Laptop Mode Tools URL... to help set the hard disk APM value meaning the hard disk would stop rapidly increasing the Load Cycle value when running on mains. The setting I choose to use was hdparm -B 254 /dev/sda when the laptop is running off of mains power and set in scripts supplied with the Laptop Mode Tools RPM which will run as a service.
The problem I am having with CentOS is I can't get Laptop Mode Tools to run as a service either from the RPMForge repo (old version) or by installing the latest Fedora version from Laptop Mode Tools site above. I am therefore having to manually set hdparm -B 254 /dev/sda when running which I occasionally forget An error is seen during boot but which changes the CentOS boot to verbose mode but I am unable to locate the error in any of the /var/log files so I can put it in here.Can anyone suggest a way of creating a script suitable for CentOS which will auto apply the above (or other) power saving value for when a laptop is running off of mains power?If anyone can also advise how I can confirm what the error is I can also forward it to the author of Laptop Mode Tools.
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.
server is :intel 5000p ,2gX4 ram ,cpu 5405 X13 sata sda 500g sata use for system rootfilesystem primate mastersdb 500g sata use for data filesystem second mastersdc 500g sata use for data filesystem second slavebios set use enhance and ide i install centos5.4 x86_64 on sda when i install system on sda, sdb and sdc is offline.after system install sucess ,poweroff and add sdb and sdc when system kernel start report ata0 error or ata1 error. exp XXXX (rydy).but when only add sdb or sdc ,system can startup and use all service ,exp vncserver ,kvm,pptp..
I am trying to port the current Fedora4 system to the CentOS5 on a new hard disk. Actually, the Fedora4 system is constantly being hacked due to my lazy update. So i prefer a fresh install of CentOS5. I am not clear what files need copy and what does not need for ease and for avoiding possible backdoors.
This is Mushtaq here. I am using CentOS 5.3. Everything works fine regarding Hardware Support except of External Hard Disk. I have a HDD Western Digital 80 GB in USB converted case. Its working fine under WinOS, Fedora 10 / 11 / 12 + & RedHat Enterprise Linux. But CentOS is unable to access it even it does not detect it (fdisk -l command is used to verify the connected disks). Can any one please help me in this regard, I am fed-up of this situation.
my Fedora 11 system is not starting anylonger. It stops with the message:
Code:
VFS: Can't find ext4 filesystem on dev dm-0
The system told me since a while, that a lot of the sectors of one disk of the (software) RAID compound are failed already. So tried to disconnect each of the disks and start them separately. Unfortunaltly this is not working (for one its is not working at all, the other wents the same far as with both), when I tried to recover the system with the Fedora DVD, it said no distribution found. I am quite new and do not know so much about linux system, so i do not know what further information you could need. Maybe it can be important, that both disks are encryped (the system wents so far, that I can type in the password).
I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.
I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).
These are the commands I used:
Quote:
p -a -d -R -v -t /media/raid_array /b* cp -a -d -R -v -t /media/raid_array /d* cp -a -d -R -v -t /media/raid_array /e* cp -a -d -R -v -t /media/raid_array /h*
[Code]....
I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...
So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.
It's still trying to use /dev/disk/by-uuid/412d... to boot.
What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.
We have had a hardisk crash in our RAID1 webhosting server running CentOS5 and Plesk. We first realized something was wrong when our main site didn't load but showed MySQL errors. We then found out that the system was in read-only state. Something that also happened the day before yesterday, but we could fix with a FSCK. Then the system worked well til around 18 hours later when it crashed with the same sympoms. So, we rebooted the server and wanted to do a filesystem check again. But the HDD wouldnt even load. It was gone. Unfortunatelly it was not realized that the second disk in the system was also not working any more for some time now. Fortunatelly we had our main site backed up externally though. So we could re-install a fresh box and mounted the two drives to the system. We checked the harddisk. One is practically empty (the older one), the other has almost only files in 'lost + found' but these are all "numbered", no real filenames or so.
I would like to build a bootable system image on an attached hard disk on a running CentOS machine.The hard disk would be moved to a headless server, where only SSH access would be available. It seems that all the documented install methods assume that the installation runs on the taget machine. In this case, I would like to create a bootable system image of CentOS on a running host system. The new install mage would generally have a newer version of CentOS than the running host system where the image is created. Also, I would prefer to do a text-based install.
The reason for all this is that I have network access to several remote machines. I can ask disks to be moved between machines, but I have no physical access. In order to do software testing, I would like to have several system disks with different installed CentOS versions. It would be easer if I could build the system disks on one single machine. The hardware an all machines is very nearly identical.