Sponsored Content
Full Discussion: Mount options - AIX
Top Forums Shell Programming and Scripting Mount options - AIX Post 302072603 by thestevew on Thursday 4th of May 2006 10:45:30 AM
Old 05-04-2006
I've checked the 'mount' man pages for Aix 5.2/5.3 and can't find an equivalent to mount -aQ but the lsfs command shows details of all file systems in /etc/filesystems

Code:
lsfs output
Name            Nodename   Mount Pt               VFS   Size    Options    Auto Accounting
/dev/hd4        --         /                      jfs   262144  --         yes  no
/dev/hd1        --         /home                  jfs   131072  --         yes  no
/dev/hd2        --         /usr                   jfs   3932160 --         yes  no
/dev/hd9var     --         /var                   jfs   4194304 --         yes  no
/dev/hd3        --         /tmp                   jfs   4194304 --         yes  no
/proc           --         /proc                  procfs --      --         yes  no
/dev/hd10opt    --         /opt                   jfs   --      --         yes  no
/dev/cd0        --         /cdrom                 cdrfs --      ro         no   no
/dev/nb45lv     --         /usr/openv             jfs   33554432 rw         yes  no

If you filter out those which should be automounted but size is shown as '--' you get a list of filesystems which are not mounted but should be:

Code:
lsfs | while read name nodename mountpoint vfs size options auto accounting
do
  if [ ! "$name" = "Name" ]&&[ ! "$vfs" = "procfs" ]&&[ "$auto" = "yes" ]&&[ "$size" = "--" ]; then
    print "Filesystem $name not mounted on $mountpoint"
  fi
done

Output like:
Filesystem /dev/hd10opt not mounted on /opt

hope this helps to ease the pain of moving to Aix

cheers
 

10 More Discussions You Might Find Interesting

1. AIX

AIX 4.3 - unable to mount one of our VG's

AFter a hardware issue - scsi controller replaced and hadware is now functioning again . Able to mount all VG except one. Need AIX 4.3 experience to assist... Thanks (0 Replies)
Discussion started by: pmcopoc
0 Replies

2. UNIX for Advanced & Expert Users

Mount point options

Hello all, I'm sharing 1 volume from a Sun Storage array (6130), out to 2 servers. Created a slice on one server and mounted a filesystem. On the other server the disk already sees the created slice from the other server (shared throught the storage array, so mounted this filesystem as well. ... (1 Reply)
Discussion started by: Sunguy222
1 Replies

3. UNIX for Advanced & Expert Users

how to check the options used in mount command

hi , I want to check that what options i have used in mount command ... or what switches i have used while mounting .. is there any method to check ? thanks (1 Reply)
Discussion started by: tahir23
1 Replies

4. AIX

Any hope to get lp options like the following to work on AIX (6.1)?

Greetings Aix gurus, I have been appointed the task to port my SAS environment on HP-UX to AIX... I have been able to solve most issues but I am stuck with the following lines (these were easy to find, since in shell scripts but I found out that there are plenty more and encapsulated in SAS... (1 Reply)
Discussion started by: vbe
1 Replies

5. AIX

NFS mount problems on AIX

Hi, I have two machines (AIX) each on a different VLAN. Need to mount a filesystem using nfs on the other one. When I export the nfs file system its a breeze. But when I try to mount it on the other machine the smitty command hangs on "running" and i get an OK from smitty but with this... (6 Replies)
Discussion started by: aixromeo
6 Replies

6. UNIX for Dummies Questions & Answers

List of 'if -f' options - AIX / Korn Shell

Hi all, Can someone point me in the right direction for a manual on the various statement options for 'if'. Basically I have a piece of code which says: if ] and I wondered what the -f was. I know the '!' means not equal.. As usual any help much appreciated.. (5 Replies)
Discussion started by: Grueben
5 Replies

7. AIX

Mount CIFS on AIX

Hello AIX gurus, I am trying to mount a CIFS share on AIX and I could use some help. Here are the environment details: AIX - 6100-05-01-1016 Domain Controller - WIN2K8R2 (authentication takes place here) CIFS share is stored on a NetApp storage array that is joined to the domain I have... (2 Replies)
Discussion started by: jhall
2 Replies

8. AIX

AIX available cifs mount options

Hi, I can't find any documentation of all available mount options of mount -v cifs Unfortunately you can specify any fantasy options, no complains, and the mount command shows this option In particular I want to know if there is a possibility to completely disable cifs caching in aix,... (3 Replies)
Discussion started by: funksen
3 Replies

9. UNIX for Beginners Questions & Answers

Options for AIX server backups

Hello, I'm new to this forum. Forgive a question that may have been asked, but I would like to get advice on options for backups of an AIX server. The AIX server in question has about 2TB of storage, with 3 Oracle databases configured on it We're currently using tar backups to tape, LTO... (1 Reply)
Discussion started by: terrya
1 Replies

10. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
jfs_tune(8)						  Set JFS file system parameters.					       jfs_tune(8)

NAME
jfs_tune - adjust tunable file system parameters on JFS SYNOPSIS
jfs_tune [options] device DESCRIPTION
jfs_tune adjusts tunable parameters on a Linux JFS file system or external journal. jfs_tune must be run as root. device is the special file name corresponding to the actual device (e.g. /dev/hdb1) on which a JFS file system or JFS external journal has been created. OPTIONS
-J device=external-journal Only supported on JFS versions (1.0.18 or later) that support external journal. Attach the JFS external journal located on exter- nal-journal to the JFS file system on device. Currently, you may only attach a single JFS file system device to a single JFS external journal (i.e. each JFS file system using an external journal must have a unique external journal). The external journal must already have been created using the command mkfs.jfs -J journal_dev external-journal Attach the external journal to the file system by using the command jfs_tune -J device=external-journal device Instead of specifying a device name directly, external-journal can also be specified by either LABEL=label or UUID=UUID (Use jfs_tune -l device to display a journal device's volume label and UUID.) -l List the contents of the JFS file system or external journal superblock that resides on device. -L volume-label Set the volume label of the JFS file system or external journal. JFS labels can be at most 16 characters long; if volume-label is longer than 16 characters, jfs_tune will truncate it and print a warning. The volume label can be used by mount(8), fsck(8), and /etc/fstab(5) (and possibly others) by specifying LABEL=volume_label instead of a block special device name like /dev/hda5. -U UUID Set the universally unique identifier (UUID) of the file system or external journal device to UUID. The format of the UUID is a series of hex digits separated by hyphens, like this: "c1b9d5a2-f162-11cf-9ece-0020afc76f16". The UUID parameter may also be one of the following: clear clear the file system UUID random generate a new randomly-generated UUID time generate a new time-based UUID The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and possibly others) by specifying UUID=uuid instead of a block spe- cial device name like /dev/hda1. See uuidgen(8) for more information. -V Print version information and exit (regardless of any other chosen options). EXAMPLES
Set a randomly-generated UUID for the JFS file system on the 3rd partition of the 2nd hard disk, and view the resultant superblock: jfs_tune -l -U random /dev/hdb3 Attach an already existing external journal on a device labeled JFSLog to a JFS file system on /dev/hda8: jfs_tune -J device=LABEL=JFSLog /dev/hda8 REPORTING BUGS
If you find a bug in JFS or jfs_tune, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://jfs.sourceforge.net/ Please send as much pertinent information as possible including any error messages resulting from running jfs_tune. SEE ALSO
jfs_fsck(8), jfs_mkfs(8), jfs_fscklog(8), jfs_logdump(8), jfs_debugfs(8) AUTHOR
Barry Arndt (barndt@us.ibm.com) jfs_tune is maintained by IBM. See the JFS project web site for more details: http://jfs.sourceforge.net/ October 28, 2002 jfs_tune(8)
All times are GMT -4. The time now is 02:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy