LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   What filesystem am I using? (https://www.linuxquestions.org/questions/linux-server-73/what-filesystem-am-i-using-697531/)

sean_lerner 01-15-2009 10:53 AM

What filesystem am I using?
 
Hello,

Is there a way to determine what filesystem I'm using on my linux server? Particularly, I'd like to confirm I'm using either ext2 or ext3. I'm pretty sure I'm using ext3, but how can I confirm this?

I'm using Centos.

Thanks,

Sean

win32sux 01-15-2009 10:59 AM

Use this command:
Code:

mount
It will show you the filesystems you've got mounted, as well as their mount points and options.

indienick 01-15-2009 10:59 AM

Different partitions can use different file systems, it just requires that the kernel support modules be present for the drive to be accessible.

The easiest way is to:
Code:

$ cat /etc/fstab
It will list all of the partitions defined in the system and the file system for each.

win32sux 01-15-2009 11:02 AM

Looking at /etc/fstab will show you what is supposed to be mounted at startup.

Looking at the output of mount will show you what actually is.

indienick 01-15-2009 11:12 AM

What I was getting at was that sean_lerner could, at the very least, find out every file system that is defined on the server.

Yes, using the mount command will work, too. Another alternative, would be to "cat /etc/mtab".

win32sux 01-15-2009 11:55 AM

Quote:

Originally Posted by indienick (Post 3409977)
What I was getting at was that sean_lerner could, at the very least, find out every file system that is defined on the server.

I know what you were getting at, I was simply elaborating a bit for clarity.

Quote:

Yes, using the mount command will work, too. Another alternative, would be to "cat /etc/mtab".
Yeah, or "cat /proc/mounts".

sean_lerner 01-15-2009 11:40 PM

thanks folks... very helpful


All times are GMT -5. The time now is 03:38 PM.