CentOS 5 :: Server Crash - Restore Backup - Scsi ?
Apr 25, 2011
Client has a server running 5.5 (I think) and it they moved locations. This server is used in other locations (state) via ssh tunnel as well so they can all access files.
When attempting to boot up I get screenshot 1 (superblock errors)[url]
They supposedly have a backup on a hot swap scsi and I want to know how/if I can restore it using that backup if I cant fix the superblock boot/error issue.
I took some other screenshots:
[url]
[url]
[url]
View 1 Replies
ADVERTISEMENT
Sep 30, 2009
this message is a bit long but I've been pulling my hair for 2 days now. I am installing Centos 5.3 on a Dell Powerege R610, x86_64 flavour. That part goes well. next is testing backup & restore. I've tried MondoArchive, that I used on other OS, but it fails to remount the LVM correctly, and disk formatting fails. Now, I am trying another way: boot with centos 5.3 i386 live cd, take the disks online, cpio to a usb file everything but: /tmp /proc /boot /dev /etc/fstab /etc/mtab
then, reinstall a fresh centos to erase the disk (crash simulation) and to simulate the initial restore I would do after a crash. From there, I go again with the livecd, mount r/w the logical volume, cpio -i all my files, and reboot. It sort of goes well. system reboots correctly - it loads all my drivers (even asterisk & dahdi and the T1/E1 card light goes green...), starts KDE, but from there I get an infamous error message preventing me to log in "Your session only lasted less than 10 seconds" - looking in the details, i get this message "could not exe /etc/X11/xinit/XSession default' - but I dont think X11 has so much to do with it...
When I go to a text console (ctrl alt f1), and try to log, no luck either - and no time to see why. I've modified initrd to level 1 - there I get the single user prompt, that's ok - but init 3 brings me to a screen where I cant log (either with root or a user) - there is a clear difference between an incorrect password and a failed login - the later, as soon as I enter the password, I return to a login prompt Now my questions. 1/ how can I make a "system backup" of Centos 5.3 x64 -ie after a crash, I want an image tha t I will restore and bring back OS + Applications (data can be backed up separately) 2/ what is wrong with my restore thru livecd ? why cant I log into the system ?
[Code]..
View 2 Replies
View Related
May 10, 2011
I install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.
[URL]
The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?
View 1 Replies
View Related
Apr 21, 2011
I have 4 different servers with exactly the same hardware. I set up one of them to have a centos install with all the basic stuff I'd like running on each one. I then created an image of the harddrive with the operating system, and stored it on an external drive. I used dd to copy the external image to one of the new machines. It worked fine, everything booted up as normal and with a few tweaks everything was great. The problem is that the drive is rather large (500gb) and it takes days for dd to copy it over. I decided to try a different route, I booted to a usb (using the linux distro on the ultimate boot cd pre-loaded with gparted). There are two partitions on the external drive, a small (100mb) partition which can easily be copied over with gparted, and the larger 480+gb lvm partition.
Gparted doesn't support lvm, so I used fdisk to create a new lvm partition on the new machine, and then pvcreate/vgcreate/lvcreate to re-create the same volume groups/logical volumes that are in the image on the external harddrive. I rsync'ed all the information over from LogVol00, and made the same swap partition LogVol01 (which took WAY less time). I disconnected the hard drive and renamed the volume group to VolGroup00 (initiall I named it differently, since linux doesn't like having the volume groups named the same). I can mount the LogVol00 partition and see all the files as they should be. But when I try and boot up, it doesn't even go to grub, I just end up with a blank screen and blinking cursor. How to make the drive bootable? Alternatively, a better strategy than using dd to restore this image??
View 2 Replies
View Related
Mar 31, 2010
We have a linux server (centos 5.2 final), with postfix smtp server, webmin, usermin and sugar crm
We need to backup all the data, and then perform a restore on a clean machine, without any OS installed yet.
I look into many pages that says that doing a backup on linux it's as easy as pack all the files in a .TAR file. Unpacking the tar will restore the system to it's original state. Also, i'm confused because if we perform a backup and mysql has active connections, perhaps the database would be inconsistent or corrupted. In the restore step, do i need a live CD in order to boot up linux command prompt? �Can it be from any linux version, or only centos version?
View 3 Replies
View Related
May 6, 2011
how to take tar backup and restore in mysql,Iam new to mysql,i searched in google but i did not get the exact one.
View 4 Replies
View Related
Feb 15, 2010
i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-
Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.
Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....
View 2 Replies
View Related
Apr 11, 2011
writting shell scripts,i searched in google but could not get the exact,pls can anyone help how to take mysql backup & restore using shell scripts.
View 3 Replies
View Related
Jun 8, 2009
I am doing a LVM replicate to another server.
Example: server1.foo.com has / , /boot , swap and few LVM partitions. All are in /dev/sda disk of size 80GB. /dev/sda5 is a LVM partition which has only one vg00 and it has 2 LV's (/var and /usr) and a SAN storage connected to this server which has around 500GB of single partition(a LV partition) called /data and its under vg00 .
Now I have build another server called "server2.foo.com" with same RedHat OS version - RHEL 4 and want to import the same LVM setup at destination. Down time or unmounting the filesystem is not a problem (but am trying to reduce the down time as much as possible). Is there any way that I can take a proper snapshot of whole LVM disk and restore with same setup at destination without losing the data and the lvm file system layout?
View 4 Replies
View Related
Feb 27, 2011
I am looking for a way to partition 2 disks automatically with are both connected to 2 different scsi controllers.
I want one disk on one controller to be partitioned with boot and lvm and the other one with a different partition layout.
I there a way in kickstart to do this, like for instance specify the drive module?
View 1 Replies
View Related
Jan 13, 2011
This is a good way to backup my current system:
How to backup your system to restore your server incase the hard disk is damaged.
View 6 Replies
View Related
Jan 19, 2011
I would like to create a bash menu script for my home server For instance if i were to type ./script It would then bring up 3 options
a. Create a backup
b. Restore files from a backup
c. Quit
If you were to select a or b it should then ask you were you want to backup or restore from. And if i were to type in an incorrect letter i should get an error and take me back to menu. I have attepmted this a view time now and have magaged to get the menu up using parameters
View 9 Replies
View Related
Feb 4, 2011
I am now preparing myself to upgrade lenny to squeeze and decided to do a backup on my system. I used backup-manager to do the job and it worked fine. how do you restore said backup data?
View 4 Replies
View Related
May 14, 2010
iSCSI Server, can I change the default port 3260 to other port ?
View 1 Replies
View Related
Mar 30, 2011
I have some trouble with my hp workstation xw4400 with an ATI FireGL 3300 and the X-Server. There was no problem with the graphical install routine and the graphical boot works fine. But when the system changes into the login-screen, then it results in a black screen and a more or less frozen system.
View 3 Replies
View Related
Oct 6, 2010
I'm looking for a simple solution to backup my CentOS Server (5.x) on a daily base to a mounted disk. I found the glastree tool but I have no clue if it will work on CentOS.All recommendations, tipps, hints and maybe scripts are welcome. Unfortunatelly I'm an Linux newbie and starting with Linux CentOS a couple of weeks ago
View 1 Replies
View Related
Aug 13, 2010
I have installed 2 extra 1.5TB drives on a stable Centos 5.5 system. They are set up with 2 unequal partitions on each - with 2 raid 1 arrays. The largest of the raid arrays is used as a new volgeoup with 2 unequal LVMs. The larger of the LVMs is around 1.3TB. I installed an ext4 filesystem (default parameters) on the larger LVM.I went to mount the LVM - the system hung. No keyboard or network response and no response to the soft shutdown button.It was the deadest I have ever seen it - and this system has been incredibly stable.
In the absence of any other suspects - I am tempted to blame ext4 - since I have never used it before - and since wikapeadia tells me ext4 isn't supposed to be in the 2.6.8 kernels...:
[URL]
I will do some more testing on this tomorrow to try to confirm my suspicions. I will try to repeat the crash - then try mounting it as ext3 to see if it behaves differently. Any other tests I should do?What is the status of ext4 in RHEL5.5. Has it been added to the 2.6.18 kernel by RH? Is this what is meant by a "back port"?
View 4 Replies
View Related
Oct 18, 2010
Is there any command available inorder to read the server crash dump files?
View 4 Replies
View Related
Dec 4, 2009
I was working on a shell script to change the permissions of large directories and subdirectories because of an exploit discovered in the programs that run in those said directories that allow a client to upload and download files to the server. Loan behold I accidentally added a space and had something along the lines of "chmod -R 770 ." run on / logged in as root.
Yes, it was an incredibly noob move on my part, but nothing ventured nothing gained. I am surprisingly calm about this. I tried sliding in my CentOS installation disk and "Upgrading" CentOS but that only made it worse, beforehand I made everything owned by root so I could at least log into GNOME. This does not work for obvious reasons, namely having to change the permissions back for every user and every group, which far beyond a possibility.
View 7 Replies
View Related
Jun 27, 2011
on my server I have atMail and a intranet site being hosted using mySQL for the database locally, and obviously backing it up would be a good thing. I got the backup package from the list if you use the add/remove software called dump-0.4.etc.. can't seem to find much on how to use it, set it up, nothing. Granted I could be looking for the wrong thing which I'm sure is the case. As of now it's looking like a USB drive is going to be my only option, that will change in the future as this "project" goes further (we are a windows shop trying out Linux, and the next step is going to be adding another server that's a file server at that point we'll probably go to NAS for the backup and then transer that to a USB for offsite/secondary backup).
View 2 Replies
View Related
Jul 9, 2009
I have re-installed our operating system (CentOS 5) ,what is the best way to restore our Samba server? Can it be as simple as copying the smb.config and smbpasswd files back into the /etc/samba directory? That's what I am hoping. If I just copy the smb.config and the smbpasswd files back to the samba directory will the machine trusts, users and passwords just work? If not, what is the proper procedure for restoring. Actually i want to make CentOS 5.3 as my Domain Controller, I want to test all Scenario in case of any disaster of DC before putting it into production environment. I have some queries as:
1. Is CentOS 5 is more stable than RHEL 5 etc.
2. How can i take back up of entire samba server if need it in case of any disaster. How can i restore it.
3. How can i use logon scripts like GPO in windows servers.
4. How can add users in samba server and linux at one time with one command.
5. tell me any Web based samba administration tool other than SWAT.
View 1 Replies
View Related
Aug 19, 2010
Now, i thinking solution: Backup Data on Server CentOS to HDD Box. When server error, i can restore Server from HDD Box.
View 1 Replies
View Related
Mar 11, 2011
I'm looking to install an automatic backup system for my server. Maybe i will send this backup over internet on ftp server.
Which software to use? There is a better way to do that?
View 2 Replies
View Related
Jul 28, 2009
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.
I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.
View 4 Replies
View Related
Apr 11, 2011
In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.
So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.
But, I observed some differences in following scenario, where
1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.
2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.
(Output attached at end of the thread)
But in /proc/partitions, the device order is different.
You can see their respective sizes in /proc/partition output as well.
So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.
It seems that my assumption is wrong in this scenario.
Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?
How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?
View 2 Replies
View Related
May 4, 2010
When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.
View 6 Replies
View Related
Apr 21, 2010
Have been playing with Centos 5 and finally got it installed and have done most of the updates. Before I proceed much further it would be nice if I could create a backup/install disc of how it is now. No Data,just the setup and software used etc.Have a dvd rw on the server.I recall mondo rescue installed years ago on a linux server we used.
View 9 Replies
View Related
Sep 30, 2010
I have a finely working CentOS server. I want to clone the complete OS (over network) so that I can use it for same functionality on several other machines..
View 2 Replies
View Related
Dec 16, 2010
I have a CentOS 5.5 server that has just recently been updated to 5.6 running PostgreSQL 8.4 and Drupal for an internal website. The server is also acting as a shared network storage between the Linux server and Windows desktops with Samba.
I just recently purchased a license to run Symantec Backup Exec System Restore 2010 for Linux and the only operating systems that are supported are RedHat and Suse Linux.
Does anyone know of a nice open source solution that we can use to create backup images of the server?
In the event of a server crash, we want to be able to rebuild the server via a bit-by-bit backup image.
The CentOS 5.6 is 32bit
View 5 Replies
View Related
Jun 23, 2011
Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here
The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi
View 2 Replies
View Related