Slide

  • LINUX

    LINUX:In 1969 AT&T made a decision to withdraw Multics and go with GECOS (General Electric Comprehensive Operating Supervisor / System), with AT & T in Bells Lab when Multics was withdrawn some of the programmers named Ken Thompson and Dennis Ritchie decided to rewrite operating system in order to support low cost computer..To Know More

    CLICK HERE

  • MICROSOFT

    MICROSOFT:Microsoft was established to develop and sell BASIC interpreters for the Altair 8800. It rose to dominate the home computer operating system market with MS-DOS in the mid-1980s,followed by the Microsoft Windows line of operating systems. To Know More

    CLICK HERE

  • CISCO

    CISCO:During the early 1980s, there was a married couple namely Len and Sandy Bosack who used to work in two different departments of computer located in Stanford University. This couple was facing problem in making their computers communicate with each other To Know More

    CLICK HERE

showinfo=1

NFS (Network File System)


NFS (Network File System)


A Network File System (NFS) allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. The Network File System (NFS) is the standard for sharing files on a directory with Linux and Unix computers. It was originally developed by Sun Microsystems in the mid-1980s.
You can create shared NFS directories directly by editing the /etc/exports configuration file, or you can create them with Red Hat's NFS Configuration tool.

Configurations Files


1. /etc/exports - Main Configuration File

1. Configurations NFS Server.

[root@server1 ~]# yum install nfs*
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.i686 1:1.2.2-7.el6 set to be updated
---> Package nfs-utils-lib.i686 0:1.1.5-1.el6 set to be updated
---> Package nfs4-acl-tools.i686 0:0.3.3-5.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================== Package Arch Version Repository Size
===========================================================================
Installing:
nfs-utils i686 1:1.2.2-7.el6 Server 296 k
nfs-utils-lib i686 1.1.5-1.el6 Server 65 k
nfs4-acl-tools i686 0.3.3-5.el6 Server 43 k

Transaction Summary
===========================================================================
Install 3 Package(s)
Upgrade 0 Package(s)

Total download size: 404 k
Installed size: 989 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): nfs-utils-1.2.2-7.el6.i686.rpm | 296 kB 00:00
(2/3): nfs-utils-lib-1.1.5-1.el6.i686.rpm | 65 kB 00:00
(3/3): nfs4-acl-tools-0.3.3-5.el6.i686.rpm | 43 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------
Total 2.5 MB/s | 404 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 1:nfs-utils-1.2.2-7.el6.i686 1/3
Installing : nfs-utils-lib-1.1.5-1.el6.i686 2/3
Installing : nfs4-acl-tools-0.3.3-5.el6.i686 3/3

Installed:
nfs-utils.i686 1:1.2.2-7.el6 nfs-utils-lib.i686 0:1.1.5-1.el6 nfs4-acl-tools.i686 0:0.3.3-5.el6
Complete!

[root@server1 ~]# mkdir  /data
[root@server1 ~]# cd  /data
[root@server1 data]# ll
total 0
[root@server1 data]# touch file1 file2
[root@server1 data]# cat >> file1
Welcome
CTRL+D  


[root@server1 data]# ll
total 0
-rw-r--r-- 1 root root 8 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@server1 data]# chmod o+rw file1
[root@server1 data]# ll
total 4
-rw-r--rw- 1 root root 8 Aug 8 13:29 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@server1 ~]# vi /etc/exports

i and add following line in it to access data directory by everyone in the network

/data *(rw,sync)


:wq!  


[root@server1 ~]# service nfs restart
Shutting down NFS mountd: [FAILED]
Shutting down NFS daemon: [FAILED]
Shutting down NFS quotas: [FAILED]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Starting RPC idmapd: [ OK ]
[root@server1 ~]# chkconfig --level 35 nfs on
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data *

1. Configurations NFS Client.
[root@client ~]# showmount –e 200.0.0.1
Export list for 200.0.0.1:
/data *
[root@client ~]# mount 200.0.0.1:/data /mnt
[root@client ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@client mnt]# cat >> file1
bash: file1: Permission denied
[root@client mnt]# ll
total 4
-rw-r--rw- 1 root root 8 Aug 8 13:29 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2
[root@client mnt]# cat >> file1
welcome
to  ITTables
CTRL+D
[root@clientmnt]# cat file1
welcome
to ITTables
[root@clientmnt]# vi file1
i
welocme to ITTables


:wq!
[root@client mnt]# cat file1
welcome to ITTables




2. Configurations NFS Server to share directory for specific client .





[root@server1 ~]# vi /etc/exports

i and add following line in it to access data directory only by specific ip address in the network i.e. 200.0.0.40

/data 200.0.0.40(rw,sync)


:wq! …….
[root@server1 ~]# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.40

2. Configurations NFS Client.


[root@client2 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.40
[root@client2 ~]# mount 200.0.0.1:/data /mnt
[root@client2 ~]# cd /mnt
[root@client2 mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

[root@client1 ~]# mount 200.0.0.1:/data /mnt
cannot open directory .: Permission denied



3. Configurations NFS Server to share directory for clients in a specific network.



[root@server1 ~]# vi /etc/exports


/data 200.0.0.0/24(rw,sync)


:wq!
[root@server1 ~]# service nfsrestart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
[root@server1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24





3. Configurations NFS Client.





[root@client1 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24
[root@client1 ~]# mount 200.0.0.1:/data /mnt
[root@client1 ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

[root@client2 ~]# showmount -e 200.0.0.1
Export list for 200.0.0.1:
/data 200.0.0.0/24
[root@client2 ~]# mount 200.0.0.1:/data /mnt
[root@client2 ~]# cd /mnt
[root@client mnt]# ll
total 0
-rw-r--r-- 1 root root 0 Aug 8 13:26 file1
-rw-r--r-- 1 root root 0 Aug 8 13:26 file2

30 comments:

  1. It was originally developed by Sun Microsystems in the mid-1980s. You can create shared NFS directories directly by editing the /etc/exports configuration file, or you can create them with Red Hat's NFS Configuration tool.cloud hosting

    ReplyDelete
  2. It was a positive conversation and each day since then he has made an effort to come and speak to her about his success of the day. 
    www.newbusinessmodels.org |

    ReplyDelete
  3. This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion 
    http://www.thirsk-business.com |

    ReplyDelete
  4. Your blog is really nice and unique.I like it so much. Looking forward to going over your web page again. Thanks for sharing.
    digitalpctech |

    ReplyDelete
  5. Thanks for any other informative site. The place else could I get that kind of info written in such a perfect manner? I have a mission that I am simply now running on, and I've been at the look out for such info.
    www.noworriesluxuryauto.com |

    ReplyDelete
  6. They are now so popular. I am now bookmarked to this site. I am happy to be one of their community.
    www.emrsoftwaresite.com |

    ReplyDelete
  7. I just wanted to let you know that what you do really affects peoples lives and that people - like me - truly appreciate it.
    cleantechcalendar |

    ReplyDelete
  8. I am happy when reading your blog with updated information! thanks alot and hope that you will post more site that are related to this site.
    http://www.samdannessa.com |

    ReplyDelete
  9. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for.find it here: 
    hdslrcoalition.com |

    ReplyDelete
  10. Pretty portion of content. I just stumbled upon your weblog and in accession capital to assert that I acquire in fact enjoyed account your weblog posts. Any way I will be subscribing on your augment or even I achievement you get admission to constantly quickly.
    Business of Guam |

    ReplyDelete
  11. I really think that one of the best articles is this one. It has everything. I needed this information to prove wrong my teacher. I knew this was happening. But my teacher did not agree with me. Now, he'll know I was right! Thank you!
    http://www.oncarecrm.com |

    ReplyDelete
  12. I am really glad to be here.I hope to see more great abaselinehealthgroup.com |

    rticles here in the future too so keep it up and good luck to all of you!

    ReplyDelete
  13. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.
    www.chaos-tech.com |

    ReplyDelete
  14. It is the best time to make a few plans for the longer term and it is time to be happy. I have learn this submit and if I may just I desire to recommend you few attention-grabbing things or tips. Perhaps you can write next articles referring to this article. I desire to learn more things approximately itwww.vsp-auto.com |

    ReplyDelete
  15. I want to make Cheap wow goldcolumn field editable, here I am setting the editable properties for specific field under this.layout by Buy rs goldusing editable: "true" .
    Prescott Sea Food |

    ReplyDelete
  16. Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It�s always nice when you can not only be informed, but also entertained!
    www.pemaauto.com |

    ReplyDelete
  17. Today I said goodbye to my first Hospice patient. She would have been 100 in December. They work hard to match up volunteers with patients, and they did a fantastic job with us. We bonded quickly and talked about everything, from how short Tom Cruise is to how worried her five-year-old self was that her
    http://www.oncarecrm.com |

    ReplyDelete
  18. Hey there! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us useful information to work on. You have done a extraordinary job!
    hpp-hardware |

    ReplyDelete
  19. Fantastic post however I was wanting to know if you could write a litte more on this subject? I'd be very thankful if you could elaborate a little bit more. Cheers!
    stvincentshouse |

    ReplyDelete
  20. Earn to Die Description
    Earn to Die sees you not only driving your way through hordes of zombies, but allows you to earn cash to upgrade, unlock and customise new vehicles. Is your vehicle not strong enough? Why not add a gun, or boosters, or even a spiked frame?
    earn to die801

    Earn to Die 3 is one of those titles that you need to look at with complete …
    earn to die473

    you get to truly showcase your skill against a wide range of human and AI as you see fit.
    With Tank Trouble 3, you don’t have to worry about deadlines nor anything like that, instead this is a fun, relaxing game that you can play whenever you want without any restrictions. It’s really nice and fun to enjoy your time when all you have to do is to destroy the other tanks in the game world. And since the game world is continually changing, offering you more insane challenges, it’s a lot more fun and exciting to explore all of these possibilities in an outstanding way.

    earn to die9561

    Play Earn to Die 2: Unlock and upgrade vehicles and more vehicular zombie slaughter than ever
    .
    earn to die961
    Earn to Die has been one of those games that has been remarkably popular, having hung around the top charts for a long, long time now. Here you can play the first game – Earn to Die 1.

    earn to die592


    ReplyDelete
  21. When you learn these skills from them, the hope is you will share your frustrations with playing around with language on loading time it takes for, accessibility for your host as Java specific optimization is said to: 'improve the compatibility with software' and fortunately this code is very easy to use. Taruhan Online

    ReplyDelete
  22. Packers and Movers Chennai Give Safe and Reliable ***Household Shifting Services in Chennai with Reasonable ###Packers and Movers Price Quotation. We Provide Household Shifting, Office Relocation, ✔✔✔ Local and Domestic Transportation Services, Affordable and Reliable Shifting Service Charges @ Packers And Movers Chennai


    ReplyDelete

Note:- Comment as: Option available to post without login select "Anonymous" from the drop down...........

For Latest Updates: Subscribe Now | | Test Your Knowledge, Take a Quiz now Click Here | | Site Best Viewed In Firefox

X