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
Cgroup classifier in tc(8)					       Linux						Cgroup classifier in tc(8)

NAME
cgroup - control group based traffic control filter SYNOPSIS
tc filter ... cgroup [ match EMATCH_TREE ] [ action ACTION_SPEC ] DESCRIPTION
This filter serves as a hint to tc that the assigned class ID of the net_cls control group the process the packet originates from belongs to should be used for classification. Obviously, it is useful for locally generated packets only. OPTIONS
action ACTION_SPEC Apply an action from the generic actions framework on matching packets. match EMATCH_TREE Match packets using the extended match infrastructure. See tc-ematch(8) for a detailed description of the allowed syntax in EMATCH_TREE. EXAMPLES
In order to use this filter, a net_cls control group has to be created first and class as well as process ID(s) assigned to it. The follow- ing creates a net_cls cgroup named "foobar": modprobe cls_cgroup mkdir /sys/fs/cgroup/net_cls mount -t cgroup -onet_cls net_cls /sys/fs/cgroup/net_cls mkdir /sys/fs/cgroup/net_cls/foobar To assign a class ID to the created cgroup, a file named net_cls.classid has to be created which contains the class ID to be assigned as a hexadecimal, 64bit wide number. The upper 32bits are reserved for the major handle, the remaining hold the minor. So a class ID of e.g. ff:be has to be written like so: 0xff00be (leading zeroes may be omitted). To continue the above example, the following assigns class ID 1:2 to foobar cgroup: echo 0x10002 > /sys/fs/cgroup/net_cls/foobar/net_cls.classid Finally some PIDs can be assigned to the given cgroup: echo 1234 > /sys/fs/cgroup/net_cls/foobar/tasks echo 5678 > /sys/fs/cgroup/net_cls/foobar/tasks Now by simply attaching a cgroup filter to a qdisc makes packets from PIDs 1234 and 5678 be pushed into class 1:2. SEE ALSO
tc(8), tc-ematch(8), the file Documentation/cgroups/net_cls.txt of the Linux kernel tree iproute2 21 Oct 2015 Cgroup classifier in tc(8)
All times are GMT -4. The time now is 07:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy