1834458 Members
2704 Online
110067 Solutions
New Discussion

Re: File system

 
SOLVED
Go to solution
Jeff Hagstrom
Regular Advisor

File system

Is there a way to check what type of filesystem I have? HFS or JFS!
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: File system

You bet.

fstyp -v /dev/vg00/lvol4

You can omit the -v if you just want to know the filesystem type. Man fstyp for details.

Clay
If it ain't broke, I can fix that.
Joseph C. Denman
Honored Contributor

Re: File system

fstyp /dev/vg03/lvol2

...jcd...
If I had only read the instructions first??
Shannon Petry
Honored Contributor

Re: File system

There are many ways. The easiest way to do this is to type
# mount
The system will report on what is mounted. Look for the file system you need and then type
# grep "filesystem" /etc/fstab
NOTE: Dont put in slashes!
There is an entry in fstab which tells the mount command what kind of file system it is to be mounting.

Next if you need to see more information or capabilities, there are two commands.
fsadm
fstyp

Both of these commands need an argument of the RAW file system.
I.E.
# fstyp /dev/rdsk/c0t3d0
or
# fstyp /dev/vg00/rlvol1
and
# fsadm /dev/rdsk/c0t3d0
or
# fsadm /dev/vg00/rlvol1

As always, with UNIX read the man pages. It helps quite a bit!

Hope it helps!
Regards
Shannon
Microsoft. When do you want a virus today?