I Broke It

sircolin

Renowned Member
Nov 12, 2009
78
0
71
UK
Mount Proxmox Partion in Rescue Shell

Hi Everyone,

I have a not so small problem and only a little time to resolve it ,

Im using proxmox 1.3 hosted on the net, I have been using shorewall to forward ports etc... for a few months now without problems, But the other night i was adding a firewall rule and have put a wrong ip address in the shorewall config so it's forwarding most ports to a internal local ip of 10.1.1.4.
I know how to change this, thats not my problem.

The problem lies in me not being able to ssh to the host machine to change the rule, i have asked my host to drop the machine into recovery mode to which a have ssh access, which is great so i thought/was told, i would just need to

Code:
mount /dev/sda1 /mnt
Then

Code:
nano /etc/shorewall/rules
Change the offending rule and reboot etc.

But

Code:
mount /dev/sda1 /mnt
produces

Code:
mount: special device /dev/sda1 does not exist
so

Code:
fisk -l
Returns the cmd prompt

Am i missing something here?

Where's the Proxmox Partion ?

this is the message when i login

This console allows you to repair problems on your server. *
* *
* Usually your root partition is located in /dev/sda1. *
* *
* You can for instance mount it using the following command: *
* *
* (root@rescue)-(~) $ mount /dev/sda1 /mnt
Proxmox is installed on
inux version 2.6.32.3 Debian 4.3.2-1.1) ) #1 SMP
Thanks for reading !
 
Last edited:
Thanks for the reply
The system is owned and installed by server.lu i rent it from seedcafe.info

I will try an email them, seedcafe and have them email the datacenter and see if that gets me anywhere.
 
Thanks Udo for your comments

I did already try to load a module or two it seemed to do nothing! , i have however noted Sata errors in my logs.

I recieved a email today from seedcafe informing me that the hard drive has gone back and is being replaced by the data center.

So All things being square, i should be able to mount the drive from the recovery console with
Code:
mount /dev/sda1 /mnt
when i get control back from the data center.

Failing That i Think it i might need to load the lvm module first but i have t wait n see i guess.

The machine seems to have a fancy raid array maybe raid 5 or something like that as there were a good few disks there but i should only have 1 320gb sata drive.

Thanks again to you both !
 
I just Wanted to update this post in case anyone else has this problem

It Seems the disk was bad, this is why it didn't want to mount.

the data center replaced it.