Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filesystem

Status
Not open for further replies.

mheloy

Vendor
May 19, 2003
23
AP
Hi gurus!

I ran df -k on one server there is one line that looks like this

/export/home/home_it/roy 2052870 1724428 307914 85% /home/roy

instead of

/dev/dsk/c4t0d3s1 8695492 7659910 948628 89% /db/dbars/admin


what kind of filesystem is this? how will I know which disk is being used by this filesystem?

Thanks gurus!
 
run "mount", I think it's a NFS mount or a local filesystem which is automounted...

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
and /etc/auto_master and /etc/auto_home

Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Hi gurus,

sorry for the late reply
let me create another example

output df -k
/prodoper/onis 1523502 1127652 380615 75% /usr/onis

output mount
/usr/onis on /prodoper/onis read/write on Mon Aug 9 16:19:13 2004

output of vfstab (no relevant info)

#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes -
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t1d0s1 - - swap - no -
/dev/md/dsk/d1 /dev/md/rdsk/d1 / ufs 1 no -
/dev/md/dsk/d2 /dev/md/rdsk/d2 /var ufs 1 no -
#/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /sds ufs 2 yes -
#/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /vm ufs 2 yes -
/dev/dsk/c1t0d0s3 /dev/rdsk/c1t0d0s3 /export/home ufs 2 yes -
/dev/dsk/c1t0d0s1 /dev/rdsk/c1t0d0s1 /prodoper ufs 2 yes -
/dev/dsk/c1t0d1s1 /dev/rdsk/c1t0d1s1 /prodoper/bdatos00 ufs 2 yes -
swap - /tmp tmpfs - yes -


so what kind of filesystem is /usr/onis? is it and NFS?

Thanks
 
This looks like automount entries. The /usr/onis looks like an auto_direct entry. Look in /etc for a file called auto_direct. Your auto_master should have an entry that looks something like:

/- auto_direct nobrowse

If you are running NIS, use the following commands:

ypcat auto_master to see if you are running auto direct
ypcat auto_direct | grep onis to see the auto direct entry

Your first post:

/export/home/home_it/roy 2052870 1724428 307914 85% /home/roy

is an automount entry from /etc/auto_home

 
how can I find the disk used by these filesystems? or is this a filesystem mounted from another fileystem?

Thanks
 
find out the type of filesystem; if it is nfs (or lofs, if nfs server and client is the same machine)

example of a local nfs mount
Code:
# mount -v | grep [i]username[/i]
[b]/export/home/[i]username[/i][/b] on /home/[i]username[/i] type [b]lofs[/b] read/write/setuid/dev=1540003 on Thu Sep  2 11:10:26 2004
# grep "/export/home" /etc/vfstab
/dev/md/dsk/[b]d3[/b]  /dev/md/rdsk/d3 /export/home    ufs     1       yes     logging
# metastat -p | grep d3
d3 -m d31 d32 1
d31 1 1 c1t0d0s3
d32 1 1 c1t1d0s3

if it is a nfs mount:
Code:
# mount -v | grep [i]username[/i]
[i]nfsserver[/i]:/export/home/[i]username[/i] on /home/[i]username[/i] type [b]nfs[/b] remote/read/write/setuid/dev=3bc0003 on Thu Sep  2 13:44:36 2004
continue like above



Best Regards, Franz
--
Solaris System Manager from Munich, Germany
I used to work for Sun Microsystems Support (EMEA) for 5 years
 
Thanks everybody. I understand now.
until next post! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top