07-29-2006
Just use the df command. It will not be able to report statistics for any stale mounts. If you have a lot of stale mounts, this will be time-consuming. But you asked for easy, not fast.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, i was trying to mirror root volume group and the command i was using didnt respond for a long time
mirrorvg -m rootvg hdisk1
I was checking rootvg and it gives below. how do i fix stale partitions?? it seems to be on hdisk1
LV NAME TYPE LPs PPs PVs LV STATE ... (2 Replies)
Discussion started by: karthikosu
2 Replies
2. Solaris
hi,
i have currently below mounts in solaris box and i want to create new mount points.
please let me know how can i do it?
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/ 1000M 350M 609M 37% /
/dev 1000M 350M ... (3 Replies)
Discussion started by: rags_s11
3 Replies
3. AIX
I have 2 mounts with me. Each 200 Gigs. I have some heavy duty processing, that may require more than 200 Gigs at time. Is there anyway that I can make the two points a clubbed up directory. Or create a symbolic link (bleahhh). Here are factors:
1. two mounts are two different hard drives. (just... (0 Replies)
Discussion started by: seemit
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm new to Linux and to this forum too. Now, I need some info.
I have an application which writes some data onto one mount(logs and others).
Now, I want to have some convention or script where if the mount(where the application is writing data) reaches certain amount of memory or if it... (1 Reply)
Discussion started by: krisdasword
1 Replies
5. Solaris
Hi,
How can i check if a particular Netapps NAS share being used on some other servers - ie: being accessed, mounted?
example:
somedir - rw, intr servernetapp.net.com:/vol/vol100/somedir is being mounted on some filesystem on other server.
is it possible to check on the NIS? (1 Reply)
Discussion started by: greencored
1 Replies
6. HP-UX
HP-UX B.11.23 U ia64
I've got two users that show in "w" with long idle times but if I search for their processes I find nothing (ps -ef | grep username )
I'm not sure why "w" still sees them and if there is anything (short of a reboot) that I can do to clean them out.
Ideas? (8 Replies)
Discussion started by: LisaS
8 Replies
7. UNIX for Advanced & Expert Users
Hello,
Iam trying to clone AS IS two mounts like below
/class_test/sa
/class_dev/fd
from one server onto another.
I want to use tar and gzip to compress. Please let me know the options I have to use.
Also I want to untar it in the destination server, so let me know how to do... (3 Replies)
Discussion started by: baanprog
3 Replies
8. HP-UX
Hello,
I have an ancient HP-UX 11.11 system where I have a logical volume marked stale and I can't get it sync'd. I have tried lvsync and lvreduce/lvextend to no avail. It is just one 4Mb PE on the disk that I can't get current.
# lvdisplay -v /dev/vg00/lvol5 | grep stale
LV Status ... (17 Replies)
Discussion started by: port43
17 Replies
9. AIX
Hi friends,
the paging lv hd6 is in stale condition
hd6 paging 48 96 2 open/stale N/A
And i'am getting the following alerts in the server 333BD283 0811044814 U S LVDD Bad block detected with no relocation al
333BD283 0811041114 U S LVDD ... (1 Reply)
Discussion started by: Mohamed Thamim
1 Replies
10. AIX
Hi everybody,
I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirror. After problem with SAN pathing of our one Datacenter, I have LV at stale state.
# lsvg cpsdata2vg
VOLUME GROUP: cpsdata2vg VG IDENTIFIER: 00fb518c00004c0000000169445f4c2c
VG STATE: ... (6 Replies)
Discussion started by: Necronomic
6 Replies
LEARN ABOUT CENTOS
pmdamounts
PMDAMOUNTS(1) General Commands Manual PMDAMOUNTS(1)
NAME
pmdamounts - filesystem mounts performance metrics domain agent (PMDA)
SYNOPSIS
$PCP_PMDAS_DIR/mounts/pmdamounts [-d domain] [-l logfile] [-U username]
DESCRIPTION
pmdamounts is a simple Performance Metrics Domain Agent (PMDA) which monitors availability of a given set of filesystem mounts.
The mounts PMDA exports metrics that reflect whether the configured filesystems are mounted ("up") or not. The list of mount points to
monitor is specified via the $PCP_PMDAS_DIR/mounts/mounts.conf file which simply contains one line for each mount point.
Note that the platform kernel PMDA exports a more extensive set of filesystem metrics for every mounted filesystem - this PMDA is primarily
intended for availability monitoring using the mounts.up metric.
A brief description of the pmdamounts command line options follows:
-d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should
be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts.
-l Location of the log file. By default, a log file named mounts.log is written in the current directory of pmcd(1) when pmdamounts is
started, i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error
instead.
-U User account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older
versions the superuser account ("root") was used by default.
INSTALLATION
If you want access to the names, help text and values for the mounts performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/mounts
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/mounts
# ./Remove
pmdamounts is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is
installed or removed.
FILES
$PCP_PMCDCONF_PATH
command line options used to launch pmdamounts
$PCP_PMDAS_DIR/mounts/help
default help text file for the mounts metrics
$PCP_PMDAS_DIR/mounts/Install
installation script for the pmdamounts agent
$PCP_PMDAS_DIR/mounts/Remove
undo installation script for the pmdamounts agent
$PCP_LOG_DIR/pmcd/mounts.log
default log file for error messages and other information from pmdamounts
PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the
file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura-
tion file, as described in pcp.conf(5).
SEE ALSO
PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5).
Performance Co-Pilot PCP PMDAMOUNTS(1)