Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to work with fstab on CentOS

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-05-2011
Member
 
Join Date: Mar 2011
Posts: 358
How to work with fstab on CentOS
  

I need some help to understand the fstab part of CenOS. With this there are number of options that can be configured while working on the server. I know there is a need to some advance configuration. It is an typical disk file system and what does it more tells about the system. What more can be done and configured via this. Does there is a way to work via GUI mode in this. If yes then how to do the same. I need only some really useful part of this file which can help me in future to configure the files in fstab.

Reply With Quote
  #2  
Old 04-05-2011
mv mv is offline
Member
 
Join Date: May 2008
Posts: 681
Re: How to work with fstab on CentOS

The fstab is the file where data are stored on different physical devices assembly. There are around 6 different sections for fstab. The first is the file system which is the place where the physical device to mount, such as / Dev/hda1, / dev / sda, etc. Then comes the mount point. It is the place where the physical device will be mounted and the mount point may be from a system folder as a folder created by the user or root. The comes the type which is an type of file that will set the physical device. The other section of fstab is options. This are those options that will set the physical device, there are many different options. The last two are dump an d pass.
Reply With Quote
  #3  
Old 04-05-2011
Member
 
Join Date: Apr 2009
Posts: 967
Re: How to work with fstab on CentOS

Options has the most used options in it. I want to highlight some of the most used one. The first is defaults. This option is the union of the options rw, suid, dev, exec, auto, nouser and async. And then comes one of the most important one read-write the rw option.With this mount the partition in order to allow both read and write to the physical device, this option is used with devices that allow writing such as pen drive or floppy disks, because without this option, we could not keep such data devices. So that is necessary to configure properly.
Reply With Quote
  #4  
Old 04-05-2011
Member
 
Join Date: Nov 2009
Posts: 754
Re: How to work with fstab on CentOS

There are other more important parts of options which cannot be ignored. The one is ro which is also called as read only. With this option you cannot write to the device, which can be read only. Then also comes noexec which prevents the execution of any file on the device on which this option is enabled, this option is very useful when on the same machine multiple users have access to one device and do not want these files to run on devices. Nodevis the option which prevent device nodes can be used in the file system.
Reply With Quote
  #5  
Old 04-05-2011
Member
 
Join Date: May 2008
Posts: 1,020
Re: How to work with fstab on CentOS

/ Etc / fstab is read each time when y ou use the mount command. But when you start your station, you've probably noticed that some partitions are sometimes tested by fsck. So to change the behavior of these two (at least) commands must get their hands dirty. This file is used by window managers like KDE that mount the file system from a CD-ROM by simply clicking on its icon. The / etc / fstab tells Linux which partitions should be mounted automatically, what are the partitions that users can assemble themselves. It is therefore an important file, and it is better not to remain ignorant of its operation.
Reply With Quote
  #6  
Old 04-05-2011
Member
 
Join Date: May 2008
Posts: 991
Re: How to work with fstab on CentOS

Many of us, Linux users have computers with shared folders windows or Linux servers using Samba shared folders to which you want to access. When you edit / etc / fstab contents are taken into account immediately. But if you added a new file system mount automatically (see below), then we must say a GNU / Linux to mount file systems not already mounted by the command:[Root @ localhost ~] $ mount-a. There remains a small problem, if you have not added a file system, but only modified system files, then this command will not do anything.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to work with fstab on CentOS"
Thread Thread Starter Forum Replies Last Post
How to install rpm in CentOS 5.5? Man-Than Operating Systems 5 06-05-2011 10:39 AM
CentOS 5.5 to CentOS 5.6 Updates: Error while updating kernel-PAE fanish-war Operating Systems 5 06-05-2011 10:30 AM
how to upgrade from CentOS 5.5 to centos 5.6 manhat Operating Systems 6 02-05-2011 04:20 PM
How to edit and understand /etc/fstab Matrix316 Operating Systems 3 31-10-2009 02:29 PM
CentOS fuse doesn't work LinuxeD Operating Systems 3 28-07-2009 08:40 PM


All times are GMT +5.5. The time now is 08:43 PM.