How to create mount point and file system on a Linux Server
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello Team,
Am new to Linux and open to learn from the wealth of experience of professional in the field and member of this forum. How to create mount point and file system on a Linux Server
Possible resolution is appreciated.
This sounds VERY much like a homework question. Read the LQ Rules, and also the "Question Guidelines" link in my posting signature; doing basic research should be something you do first, before posting. Because both of these things can be easily found with an Internet search...much like you found THIS site.
Use the mkdir command, or equivalent. Then edit /etc/fstab using an editor with superuser permission, to configure its use.
Quote:
and file system on a Linux Server
A filesystem needs a place to be put. Most commonly they are put on a partition created by a partitioning utility, but they may be placed directly on certain media types, such as a USB stick, or on a logical volume, such as one managed by LVM, or on a RAID device. The appropriate tool to create the filesystem itself once the location is determined depends on the filesystem type desired, such as mkfs.ext4.
Some distros may offer a consolidation of these discrete processes using a program with a graphical interface, such as YaST.
Generally a mount point is an inode (a file or a directory) on the existing file system.
On Linux it must be a directory, and there you mount (attach) the top directory of another file system.
The mounted directory supersedes the mount point. The mount point directory should be empty, because its contents (the whole directory tree) would be no longer accessable but still occupying space.
The df command, run on a file or a directory, gives info about its file system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.