02-05-2008
mount points are already mounted
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: Unable to file system check /db2-sp.
I ran the fsck for /db2-sp manually and here is what came back:
# fsck -F ufs -o p /dev/rdsk/c3t11d113s1
/dev/dsk/c3t11d113s1: /dev/dsk/c3t11d113s1 IS CURRENTLY MOUNTED.
/dev/dsk/c3t11d113s1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
I then did a df to see what was mounted as c3t11d113. This is what I found:
# df|grep c3t11d113
/tmp/.rlg.ytaGOG/.rlg.ytaGOG(/dev/dsk/c3t11d113s1):14107162 blocks 1678436 files
I did a little digging and found that this file system, /tmp/.rlg.ytaGOG/.rlg.ytaGOG, had been mounted at 20:43 last night. We couldn't tell if it was a manual or scripted mount. After we unmounted the wrong file system, I did the fsck and mount of csmssp3582dg.cln1 manually and everything worked OK.
Can anyone help me in finding out what exactly causing this issue.I mean Anyway to check what is causing this "/tmp/.rlg.ytaGOG/.rlg.ytaGOG" to be mounted.
Thanks in advance
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. 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
6. AIX
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... (1 Reply)
Discussion started by: clifford
1 Replies
7. 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
8. Shell Programming and Scripting
Hi there
i need a way ( some sort of script maybe) to check if a mont point exist when but the physical drive does not
for example if i look in / and see that user_data2 directory exist but there is no user_data2 drive.
another hurdle would be that some of the machines have raided drives... (3 Replies)
Discussion started by: ab52
3 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 OPENDARWIN
vfstab
vfstab(4) File Formats vfstab(4)
NAME
vfstab - table of file system defaults
DESCRIPTION
The file /etc/vfstab describes defaults for each file system. The information is stored in a table with the following column headings:
device device mount FS fsck mount mount
to mount to fsck point type pass at boot options
The fields in the table are space-separated and show the resource name (device to mount), the raw device to fsck (device to fsck), the
default mount directory (mount point), the name of the file system type (FS type), the number used by fsck to decide whether to check the
file system automatically (fsck pass), whether the file system should be mounted automatically by mountall (mount at boot), and the file
system mount options (mount options). (See respective mount file system man page below in SEE ALSO for mount options.) A '-' is used to
indicate no entry in a field. This may be used when a field does not apply to the resource being mounted.
The getvfsent(3C) family of routines is used to read and write to /etc/vfstab.
/etc/vfstab can be used to specify swap areas. An entry so specified, (which can be a file or a device), will automatically be added as a
swap area by the /sbin/swapadd script when the system boots. To specify a swap area, the device-to-mount field contains the name of the
swap file or device, the FS-type is "swap", mount-at-boot is "no" and all other fields have no entry.
EXAMPLES
The following are vfstab entries for various file system types supported in the Solaris operating environment.
Example 1: NFS and UFS Mounts
The following entry invokes NFS to automatically mount the directory /usr/local of the server example1 on the client's /usr/local directory
with read-only permission:
example1:/usr/local - /usr/local nfs - yes ro
The following example assumes a small departmental mail setup, in which clients mount /var/mail from a server mailsvr. The following entry
would be listed in each client's vfstab:
mailsvr:/var/mail - /var/mail nfs - yes intr,bg
The following is an example for a UFS file system in which logging is enabled:
/dev/dsk/c2t10d0s0 /dev/rdsk/c2t10d0s0 /export/local ufs 3 yes logging
See mount_nfs(1M) for a description of NFS mount options and mount_ufs(1M) for a description of UFS options.
Example 2: pcfs Mounts
The following example mounts a pcfs file system on a fixed hard disk on an x86 machine:
/dev/dsk/c1t2d0p0:c - /win98 pcfs - yes -
The example below mounts a Jaz drive on a SPARC machine. Normally, the volume management daemon (see vold(1M)) handles mounting of remov-
able media, obviating a vfstab entry. If you choose to specify a device that supports removable media in vfstab, be sure to set the mount-
at-boot field to no, as below. Such an entry presumes you are not running vold.
/dev/dsk/c1t2d0s2:c - /jaz pcfs - no -
For removable media on a SPARC machine, the convention for the slice portion of the disk identifier is to specify s2, which stands for the
entire medium.
For pcfs file systems on x86 machines, note that the disk identifier uses a p (p0) and a logical drive (c, in the /win98 example above) for
a pcfs logical drive. See mount_pcfs(1M) for syntax for pcfs logical drives and for pcfs-specific mount options.
Example 3: CacheFS Mount
Below is an example for a CacheFS file system. Because of the length of this entry and the fact that vfstab entries cannot be continued to
a second line, the vfstab fields are presented here in a vertical format. In re-creating such an entry in your own vfstab, you would enter
values as you would for any vfstab entry, on a single line.
device to mount: svr1:/export/abc
device to fsck: /usr/abc
mount point: /opt/cache
FS type: cachefs
fsck pass: 7
mount at boot: yes
mount options:
local-access,bg,nosuid,demandconst,backfstype=nfs,cachedir=/opt/cache
See mount_cachefs(1M) for CacheFS-specific mount options.
Example 4: Loopback File System Mount
The following is an example of mounting a loopback (lofs) file system:
/export/test - /opt/test lofs - yes -
See lofs(7FS) for an overview of the loopback file system.
SEE ALSO
fsck(1M), mount(1M), mount_cachefs(1M), mount_hsfs(1M), mount_nfs(1M), mount_tmpfs(1M), mount_ufs(1M), swap(1M), getvfsent(3C)
System Administration Guide: Basic Administration
SunOS 5.10 21 Jun 2001 vfstab(4)