My /etc/mnttab file is showing ro permission for /usr
Hi All,
My current /usr utilization is 100%.As i don't have another harddisk i decided to delete some unnecessary files under /usr.But,while deleteing it is giving error "it is a readonly filesystem".I checked /etc/mnttab file it is showing the following entry
As far as i understand it is mounted as "readonly" .
As far as i know i cannot modify /etc/mnttab file.Please suggest what changes i should do i am able to delete files under /usr or entry becomes "rw".
Urgent help would be appreciable.
Regards
Last edited by DukeNuke2; 02-27-2011 at 06:39 PM..
I keep getting the following errors and I don't know where to look to resolve the problem. Any ideas?
bellmail: lockf(/usr/spool/mail/uucp): permission denied
bellmail: lockf(/usr/spool/mail/root): permission denied
bellmail: lockf(/usr/spool/mail/daemon): no such file or directory....
AIX... (1 Reply)
Hi all,
Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued.
An example of what I mean is, currently I see the following ...
$ bdf -l
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 524288 ... (6 Replies)
Hello Guruz,
Relay bad condition :mad:
Some has changed the permission to 777 recursively for /usr/bin directory by mistake. Now all the permission looks to be 777 on /usr/bin
Hence I am so many system related errors as 1 show below.
When I am trying to change the password, I am getting... (5 Replies)
Hi all,
below is the problem details:
ora10g@CNORACLE1>which ld
/usr/ucb/ld
ora10g@CNORACLE1>cd /usr/ccs/bin
ora10g@CNORACLE1>ln -s /usr/ucb/ld ld
ln: cannot create ld: File exists
ora10g@CNORACLE1>
how to link it to /usr/ccs/bin? (6 Replies)
I accidentally changed to sudo chmod a=w to my /usr/bin folder on my macbook with OS 10.5.8... Please help! I can't even get into a terminal correctly cause it displays:
-bash: uname: command not found
-bash: cut: command not found
-bash: uname: command not found
-bash: cut: command not found... (6 Replies)
what is the difference between the /etc/vfstab and /etc/mnttab? when i check both files, the content is almost the same. can you enlighten me? what i know is /etc/vfstab is used for hard mounts. (4 Replies)
Hello friends,
I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Hello friends,
I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Hi Guys
New to this forum so apologies if posted in wrong place. Got a unixware 7.1.3 system (I know !). df -k produces no output which I believe is because /etc/mnttab is empty. Can /etc/mnttab be re-built ?
Thanks (2 Replies)
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies
LEARN ABOUT V7
mountall
mountall(1M) System Administration Commands mountall(1M)NAME
mountall, umountall - mount, unmount multiple file systems
SYNOPSIS
mountall [-F FSType] [-l | -r] [file_system_table]
umountall [-k] [-s] [-F FSType] [-l | -r] [-n]
umountall [-k] [-s] [-h host] [-n]
DESCRIPTION
mountall is used to mount file systems specified in a file system table. The file system table must be in vfstab(4) format. If no file_sys-
tem_table is specified, /etc/vfstab is used. If - is specified as file_system_table, mountall reads the file system table from the standard
input. mountall mounts only those file systems with the mount at boot field set to yes in the file_system_table.
For each file system in the file system table, the following logic is executed: if there exists a file/usr/lib/fs/FSType/fsckall, where
FSType is the type of the file system, save that file system in a list to be passed later, and all at once, as arguments to the
/usr/lib/fs/FSType/fsckall script. The /usr/lib/fs/FSType/fsckall script checks all of the file systems in its argument list to determine
whether they can be safely mounted. If no /usr/lib/fs/FSType/fsckall script exists for the FSType of the file system, the file system is
individually checked using fsck(1M). If the file system does not appear mountable, it is fixed using fsck before the mount is attempted.
File systems with a - entry in the fsckdev field are mounted without first being checked.
umountall causes all mounted file systems except root, /usr, /var, /var/adm, /var/run, /proc, and /dev/fd to be unmounted. If the FSType is
specified, mountall and umountall limit their actions to the FSType specified. There is no guarantee that umountall unmounts busy file sys-
tems, even if the -k option is specified.
OPTIONS
The following options are supported:
-F Specify the FSType of the file system to be mounted or unmounted.
-h host Unmount all file systems listed in /etc/mnttab that are remote-mounted from host.
-k Use the fuser -k mount-point command. See the fuser(1M) for details. The -k option sends the SIGKILL signal to each
process using the file. As this option spawns kills for each process, the kill messages might not show up immediately.
There is no guarantee that umountall unmounts busy file systems, even if the -k option is specified.
-l Limit the action to local file systems.
-n List the actions that would be performed for the specified options, but do not actually execute these actions. Repeating
the command without the -n option executes the listed actions, assuming that the /etc/mnttab file has not changed in the
interval prior to repeating the command.
-r Limit the action to remote file system types.
-s Do not perform the umount operation in parallel.
FILES
/etc/mnttab Mounted file system table
/etc/vfstab Table of file system defaults
/usr/lib/fs/FSType/fsckall Script called by mountall to perform the file system check of all file systems of type FSType
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attributes(5)DIAGNOSTICS
No messages are printed if the file systems are mountable and clean.
Error and warning messages come from fsck(1M) and mount(1M).
SunOS 5.10 28 Oct 2002 mountall(1M)