The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to mount internal tape drive of sun machine in AIX 5.3 ashwin.krishna AIX 0 11-15-2007 09:38 AM
How to mount disk for non-root accounts? siegfried UNIX for Dummies Questions & Answers 11 03-17-2007 10:36 PM
How to mount disk for non-root accounts? siegfried UNIX for Dummies Questions & Answers 4 08-28-2006 05:47 AM
Mount Second Disk dummy101 UNIX for Dummies Questions & Answers 2 06-20-2006 07:10 AM
Vfstab on spare disk - HOW ? Mount ? DGoubine UNIX for Dummies Questions & Answers 3 02-22-2005 10:06 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-20-2002
sajjan2 sajjan2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 24
mount disk on other machine

I have two Unix machines on the network and now one of them are running out of disk but i have alot on the other so i like to mount the disk (or a folder) from the one that has disk and mount it on the other that does not.
How do i do that? Is it possible i read the "man mount" but didn't really understand how to do it.

Thank you for helping out.
  #2 (permalink)  
Old 09-20-2002
olli2002 olli2002 is offline
Registered User
  
 

Join Date: Aug 2002
Location: Germany
Posts: 9
Thumbs up mount NFS

Hi my friend

So this mounting method (man mount to go for help) is a part
of NFS.

Let me give an example to you:

/usr/sbin/mount -t nfs <hostname>:/tmp /tmp2

In the sbin directory there you can find the command (if the path's not set).

-t = type for a filesystem (NFS) isn't mounted yet

hostname = name of the server you wants to mount from

/tmp = name of the filesystem you wants to mount

/tmp2 = it's the new mount-point on your local machine

Try it!

Bye, Oliver


  #3 (permalink)  
Old 09-20-2002
hassan2 hassan2 is offline Forum Advisor  
Registered User
  
 

Join Date: Mar 2002
Location: London, England
Posts: 262
what OS are you using? just incase you are running sun solaris


To be able to share a remote filesystem you have to share the remote filesystem.

To share the remote filesystem you need to modify
the /etc/dfs/dfstab file with

share -F nfs -o rw /filesystem

also modify the /etc/dfs/sharetab with

/filesystem nfs rw

then issue
shareall

make sure nfs daemon are running of the server
you could check by isseing

ps -ef | grep nfs

if it is not running you could start nfsd by issuing /etc/init.d/nfs.server start

on the client side, that is the side with no disk space
you need to mount the remote filesystem you could do this by issuing

mount (remote server):/usr/local /mount_point

Note:
/filesystem will be the filesytem you intend to share eg / /usr/local, /var, /export/home

so if you intend to share /usr/local your /etc/dfs/dfstab will look like

share -F nfs -o rw /usr/local

and /etc/dfs/sharetab will look like

/usr/local nfs rw
  #4 (permalink)  
Old 09-20-2002
sajjan2 sajjan2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 24
Thank you!

I am running sun solaris, i tried to run "mount -F nfs hostname:/home /export/folder" then i got an problem with
RPC program not registred, i will try your way.

Last edited by oombera; 02-20-2004 at 03:46 PM..
  #5 (permalink)  
Old 09-20-2002
sajjan2 sajjan2 is offline
Registered User
  
 

Join Date: Mar 2002
Posts: 24
Got it working!!

Thanx alot!!
  #6 (permalink)  
Old 09-24-2002
olli2002 olli2002 is offline
Registered User
  
 

Join Date: Aug 2002
Location: Germany
Posts: 9
Thumbs down nfs

Sorry! Was just a suggestion for TRU64+AIX.

Regards
Oliver
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 07:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0