- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- difference between filesystem and mountpoint
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2010 06:44 AM
10-26-2010 06:44 AM
Very silly question.
What is the difference between filesystem and mountpoint, where do we exactly use the term called “Filesystem” and “Mountpoint”.
* points will be shared at the end without fail.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2010 07:40 AM
10-26-2010 07:40 AM
Re: difference between filesystem and mountpoint
The "root filesystem" is a bit special: it is mounted at the system's root directory (/), and it is usually mounted very early in the system's boot sequence. You usually cannot unmount the root filesystem: if you could do that for some reason, you could not do anything but a system halt/reboot after that.
A mount point is the location where a filesystem's root directory is (or will be) attached to the system's directory hierarchy. The mount point of the root filesystem is always the root directory, /.
Any directory in any filesystem can serve as a mount point for mounting another filesystem: no special preparation is required.
The root directory of the "child" filesystem will overlap the directory of the "parent" filesystem that is used as a mount point. If the mount point directory on the "parent" filesystem contains files, those files will be inaccessible while the "child" filesystem is mounted. (Unless those files are hard-linked to some other location on the parent filesystem... but I digress.)
Unix/Linux sysadmins often talk about filesystems and their mountpoints somewhat interchangeably: for example, "the /usr filesystem" is a shorthand for "the filesystem that is normally mounted at mount point /usr".
Fundamental questions like this are interestingly tricky to answer: please ask for more explanations if I was unclear.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2010 09:20 AM
10-26-2010 09:20 AM
Re: difference between filesystem and mountpoint
So, can I come to a conclusion that,
/dev/cciss/c0d0p3 3.0G 1.5G 1.4G 52% /usr
/dev/cciss/c0d1p1 133G 3.7G 122G 3% /data1
/usr mountpoint is 52% used.
/data1 mountpoint is 3% used.
Instead of referring it as filesystem?
only i suld use "Filesystem" when the communication related with /dev/cciss/c0d0p3 (or) /dev/cciss/c0d1p1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2010 10:43 AM
10-26-2010 10:43 AM
Re: difference between filesystem and mountpoint
>>/dev/cciss/c0d0p3 3.0G 1.5G 1.4G 52% /usr
>>/dev/cciss/c0d1p1 133G 3.7G 122G 3% /data1
>>/usr mountpoint is 52% used.
>>/data1 mountpoint is 3% used.
>>Instead of referring it as filesystem?
The best way, in my opinion, to state this would be: The filesystem on disk /dev/cciss/codop3, which is mounted to /usr, is 52% utilized.
It is the filesystem itself that contains the data. The mountpoint could change but where ever you mount it, it would be 52% utilized.
>>only i suld use "Filesystem" when the
>>communication related with /dev/cciss/c0d0p3 (or) /dev/cciss/c0d1p1
Not necessarily. Those are disk devices on which a filesystem has been created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2010 11:16 AM
10-26-2010 11:16 AM
Re: difference between filesystem and mountpoint
That would seem to be approximately backward.
ls -l /data1
ls -ld /data1
umount /data1
ls -l /data1
ls -ld /data1
"/data1" is a mount point. It's the point
(a directory in the "/" (root) file system)
where the file system on /dev/cciss/c0d1p1 is
normally mounted.
If you do that "umount" command, then
remember to:
mount /data1
A file system is where the files are stored.
A file system can have a capacity, so it
might be, say, 3% full.
A mount point is where a file system appears
in the great tree of file systems. By
itself, it's a directory. It has no
intrinsic capacity, so it can't get full.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2010 04:14 AM
10-27-2010 04:14 AM
Re: difference between filesystem and mountpoint
A mount point is the created access directory that is compatible for this FS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2010 06:50 AM
10-27-2010 06:50 AM
Re: difference between filesystem and mountpoint
Patrick is demonstrating the most complete and technically accurate form here.
But in common sysadmin work, you typically think about the disk device <-> filesystem relations only when you're setting up the system or changing its disk configuration, or troubleshooting a disk problem. Otherwise, you usually won't need to think about it.
On the other hand, the filesystem <-> mountpoint relation is much more important in everyday use, since it is used to define file locations in a way that is immediately usable for users and application configurations.
Therefore, referring to filesystem by using the name of its mountpoint (e.g. "the /opt filesystem") is a very common and practical shorthand.
The operation to identify a disk device when given the mount point of its filesystem (or vice versa) should be trivial for all Unix sysadmins: just type "mount" and read the list. Or on Linux, use "cat /proc/mounts".
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2010 08:57 AM
10-27-2010 08:57 AM
Re: difference between filesystem and mountpoint
A file system sits on top of a mount point.
Thats how I keep it straight. Mount point is just a path.
file system resides elsewhere but is mounted on a mount point.
Examples:
I have a file system called mydata. It was allocated disk on a logical volume vg01/lvol1
It is mounted /dev/vg01/lvol1 /mydata
For some reason I don't like that
umount /mydata
mkdir /oradata
mount /dev/vg01/lvol1/oradata
Same data, same file system really, new mount point.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 05:51 AM
11-17-2010 05:51 AM
Re: difference between filesystem and mountpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 06:26 AM
11-17-2010 06:26 AM
Re: difference between filesystem and mountpoint
Please post a question if something is not
yet clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2010 06:48 AM
11-17-2010 06:48 AM
SolutionFilesystems are data structure or format that exist on top of addressable block or raw or even file devices. Among the most well known filesystems are the ext family on Linux, ufs on BSD and Solaris, vxfs from Veritas/Symantec for all platforms. There are many others in various forms of development.
Now in case you have heard of ZFS (w/c is stable and coming to Linux) and claim it to be a "filesystem" that needs a mount point -- he/she is half correct -- but I digress.
Filesystems need to be mapped or mounted to a directory (also called a mount point). A mount point need not be a top level directory.
Filesystems can be created and exist on top of:
1) a whole simple disk
/dev/sdb on /apache/logs type vxfs (rw)
2) a disk partition
/dev/sdc3 on /saplog type ext4 (rw)
3) an LVM logical volume
/dev/mapper/sapvg01-logvol01 on /saplog01 type vxfs (rw)
4) a VxVM volume
/dev/rdsk/sapdg02/data01 on /sapdata01 type ext3 (rw)
5) a multipathed disk
/dev/mapper/SAPDISK01 on /sapdata type vxfs (rw)
6) a raid device
/dev/cciss/c0d1p1 on /apache type ext3 (rw)
7) a prorietary device say from EMC (Powerpath) or IBM (SVC)
... don;t have it..
8) a loopback file device
/data/file.dsk on /mnt/c type ext3 (rw,loop=/dev/loop2)
So "mount point" and "filesystem" cannot be used interchangeably IMHO. The precise way of using and commnicating is:
say you have:
# df -k /apache/logs
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgapache-logs 1Tb .5Tb .5Tb 50% /apache/logs
# mount |grep logs
/dev/mapper/vgapache-logs on /apache/logs type ext3 (rw)
You would communicate it this way and it will impress your boss (assuming he is technical):
The mount point /apache/logs is an ext3 filesystem that resides on a logical volume named logs that is carved out of an LVM Volume Group vg-apache. It has 50% occupancy.
Hope this helps.
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2010 09:20 AM
11-19-2010 09:20 AM
Re: difference between filesystem and mountpoint
Really itâ s time to say wowâ ¦
@ Steven Schweda
Got so much info.
Thanx all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2010 09:20 AM
11-19-2010 09:20 AM