Sponsored Content
Top Forums Shell Programming and Scripting shell script to mount filesystem Post 302106995 by blowtorch on Tuesday 13th of February 2007 06:42:09 PM
Old 02-13-2007
I checked some of my systems, and the only filesystem that I found with a mount at boot set to no is '/' itself. All other systems that are mounted are set to yes. About your filesystem, it could be that someone has mounted the filesystem manually after the system has booted.
About the fsck value, to be honest, I am not sure what the effect of changing the values would be, but conventionally, the value is set to 1 for '/' and 2 for all other filesystems.
It might be that fscking the / at one pass, then proceeding to boot and fscking the other filesystems at a later pass speeds up the boot process.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mount nfs filesystem

I try to share a directory from a wortstation to a server. the share command was no problem. Solaris 8 on mars share -F nfs -o rw /dir/dir2 on the server mount mars:/dir/dir2 /mount_point RPC: Program not registered <--- What is the meaning of this ? Thanks for you help ! (2 Replies)
Discussion started by: joerg
2 Replies

2. UNIX for Dummies Questions & Answers

Mount a Filesystem

I want help about mount a filesystem to use a cdrom to install a software that be in the cd cdrom.. you can send a mail ::removed emails:: (5 Replies)
Discussion started by: amauryrgrullon
5 Replies

3. Linux

how to mount ntfs filesystem

:) Hi frds ..i hope i can get some help for this.. I am unable to mount ntfs/hpfs file system which contain my XP o/s. As per the information collected on net i found tht my kernel i.e 2.4.xx does not support ntfs ..? Now I dont knwo where to get upgraded kernel and how to deploy it ..can anyone... (0 Replies)
Discussion started by: nicknihal
0 Replies

4. Linux

How to mount a filesystem of one pc in another pc that are connected in a network?

Hi, I have a software in one of the pcs connected in the network and I need to mount that file system in my PC. Both the pcs have Linux installed. Please let me know how can we achieve this. Any pointers would be of great help. Thanks & Regards, Venkatesh. (3 Replies)
Discussion started by: venkatesh_sasi
3 Replies

5. Solaris

Mount /usr as a separate filesystem

Hi All, I have mount /usr directory as a seperate filesystem.The /usr directory includedd in / root file system.I have to mount it as seperate. Please Help me, Thanks and Regards, (7 Replies)
Discussion started by: lbreddy
7 Replies

6. Solaris

Mount old zfs filesystem

Hey all, I have a machine with 16 drive slots. Two of the drives have a ZFS mirror of the operating system, the other 14 contain the storage raidz. So, after installing Opensolaris on the OS drives, how can I remount the storage raid? TIA (11 Replies)
Discussion started by: PatrickBaer
11 Replies

7. Shell Programming and Scripting

Filesystem alert shell script not working!!

Hi All, My below shell script is not capturing %used value in the filesystem alert in the subject of the mail alert: #!/bin/bash export DBALIST="abc@xyz.com" df -k /oradata/xyz/archive > dfk.result archive_capacity=`awk -F" " '{ print $5 }' dfk.result|grep -i %| cut -c 1-4` if ] then... (5 Replies)
Discussion started by: a1_win
5 Replies

8. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

9. UNIX for Dummies Questions & Answers

Can't mount filesystem

I have 2 Linux servers. rcwlo-ods10g and rcwlo-10gdev I can mount one filesystem from rcwlo-ods10g onto rcwlo-10gdev fine: RCWLO-10gDev:/ # mount -F rcwlo-ods10g:/SAN /backup but when I try another one I get: RCWLO-10gDev:/ # mount -F rcwlo-ods10g:/backup /backup mount:... (0 Replies)
Discussion started by: jamie_collins
0 Replies

10. Solaris

OpenIndiana: Can't mount ext2 filesystem

I have oi_151a7 and installed from sfe fuse-ext, libfuse and e2fsprogs. Mount e.g. # mount -F ext2fs /dev/dsk/c4t0d0p1 /mnt returns "mount: Operation not applicable to FSType ext2fs" and $ fuse-ext2 /dev/dsk/c4t0d0p1 ~/tmp/a/ does not output anything but the filesystem seems not to be... (3 Replies)
Discussion started by: bsdx
3 Replies
QUOTACHECK(8)						      System Manager's Manual						     QUOTACHECK(8)

NAME
quotacheck - filesystem quota consistency checker SYNOPSIS
quotacheck [ -v ] filesystem ... quotacheck [ -v ] -a DESCRIPTION
Quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota file for the filesystem. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated (the latter only occurs if an active filesystem is checked). Available options: -a If the -a flag is supplied in place of any filesystem names, quotacheck will check all the filesystems indicated in /etc/fstab to be read-write with disk quotas. -v quotacheck reports discrepancies between the calculated and recorded disk quotas. Parallel passes are run on the filesystems required, using the pass numbers in /etc/fstab in an identical fashion to fsck(8). Normally quotacheck operates silently. Quotacheck expects each filesystem to be checked to have a quota files named quotas located at the root of the associated file system. These defaults may be overridden in /etc/fstab. If a file is not present, quotacheck will create it. Quotacheck is normally run at boot time from the /etc/rc.local file, see rc(8), before enabling disk quotas with quotaon(8). Quotacheck accesses the raw device in calculating the actual disk usage for each user. Thus, the filesystems checked should be quiescent while quotacheck is running. FILES
quotas at the filesystem root /etc/fstab default filesystems BUGS
The quotas file may be named arbitrarily but must reside in the filesystem for which it contains quota information. Quotacheck will give the error: %s dev (0x%x) mismatch %s (0x%x) if the quotas file is not in the filesystem being checked. This restriction is enforced by the kernel but may be lifted in the future. SEE ALSO
quota(1), quotactl(2), fstab(5), edquota(8), fsck(8), quotaon(8), repquota(8) HISTORY
The quotacheck command appeared in 4.2BSD. 4.2 Berkeley Distribution January 24, 1996 QUOTACHECK(8)
All times are GMT -4. The time now is 08:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy