filesystem mounting


 
Thread Tools Search this Thread
Operating Systems Solaris filesystem mounting
# 1  
Old 12-26-2007
filesystem mounting

Hi all,

I have a question regarding filesystem mounting.

I have one Sun box(V240) and a NAS on a network. Sun machine shows the following output of df -k command.
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d0 11094316 8509226 2474147 78% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
/dev/md/dsk/d5 6053358 1314132 4678693 22% /var
swap 2919352 184 2919168 1% /var/run
swap 3087456 168288 2919168 6% /tmp
/dev/md/dsk/d63 3082223 1973362 1047217 66% /space/tc50
bilchnas01:/vol/cf 11550720 8561684 2989036 75% /cf
bilchnas01:/vol/rs1 3145728 2396276 749452 77% /rs1
bilchnas01:/vol/telco
5242880 4576976 665904 88% /telco
bilchnas01:/vol/edm 104857600 100912144 3945456 97% /home/edm
bilchnas01:/vol/edm_a
54525952 37129936 17396016 69% /home/edm_a
bilchnas01:/vol/edm_p
146800640 143246368 3554272 98% /home/edm_p
bilchnas01:/vol/catadm_flex
1052672 138736 913936 14% /home/catadm_flex

#

And the vfstab is like this

#cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
#/dev/dsk/c0t0d0s1 - - swap - no -
/dev/md/dsk/d1 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
/dev/md/dsk/d5 /dev/md/rdsk/d5 /var ufs 1 no logging
#/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 no l
ogging
swap - /tmp tmpfs - yes -
#
# Spare space
#
#/dev/md/dsk/d60 /dev/md/rdsk/d60 /telco ufs 3 yes -
#/dev/md/dsk/d61 /dev/md/rdsk/d61 /rs1 ufs 3 yes -
#/dev/md/dsk/d62 /dev/md/rdsk/d62 /cf ufs 3 yes -
/dev/md/dsk/d63 /dev/md/rdsk/d63 /mti ufs 3 yes -
#/dev/md/dsk/d64 /dev/md/rdsk/d64 /home/edm ufs 3 y
es -
#/dev/md/dsk/d65 /dev/md/rdsk/d65 /home/edm_p ufs 3 y
es -
#/dev/md/dsk/d66 /dev/md/rdsk/d66 /home/edm_a ufs 3 y
es -
#/dev/md/dsk/d67 /dev/md/rdsk/d67 /home/catadm_flex ufs 3
yes -
#bilchfas01:/vol/rs1 - /rs1 ufs 3 yes -
#bilchnas01:/vol/edm - /home/edm nfs - yes -

The mnttab file is like this-

# cat /etc/mnttab
/dev/md/dsk/d0 / ufs rw,intr,largefiles,logging,xattr,onerror=panic,suid,dev=1540000 1195318568
/proc /proc proc dev=4bc0000 1195318567
mnttab /etc/mnttab mntfs dev=4c80000 1195318567
fd /dev/fd fd rw,suid,dev=4cc0000 1195318568
/dev/md/dsk/d5 /var ufs rw,intr,largefiles,logging,xattr,onerror=panic,suid,dev=1540005 1195318568
swap /var/run tmpfs xattr,dev=1 1195318568
swap /tmp tmpfs xattr,dev=2 1195318569
/dev/md/dsk/d63 /space/tc50 ufs rw,intr,largefiles,logging,xattr,onerror=panic,suid,dev=154003f 1195318570
-hosts /net autofs indirect,nosuid,ignore,nobrowse,dev=4e40001 1195318577
-xfn /xfn autofs indirect,ignore,dev=4e40002 1195318577
bilchnas01:/vol/cf /cf nfs rw,xattr,dev=4e00001 1195318592
bilchnas01:/vol/rs1 /rs1 nfs rw,xattr,dev=4e00002 1195318593
bilchnas01:/vol/telco /telco nfs rw,xattr,dev=4e00003 1195318593
bilchnas01:/vol/edm /home/edm nfs rw,xattr,dev=4e00004 1195318593
bilchnas01:/vol/edm_a /home/edm_a nfs rw,xattr,dev=4e00005 1195318593
bilchnas01:/vol/edm_p /home/edm_p nfs rw,xattr,dev=4e00006 1195318593
bilchnas01:/vol/catadm_flex /home/catadm_flex nfs rw,xattr,dev=4e00007 1195318593
bilchso01:vold(pid771) /vol nfs ignore,noquota,dev=4e00008 1195318595
#

You will find the entries of the filesystems from NAS box is commented in vfstab. Then also it is mounting that all filesystems whenever I reboot the Sunbox.

How that commented entries are going in /etc/mnttab?

Thanks in anticipation...

Last edited by prashantchavan; 12-26-2007 at 07:02 AM..
# 2  
Old 12-26-2007
Perhaps the kind person who set up automounter added in commented entries to vfstab to let you see what they had done.
# 3  
Old 12-29-2007
I concur! Always leave a bread trail when doing changes like this--I'm sure that is all these comments are
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Mounting a directory in a filesystem

Hi All, Recently I came to know my / root file system is getting full because of application directory /siebel/ I have one option. 1) Down the application , take full backup 2)change the filesystem ownership 2)copy the contents into that filesystem cp -pr /siebel/* /siebelfs/* 3)Inform... (9 Replies)
Discussion started by: Thala
9 Replies

2. UNIX for Dummies Questions & Answers

Mounting NFS filesystem

Hi All, I need to mount an nfs filesystem as below. xxx.xx.xx.xxx:/media/nss/Rocky Catherine/logs For the above as there is space in between the name, hoping it will not mount, if i give it with double quotes as below will it work? mount "xxx.xx.xx.xxx:/media/nss/Rocky... (2 Replies)
Discussion started by: Rockyc3400
2 Replies

3. Shell Programming and Scripting

Mounting filesystem

Could anyone help me please as I am stuck up. I want to mount /home/dun/maitree location of server A in server B to location /home/dun/tibco .Both server A and server B are Linux machine .The problem is that /home/dun/tibco of server B has some files and directory in it so after doing this... (1 Reply)
Discussion started by: maitree
1 Replies

4. Solaris

Problem mounting iscsi filesystem

Hi, I have a strange problem with iscsi. My vfstab entry looks like this: /dev/md/dsk/d100 /dev/md/rdsk/d100 /zones/ssapp0895v01 ufs 2 iscsi - After rebooting, the filesystem gets mounted with the option "nosetuid". I believe the default should be "suid" /zones/ssapp0895v01 on... (0 Replies)
Discussion started by: alvaro66
0 Replies

5. Solaris

Need help on filesystem mounting

Hi techies, I am pretty new to Solaris. So the qstn might be a silly one. I had a local disk with Solaris installed. I have done ufsdump to a SAN disk and after that s3 and s7 slices are giving the following error : "UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY." I had the following... (4 Replies)
Discussion started by: manojsomanath
4 Replies

6. Red Hat

Mounting Windows Filesystem

i am new to linux i want to know how to create ntfs partition and mount all windows drives in linux please help me (2 Replies)
Discussion started by: arunkmohan18
2 Replies

7. Filesystems, Disks and Memory

mounting filesystem twice on Solaris

Hello, In a shared storage environment is their anything to stop being able to mount the same filesystem on two hosts by accident, a flag being set or something on the storage? If it did happen would one of the hosts panic? (2 Replies)
Discussion started by: Actuator
2 Replies

8. Shell Programming and Scripting

Looking for a way to have a portable filesystem (or mounting without root)

I have a free software project I'm working on that provides portable versions of Linux applications capable of being carried around on removable media, with settings and documents traveling along. While developing the portable launcher, I fell into a problem: FAT32 partitions do not support... (2 Replies)
Discussion started by: dkulchenko
2 Replies

9. Red Hat

Mounting NTFS filesystem

I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem. Also the... (9 Replies)
Discussion started by: woofie
9 Replies

10. BSD

mounting filesystem error

I get error that I have to rund fsck manually on my filesystem, but when I go to run fsck on filesystem ad1s1e I get an error that says can't open device not configured so fsck won't rund on that filesystem. I am only booting up in single user mode. I noticed when I look in the fstab file the... (1 Reply)
Discussion started by: rbizzell
1 Replies
Login or Register to Ask a Question