CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Lounge

NFS setting for sharing removable hard disk on network

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   May 18, 2013, 10:49
Angry NFS setting for sharing removable hard disk on network
  #1
Member
 
luchen
Join Date: Jul 2011
Posts: 42
Rep Power: 5
luchen2408 is on a distinguished road
hello,every one,
I have a problem, I have made a network for parallel running in ubuntu system and I have installed the NFS file server to share the data. but there is not enough room, so I made a new removable hard disk to share ,but I can't share the new removable hard disk on the network in unbuntu system. is there anyone konw how to make it? thanks
luchen2408 is offline   Reply With Quote

Old   May 18, 2013, 11:57
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Luchen,

Have you tried following these instructions: https://help.ubuntu.com/community/SettingUpNFSHowTo

Best regards,
Bruno
luchen2408 likes this.
wyldckat is offline   Reply With Quote

Old   May 19, 2013, 00:08
Default
  #3
Member
 
luchen
Join Date: Jul 2011
Posts: 42
Rep Power: 5
luchen2408 is on a distinguished road
Thanks wyldckat, I have looked through the website you gave, but I still can't make it ,I can share the folder in the /home dir, but I can't share the removable hard disk in the networks. I can't find any hint to do it.
luchen2408 is offline   Reply With Quote

Old   May 19, 2013, 05:43
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Luchen,

You're not sharing much information on this, so I'll have to use a more abstract description.

On the server side, namely where you have the disk you want to share, you might have something like this in the file "/etc/exports":
Code:
/home 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
You can add the new disk by adding the respective line:
Code:
/home 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
/media/newHarddisk 192.168.0.0/255.255.255.0(rw,sync,no_subtree_check)
Then update the share list on memory at the server:
Code:
sudo exportfs -ra
On the client side, namely where you want the disk to work remotely, try to mount the new disk like this:
Code:
sudo mount 192.168.1.42:/media/newHarddisk /mnt
Adjust the IP addresses accordingly. The new shared disk should be in "/mnt".

Best regards,
Bruno
luchen2408 likes this.
wyldckat is offline   Reply With Quote

Old   May 20, 2013, 04:37
Default
  #5
Member
 
luchen
Join Date: Jul 2011
Posts: 42
Rep Power: 5
luchen2408 is on a distinguished road
Thanks wyldckat, I have tried with your method,but I can mount the folder in the media,but after I mount, there is a lock on the folder and the content in the folder can't be shown. do you know why?
luchen2408 is offline   Reply With Quote

Old   May 20, 2013, 16:57
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,253
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Luchen,

Without more information, I have no clue as to what the problem might be.

To get some clues, try running the following command on both machines:
Code:
mount
Check the mounting options that are shown for the folders in question. For example, you should be able to see lines like these:
Code:
/dev/sdb1 on /media/external_drive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

/dev/sda3 on /home type ext4 (rw)
The information between parenthesis is the mount options being used.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulation inside a hard disk drive leeteckwei1988 FLUENT 2 April 3, 2012 09:59
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
3D LES of Air Flow in Hard Disk Drive Trinnapong FLUENT 0 April 17, 2008 21:04
Warning 097- AB CD-adapco 6 November 15, 2004 05:41
Hard Disk Access Time steve podleski Main CFD Forum 35 August 3, 2000 13:14


All times are GMT -4. The time now is 05:01.