10 More Discussions You Might Find Interesting
1. How to Post in the The UNIX and Linux Forums
Hi,
I making a script to check nfs mount and unmount options.
After various findings, i didn't get any solution for that.
Can you please help me in making the script.
1) I have used,
if grep -qs '/var/JETSHARE' /proc/mounts; then
echo "It's mounted."
else
echo "It's not mounted.
... (2 Replies)
Discussion started by: Santosh101
2 Replies
2. UNIX for Dummies Questions & Answers
Hello
I need to install a new application on my linux server but needs to have a new directory e.g /opt/InCharge as this is the directory that the application would ask for during installation .This directory needs to be mounted
if df -h it should appear as mounted (9 Replies)
Discussion started by: DOkuwa
9 Replies
3. AIX
Please help me to find or how the filesystem got unmounted without our(Admin) knowledge? :confused::confused:
It was an Application filesystem and server was not rebooted.
Customer is asking the RCA that how their filesystem got umounted?
bash-3.2# uptime
02:49PM up 193 days, 18:59, 7... (3 Replies)
Discussion started by: Thala
3 Replies
4. Red Hat
Hi ,
Our one of VMguest all lvm got unmounted once the machine is rebooted
when in repair state dmesg its showing an error out of memory killed process 22289 (lvm)
please refer screen shots attached
when i look the lvscan its showing all lvm are inactive
i checked throuh top there... (0 Replies)
Discussion started by: venikathir
0 Replies
5. Shell Programming and Scripting
Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting.
basically having worked out how to mount and unmount disks using:
disktool -m *device* & disktool -e *device*
- and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies
6. Shell Programming and Scripting
I have my Mac OS X program executing a shell script (a script that copies files to a drive). I want to make it so that the shell script automatically kills itself if it finds that the host .app is not running OR kill itself if the drive that it is copying files to has been unmounted. Right now what... (2 Replies)
Discussion started by: pcwiz
2 Replies
7. SCO
Dear all,
i am running SCO unix 7.1, and i had a problem with the system file that was full thus some application wasn't able to be executed; then i've done the following:
- move some core files from / directory
- Increase the system parameter FLCKREC, then rebuild the system.
- after... (1 Reply)
Discussion started by: Athos19
1 Replies
8. SCO
Hi, I'm working on SCO 2.1. I had a problem with my datadrive & I had replaced it lastly. Now one of the installed filesystems is not getting unmounted at the time of shutting down the system (I guess):confused: after the installation of new tape drive.
If I try to unmount it forciblyby writing... (1 Reply)
Discussion started by: nensee7
1 Replies
9. Debian
once after the fsck during booting linux(debian 3.0) found some corruption in root (/) partition. Then it corrected it; but problem here is root partition is getting mounted in readonly. Other partitions like /home /tmp /boot are normal (rw).
after doing fsck -f for the root partion it finds... (0 Replies)
Discussion started by: yogesh_powar
0 Replies
10. UNIX for Dummies Questions & Answers
If you have multiple hard drives and multiple mounted filesystems, how can you tell which filesystem resides on which disk? (3 Replies)
Discussion started by: jalburger
3 Replies
Sys::Filesystem::Aix(3pm) User Contributed Perl Documentation Sys::Filesystem::Aix(3pm)
NAME
Sys::Filesystem::Aix - Return AIX filesystem information to Sys::Filesystem
SYNOPSIS
See Sys::Filesystem.
INHERITANCE
Sys::Filesystem::Aix
ISA UNIVERSAL
METHODS
version ()
Return the version of the (sub)module.
ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object.
account
Used by the dodisk command to determine the filesystems to be processed by the accounting system.
boot
Used by the mkfs command to initialize the boot block of a new filesystem.
check
Used by the fsck command to determine the default filesystems to be checked.
dev Identifies, for local mounts, either the block special file where the filesystem resides or the file or directory to be mounted.
free
This value can be either true or false. (Obsolete and ignored).
mount
Used by the mount command to determine whether this file system should be mounted by default.
nodename
Used by the mount command to determine which node contains the remote filesystem.
size
Used by the mkfs command for reference and to build the file system.
type
Used to group related mounts.
vfs Specifies the type of mount. For example, vfs=nfs specifies the virtual filesystem being mounted is an NFS filesystem.
vol Used by the mkfs command when initializing the label on a new filesystem. The value is a volume or pack label using a maximum of 6
characters.
log The LVName must be the full path name of the filesystem logging logical volume name to which log data is written as this file system is
modified. This is only valid for journaled filesystems.
SEE ALSO
Sys::Filesystem
Example /etc/filesystems
* @(#)filesystems @(#)29 1.22 src/bos/etc/filesystems/filesystems, cmdfs, bos530 9/8/00 13:57:45
* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* <snip>
*
* This version of /etc/filesystems assumes that only the root file system
* is created and ready. As new file systems are added, change the check,
* mount, free, log, vol and vfs entries for the appropriate stanza.
/:
dev = /dev/hd4
vol = "root"
mount = automatic
check = false
free = true
vfs = jfs2
log = /dev/hd8
type = bootfs
/proc:
dev = /proc
vol = "/proc"
mount = true
check = false
free = false
vfs = procfs
/scratch:
dev = /dev/fslv02
vfs = jfs2
log = INLINE
mount = true
account = false
Example /usr/sbin/mount output
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs2 Mar 24 12:14 rw,log=/dev/hd8
/proc /proc procfs Mar 24 12:15 rw
/dev/fslv02 /scratch jfs2 Mar 24 12:15 rw,log=INLINE
filesystems(4)
Manpage includes all known options, describes the format and comment char's.
VERSION
$Id: Aix.pm 128 2010-05-12 13:16:44Z trevor $
AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk>
Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de/>
COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington.
Copyright 2008-2010 Jens Rehsack.
This software is licensed under The Apache Software License, Version 2.0.
<http://www.apache.org/licenses/LICENSE-2.0>
perl v5.10.1 2010-05-18 Sys::Filesystem::Aix(3pm)