06-18-2008
Mount points to hard disks
Hi
I am oracle DBA and sometimes need to see on which disks oracle data files are residing . How can we check that . The file system is jfs on aix 5.2.0.0
The method is use is to use mount |grep oracle_dir_name
or lsfs mount_point_name command to see what /dev/logical_volume_name is mounted . Then use lslv -l to get at the PV .
I am sure there are better methods which may provide all the info from the name of mount points .
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Discussion started by: manderson19
3 Replies
2. UNIX for Dummies Questions & Answers
hi
i tried to tar a directory in my server but it show ensufficient space.
therefore i tried to save it to a mount point using
tar /mountpoint/newfilename file2btar
but it gives me permission denied.
i am using the root account to do this.
is it possible to tar files and put it to mounted... (3 Replies)
Discussion started by: legato
3 Replies
3. UNIX for Dummies Questions & Answers
How do I make a mount point reconnect at boot without editing /etc/fstab? Is there an option (or switch) to make this persistent when issuing the mount command from a client? (1 Reply)
Discussion started by: AIXdumb455
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
Solaris 10
On server A, there is a directory called data with 10 files. This data directory has a further 3 subdirectories, gl, pay, contract (for example)
On server B, I want to see the server A data directory
commands used:
on server A, share -F nfs -o ro -d "<description">... (1 Reply)
Discussion started by: davidra
1 Replies
5. Solaris
I have situation where I want to know about all the vxvm mount points information on my solaris box, because after rebooting the server the few mount points are not mounted automatically because they where not copied in /etc/vfstab.
So please help me out on the same.:( (0 Replies)
Discussion started by: nimish_mehta
0 Replies
6. HP-UX
When taking a snap, I have a script that stops any active snap. When running the script, I'm getting a message that u02 and u04 are already mounted.
How can I find out what process(es) is/are latching on the these mount points?
Thank you for your time. (1 Reply)
Discussion started by: genzbeat
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have some issue with the mounting/unmounting on my sun solaris box.
Actually their is one script that mount the file system take the backup of databases and unmount the file system.Last week this script failed to mount the file system with the below error message:
+ echo fs_check.sh:... (1 Reply)
Discussion started by: biju.mp
1 Replies
8. UNIX for Advanced & Expert Users
hi,
I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks?
thanks (9 Replies)
Discussion started by: JamesByars
9 Replies
9. Red Hat
Hi folks,
I have been asked to performed the following:
Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ
How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies
10. Red Hat
Hi,
What are the types of mount points available in Linux machine and how to find
what type of mount point is configured in my linux machine?
Is mount point otherwise called as file system or do they have different meaning ?
Regards,
Maddy (4 Replies)
Discussion started by: Maddy123
4 Replies
LEARN ABOUT OPENSOLARIS
lofs
lofs(7FS) File Systems lofs(7FS)
NAME
lofs - loopback virtual file system
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
int mount (const char* dir, const char* virtual, int mflag, lofs, NULL, 0);
DESCRIPTION
The loopback file system device allows new, virtual file systems to be created, which provide access to existing files using alternate
pathnames. Once the virtual file system is created, other file systems can be mounted within it, without affecting the original file sys-
tem. However, file systems which are subsequently mounted onto the original file system are visible to the virtual file system, unless or
until the corresponding mount point in the virtual file system is covered by a file system mounted there.
virtual is the mount point for the virtual file system. dir is the pathname of the existing file system. mflag specifies the mount options;
the MS_DATA bit in mflag must be set. If the MS_RDONLY bit in mflag is not set, accesses to the loop back file system are the same as
for the underlying file system. Otherwise, all accesses in the loopback file system will be read-only. All other mount(2) options are
inherited from the underlying file systems.
A loopback mount of '/' onto /tmp/newroot allows the entire file system hierarchy to appear as if it were duplicated under /tmp/newroot,
including any file systems mounted from remote NFS servers. All files would then be accessible either from a pathname relative to '/' or
from a pathname relative to /tmp/newroot until such time as a file system is mounted in /tmp/newroot, or any of its subdirectories.
Loopback mounts of '/' can be performed in conjunction with the chroot(2) system call, to provide a complete virtual file system to a
process or family of processes.
Recursive traversal of loopback mount points is not allowed. After the loopback mount of /tmp/newroot, the file /tmp/newroot/tmp/newroot
does not contain yet another file system hierarchy; rather, it appears just as /tmp/newroot did before the loopback mount was performed
(for example, as an empty directory).
Examples
lofs file systems are mounted using:
mount -F lofs /tmp /mnt
SEE ALSO
lofiadm(1M), mount(1M), chroot(2), mount(2), sysfs(2), vfstab(4), lofi(7D)
NOTES
All access to entries in lofs mounted file systems map to their underlying file system. If a mount point is made available in multiple
locations via lofs and is busy in any of those locations, an attempt to mount a file system at that mount point fails unless the overlay
flag is specified. See mount(1M). Examples of a mount point being busy within a lofs mount include having a file system mounted on it or it
being a processes' current working directory.
WARNINGS
Because of the potential for confusing users and applications, you should use loopback mounts with care. A loopback mount entry in
/etc/vfstab must be placed after the mount points of both directories it depends on. This is most easily accomplished by making the loop-
back mount entry the last in /etc/vfstab.
SunOS 5.11 10 Apr 2001 lofs(7FS)