Centos 6.8 failed reboot dedicated server

General support questions
Post Reply
ServerDude2
Posts: 1
Joined: 2017/01/10 17:33:29

Centos 6.8 failed reboot dedicated server

Post by ServerDude2 » 2017/01/10 17:41:16

I bought/rent a dedicated server from nocix with Centos 6.8 installed, also came with 2 hard drives

Code: Select all

sda - 128GB SSD
&

Code: Select all

sdb - 2TB HDD 
and I think I made a mistake by partitioning the second drive

Code: Select all

/dev/sdb
so I now have

Code: Select all

/dev/sdb1
which I mounted to a folder called

Code: Select all

/newdrive
then transferred all files in a user directory called

Code: Select all

/home1
and deleted all files in

Code: Select all

/home1
then mounted the drive to

Code: Select all

/home1
but when I rebooted I lost the ability to connect via SSH, I contacted nocix and they said I had to reload with the SystemRescueCd.

I did that and have been reading/following the steps outlined here: https://www.system-rescue-cd.org/Sysres ... maged-Grub

See the below error messages I got when I ran

Code: Select all

grub-install /dev/sda

Code: Select all

df: Warning: cannot read table of mounted file systems: No such file or directory df: Warning: cannot read table of mounted file systems: No such file or directory Could not find device for /boot: Not found or not a block device.
I am very new to this so I'm not sure what to do.. It's also quite urgent as the websites this server is hosting are down because of I can't get it back online.

See my partitions below. I've got 2 drives sda and sdb. loop0 is the linux installation and sda1 is the boot drive.

Code: Select all

[=====DEVICE=====] [==FILESYS==] [======LABEL======] [====SIZE====] [MAJ] [MIN]
[loop0           ] [squashfs   ] [<unknown>        ] [   275.14 MB] [  7] [  0]
[sda1            ] [ext2       ] [<unknown>        ] [   250.00 MB] [  8] [  1]
[sda2            ] [LVM2_member] [<unknown>        ] [   119.00 GB] [  8] [  2]
[sdb1            ] [ext3       ] [/userdata        ] [     1.82 TB] [  8] [ 17]
[dm-0            ] [ext4       ] [<unknown>        ] [   110.25 GB] [253] [  0]
[dm-1            ] [ext4       ] [<unknown>        ] [     1.00 GB] [253] [  1]
[dm-2            ] [swap       ] [<unknown>        ] [     7.72 GB] [253] [  2]

Output of

Code: Select all

vgscan

Code: Select all

WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
  Reading all physical volumes.  This may take a while...
  Found volume group "vg" using metadata type lvm2
And output of

Code: Select all

lvscan

Code: Select all

  WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
  ACTIVE            '/dev/vg/root' [110.25 GiB] inherit
  ACTIVE            '/dev/vg/tmp' [1.00 GiB] inherit
  ACTIVE            '/dev/vg/swap' [7.72 GiB] inherit

Post Reply