Recovering Accounts From Crashed Server Problem

cwuser

Active Member
Jun 29, 2007
26
0
51
The server with four hard drives raid 5 has crashed. It was actually the server hardware issue though but I think the Tech from the data center swapped around the hard drives when troubleshooting. I also do not have information which drive goes which number in the raid that originally setup on that crashed server. However, I will have to use a different temporary machine to try recover the data as the original server went bad.

I am totally noob. I believe I can get helps from online and community forums. Cpanel Team also been a great help. I have a temporary server that can have two hard drives so I installed the centos on a new hard drive and following the guide from Full Disaster Recovery - cPanel Knowledge Base - cPanel Documentation page.

My plan is to slave old hard drives one by one on this temporary server to see which one has the data.

Here is what I have.

[root@root ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.5G 0 loop /tmp
sda 8:0 0 74.5G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 74G 0 part
├─VolGroup-lv_root (dm-0) 253:0 0 35.3G 0 lvm /
├─VolGroup-lv_swap (dm-1) 253:1 0 5G 0 lvm [SWAP]
└─VolGroup-lv_home (dm-2) 253:2 0 33.8G 0 lvm /home
sdb 8:16 0 232.9G 0 disk
├─sdb1 8:17 0 350M 0 part
├─sdb2 8:18 0 97.7G 0 part
├─sdb3 8:19 0 73.2G 0 part
└─sdb4 8:20 0 1K 0 part
sr0 11:0 1 1024M 0 rom


I am now at the Step#5 of that guide page. When I try mounting, I get this:
[root@root ~]# mount /dev/sdb1 /mnt/chroot/
mount: you must specify the filesystem type

So I check the file system and got this:
[root@root ~]# fsck -N /dev/sdb1
fsck from util-linux-ng 2.17.2
[/sbin/fsck.ext2 (1) -- /dev/sdb1] fsck.ext2 /dev/sdb1

Then I use the filesystem and got this:
[root@root ~]# mount -t ext2 /dev/sdb1 /mnt/chroot/
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

[root@root ~]# dmesg | tail
[ 1663.864955] VFS: Can't find an ext2 filesystem on dev sdb1.
[ 1669.204065] usb 2-1: USB disconnect, device number 28
[ 1670.818032] usb 2-1: new low speed USB device number 29 using uhci_hcd
[ 1670.982138] usb 2-1: New USB device found, idVendor=413c, idProduct=301a
[ 1670.982145] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1670.982150] usb 2-1: Product: Dell MS116 USB Optical Mouse
[ 1670.982154] usb 2-1: Manufacturer: PixArt
[ 1670.982344] usb 2-1: configuration #1 chosen from 1 choice
[ 1670.997585] input: PixArt Dell MS116 USB Optical Mouse as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0/input/input37
[ 1670.997812] generic-usb 0003:413C:301A.001E: input,hidraw0: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-0000:00:1d.0-1/input0

I am not sure what is the best way to find and get the data (just need SQL db from the websites on the old hard drive, and may be public_html folders, but SQL db alone should be good enough) one of these four old hard drives so I can use them to rebuild the sites on different brand new server. I do have public_html folders from the sites previously but no SQL db. Any advice would be appreciated!
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
Hello @cwuser


To be completely honest this is more suited towards a system administrator if you don't have backups of the accounts. If you don't have a system administrator you might find one here: System Administration Services