Sponsored Content
Top Forums Shell Programming and Scripting Shell Script to see the mount points. Post 302271139 by pludi on Wednesday 24th of December 2008 01:11:16 AM
Old 12-24-2008
Code:
/sbin/mount

No script, but at least available on all UNIX systems I've met so far.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

mount points

sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Discussion started by: manderson19
3 Replies

2. UNIX for Dummies Questions & Answers

tar using mount points

hi i tried to tar a directory in my server but it show ensufficient space. therefore i tried to save it to a mount point using tar /mountpoint/newfilename file2btar but it gives me permission denied. i am using the root account to do this. is it possible to tar files and put it to mounted... (3 Replies)
Discussion started by: legato
3 Replies

3. UNIX for Dummies Questions & Answers

Mount Points at reboot

How do I make a mount point reconnect at boot without editing /etc/fstab? Is there an option (or switch) to make this persistent when issuing the mount command from a client? (1 Reply)
Discussion started by: AIXdumb455
1 Replies

4. UNIX for Dummies Questions & Answers

NFS Mount Points

Hi Solaris 10 On server A, there is a directory called data with 10 files. This data directory has a further 3 subdirectories, gl, pay, contract (for example) On server B, I want to see the server A data directory commands used: on server A, share -F nfs -o ro -d "<description">... (1 Reply)
Discussion started by: davidra
1 Replies

5. UNIX for Dummies Questions & Answers

mount points are already mounted

Hi, I have some issue with the mounting/unmounting on my sun solaris box. Actually their is one script that mount the file system take the backup of databases and unmount the file system.Last week this script failed to mount the file system with the below error message: + echo fs_check.sh:... (1 Reply)
Discussion started by: biju.mp
1 Replies

6. UNIX for Advanced & Expert Users

mount points

hi, I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks? thanks (9 Replies)
Discussion started by: JamesByars
9 Replies

7. Shell Programming and Scripting

test a script about mount points

Hi there, I would like people to test a script on as many situations as possible so we can find out errors and lacks. I wrote the script to help me work around mount points, especially when doing batch job on files (like backup) and to avoid duplicate operations through mount points. For... (2 Replies)
Discussion started by: chebarbudo
2 Replies

8. Shell Programming and Scripting

script to monitor mount points on linux box

Hi, the following shell script is not working on linux box sugeestions appreciated. FILE1=/tmp/check1.txt FILE2=/tmp/check2.txt df -k | awk '{if (NR != 1) print $5 $6}' > ${FILE1} awk -F"%" '{if ($1 > 90) print "Warning: Filesystem " $2 " over 90% threshold (" $1 "%)"}' ${FILE1} >... (7 Replies)
Discussion started by: prakash.gr
7 Replies

9. Red Hat

Mount Points? How?

Hi folks, I have been asked to performed the following: Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies

10. Shell Programming and Scripting

Linux Mount Points usage check with shell script

Hi Everyone, Just in need of your help again, I have managed to get a script to check the linux disk usage stuff. But wanted to tweak it little more to get the desired output. Requirement: Now its querying only one mount point, As its not saving in array instead calling it as variables. So... (1 Reply)
Discussion started by: thiyagoo
1 Replies
mountall(1M)															      mountall(1M)

NAME
mountall, umountall - mount and unmount multiple file systems SYNOPSIS
FStype] [file_system_table | FStype] DESCRIPTION
is used to mount file systems according to file_system_table. By default, is the file_system_table. If a dash is specified, reads file_system_table from the standard input; the standard input must be in the same format as the Before each file system is mounted, a check is done using (see fsck(1M)) to ensure that the file system is mountable. If the file system is not mountable, it is repaired by before the mount is attempted. causes all mounted file systems except the non-removable file systems such as to be unmounted. Options and recognize the following options: Specify the file system type (FStype) to be mounted or unmounted. Specify action on local file systems only. Specify action on remote file systems only. Send a signal to processes that have files opened. Attempt to mount all the unmounted file systems. This option will not perform the file system consistency check and repair. Perform the file system consistency check and repair on all unmounted file system. This option will not mount the file systems. DIAGNOSTICS
Error and warning messages may originate from or See fsck(1M), mount(1M), or fuser(1M) to interpret the error and warning messages. EXAMPLES
Mount all unmounted file systems listed in Mount all local file systems listed in Mount all remote file systems listed in Mount all local hfs file systems: Unmount all NFS file systems and kill any processes that have files opened in the file system: WARNINGS
especially with the option, should be used with extreme caution, because it can cause severe damage. The option may not be available in future releases. may not be effective with some cases of LOFS file systems. FILES
Static information about the file systems Mounted file system table SEE ALSO
fsck(1M), mount(1M), fuser(1M), mnttab(4), fstab(4), signal(2) mountall(1M)
All times are GMT -4. The time now is 04:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy