CentOS 5 :: Restore Data From LVM Mirror?
Nov 17, 2009I 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 RepliesI 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 RepliesI recently made a script to automatically download a directory from my webserver using ftps (required by hosting company). It seems policy has changed again or something, because trying to download files gets the following error:
mirror: Access failed: 521 Data connection cannot be opened with this PROT setting.I can access the files just fine with Filezilla, but not lftp. I didn't change the code, but here it as anyway:
lftp -f ~/the/file/below
Quote:
open -u USERNAME,PASSWORD DOMAIN
lcd /local/place/to/put/files
mirror
quit
I tried manually, login works fine, but nothing can be done after that.until this works again I've broken a backup system of mine.
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
I have 2 servers each one with a RAID and I want them mirror they data so if one of them goes down the other one take the job with out disruption. I've heard of multipath by I want to know it in detail or learn of more options.
View 2 Replies View RelatedI have two disks from a old computer (now it doesn't exist anymore). They were in raid 1 with this configuration:
Code:
----------------
| disk 1 | disk 2
----------------
| OS
----------------
| |
| raid 1 | raid 1
| |
----------------
There is probably an error in one of the two disks, however raid 1 should allow we to restore data. So now I can physically mount this disks on a machine with ubuntu (ubuntu is on another disk). My question is: how can I restore data from disks? I think that using mdadm is not enough.
I regularly take pgdumpall from production database and restore staging database. Production database size is 4.5 GB. After restoring the staging database size is incremented.
The following command is used to restore pgdumpall file.
psql -U postgres -f dbdumpall
My aim is to sync up production database and staging database.
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 RelatedI 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].....
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
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 RelatedI have just foolishly used live media to install F14. Pre-upgrade of F13 to 14 repeatedly failed. Sadly I used the use all available space option rather than the free space. As a result I have a working FC14 system but no data from my F13 installation. Is there any way to restore my f13 system and/or data?
View 3 Replies View RelatedI have three hard drives that were previously in a Debian server setup to use LVM that I now need to access data on. The first hard drive had a boot partition along with an LVM partition, the other two hard drives were also LVM.From what I remember I have to mount all three at once for LVM to function correctly but I don't have available hardware (particularly a motherboard that can mount all old IDE).Can I use a USB<->IDE converter to image the disks, and then mount them?What Linux distro should I set up to recover the data?ow do I know what version of LVM is needed?
View 1 Replies View RelatedIve installed ubuntu for the first time today, i have a hdd of 500gb, that had 65gb occupied with music, movies and games.
What i did during installation:
it asked me where to install it, so i created a new partition of 100gb ext4 type, to install it there, and i was going to leave the rest for the data, but it wont let me do it, so i went back and selected the "exchange type swap linux 0x82 type" for the 400gb partition.
Then installed it, and now i cant find my data, and i have only 100gb of space in the hd, if i use the "disc utility" i can see the other 400gb, and change partition type, but i dont want to lose my data..
I've occasionally changed HDD filesystem type in Disk Utility from NTFS to Linux Extended . It created an extended partition containing some other partitions instead of NTFS.
View 3 Replies View RelatedI'm using Webmin, and Webalizer plugin. Days ago, webalizer works fine. But starting from yesterday, Webalizer no longer generate reports. And when I try to generate report manually using webmin, I get this message: Code: Running Webalizer to generate report from [URL]..
.. Webalizer failed! See the output above for details. Because I didn't get any details on that message, I run webalizer manually using command:
Code: # webalizer -n mydomain.com And as result, I got this message:
Code: # webalizer -n mydomain.com Error: Unable to restore run data (10) I have few domains in this machine, and for all domains I got the same result. Anyone has any idea(s) about what happened and how to cure it? Few days ago I think I tried to install Perl-Small-XML using CPAN and failed. And I installed awstats too. Don't know whether it's related or not.
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 RelatedI 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]....
This is to request assistance or information as to why the evolution application will not accept the evolution-backup-tar.gz file from a previous version.
Situation: I upgraded by way of a fresh install from openSuSE 11.2 to 11.3 (GNOME desktop).
Before upgrading, I produced the above mentioned backup file so that I could import all the mail, addresses etc. into the new application.
Result: it does not work. The process starts up seemingly normal but then simply sits there forever with the message "evolution shuts down" - but it does'nt. I have to kill it to stop it.
I am looking forward to a resolution since it would be a real pity if I lost the mail history.
I was putting the cover back on my Antec p180b, and I guess it got stuck and gave it a hard bump (pretty much broke the cover). As a result, one of my hard drives, a Seagate Barracuda ST3750640AS, got messed up or something. All the other hard drives are fine. It's in an LVM with another hard drive, so now I can't boot up into my computer. So I booted into the installation CD:
Code:
# find /dev/sd[a-c][1-3]
/dev/sda1
/dev/sda2
[code]....
This led me to believe the partition was messed up. So I ran cfdisk, and it said something about a missing partition table or something. Additionally, instead of showing the single partition on it, it displays, from my recollection, Pri*Log. To my knowledge, this is the only problem with the hard drive. So now I need to either somehow create or restore the partition table without overwriting the data. Or get a new hard drive, and some how recover the data (LVM, partitions, and all).
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 RelatedI 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.
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.
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.
How can I restore the data inside the trash after make it empty ?I need to restore an important folder from the trash and I can't find it there.I am using openSUSE11.1 (KDE)
View 8 Replies View Relatedwhilst installing knoppix 6.3 to my sda, i clicked use all drive and my sdb drive is showing no files in it? has it wiped them out?
View 1 Replies View RelatedI had i a dual boot win. 7 and ubuntu 9.10,recently i had some problem in my windows os so i restored the c drive to factory settings since both operating systems where in c drive so when i tried to boot grub was showing problem.the information displayed was loading grub, the file does not exist rescue grub> so what should i do to restore grub so that i can boot again into windows 7 and ubuntu without loosing my data.
View 1 Replies View Relatedsince 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 RelatedSo 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 Relatedi'm wondering if it's possible to restore the original image file that you have hidden data in with steghide. The basic Idea is you have a photo using gpg sign it and then embed the signature. then remove the signature at a later time and check it with the signature. I hope another "inverse" algorithm doesn't need to be written to undo the first (if a "inverse algorithm is possible). This assume you already have the pass phrase or that there is no pass phrase. I already know how to retrieve the original file just want to remove the hidden data from the Image and restore it's attributes.
View 2 Replies View RelatedI'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.