J
J
JeanLouis2012-07-19 18:18:47
SSH
JeanLouis, 2012-07-19 18:18:47

How to get files from a hung server using rescue-system and ssh?

The server running Window Server 2008 R2 is frozen and not responding to higher connections. The server is hosted by Hetzner. They provide a rescue-system to choose from Linux, FreeBSD, OpenSolaris, vKMV. Ok, downloaded Linux, launched it, logged in via SSH. Now I don't know what to do next.
The Hetzner wiki ( link ) says that to access data from a disk, you need to run the commands:
cd /mnt
mkdir rescue
mount -o ro /dev/md2 /mnt/rescue
or
mount -o ro /dev/sda3 /mnt/rescue I did it, I
got an error:
you must specify the filesystem type
I'm not a system administrator, I ask for help, how can I get all these to the data on the disk?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dinix, 2012-07-19
@JeanLouis

Asks you to specify the type of file system on the disk you are mounting.
Try fdisk -l /dev/sda3 to see the file system type.
Or mount as ntfs:
mount -o ro -t ntfs /dev/sda3 /mnt/rescue

A
antonwork, 2012-07-19
@antonwork

# mount -t ntfs -o ro /dev/sda3 /mnt/rescue
# mount -t ntfs-3g -o ro /dev/sda3 /mnt/rescue
next:
# scp -r /mnt/rescue [email protected]: /tmp
still needs to be clarified about /dev/sda3 ... what if sda2?
# fdisk -l

A
avtomobili, 2019-11-19
@avtomobili

I did according to the instructions , I did not see any problems.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question