CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General 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 Search this Thread Display Modes
Old   May 18, 2013, 11:49
Angry NFS setting for sharing removable hard disk on network
  #1
Member
 
luchen
Join Date: Jul 2011
Posts: 44
Rep Power: 14
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, 12:57
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 01:08
Default
  #3
Member
 
luchen
Join Date: Jul 2011
Posts: 44
Rep Power: 14
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, 06:43
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 05:37
Default
  #5
Member
 
luchen
Join Date: Jul 2011
Posts: 44
Rep Power: 14
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, 17:57
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 10:59
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58
3D LES of Air Flow in Hard Disk Drive Trinnapong FLUENT 0 April 17, 2008 22:04
Warning 097- AB Siemens 6 November 15, 2004 05:41
Hard Disk Access Time steve podleski Main CFD Forum 35 August 3, 2000 14:14


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