CentOS 5 :: How To Mirror Root Disk

Apr 27, 2011

I've got a new server built, shaken down and patched (2.6.18-194.el5). Works nicely.

I don't want to rebuild it from scratch if the root drive goes belly up, but I do NOT have a hardware raid controller.

The root disk should be pretty static at this point... any suggestions how I might back it up?

I was thinking I could put in another disk (same size or bigger) and use cron to run something like this nightly: dd if=/dev/sda1 of=/dev/sda2

View 4 Replies


ADVERTISEMENT

Server :: Disk 2 Disk Mirror ?

Aug 4, 2010

I have some servers running rhel5,they are in mirror disk 2 disk there is no any hardware RAID only software RAID and they in remote place.

Assume RHEL5 hda(Disk1) & hdb(Disk2) currently in mirror, i have to install some patches in it. Before that i have to break the mirror and boot from hdb if it is successful. then i have to apply the patches to hda.

After that i have to boot from hda and check whether the latest patches updated and working fine. finally i have put them in mirror. the same scenario for solaris.

View 2 Replies View Related

Ubuntu :: Resize Entire /root (root.disk) Virtual Disk Space?

Jan 25, 2011

I'm running out of space in wubi. Online wubi help didn't help much since they suggest creating extra virtual disk space(similar to having a diffrent partition i guess) .None of them speak about increasing the size of /root disk space(or root.disk). I store all files in space shared with windows or external disk and use ubuntu only to install and use softwares and browsing. So how do increase the available space for installing more softwares?

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

Ubuntu Servers :: Ext USB Disk As Tertiary Offsite Mirror?

Jul 28, 2011

Looking for a few pointers here.I am trying to automate the adding and removal of two external usb disks to my linux raid mirror (md) that I use for an offsite copy of my data.This is what I currently do.Server has 2 x 500 gb internal disks setup with linux raid 1. (md)I connect 1 of the external usb disks, add it as a secondary mirror to the main array.After it rebuilds, I remove it from the array and take it home.I have two of these external drives so one of them is always offsite, and the other is either being rebuilt, or connected as a secondary mirror.At the moment, this involves running commands manually. I cannot seem to figure out how to automatically add these disks from and to the array with a script. It seems that every time it rebuilds on the external disk, it gives it a new UUID.

View 6 Replies View Related

General :: Which Mirror Image - Create A USB Startup Disk?

Jun 13, 2011

At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.

View 8 Replies View Related

Ubuntu :: Btrfs Convert From Single Disk To Dual Mirror?

May 18, 2010

Was wondering if it's possible to set up a single disk with btrfs and then later on convert it to a 'mirrored' array?

View 1 Replies View Related

Red Hat :: Adding A Root Mirror Drive To Existing RHEL5 System?

Nov 9, 2010

I have a running RHEL5 system, which has two physical disk drives, but is currently running on a single drive of the pair. The single drive the system is running on contains a root/boot partition and a swap partition. I would like to be able to add a mirror drive to this existing setup without having to disturb the running system (much). That is, I don't want to have to completely dump, reinstall (creating the mirror on the way up), and reload from backup media if I can avoid it. I have seen procedures that go as follows:

- the "extra drive" (the one not being used as the current root/boot device) is first brought under LVM control as a root object with one physical mirror attached.

- the data from the running root/boot drive is rsync-ed over to the LVM-controlled half-mirror, and boot records added.

- System rebooted on newly created half-mirror.

- Original root prepped to be second side of LVM mirrored root, and is added in.

Can one boot from an LVM disk directly? There seems to be some question on this that came up in other lists I had read online.

View 5 Replies View Related

General :: How Much Disk Space Needed To Setup Local Repo Mirror

Jan 30, 2010

I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?

View 3 Replies View Related

CentOS 5 :: Mirror Changes In The Repo?

Jul 1, 2011

i want install goldendict and source downloaded and i want compile it. for compile i need this packages :

Building under Linux: Make sure you have those dependency packages installed: libvorbis-dev, zlib1g-dev, libhunspell-dev, x11proto-record-dev, qt4-qmake, libqt4-dev, g++, libxtst-dev, libphonon-dev. They can be named slightly different in different distributions

View 5 Replies View Related

CentOS 5 :: How To Mirror Current Server

Jun 26, 2009

I have a server, running Centos 5 and it is working fine. Now I want to have another server (server2), mirror of my current server (server 1) if any time my (sever 1) stopped responding, (server 2) should start working until I fix server 1.

View 1 Replies View Related

CentOS 5 :: Local OS Mirror Outdated?

Nov 6, 2009

I created a local mirror with a DVD Image, is there a way to get this mirror to 5.4 now?I already updated the updates/extras repo, but now my main-repo is outdated and my updates go wrong.my directorystructure looks like this:

/server/rpmrepo/centos/5]
# ls
centosplus extras os updates

and the os folder:[code].....

View 3 Replies View Related

CentOS 5 :: Restore Data From LVM Mirror?

Nov 17, 2009

I have create a LVM volume in mirror 1 method, with two hard drives, In that one disk is get failed. How can I manage the data availability and also what I need to do next?

View 3 Replies View Related

CentOS 5 :: How To Create A Local Mirror

Aug 22, 2011

I am trying to create a local mirror/repository for CentOS 5.6 for updates and network installs. I have read the page here on the site about how to do it over and over again, and I still can't figure it out. I have already created the directory, but right after that, I can't go any further. I know this is much easier than I probably think it is. Would someone mind telling me, (in beginners terms) on how to do this? I just want the 'os' package and nothing else.

View 1 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 Hardware :: RAID Mirror Not Loading?

Nov 28, 2009

I recently setup a software RAID1 with two hard drives for testing. I manually unplugged one hard drive to test redundancy and it was fine. I then did the same to the second and plugged back in the first and it was fine. But when I plugged both back in it is only loading one of the mirrors instead of both. I am guessing when the mirror (failed), at least as far as the system knew it removed it from the load sequence to prevent data corruption... how do I go about re-enabling it?.

cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[1]

[code]....

View 1 Replies View Related

Red Hat :: Increasing Disk Device To / Root Disk Enterprise Server 4?

Mar 25, 2010

I am having problem with the root disk / fill up. So now that i have the disk information provided from SAN team Id 0:3, how would i do to add this device to / to increase space on Redhat Enterprise server 4?

View 1 Replies View Related

CentOS 5 :: How Mirror List Works And Decide Status

Apr 1, 2009

I was puzzling over the nss dependence problem that people are having in upgrading 5.2 to 5.3. The issue is clear (that the mirror people are using for [updates] is not pointing to the latest set when an uptodate mirror may be being used for your [base]). My question is though how the mirror list decides whether a mirror is fresh. According to [URL] then this mirror [URL] is "green" which presumably means that the system thinks it is up to date (last probe was 1 hour ago). However if you look at the files on the mirror now (12:54 BST, Apr 1 2009) you see that the date of the 5/ branch is 24-Jun-2008. Thus this host is not ready to give you updates to 5.3. Is this a bug?

View 2 Replies View Related

CentOS 5 :: LVM2 Clustered Mirror Monitor And Repair?

Apr 8, 2009

I am using LVM2 Clustering to mirror logical volumes between 2 different storage arrays ( iscsi target hosts). Everything is up and running fine, but I would like to be able to monitor the status of the mirror(s), and "re-sync" them if necessary.

I have attempted the locate the information from Google. From what I have read, lvdisplay -v should tell me whether the mirrors are in sync, but it either is not, or I am simply miss reading it. I have come also across information stating lvchange -m [ 0 | # ] should be used to add or remove mirror copies. Is the is correct / only way to "resync" a mirror, in the event that I can determine the mirror is actually out sync?

For those who are familiar with Symantec's VERITAS volume manager, I am looking get the equivalent information related to plexes from vxprint, the equivalent function from /etc/vx/bin/vxreattach -br, and the progress information from vxtask list. I hope the information is currently "search challenged", or I am simply not fully comprehending what I have found.

View 1 Replies View Related

CentOS 5 Server :: Setting Up The Local Installation Mirror?

Jan 11, 2010

I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:

#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result

[Code]....

I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.

View 3 Replies View Related

CentOS 5 :: WGet Syntax To Download Repo From Mirror

Jan 21, 2010

After reading a lot of docs, I'm still having problems using wget to download a Centos repo from a mirror. Here's my best attempt so far:
$cd /repos/centos/5.4
$wget -r -nH --cut-dirs=3 -np [URL]
Of course I get all the unwanted index files etc, but I seem to get a lot of other downloads from the mirror, not just their 5.4 directory. It's like it's following other links on the web pages. Maybe I should be using "ftp://" instead of "http://" considering it's an ftp site, but I seem to have connection problems that way.

View 1 Replies View Related

Hardware :: Failed Hardware Mirror Disk- Convert One Drive To Non-mirrored?

Aug 30, 2010

I own an Iomega NAS enclosure. It is basically a card with 2 sata drives attached and a network card that runs an small web interface. To make a long story short. The controller card has went bad. One drive dropped out of the mirrored set.... and then came back in and attempted to rebuild. Several hours later the drive dropped out again. I attempted to replace the drive and the controller would not rebuild at all.

To summarize. I have accepted that the controller card is toast and want to proceed assuming one drive is compromised and the other still has salvageable data (About 18 GB needs recovered) I took the presumed "good" drive.. attached it to a standalone enclousre that takes it from sata to USB.When I look under disk manager (using Ubuntu 10) I see the following appear

1) the multi Disk device appears indicating it is part of a logical drive. Indented from that is

2) The "Array" Icon

3) The USB icon indicating a "peripheral device" Indented from that is

4) the Drive as a 500 GB hard disk (correct)

when i click on 4) I see 2 volumes 1 1GB volume with partition type Linux (0x83) and a 499 GB partition with the same type (0x83) However..because it thinks it is part of an array it is not mounting. HOW do I tell this drive "you are not in an mirrored array anymore...mount as a single drive"

View 2 Replies View Related

CentOS 5 :: Low Bandwidth From MIRROR.VCU.EDU - Removed From Updates/mirrorlist.txt, Life Is Good Again

Jun 15, 2010

since yesterday, this domain has been painful slow and the only fix is removing it from /var/cache/yum/updates/mirrorlist.txt the last straw was about an hour ago, when 10kb/s was the max bandwidth and I had to download perl and glibc * glibc-common it would have taken over an hour. once removed from updates/mirrorlist the other mirrors picked up the slack and I was back in business,

View 1 Replies View Related

CentOS 5 :: Yum Hanging - Loading Mirror Speeds From Cached Host Files ?

Mar 1, 2011

So everytime i try and use the "yum" command. for some reason it doesn't go past this point: "loading mirror speeds from cached host files". i cleaned up the cache and rebuilt the OS again, and im still getting this problem. would this be a problem with my internet connection? I'm using CentOS 5.5.

View 1 Replies View Related

CentOS 5 :: Redistribute A Disk Without Loss Of Data Namely It Is Necessary To Make / Boot And Two Equivalent On Disk Volume?

Aug 24, 2009

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.

View 3 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

CentOS 5 :: Yum Freezes On "Loading Mirror Speeds From Cached Hostfile"

Feb 9, 2011

I'm trying to install RubyGems, but when I run:

# yum install rubygems -v

...yum displays "Loading mirror speeds from cached hostfile" and I can't get any further. The same thing happens when I try to run:

# yum upgrade

I'm running CentOS 5.2 on a MediaTemple (dv) server.

View 2 Replies View Related

CentOS 5 :: Easiest Way To Mirror Existing Server Setup On A New Server?

Jan 13, 2011

We have two CentOS 5 servers in production (web and database). We are setting up a single staging server that will mirror the configurations of these servers as closely as possible. What is the easiest way to ensure the exact same software and configs as the production servers are setup on the new staging server. Our contracted data center provider has already informed us that they do not perform images and NO we do not have physical access to the machines. It is undetermined whether we will be virtualizing the staging server into two virtual servers yet, so for the purposes of this post lets assume we are not. I'm seeking a faster/more precise method than doing this by eye and hand.

Some information on our web server code...

View 4 Replies View Related

Fedora :: Use Local Mirror For Yum - Set No Proxy For Local Mirror?

Jan 9, 2010

I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):

[code]....

View 2 Replies View Related

CentOS 5 :: Install CentOS 5.2, And The Installation Ran Out Of Disk Space After Running For About 2 Hours?

Feb 18, 2010

I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.

View 13 Replies View Related







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