Sponsored Content
Operating Systems Solaris Validate mountpoints on solaris server after server reboot Post 302915708 by RavinderSingh13 on Thursday 4th of September 2014 10:56:07 AM
Old 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

Server Reboot Alert

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

server reboot

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

how to remotely administer/validate UNIX server via Windows machine?

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

IP setting changes after server reboot

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

Do I need to reboot Solaris 10 server for changes in /etc/systems ?

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

copying directories from NT server to Unix server (solaris 5.8)

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

Reboot the server through console

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

Linux server reboot

We reboot our linux servers daily. Is it needed ? (10 Replies)
Discussion started by: linuxadmin
10 Replies

9. Red Hat

Server reboot

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
vhardlinks(1M)															    vhardlinks(1M)

NAME
vhardlinks - checks the consistency of compartment rules for files with multiple hardlinks SYNOPSIS
mount_point[...]] DESCRIPTION
checks the consistency of compartment rules for files that have multiple hard links pointing to them. If a file has multiple hard links, it is possible to create compartment rules such that the file will have conflicting rules controlling access to it. If you invoke without arguments, a list of mount points is taken from the default file which contains a list of system mount points, one per line. If the line is commented with a or if it is not the absolute path of a mount point, it is skipped. Output is logged to the file. Options recognizes the following option: Specifies mount points. mount_point(s) specifies the mount point(s) to check for files with multiple hard links when using the option. Multiple mount points are specified as a white space separated list. Security Restrictions The user invoking this command must have one of the following authorizations: A user with authorization can invoke this command from any compartment, while a user with authorization can invoke this command from only those compartments that have read and write access to the directory heirarchy. See authadm(1M)). FILES
Default file; a list of system mount points. Log file to which output from is directed. SEE ALSO
cmpt_tune(1M), compartments(4), compartments(5). vhardlinks(1M)
All times are GMT -4. The time now is 04:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy