Sponsored Content
Operating Systems Solaris How to find which file system was not mounted ? Post 302226369 by Smiling Dragon on Monday 18th of August 2008 08:30:46 PM
Old 08-18-2008
If you want to automate it, you could do this:
Code:
for vol in `grep ufs /etc/vfstab | egrep -v '^#' | awk '{ print $3 }'` ; do if df -k $vol | grep $vol > /dev/null ; then echo "$vol ok" ; else echo "***** $vol NOT MOUNTED"; fi;done

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

fsck on a mounted file system?

I have a Solaris 7 box. We got a strange error in the syslog, which read as follows: Nov 15 11:50:16 server-01 unix: NOTICE: free inode /mount1/8025691 had size 0x20d I consulted with a fellow sysadmin, and he suggested running "fsck -N" on the filesystem in question without unmounting it. So I... (1 Reply)
Discussion started by: GKnight
1 Replies

2. UNIX for Dummies Questions & Answers

how many directory can be mounted on one file system

I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Discussion started by: duke0001
4 Replies

3. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

4. Ubuntu

display the mounted file system types

how can i list/display the mounted partitions in Ubunutu, mount command just display the devices but not the file system used. (4 Replies)
Discussion started by: XP_2600
4 Replies

5. Solaris

System Unbootable - /usr not mounted

Hi admins, I'm having some issues with a Solaris 10 machine. I just rebooted the box after at least 2 years running smooth and now the OS is not comming up. This is what I see in the console (if I press Ctrl^D it loops again): Root password for system maintenance (control-d to bypass): ... (3 Replies)
Discussion started by: verdepollo
3 Replies

6. UNIX for Dummies Questions & Answers

What happens if i unmount local file system when is mounted to a different server?

Hi, as title says what happens if i unmount local file system when is mounted to a diffrent server ? (2 Replies)
Discussion started by: galuzan
2 Replies

7. AIX

Error unmounting a remote mounted file system

Hi All, I'm facing an issue while trying to unmount a remotely mounted file system, strangely it's not even getting mounted, Kindly find the reply messages. Mounting error msg nfsmnthelp: 1831-019 <Server host>: Cannot mount a file system that is already remotely mounted. mount: 1831-008... (13 Replies)
Discussion started by: Abhishekag
13 Replies

8. UNIX for Advanced & Expert Users

Which system calls to move data on a device with mounted partitions?

I need to be able to move data around a disk that has mounted partitions. I am not touching the data on the mounted partition, the MBR or any other disk metadata, only the freespace and unmounted partitions. At the moment I am using libparted but it causes data corruption sometimes although there... (1 Reply)
Discussion started by: vstrom
1 Replies

9. Red Hat

File system mounted or not

Hi, I know something about file system that its a directory to hold files. My query is how to identify file system is mounted or not .Can you give me some examples? OS --- Linux 2.6 (7 Replies)
Discussion started by: Maddy123
7 Replies

10. Red Hat

Related to "NAS" some file system (mounted volumes) were not writable

Dear friends, I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users. Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Discussion started by: Chand
1 Replies
mounted.ocfs2(8)						OCFS2 Manual Pages						  mounted.ocfs2(8)

NAME
mounted.ocfs2 - Detects all OCFS2 volumes on a system. SYNOPSIS
mounted.ocfs2 [-d] [-f] [device] DESCRIPTION
mounted.ocfs2 is used to detect OCFS2 volume(s) on a system. This tool assumes that the nodes detected on the system are part of the same cluster as the one specified in /etc/ocfs2/cluster.conf. OPTIONS
-d Lists the OCFS2 volumes along with their labels and uuids. If a device is not specified, it scans all the devices in /proc/parti- tions. -f Lists the OCFS2 volumes along with the list of nodes that have mounted the volume. The node names are listed if the O2CB cluster is online. Note: As this information is gathered using dirty-read, the information may be stale. EXAMPLES
[root@node1 ~]# mounted.ocfs2 -d Device FS UUID Label /dev/sdb1 ocfs2 26d5dcdf-6d87-45a7-b01a-b98a7791bd61 logs_0405 [root@node1 ~]# mounted.ocfs2 -f Device FS Nodes /dev/sdb1 ocfs2 node15, node1 SEE ALSO
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) debugfs.ocfs2(8) ocfs2console(8) o2cb(7) AUTHORS
Oracle Corporation COPYRIGHT
Copyright (C) 2004, 2010 Oracle. All rights reserved. Version 1.4.3 February 2010 mounted.ocfs2(8)
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy