07-26-2011
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 ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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. Linux
Hi,
I try to unmount :
smbumount /mnt/directory
But I receive :
Could not umount /mnt/directory: Device or resource busy
Any idea ?
Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies
4. UNIX for Dummies Questions & Answers
Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc.
At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies
5. Solaris
Hello all,
can someone help on how can i check if all file system were mounted during reboot?
I know that we have first to look on /etc/vfstab; the containing of this one should be mounted during boot of system, and after with : df -k we can see if mentioned file system on vfstab were... (3 Replies)
Discussion started by: vitchi
3 Replies
6. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
7. Ubuntu
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
8. Shell Programming and Scripting
Validating the size of file transferred from ftp server to the local system.
File type: Text file/Flat file
Source System: Windows / Unix Systems
Target System is always: Unix
Mode of Transfer : ASCII
We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
Discussion started by: jpundalik
2 Replies
9. AIX
Hello,
I have a script on my NIM Master that runs with crons and performs mksysb backups of all NIM Clients once a week.
There is a problem with one of the clients as it stucks and never finishes the mksysb backups.
I tried to unmount the NFS file system created by the NIM in order to perform... (5 Replies)
Discussion started by: omonoiatis9
5 Replies
10. Red Hat
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
mount(8) System Manager's Manual mount(8)
Name
mount, umount - mount or unmount file systems
Syntax
/etc/mount [ options ] [ device ] [ directory ]
/etc/umount [ options ] [ device ] [ directory ]
Description
This is a general description of the command. Additional descriptions are provided to define the syntax and options for the NFS and UFS
file systems.
Each invocation of the command announces to the system that a file system is present on the device device. The file system may be local or
remote. File directory must exist as a directory file. It becomes the name of the newly mounted file system root.
If invoked without arguments, prints the list of mounted file systems.
Physically write-protected disks and magnetic tape file systems must be mounted read-only or an error will occur at mount time.
General users can only mount file systems with certain restrictions. For example, the user, other than the superuser, performing the mount
must own the directory directory. Furthermore, no users other than the superuser can execute or programs on the mounted file systems. In
addition, users other than the superuser cannot access block or special character devices such as on the mounted file systems.
The command announces to the system that the removable file system previously mounted on the specified directory is to be removed. Only
the person who mounted a particular file system or the superuser can unmount the file system again.
Options
-a Reads the file and mounts, or unmounts, all file systems listed there.
-f Fast unmount. The option has no meaning for local file systems and directories. However, for remote file system types (such
as NFS), the option causes the client to unmount the remotely mounted file systems and directories without notifying the
server. This can avoid the delay of waiting for acknowledgment from a server that is down.
-o options Specifies a string that is passed to the kernel and used by the specific file system's mount routine in the kernel. For spe-
cific options, refer to the file system-specific description, such as
-r Indicates that the file system is to be mounted read only. To share a disk, each host must mount the file system with the -r
option.
-t type Specifies the type of file system is being mounted. When used with the option, the option mounts all file systems of the given
type found in the file. For specific file system types, refer to the file system-specific description, such as
-v Tells what did or did not happen. (Verbose flag)
The options for are:
-a Unmounts all mounted file systems. It may be necessary to execute twice to accomplish unmounting of all mounted file systems.
-v Tells what did or did not happen. (Verbose flag)
Restrictions
Mounting corrupted file systems will crash the system.
Files
File systems information table
See Also
getmnt(2), mount(2), fstab(5), fsck(8), mount(8nfs), mount(8ufs)
mount(8)