Computing.Net > Forums > Unix > mounting a drive accross a network

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

mounting a drive accross a network

Reply to Message Icon

Name: peter
Date: September 12, 2003 at 11:29:26 Pacific
OS: Solaris 8
CPU/Ram: 1Gig
Comment:

Does anyone know how to mount a drive / partition that is on one unix server on another unix server ???

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Darrel
Date: September 12, 2003 at 11:54:11 Pacific
Reply:

Try this:

Exporting filesystem from one box to another (NFS):
(or remote mounting a cdrom)

Box Exporting From:
1) vi /etc/exports and add filesystem at the bottom of the file.
2) Type the following command to make sure the server recognizes the new filesystem:
exportfs –av

Box Exporting To:
1) Make directory where you want to export the filesystem from the other box to (don’t make a fileystem in smit).
2) mount –v nfs server:path path
So, when mounting the network filesystem /cdrom from bailey so that it’s available on thor you’d do this (while on thor): priv mount -v nfs bailey:/cdrom /cdrom
3) You should now see the mounted filesystem.
4) Add entry to /etc/fstab (for HP) or /etc/filesystems (for AIX) if you want this filesystem to be mounted permanently.

If you get a message something like this:

mount: 1831-011 access denied for bailey:/cdrom
mount: 1831-008 giving up on:
bailey:/cdrom
The file access permissions do not allow the specified action.

then look at the /etc/hosts file for the host machine and make sure the machine you’re trying to export the filesystem to exists in the host’s /etc/hosts file. Actually, both machines’ IP addresses have to be in the other’s /etc/hosts file so they can find each other. I suppose you could use the IP alone and ignore the alias, but to me it's just easier to deal with the alias.


0

Response Number 2
Name: Peter
Date: September 15, 2003 at 06:39:12 Pacific
Reply:

Thanks for the help.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


AIX physical volume marke... join binary file(split b...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: mounting a drive accross a network

Mounting Win95 drive as Linux volume www.computing.net/answers/unix/mounting-win95-drive-as-linux-volume/270.html

Mount a DAT www.computing.net/answers/unix/mount-a-dat/2952.html

UNIX commands in a networked enviroment www.computing.net/answers/unix/unix-commands-in-a-networked-enviroment/1981.html