Sponsored Content
Operating Systems SCO file system not getting mounted in read write mode after system power failure Post 302356060 by gtkpmbpl on Thursday 24th of September 2009 11:51:48 AM
Old 09-24-2009
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
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Write system variables into file

Hi everyone, I was told, i my job, to do a script that creates the backup of all the files that are important to us. So i created the script, put it in the crontab and it works great. Now what i want is to write to a file what directories have being copied with date and time. How can i... (3 Replies)
Discussion started by: jorge.ferreira
3 Replies

2. 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

3. 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

4. Solaris

How to find which file system was not mounted ?

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. HP-UX

how to distinguish standard system mode or trust system mode

I think that if the directory /tcb exists, HP-UX is in trusted mode and the passwd data is somewhere in /tcb/files/auth. But that's all I remember. Also I think recent versions of HP-UX can have a /etc/shadow file. (0 Replies)
Discussion started by: Perderabo
0 Replies

6. 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

7. SCO

Read and write into file system from SCO

hi Knows someone what kind of file system uses SCO Unix 5.0.6? Which linux or unix LIVE CD can read and write into file system from SCO Unix? I've tried to boot SCO using Knoppix 6.2.1 LIVE CD, but cannot mount. # mount -t sysv /dev/sda1 /mnt mount: wrong fs type, bad option, bad superblock... (2 Replies)
Discussion started by: ccc
2 Replies

8. 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

9. 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

10. 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
mount(2)							System Calls Manual							  mount(2)

Name
       mount, umount - mount or unmount a file system

Syntax
       #include <sys/types.h>
       #include <sys/fs_types.h>

       mount(special, name, rwflag, type, options)
       char *special, *name;
       int rwflag, type;
       char *options;

       umount(dev)
       dev_t dev;

Description
       The system call announces to the system that a file system has been mounted on special file, special.  References to file name refer to the
       root file on the newly mounted file system.

       The special argument is a pointer to a null-terminated string containing the pathname of the file system being mounted.

       The name argument is a pointer to a null-terminated string containing the pathname of the root file on the newly mounted file system.   The
       name must already exist and must be a directory.  Its old contents are inaccessible while the file system is mounted.

       The  rwflag  argument  is used to determine whether the file system can be written on; if it is 0, the file system is writable, if nonzero,
       the file system is write-protected.  Physically write-protected disks and magnetic tape file systems must be mounted read-only.	 The  call
       also detects devices that are offline at mount time and returns the appropriate error.

       The type argument identifies the file system type that is being mounted.  The file system types are defined in the <fs_types.h> file.

       The options argument specifies certain parameters that can be used to define how the file system is to be mounted.

       The dev argument to is the device id and identifies the device that contains the file system that is to be unmounted.

Environment
   System V
       The type and the options arguments are not available in the System V environment.

       Programs compiled in the System V environment cause and to set errno to ENOTDIR, instead of EPERM (illegal char in directory name) or EROFS
       (directory on read  only  filesystem). If the process is not the superuser, errno is set to EPERM, instead of ENODEV, and if the file  does
       not exist, errno is set to ENOENT, instead of ENODEV.

       Also in the System V environment, only the low-order bit of rwflag is checked to determine write permission.

       In the System V environment the syntax for is as follows:
	    umount(name) char *name;

       The argument to specifies the file system to be unmounted.  In System V mode, the argument is the of the device that contains the file sys-
       tem that is to be unmounted; in all other modes, it is the device id.

Return Values
       The system call returns 0 upon successful completion of a mount operation; it returns -1 if the mount operation fails.

       The system call announces to the system that the device dev no longer contains a file system.  The  associated  directory  reverts  to  its
       ordinary interpretation.

       The system call returns 0 if the dismount operation succeeds; -1 if it fails.

Diagnostics
       The call fails under the following conditions:

       [EPERM]	      The caller is not the superuser.

       [ENODEV]       A component of special does not exist or the device is offline.

       [ENOTBLK]      The special is not a block device.

       [ENXIO]	      The major device number of special is out of range (indicating that no device driver exists for the associated hardware).

       [EINVAL]       The file system type is out of range.

       [EINVAL]       The super block for the file system had a bad magic number or an out-or-range block size.

       [EINVAL]       The file system has not been unmounted cleanly, and the force option has not been set.

       [ENOTDIR]      A component of name is not a directory, or a path prefix of special is already mounted.

       [EBUSY]	      Another process currently holds a reference to name, or special is already mounted.

       [ENAMETOOLONG] A component of either pathname exceeded 255 characters, or the entire length of either pathname exceeded 1023 characters.

       [ELOOP]	      Too many symbolic links were encountered in translating either pathname.

       [ENOENT]       A component of name does not exist.

       [EMFILE]       No space remains in the mount table.

       [ENOMEM]       Not enough memory was available to read the cylinder group information for the file system.

       [EIO]	      An I/O error occurred while reading the super block or cylinder group information.

       [EFAULT]       The special or name points outside the process's allocated address space space.

       [EROFS]	      The special is a write-locked device and the user did not set the rwflag.

       The command fails under the following conditions:

       [EPERM]	      The caller is not the superuser.

       [EINVAL]       The requested device is not in the mount table.

       [EBUSY]	      A process is holding a reference to a file located on the file system.

       [EIO]	      An I/O error occurred while writing the super block or other cached file system information.

       [EREMOTE]      An  attempt  has	been made to mount an NFS remote file system that is not local to the specified server.  This cannot occur
		      except in response to a failed

       [ETIMEDOUT]    A connect request or remote file operation failed because the connected party did not properly respond  after  a	period	of
		      time that is dependent on the communications protocol.

See Also
       mount(2nfs), mount(8), umount(8)

																	  mount(2)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy