You can determine a file system's type by using one of the following:
The FS type field in the virtual file system table (the /etc/vfstab file)
The /etc/default/fs file for local file systems
The /etc/dfs/fstypes file for NFS file systems
oracle@ctscq6810 $ cat /etc/default/fs
LOCAL=ufs
++++++++
Linux
+++++++
[oracle@ctscp5211 OPatch]$ df -T /persoad1/oracle
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_ctscp5211_persoad1_oracle-persoad1_oracle
ext3 41264448 30593920 8574400 79% /persoad1/oracle
[oracle@ctscp5211 OPatch]$ uname -a
Linux ctscp5211 2.6.32-400.33.3.el5uek #1 SMP Tue Nov 26 10:37:33 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
[oracle@ctscp5211 OPatch]$
+++++++
solaris
+++++++
oracle@ctscq6810 $ df -n /persoaq1/oracle
/persoaq1/oracle : vxfs
oracle@ctscq6810 $
oracle@ctscq6810 $ df -n|grep -i /usr
/usr/nbadmin : nfs
oracle@ctscq6810 $ df -n|grep -i /persoaq1/oracle
/persoaq1/oracle : vxfs
oracle@ctscq6810 $
The FS type field in the virtual file system table (the /etc/vfstab file)
The /etc/default/fs file for local file systems
The /etc/dfs/fstypes file for NFS file systems
oracle@ctscq6810 $ cat /etc/default/fs
LOCAL=ufs
++++++++
Linux
+++++++
[oracle@ctscp5211 OPatch]$ df -T /persoad1/oracle
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_ctscp5211_persoad1_oracle-persoad1_oracle
ext3 41264448 30593920 8574400 79% /persoad1/oracle
[oracle@ctscp5211 OPatch]$ uname -a
Linux ctscp5211 2.6.32-400.33.3.el5uek #1 SMP Tue Nov 26 10:37:33 PST 2013 x86_64 x86_64 x86_64 GNU/Linux
[oracle@ctscp5211 OPatch]$
+++++++
solaris
+++++++
oracle@ctscq6810 $ df -n /persoaq1/oracle
/persoaq1/oracle : vxfs
oracle@ctscq6810 $
oracle@ctscq6810 $ df -n|grep -i /usr
/usr/nbadmin : nfs
oracle@ctscq6810 $ df -n|grep -i /persoaq1/oracle
/persoaq1/oracle : vxfs
oracle@ctscq6810 $
No comments:
Post a Comment