09-04-2014
Hi VenkatReddy786,
Welcome to forum, please use code tags for any commands or codes. you can go through once with all forum rules. Also let me give you some basic ideas here for same and please try it by yourself and let us know if you face any issues with what you would have tried so far.
i- you can make a script for checking mount points by using df command check them before and after activity and compare them after activity they should be same as before activity.
ii- To ake a permanent solution, you can check fstab file in /etc/fstab in case of bash, make sure here mount points are not soft. Meaning if they are mentoned as soft mount points they will not come up after reboot. This should be permanent fix for the issue.
EDIT: In case of solaris it should be /etc/vfstab.
kindly try out the steps and let us know if you face any issues.
Thanks,
R. Singh
Last edited by RavinderSingh13; 09-04-2014 at 11:59 AM..
Reason: added a solution line
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to get an email alert from a cronjob when a server got rebooted unexpectedly. Please help. Thanks! :confused: (2 Replies)
Discussion started by: angloi
2 Replies
2. UNIX for Advanced & Expert Users
hi all, :)
for a reboot of sun box for patch installation i would like to know where do the reboot logs apart from /var/adm/messages and patch run messages would be available,
i would like to know the sequence of messages logged in the file like
requesting the users to log out
sending a... (1 Reply)
Discussion started by: matrixmadhan
1 Replies
3. Shell Programming and Scripting
Hi there--I think this is more of a Windows question, but I think many of you might be able to help me out:
I have a UNIX web server and a Windows machine. I'm trying to script the following tasks so that they can be run from the Windows machine (via a
batch file):
1. Shutdown web services... (5 Replies)
Discussion started by: sohungry73
5 Replies
4. AIX
I've recently changed my gateway setting using SMIT. Everything went fine except that the gateway setting kept reverting back to the old one everytime I reboot the server.
I'm on AIX 5.2 running p-Series. Thanks for any info. (3 Replies)
Discussion started by: dereklow
3 Replies
5. Solaris
Hi,
I have upgraded my Solaris 10 2005 to Solaris 10 2007. I am facing one bug, id: 6550904. To override this issue I have done following changes in /etc/systems:
set max_uheap_lpsize = 0x2000
set max_ustack_lpsize = 0x2000
set max_privmap_lpsize = 0x2000
set max_shm_lpsize =... (6 Replies)
Discussion started by: neel.gurjar
6 Replies
6. UNIX for Dummies Questions & Answers
I need to copy around 30 directories (each directory include one or more text file(s)) from NT server to Unix server at one go. For doing this what are the privillages i should have in both NT and Unix server.
Please let me know which command i can use in shell prompt.
TIA. (4 Replies)
Discussion started by: jhmr7
4 Replies
7. Solaris
Hi All,
I want to know the procedure like if server is down, i want to reboot the server through console ($rsc or $sc prompt).Could you please help me out.
I would really appreciate your cooperation.
thanks for understanding
regards
krishna (5 Replies)
Discussion started by: murthy76
5 Replies
8. Linux
We reboot our linux servers daily. Is it needed ? (10 Replies)
Discussion started by: linuxadmin
10 Replies
9. Red Hat
Hi,
The server got rebooted and below messages can be seen in /var/log/messages
Sep 7 10:49:12 minersville kernel: Call Trace: <IRQ> <ffffffff80167420>{__alloc_pages+796}
Sep 7 10:49:12 minersville kernel: <ffffffff80182814>{kmem_getpages+106} <ffffffff80183c16>{fallback_alloc+304}... (3 Replies)
Discussion started by: admin_db
3 Replies
LEARN ABOUT CENTOS
lssubsys
LSSUBSYS(1) libcgroup Manual LSSUBSYS(1)
NAME
lssubsys - list hierarchies containing given subsystem
SYNOPSIS
lssubsys [-m|--mount-points] [-M|--all-mount-points] [controller] [...]
lssubsys [-m|--mount-points] [-M|--all-mount-points] [-i|--hierarchies] [-a|--all]
lssubsys [-h|--help]
DESCRIPTION
lssubsys list the hierarchies containing the given subsystem(s). If no subsystem is defined, it displays all mounted hierarchies.
controller
defines the subsystem whose hierarchy is shown. If this parameter is not used, the command will list all mounted subsystems.
-m, --mount-points
Display mount points. Only the first mount points of shown hierarchies are displayed.
-M, --all-mount-points
Display mount points. All mount points of shown hierarchies are displayed, each on separate line.
-a, --all
Display all subsystems (including unmounted ones).
-i, --hierarchies
Display the attached hierarchy number if the subsystem is in a hierarchy. If the option -m is also used, the hierarchy number is
shown only for unmounted hierarchies.
-h, --help
Display help and exit.
EXAMPLE
The command lssubsys -am lists all subsystems which are present in the system, mounted ones will be shown with their mount point:
$ lssubsys -am
ns
cpuset
cpu,devices
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
The command lssubsys -ami lists all subsystems which are present in the system, mounted subsystems are listed with their mount points,
unmounted ones which are in a hierarchy are listed with their hierarchy number:
$ lssubsys -ami
ns
cpuset 5
cpu,devices 6
cpuacct /cgroup/cpuacct
memory /cgroup/memory
freezer /cgroup/freezer
net_cls /cgroup/net_cls
ENVIRONMENT VARIABLES
CGROUP_LOGLEVEL
controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.
SEE ALSO
lscgroup (1), cgcreate (1), cgdelete (1), cgconfig.conf (5)
Linux 2009-11-05 LSSUBSYS(1)