Corrupt O/s, Need To Restore From Original Drive

Mar 26, 2007

O/S was corrupt so I had to do a reload on a new drive. I'm trying to mount original drive (already connected as 2nd) but it is not showing up in df -h


Code:
root@server080 [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 145G 2.5G 135G 2% /
/dev/sda1 99M 12M 83M 12% /boot
none 252M 0 252M 0% /dev/shm
/usr/tmpDSK 485M 11M 449M 3% /tmp
/tmp 485M 11M 449M 3% /var/tmp
/dev/sdb1 99M 12M 83M 12% /backup
root@server080 [~]# e2label /dev/sdb1
/boot1

root@server080 [~]# dumpe2fs /dev/sdb1 | grep -i superblock
dumpe2fs 1.35 (28-Feb-2004)
Primary superblock at 1, Group descriptors at 2-2
Backup superblock at 8193, Group descriptors at 8194-8194
Backup superblock at 24577, Group descriptors at 24578-24578
Backup superblock at 40961, Group descriptors at 40962-40962
Backup superblock at 57345, Group descriptors at 57346-57346
Backup superblock at 73729, Group descriptors at 73730-73730

/etc/fstab shows


Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/dev/hda /media/cdrom auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0

View 1 Replies


ADVERTISEMENT

Drive Corrupt, Recovery From 2nd Drive Mount

Feb 16, 2007

Primary drive (centos/cpanel) is corrupt

The server is displaying these errors when I tried to do an FSCK:
Bad inode IO
ext3-fs error (device(8,3)) IO Failure

I am having a new primary installed and old primary set as 2nd drive. I need to recover the cpanel domain accounts from this 2nd drive after I mount it with the method below:

mkdir /backup
mount /dev/sdb1 /backup

However, how do I actually recover these accounts in an automated process via whm? I've done this before with the same matter (corrupt primary drive, mount as 2nd, etc) but cannot exactly remember the proper steps.

View 14 Replies View Related

Drive Corrupt - Should I Ask For New Drive Or Reimage

Jul 9, 2007

I have a dedicated box and I started getting Input/output errors today.

I tried:
# fsck
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

then I tried:
# fsck -a -t ext3 /dev/hda2
fsck 1.40-WIP (14-Nov-2006)
/dev/hda2: recovering journal
fsck.ext3: unable to set superblock flags on /dev/hda2

My data is backed up, so was going to ask for a reimage, but is this an indication of bad hardware? Should I ask for a replacement drive? Is there anything else I should try on my own before going to the host?

View 6 Replies View Related

FTP Uploading Corrupt

May 30, 2008

The Details:

XP Home, Verizon DSL, AVG, ZoneAlarm, CoffeeCup FTP, FileZilla FTP

So this all started about 5 days ago and I cannot think of anything that I did to associate this issue with. I'm very computer savvy and no one else uses this computer except for me (to help move things along faster). Essentially what happens when I start CoffeeCup FTP or FileZilla FTP (testing to make sure it wasn't just a problem with CoffeeCup FTP) and try to upload image files it fails, not the upload itself.. but somehow the image files are corrupt (no they're not CMYK, they're RGB). So it shows the file on my server, correct size, no error messages. However, when I go to the image URL it just shows the image URL where the image should be. I then restart CoffeeCup FTP and everything uploads properly. I've checked the lines on DSLReports.com, I've checked ZoneAlarm to make sure that I didn't somehow accidentally click no to something (which is unlikely). I keep my computer very clean and very organized and very up to date so it would be more helpful to me if someone could share some ideas of something that could happen that's not of my control. Could this possibly have anything to do with SP3 (the only thing I can recall being a change on my computer).

View 4 Replies View Related

/etc/fstab Corrupt

Nov 9, 2007

i have install 3-4 dell PE server withn cenots 5, on the server there is only the OS, i have reboot the server and it work fine, after 4-5 days the system was unstable rebooting it i have note that can mount the partition, i have check the /etc/fstab and i have found that the fstab was corrupt, there are a lot of entry for /dev/shm, why happend this? how can i recove the fstab?

View 3 Replies View Related

Fstab Corrupt

Nov 20, 2007

i have a strange issue on my centos 5, the fstab get corrupt, we have reinstall the OS and with the server empty it get corrupt again, the same problem on a second server, seem that is add /dev/shm line, like this one:

LABEL=/ / ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
LABEL=/home1 /home ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
proc /proc proc tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
sysfs /sys sysfs tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
LABEL=/tmp1 /tmp ext3 rw,noexec,nosuid,nodev 1 2
LABEL=/usr /usr ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
LABEL=/var /var ext3 tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0,usrquota 1 2
LABEL=SWAP-sda5 swap swap tmpfs /dev/shm tmpfs rw,noexec,nosuid,nodev 0 0 0 0
/tmp /var/tmp ext3 /tmp /var/tmp ext3 rw,noexec,nosuid,nodev,bind 0 0 0 0

View 4 Replies View Related

Access Corrupt Partition

Jun 25, 2008

I have two partitions on my hard drive, each have an installation of windows XP, the old partition got corrupt and I can no longer boot windows from it, however I am able to see the files when on the other partition, the problem is I am unable to access the files.

Is there anyway I can get permissions to delete/move those files?

View 3 Replies View Related

Xen Disk Image: Corrupt

Jun 19, 2008

I created a 4GB disk image for a virtual machine in Xen. (I have root on the physical box, so please don't tell me to contact my VPS provider!)

The disk was filling up, so I took the advice online and created a 6GB file with dd (zero-filled), cat'ed it to the end of my disk file, and then...

[matt@babe centos]$ sudo resize2fs -f ./cent.img
resize2fs 1.39 (29-May-2006)
resize2fs: Bad magic number in super-block while trying to open ./cent.img
Couldn't find valid filesystem superblock.
Of course, fsck won't take a disk image, only an actual partition. And I can't mount it, since I get the same error about a bad superblock.

The VM actually boots up fine, but it only sees 4GB of what's now a 10GB file.

I can use losetup to mount it on a /dev, but still get fsck errors:

[matt@babe centos]$ sudo fsck.ext3 -b 8193 /dev/loop3
e2fsck 1.39 (29-May-2006)
fsck.ext3: Bad magic number in super-block while trying to open /dev/loop3

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

I don't know what blocksize was used, so I don't know where to look for a superblock... (I'm out of my league on fsck'ing virtual disks.)

The thing boots fine and is non-mission-critical right now, so worst-case, I can just mount it, rsync the data to the host, and then set up a new machine and rsync that in... I'd just rather not go through that hassle if I don't have to.

View 3 Replies View Related

Can We Fix /tmp To Original After Resized It

Jun 19, 2007

I made a mistake that i resized and modified the /tmp directory. Can i have it back from original ? if so, how do i do it ? I'm using CentOs 5 64bit and DirectAdmin.

View 6 Replies View Related

EXT3 File System Corrupt - I'm Screwed And Going To Shoot Myself

Jun 14, 2007

Our server with raid 10 has had a failed hdd (which was replaced) and a
corrupt ext3 filesystem.

The server is now booted with Knoppix but drives will not mount. All we are trying to at this point is salvage as much data as we can.

View 12 Replies View Related

Data Lost , But Still Have Old Home Drive , How To Copy To New Drive

Jan 26, 2007

1- i did Os Reload with new Hard drive for "home"
2- data "backups" drive lost

3- replaced the old home drive as "/old drive"

4- " /old drive " is now the secondry drive in my server and it has the all sites usres and evry thing

5- what i need , to trasfer, copy this sites from " /old drive " to "home"

but data center said

The /olddrive/home directory contains the contents that were previously in the /home directory. You can copy files from this directory to any other directory on your server.

The command to copy files in the UNIX environment is the "cp" command.

The user directories in /olddrive/home directory contain the web page files for the users. However, simply copying the contents over will not recreate the users or domain entries in DNS/httpd. If you wish these back you will need to recreate them manually or restore them from backups.

View 14 Replies View Related

Overwrites/usr/bin/INSTALL, Do I Need The Original Back

Jul 21, 2008

I was trying to install some software before I really knew how. I copied some files over to /usr/bin and overwrote

/user/bin/INSTALL
/user/bin/README
/user/bin/PGK-INFO

Do I need those original files back or am I ok?

View 6 Replies View Related

Plesk 12.x / Linux :: Full System Restore With Rsync - Restore Safe?

Mar 23, 2015

Would like to know what are the dangers of backing up and restoring full entire system backups (with plesk installed) to another server with a different ip address? Will the restored plesk setup operate properly and offer an ip address change in the system, or will there be any pre-requisites required such as manual ip changing within the system core files?

View 1 Replies View Related

How To Copy My Current Drive Contents To A New Drive

Dec 28, 2007

I just purchased a brand new 10K 150GB drive. How can I take an exact copy of my current drive and transfer everything over to the new drive? I think I need to create a snapshop, or mirror it somehow.

What software will do this? I was told trueimage, but its very pricy, is there anything else?

View 8 Replies View Related

Original Boxes To Ship The Servers Back

Apr 7, 2007

For VOIP traffic I am thinking of moving some servers from bay area to C4D.

I store all my server boxes so its easy to UPS them.

My question is if i wanted the servers to be shipped back from c4d in case of any reason in future do they keep the original boxes around to ship the servers back?

View 9 Replies View Related

Apache :: URL Rewritten But Still Original One Also Works And Not Redirecting

May 13, 2014

RewriteRule ^massaggi-([^/]*)$ /an.php?prov=$1 [L]

View 1 Replies View Related

Forwarding Mail In CPanel And Not Keeping It At The Original Account

Jul 5, 2009

I'd like to create a forwarding address, and not have the original account keep the mail - but without having to delete the original account, since I'd like to keep my existing emails.

For instance if the old account is apples@domain.com, I'd like to forward new emails to oranges@new.com, where apples doesn't keep the new emails. Currently in cPanel when I create a forwarder apples@domain.com=>oranges@new.com, new emails are sent to both accounts.

View 3 Replies View Related

IP From Our Server Company Blocked Because They Do Not Point Back To The Original

Jul 27, 2008

We have a server with a fine company, BocaCom. They are who the IP addresses are we use ultimately registered to. It seems we are being blacklisted by secureserver (isn't that Godaddy?) because the IP does not register to us for our outgoing email. It registers to BocaCom.

Is anyone else having this problem, and how to we get around it? We've contacted BocaCom and are waiting for their reply. Is this an IP issue or am I reading the secureserver reply wrong?

----------------
Dear Sir/Madam,
While there is indeed an rDNS record created for 72.35.xx.xx, it does not point back to the original A record. This will need to be updated before we can look further into unblocking the IP.
----------------

View 3 Replies View Related

Apache :: Unexpected Error 408 Redirect A Domain To Original

Apr 30, 2013

I have 408 error and put a domain to impersonate the original is blank or rediccionamiento domain to the original. He always says: Time Up and error 408.

127.0.0.1 - - [30/Apr/2013:13:41:41 -0300] "-" 408 -

I own:

- Apache V: 2.4.4 Update 2
- Mod Security V: 2.7.3 Update 2
- Atomic Rules for Mod Security: Update 29/04/2013
- Mod mod_limitipconn V: 0.23.1
- Mod mod_antiloris V: 0.5.2

Do you think it's a bad configuration or a bug in programming? Eh I tried many ways, disabling modules, deactivating and activating settings, etc ...

View 2 Replies View Related

Plesk 12.x / Linux :: Upgrade To Original Compiled Version PHP / HTTPD

Feb 22, 2015

I have experimented a strange behaviour on plesk linux 12.0.18 Update #33

Basically:
1. I have recompiled Apache with more file descriptors
2. Several days later watchdog did not work properly. Support requested me to remove and install wd
3. I ran the autoinstaller. All my compiled version where replaced.

Watchdog is ok now, but I have to recompile Apache.

I have been searching on forum and kb but could not find any reoccurance.

Question : Is there a way to avoid this ?

Compilation performed based on article [URL]

after having executed /usr/local/psa/admin/bin/autoinstaller --debug

[root@ns7 scripts]# rpm -qa --last | grep "Sat 21 Feb 2015"
psa-watchdog-12.0.18-cos6.build1200140707.14.x86_64 Sat 21 Feb 2015 01:12:58 PM CET
php-tidy-5.3.3-40.el6_6.x86_64 Sat 21 Feb 2015 01:10:07 PM CET

[Code]....

View 1 Replies View Related

Plesk 11.x / Linux :: Emails Loop Back To Original Servers Address

Dec 2, 2014

I have 2 different servers one with Plesk 11.5. and one new just installed Plesk 12.0, the 12.0 will not send emails out but i get them back to the inbox of the outgoing server. is there a fix for this as i have tried both postfix and qmail to send out emails all with the same result.

It seems that something has changed from version 11.5 to 12.

The plesk configuration is installed on Debian 7.7 OS

View 6 Replies View Related

Mirror Drive A > Drive B

Feb 6, 2007

I have a Win2K3 server which has 2 hard drives. I was considering backup options and I thought that I might try mirroring Drive A ==> Drive B. I would think that, then, if Drive A has a hardware failure, I could simply switch Drive B into the Primary slot (A) and the server would continue to hum along as nothing has happened. This would reduce the downtime, hopefully.

I have 3 questions.

1. Is this idea practical (will it work)?
2. What is a good software program to use fto handle the mirroring?
3. Any considerations, warnings, technical advice in regard to this method?

View 4 Replies View Related

How To Check If The HD Is SSD Drive

Jun 11, 2009

how to check using SSH if the HD is SSD drive in a linux box?

View 1 Replies View Related

Drive Partitioning

Nov 4, 2009

I've got another server comming online shortly which will be used for shared hosting. A Q9550, 8 GB DDRs, 2 1 TB SATA drives in RAID 1. I know everyone has different opinions and reasons for their partitioning decisions, so I wanted to get a feel on how you would partition the drives durring setup, and why you would do it the way you do.

View 4 Replies View Related

Best Drive Configuration

Oct 23, 2009

I need your opinion on the best drive configuration for my Dell poweredge 2850 dual 3.0.

I have 6 x 72gb scsi 10k hds, and perc4 raid in server. My os will be Cent os with 4 gigs of ram installed. I want to try to make this server as redundant as possible.

Offsite backup is also in plans. I’m going to use this server for a few sites (5 - 10) that are db driven, and host small video clips as Dolphin Smart Community. Server will be colocated. Please let me know if missed something .

View 6 Replies View Related

Usb Hard Drive

Oct 3, 2008

how they sell those usb hard drives that connect to the computer that can hold like 100 gb's.....

well if i hook up one of those external hard drives to my server can i use it as webspace for users?

View 14 Replies View Related

How To Partition Drive

Mar 28, 2008

im assembling my server now....waiting on the 90degree connectors. It is as follows:

SUPERMICRO CSE-512L-260B Black 14" Mini 1U Server Case
ASUS M2N-MX SE Plus AM2+/AM2 NVIDIA GeForce 6100 Micro ATX AMD Motherboard
AMD Athlon 64 X2 4200+ Brisbane 2.2GHz Socket AM2 65W Dual-Core Processor
Dynatron A48G 70mm 2 Ball CPU Cooler - Retail
2gb ddr2 6400 ram
Seagate 500gb 7200.11 32mb hdd
WD 37gb raptor 10k rpm

the wd drive was lying around the house so i figured id add it since i had an extra slot and figured the speed wouldnt hurt.

My question is....how should i partition the drives.? I have 500+gb of space on 2 hard drives. I plan on using centos 5.1 and am downloading the iso now.

View 1 Replies View Related

2nd Hard Drive

Jul 26, 2008

Now iam useing 320Gig SATA harddrive as my primary hard drive,i dont use 2rd harddrive,iam haveing pure download site,in TOP command 4.5%wa is this bit high? or can i add 2rd harddisk and move some data to there to reduce wa,but my load of the server is fine or any way to reduce wa?

View 1 Replies View Related







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