CentOS 5 :: Moving Drives To New Hardware?

Jun 22, 2011

I have recently lost quite a bit of electronics around the house to a power surge/lightning strike (all items were on APC backups). The drives from my server were undamaged and I have a new server to host them in. I am having a hard time getting the new server to boot up with the old drives (trying to avoid a fresh install/rebuild of server). The hardware is very similar but not identical. At this point it gets to the following during the boot process:

Scanning and configuring dmraid support devices
md: Autodetecting RAID arrays
MD: autorun ...
MD: ... autorun DONE.
MD: Autodetecting RAID arrays.

[Code]...

View 2 Replies


ADVERTISEMENT

Slackware :: Moving RAID1 Drives Into Computer With Same Md Numbers?

Feb 12, 2011

My old workhorse computer's motherboard died yesterday, and I want to get everything off of its RAID1 array. I have a backup on an external drive but it's a few weeks old and I'd like to make sure I've got everything.

The old machine ran Slackware 12.1, and had a 2-drive IDE 250GB RAID1 array with partitions:

md0 - swap
md1 - /

The new machine has Slackware 13.1, and also has a 2-drive SATA 250GB RAID1 array with partitions:

md0 - /
md1 - swap
md2 - /home

I put the IDE drives from the old computer into the new one. I'm not sure how to get the old array going now. I'm not sure if I should use mdadm with --assemble (since the array was already set up before) or with --create (because the array needs to be renamed so it doesn't clash with the new computer's md1). I'm thinking I should use --create and give the old md1 a new name (md3). But I'm not sure if anything bad will happen if I use --create on an array with data on it.

Output of mdadm -Esv:

Code:

ARRAY /dev/md0 level=raid1 num-devices=2 UUID=9a0cc71f:df5e59d9:50e7b281:3adcc49f
devices=/dev/sda1,/dev/sdb1
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=698c321a:8008c659:d8c7deeb:c1dd303c

[code]....

The old drives are the last two entries, sdc and sdd. It's odd that the order is reversed. I had (non-RAID) Windows partitions on both drives and I've mounted them and verified that the drives are on the IDE cable in the right order, and sdc is the original 1st drive of the array, and sdd is the 2nd drive of the array.

View 1 Replies View Related

CentOS 5 :: Moving Files From CentOS VPS > Windows Home PC?

Jun 11, 2011

I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?

View 2 Replies View Related

CentOS 5 Hardware :: Moving Centos From Intel To Amd?

Jul 14, 2011

I got a crash on intel machine running intel cpu (CENTOS 5)I would like to know if i can move hdd to new machine with amd cpu? 3 hdd (raid 0 on 2 of them)system is on hdd without raid.

View 1 Replies View Related

CentOS 5 :: Accessing Windows Desktop And Drives From Centos And Vice Versa?

Oct 3, 2009

i find this is an issue which might be tiresome for everyone except for those experts. Esp. for the computers which are dual booting(both windows xp and centos installed in the same computer), that when we are in CentOS we need to switch onto windows immediately. and vice versa. i see this is possible only by shutting down the centos/windows and then restarting onto the other OS.

Can anyone tell me the the solution to work simultaneously both xp and centos without the need of shutting down and restarting There maybe or may not be the solution...but i find the pleasure to know if there is for example, remote desktop connection in windows xp, is there any solution, we can work on windows via centos or vice versa ( in the same machine),

View 2 Replies View Related

CentOS 5 :: Moving From Centos 5.2 To 5.3 Breaks USB HUB Use?

Jul 4, 2009

I help develop an Asterisk channel driver that uses USB audio devices to link amateur radio stations via the Internet.All worked well under Centos 5.2 but I recently upgraded to Centos 5.3. I now get either "cannot submit datapipe for urb 0, error -28: not enough bandwidth" followed by a kernel panic or choppy audio depending on the use of either single or multi-TT hubs. For at least 4 devices, things do work under Centos 5.3 if I have a PC with 4 USB ports and do not use a hub. Of course I need to use a hub in most cases errors but even with a single device connected, data seems to be lost resulting in choppy audio. We need the hubs to work for larger systems and PC's with only 2 USB ports.Hardware:

USB 2.0 Audio Device Class 1.0, C-Media CM108
USB 2.0 HUB, 7 port with one TT, NEC UPD720113 or
HUB 2.0 HUB, 7 port with multiple TT's, Genesys Logic GL852.

[code].....

View 1 Replies View Related

CentOS 5 :: Moving RPM On Disk To A Dir?

Aug 19, 2010

What I'm doing is attempting to create a minimalized CentOS which only installs the base components.

I decided that I'd install everything I need, then I did a ..

rpm -qa > installed-packages

I think used this new file to move all the RPMs that were used during the installation from ~/CentOS/disk/CentOS/ to ~/CentOS/graveyard

[root@localhost CentOS]# cat installed-rpms-no-vers | while read file; do mv disk/CentOS/${file}* ~/CentOS/graveyard/ ;done
mv: cannot stat `disk/CentOS/iptables-ipv6*': No such file or directory
mv: cannot stat `disk/CentOS/nss-tools*': No such file or directory

[Code]....

View 5 Replies View Related

Red Hat :: Booting Centos 5.4 - CentOS CD Not Found In Any Of The Media Drives

Apr 7, 2010

Since RHEL is similar to CentOS posting it here.

Upon booting from DVD, i get the below error: "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

I have IDE Sony DVD RW AW-G170.

BIOS Setting:

Downloaded the CentOS-5.4-i386-bin-DVD image from centos.org from DVD.torrent using bittorrent file.
When booting from the DVD, it gives me the boot prompt:

Upon pressing enter, the log messages of the boot detect the media drive as: hdc: Sony DVD RW AW-G170 IDE ATAPI CD.

The below steps occur:
1) Select the keyboard type: selected us

2) Select the Language : selected us

3) Select the image:
- Local CDROM
- Hard Drive
- NFS Image
...
...
selected Local CDROM

Then the above error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

The booting steps does not ask the for media check step.

The below methods have been tried to solve the problem:

- Burnt the image in another 2 DVDs but the same error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

- Upon burning the DVD image , selected the DVD read speed: 8x. Upon burning the DVD selected 18x for burning. and then tried to boot with that DVD

- At the boot prompt entered : linux hdc=cdrom replaced hdc=hdb but the error remains.

View 1 Replies View Related

CentOS 5 :: Install Of Centos Onto A Pair Of 750GB Drives?

Jul 9, 2010

I have run into a bit of a problem. Trying to get a new install of Centos onto a pair of 750GB drives.

These were once part of a software raid setup. The installer reconises them as a ddf1 raid set. so it does not list the drives as 2 individual drives. I can get around this with the nodmraid

View 7 Replies View Related

General :: Moving From Fedora To CentOS?

Mar 31, 2010

I have Fedora installed and I am trying to change to CentOS. Can't boot from live CD I download

View 2 Replies View Related

CentOS 5 Hardware :: Moving From IDE To SATA?

May 27, 2009

This might be a common topic but searching yielded me no results. I am trying to take one of my NAS servers from an IDE hard disk to a new SATA hard disk. Reinstalling the OS is not an option. I have a working system and have cloned the disk using Acronis True Image to a SATA hard disk.

First, Grub has to be reinstalled which is no problem. I have done this and it works just fine. My SATA drive is booting through Grub and attempting to load CentOS. Obviously the problem lies in that my original drive is /dev/hda and my new disk is /dev/sda

I have changed the following to try and correct the issue:
/boot/grub/menu.lst
/boot/grub/device.map
/etc/fstab

The new disk is still having problems booting. I have attempted before to create a new inittab but I am not sure it was successful and I encountered the same issues. After booting via Grub, here is the message that I receive

Unable to access resume device (LABEL=SWAP-hda3)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory

[Code]...

There must be some places that still reference hda. That first line of the panic message talks about SWAP-hda3. I have changed an entry like that in the Grub config but it still shows up at boot time.

View 1 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

CentOS 5 :: Moving Logs Automatically?

Mar 8, 2010

I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)

View 1 Replies View Related

CentOS 5 :: Moving /var And /usr Partitions To Different Hard Disk?

Apr 3, 2009

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.

View 3 Replies View Related

CentOS 5 :: Moving Root Filesystem To Another Disk?

May 19, 2009

Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.

What Im going to do now is:

1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 6 Replies View Related

CentOS 5 Hardware :: Moving System From Usb To E-sata?

Nov 11, 2009

I've a pc running Centos 5.4 with an uniq external hard disk hooked by USB (no internal drive). I'd like to hook it through e-sata to get performance improvment. So I am using a sata->e-sata connector to plug the disk.The disk is well detected by the bios, and Centos begin to boot but when it wants to mount the volume groups I've a kernel panic.VG and LV names are detected, but the system says it can't find them (there is a /dev/root not found error message)If I boot the system through a live cd I can mount and access VG/LV without problem any hint to get the system up and running through sata ?

grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that

[code]...

View 1 Replies View Related

CentOS 5 Networking :: Moving Interfaces At Boot?

Oct 6, 2010

I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.

#! /bin/bash

# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............

View 1 Replies View Related

CentOS 5 Hardware :: Hard Drives - Creating "alternate" Boot Partitions And "alternate" Root File-systems On The New Drives

Aug 10, 2010

I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:

1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time

2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?

3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?

View 6 Replies View Related

Fedora :: Moving Cursur Its Moving But When Clcking On Touch Pad To Open Anything Its Not Opening?

Sep 13, 2009

I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.

View 2 Replies View Related

Ubuntu :: Moving Buttons To Left - Keep Moving Back

Mar 27, 2011

I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.

View 2 Replies View Related

CentOS 5 :: 5.6 On 3TB GPT Drives ?

May 30, 2011

I've got a some new servers populated with Hitachi 3tb disks. The disks use the GPT partition table with normal size sectors. I was able to complete an install by using Ubuntu Natty to format the drive and install Grub2, then run a patched version of the CentOS installer following these instructions here: [url]

It works, but I've installed Ubuntu on another partition just in case I need to make any changes to the disk. I'm wondering if I can upgrade to Grub2 and install GPT aware partitioning tools so that I don't have to reboot into Ubuntu to make those changes.

View 1 Replies View Related

CentOS 5 :: Grub On DOMU Will Not See Any Drives

Apr 25, 2009

I have a problem with a VM running Centos 5.3 on a Centos 5.2 hypervisor. Any kernel install makes the system unbootable and I have to copy an old /boot directory to get it to boot again. After some investigation I found that grub was always failing. These are the partitions I have. xvda is the OS virtual drive. xvda1 is the /boot partitition and xvda2 is the LVM partition. A standard default install.

cat /proc/partitions
major minor #blocks name
202 0 14648448 xvda
202 1 104391 xvda1
202 2 14538825 xvda2
202 16 195313152 xvdb
202 17 195310206 xvdb1
253 0 11337728 dm-0
253 1 2031616 dm-1
253 2 190840832 dm-2

Apparently, this file could be suspect. But it seems to be OK according to what I have read.
cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/xvda

If I try to re-install grub I get...
Attempt 1)
grub-install hd0
/dev/xvda1 does not have any corresponding BIOS drive.

Attempt 2)
grub-install /dev/xvda
expr: non-numeric argument
/dev/xvda1 does not have any corresponding BIOS drive.

Attempt 3)
grub-install --recheck hd0
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.

Attempt 4)
grub-install --recheck /dev/xvda
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.

Attempt 5)
grub
Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]
grub> root (hd0,0)
root (hd0,0)
Error 21: Selected disk does not exist

This is my grub.conf file...
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that all kernel and initrd paths are relative to /boot/, e.g.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.1.6.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.6.el5xen ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-128.1.6.el5xen.img

View 1 Replies View Related

Hardware :: Replaced 2 IDE Drives: CentOS Only Sees 1

Jan 6, 2010

I recently had to reload CentOS (5.3) on a box because of an unrelated problem (one of its SATA drives went belly up). I decided to update the old (reliability questionable) 80 GB IDE HDs that had been in it with some new 160's while I was changing stuff around.

the BIOS sees both IDE drives, and so does a bootable Acronis CD I have (boots some Windows version). But CentOS refuses to see both the IDE drives (the new SATA drive dropped in w/o difficulty). I spent some time messing with Master/Slave settings and switching disks around--CentOS only sees the Master disk (whichever physical drive that happened to be at the time--clearly was not a bad drive). Here's what dmesg has to say for itself in the relevant section:

Code:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE-MCP55: IDE controller at PCI slot 0000:00:04.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqs later
NFORCE-MCP55: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE-MCP55: 0000:00:04.0 (rev a1) UDMA133 controller
[Code]....

The MB is a Tyan S2912 w/ 2 Dual-core Opterons (with an admittedly older BIOS, but the BIOS sees the drives; and so does the different OS so it seems like it's gotta be something w/ CentOS). The extra space of the 2nd IDE drive was not critical, so I just took it out for the time being (may try a BIOS update later).

View 7 Replies View Related

CentOS 5 :: Mirror The Drives And Link All The Servers Together?

Oct 11, 2009

I am Setting up 3 HP Proliant servers with 2 250GB Hard Drives in each. How Do I mirror the drives, and link all the servers together??? I am installing Centos 5.3. From the software install menu I installed Gnome, and the Server software, but can't seem to figure out how to get into the server side of it from gnome. Sorry for all the questions, but I have been out of the loop of all this for about 8 years and trying to re-learn everything.

View 4 Replies View Related

CentOS 5 :: Dual Boot 5.4 And Windows XP From Different Drives

Mar 18, 2010

I have Windows XP installed. And I also plan to install CentOS 5.4.I have two hard drives. Hitachi 500 GB and WD 500 GB.Windows XP is intalled on first drive And I plan to install Linux on Second drive. And since i find some contradicting and not understood by me posts. I have to be sure what to do. I can install Linux, then i can edit grub. and add there something like:

title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1

When its on one drive as I understand it will definately work. But if its on 2 different drives. There is a problem that windows doesn't boot from secondary drive. So I find this article witch i cannot understand. Do i have to understand it? Or its wrong and bad decision.

[URL]

I have no RAID.After all what is step by step process of creating bootable CentOS and Windows situated on different hard drives drives?

View 19 Replies View Related

CentOS 5 Server :: RAID0+1 Or Other Setup For 4 Drives?

Mar 30, 2011

I tore down my old ftp server running FreeNAS because it had some issues. I decided to add a couple more drives and install CentOS on it instead. So now I have 4x 2TB drives that I set up yesterday.OS is installed on a usb flash drive exclusively while I chose to set up the 2TB drives in two stripes and then mirrored, for RAID0+1 instead of RAID1+0.

/dev/md0 = drive 1+2 in RAID0
/dev/md1 = drive 3+4 in RAID0
/dev/md2 = md0+md1 in RAID1

Well, the sync time for these two mirrors of blank drives is almost done, having taken some 15+ hours.I chose this setup to have a single 3.6TB file system mirrored to another 3.6TB for "backup". As this is only going to be a headless ftp server, I don't need massive redundancy/backup. A mirror should suffice if I need to pull some files.So now I'm second guessing myself. I'm wondering if it is even worth it to stripe 2 drives into a single volume with such large sync times. Since data xfer will be over internet, I don't require the massive file writing capacity that would be preferable if it were in my home as a NAS. So, the "performance" increase of RAID0 is not strictly mandatory.

I'm wondering if I should just wipe the drives and set them up in JBOD or LVM instead of RAID0 arrays.In case of boot drive failure, I'd be booting a livecd to xfer files elsewhere or recover the boot drive. So, what difference would I see if I were livebooting to md0, md1, md2 for data viewing as opposed to livebooting to an LVM or JBOD array?As an aside, the drives are WD20EARS, which are 4k sectors which I aligned to start at sector 2048 in fdisk.

View 8 Replies View Related

CentOS 5 :: Poweredge 6450: No Drives Showing On Setup?

Apr 4, 2009

I want to change one of our poweredge 6450 servers over to Linux, specifically CentOS, however, I cannot seem to install the operating system. When I boot to setup, go through the first couple of pages and then go to the page that asks you where to install CentOS, no drives are shown in the list, and I can't continue. I'm guessing there are missing drivers for the SCSI controller or something along that lines, but I'm not sure, and I can't find any answers on Google either.

View 3 Replies View Related

CentOS 5 Hardware :: How To Mount 2 Ntfs Hard Drives

Dec 11, 2010

How can I mount 2 NTFS hard drives, preferebaly automaticaly on startup. a GUI would be nice too.

View 3 Replies View Related

CentOS 5 :: Upgrading RAID5 Array With Larger Drives?

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

General :: Centos 4.4 - 3 Of 4 Hard Drives Removed Now Won't Boot- Can't Find?

Jan 15, 2010

centos 4.4 - 3 of 4 hard drives removed now won't boot- can't find lv so kernel panic

View 2 Replies View Related







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