05-03-2010
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. Shell Programming and Scripting
Hi All Guys....
root> df -k|grep /u0
/dev/vx/dsk/oradg/u02vol 12582912 8717924 3744252 70% /u02
/dev/vx/dsk/oradg/u01vol 8796160 5563610 3131556 64% /u01
/dev/vx/dsk/oradg/u04vol 10035200 1247888 8519534 13% /u04
/dev/vx/dsk/oradg/u03vol 12582912 2524060 9744542 21% ... (3 Replies)
Discussion started by: adzuanamir
3 Replies
4. 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
5. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
6. UNIX for Dummies Questions & Answers
1) I want to display all the files in a directory that start with the word chapter, are followed by a digit 1,2,6,8, or 9 and end with .eps or .prn
so I came up with this
file ~/temp/chapter.eps ~/temp/chapter.prn
but is there a better way, i.e. combining both file types into the command?
... (2 Replies)
Discussion started by: dunsta
2 Replies
7. UNIX for Dummies Questions & Answers
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
8. Shell Programming and Scripting
sorry couldnt think of a proper title lol
ok i have the following script it asks the user how many html tags they want. Im not sure how to display 2 tags if the user eneters the want only 2 tags
tags as in <p></p> or <h1></h1>
read -p "How many tags" tags1
if
then
echo "<$tags1>... (3 Replies)
Discussion started by: gangsta
3 Replies
9. AIX
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
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(2) System Calls Manual MOUNT(2)
NAME
mount, umount - mount or remove file system
SYNOPSIS
mount(special, name, rwflag)
char *special, *name;
umount(special)
char *special;
DESCRIPTION
Mount announces to the system that a removable file system has been mounted on the block-structured special file special; from now on, ref-
erences to file name will refer to the root file on the newly mounted file system. Special and name are pointers to null-terminated
strings containing the appropriate path names.
Name must exist already. Name must be a directory (unless the root of the mounted file system is not a directory). Its old contents are
inaccessible while the file system is mounted.
The rwflag argument determines whether the file system can be written on; if it is 0 writing is allowed, if non-zero no writing is done.
Physically write-protected and magnetic tape file systems must be mounted read-only or errors will occur when access times are updated,
whether or not any explicit write is attempted.
Umount announces to the system that the special file is no longer to contain a removable file system. The associated file reverts to its
ordinary interpretation.
SEE ALSO
mount(1)
DIAGNOSTICS
Mount returns 0 if the action occurred; -1 if special is inaccessible or not an appropriate file; if name does not exist; if special is
already mounted; if name is in use; or if there are already too many file systems mounted.
Umount returns 0 if the action occurred; -1 if if the special file is inaccessible or does not have a mounted file system, or if there are
active files in the mounted file system.
ASSEMBLER
(mount = 21.)
sys mount; special; name; rwflag
(umount = 22.)
sys umount; special
MOUNT(2)