Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to fix and manage data in rescue mode? Post 303036497 by baris35 on Friday 28th of June 2019 04:14:57 PM
Old 06-28-2019
Hello Rudic,
CPU is 100% and server is not accessible via ssh in normal boot mode.

The problem started after nfs installation. I received a warning message from authorities emphasizing that nfs usage has some risks as attackers could sniff the system via udp ports. Not sure about that. Company replaced the motherboard in the morning which did not solve the issue. After an eight hours of intervention process they said, server is under attack.
I am still not sure about that so I am planning to edit my settings in rescue mode.

Regarding system disk details:
Code:
root@rescue:~# df -aTh
Filesystem                        Type        Size  Used Avail Use% Mounted on
none                              proc           0     0     0    - /proc
none                              sysfs          0     0     0    - /sys
devtmpfs                          devtmpfs     16G     0   16G   0% /dev
178.33.124.49:/home/pub/rescue.v8 nfs         1.8T  298G  1.4T  18% /nfs
tmpfs                             tmpfs        16G  1.7M   16G   1% /rw
aufs                              aufs         16G  1.7M   16G   1% /
178.33.124.49:/home/pub/pro-power nfs         1.8T  298G  1.4T  18% /power
178.33.124.49:/home/pub/commonnfs nfs         1.8T  298G  1.4T  18% /common
securityfs                        securityfs     0     0     0    - /sys/kernel/security
tmpfs                             tmpfs        16G     0   16G   0% /dev/shm
devpts                            devpts         0     0     0    - /dev/pts
tmpfs                             tmpfs        16G  9.7M   16G   1% /run
tmpfs                             tmpfs       5.0M     0  5.0M   0% /run/lock
tmpfs                             tmpfs        16G     0   16G   0% /sys/fs/cgroup
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/systemd
pstore                            pstore         0     0     0    - /sys/fs/pstore
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/cpuset
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/cpu,cpuacct
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/blkio
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/memory
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/devices
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/freezer
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/net_cls,net_prio
cgroup                            cgroup         0     0     0    - /sys/fs/cgroup/pids
systemd-1                         autofs         0     0     0    - /proc/sys/fs/binfmt_misc
hugetlbfs                         hugetlbfs      0     0     0    - /dev/hugepages
debugfs                           debugfs        0     0     0    - /sys/kernel/debug
mqueue                            mqueue         0     0     0    - /dev/mqueue
tmpfs                             tmpfs        16G   12K   16G   1% /tmp
configfs                          configfs       0     0     0    - /sys/kernel/config
fusectl                           fusectl        0     0     0    - /sys/fs/fuse/connections
rpc_pipefs                        rpc_pipefs     0     0     0    - /run/rpc_pipefs

Kind regards
Boris

Last edited by baris35; 06-28-2019 at 06:06 PM.. Reason: requested info added
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Partitioning script for rescue mode (disk size calculation)

Hello! I need to write partitioning script wich would work in rescue mode. It will prepare partitions and unpack linux on it. However I need to calculate whole size of the disk and create: /dev/sda1 --> One big partition (minus (2*size of memory) for swap) /dev/sda2 --> Swap partition... (1 Reply)
Discussion started by: pug123
1 Replies

2. UNIX for Dummies Questions & Answers

help rescue my data

I was runing suse 10.2 and windows ,i had installed windows on a separate 40 gb hard disk and linux on a 160 gb disk which it shrunk and left some 60 gb which were readable in windows. Due to the fact that i store alot of data in the windows partions i used all the extra 60gb which where readable... (2 Replies)
Discussion started by: soba
2 Replies

3. UNIX and Linux Applications

Xen VM rescue mode

Hi all, I am running xen virtual machine on centos 5 and xen gust o.s is centos. I cannot boot my xen vm machine it saying cannot find /bin/sh to execute. I want to go to rescue mode of my xen vm machine. I know how to do on actual physical machine but how i can enter in rescue mode of... (1 Reply)
Discussion started by: email-lalit
1 Replies

4. Linux

Xen VM rescue mode

Hi all, I am running xen virtual machine on centos 5 and xen gust o.s is centos. I cannot boot my xen vm machine it saying cannot find /bin/sh to execute. I want to go to rescue mode of my xen vm machine. I know how to do on actual physical machine but how i can enter in rescue mode of... (6 Replies)
Discussion started by: email-lalit
6 Replies

5. UNIX for Advanced & Expert Users

How does netcat manage the data it transfers ?

Hi all, When using netcat to transfer the data over socket, if no connection is established, how long will netcat keep the data; will it discard the "oldest" data ? Say for example I use "Some Command | netcat -l -p port", the command I use will generate a lot of output constantly, while no... (2 Replies)
Discussion started by: qiulang
2 Replies

6. Red Hat

I cannot find ext2online or resize2fs in RHEL 4 rescue mode

Hi, I'm trying to resize an ext3 FS (filesystem) under an LVM. I have booted the OS (RHEL 4) in rescue mode using the CD media and I'm able to use lvm commands. Now, I'm trying to shrink the filesystem before actually shrinking the logical volume but I cannot find ext2onlone or resize2fs... (1 Reply)
Discussion started by: verdepollo
1 Replies

7. Red Hat

You' dont have any Linux partition- Rescue Mode

I accidently deleted fstab file from one of the compute nodes of the cluster (RHEL 5.3). Due to this no filesystem/directory is mounted on the system during bootup. I started system in rescue mode but it says You don't have any linux partitions. Press return to get a shell. The system will reboot... (2 Replies)
Discussion started by: ahsanpmd
2 Replies

8. UNIX for Dummies Questions & Answers

How to get cpanel backup data in rescue mode?

How to get cpanel backup data in rescue mode? Server OS 6.3 minimal with cPanel /dev/sdb1 is main partition root@rescue ~ # fdisk -l Anyone can help Thank you (0 Replies)
Discussion started by: jaydul
0 Replies
scrounge-ntfs(8)					    BSD System Manager's Manual 					  scrounge-ntfs(8)

NAME
scrounge-ntfs -- helps retrieve data from corrupted NTFS partitions SYNOPSIS
scrounge-ntfs -l disk scrounge-ntfs -s disk scrounge-ntfs [-m mftoffset] [-c clustersize] [-o outdir] disk start end DESCRIPTION
scrounge-ntfs is a utility that can rescue data from corrupted NTFS partitions. It writes the files retrieved to another working file system. Certain information about the partition needs to be known in advance. The -l mode is meant to be run in advance of the data corruption, with the output stored away in a file. This allows scrounge-ntfs to recover data reliably. See the 'NOTES' section below for recover info when this isn't the case. OPTIONS
The options are as follows: -c The cluster size (in sectors). When not specified a default of 8 is used. -l List partition information for a drive. This will only work when the partition table for the given drive is intact. -m When recovering data this specifies the location of the MFT from the beginning of the partition (in sectors). If not specified then no directory information can be used, that is, all rescued files will be written to the same directory. -o Directory to put rescued files in. If not specified then files will be placed in the current directory. -s Search disk for partition information. (Not implemented yet). disk The raw device used to access the disk which contains the NTFS partition to rescue files from. eg: '/dev/hdc' start The beginning of the NTFS partition (in sectors). end The end of the NTFS partition (in sectors) NOTES
If you plan on using this program sucessfully you should prepare in advance by storing a copy of the partition information. Use the -l option to do this. Eventually searching for disk partition information will be implemented, which will solve this problem. When only one partition exists on a disk or you want to rescue the first partition there are ways to guess at the sector sizes and MFT loca- tion. See the scrounge-ntfs web page for more info: http://memberwebs.com/swalter/software/scrounge/ AUTHOR
Stef Walter <stef@memberwebs.com> scrounge-ntfs June 1, 2019 scrounge-ntfs
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy