Operating System - HP-UX
1834017 Members
2544 Online
110063 Solutions
New Discussion

Re: Partitioning logical volumes for network access.

 
SOLVED
Go to solution
Mark Stewart
Frequent Advisor

Partitioning logical volumes for network access.

Hi! I am trying to create a new partition that will be mounted and accessible from other HP workstations on the lan. The desired partition will be mounted to a directory in the root. I was wondering how I should create this partition, and then how I can mount it on other workstations. I have tried to use SAM to do this, but the partitions I've created can't seem to be accessed from other workstations. Any suggestions would be greatly appreciated. Thanks!
3 REPLIES 3
Thom Cornwell
Frequent Advisor

Re: Partitioning logical volumes for network access.

Did you export the filesystems for mounting on the remote systems?
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Partitioning logical volumes for network access.

Hi Mark,

I suspect that you have not enabled your server
as an NFS server.

I am going to do this intentionally without SAM as all real UNIX guys do:

1) cd /etc/rc.config.d
2) vi nfsconf
You will need to set NFS_CLIENT=1
NFS_SERVER=1
and if you want to allows PC's NFS access and
locking set PCNFS_SERVER=1.
Save the file.

3) Create or edit a file called /etc/exports
In the simplest form, let's assume you have
a 2 directories/filesystems that you want to export fs1 and fs2 on host myserver.
The format of /etc/exports should then be simply
/fs1
/fs1
There are other options, you can man exports for details.

4) If the parameters in /etc/rc.config.d/nfsconf were not originally 1, you need to start the NFS services. cd /sbin/init.d
./nfs.core start
./nfs.client start
./nfs.server start
or you can simply reboot.

5) exportfs -a
man exportfs for details.

That completes the work on the server; now for the client:

mkdir /myserver_fs1 /myserver_fs2

mount -F nfs myserver:/fs1 /myserver_fs1
mount -F nfs myserver:/fs2 /myserver_fs2

man mount_nfs for details.

That should do it, Clay


If it ain't broke, I can fix that.
Ajitkumar Rane
Trusted Contributor

Re: Partitioning logical volumes for network access.

Also otherwise
You can go to SAM
On the system from where you want to export the filesystem (Source)
->Networking & communication
-> Network filesystems
-> Exported Local filesystem -> Actions -> Add Exported File system

(Destination)the system where you want to mount the filesystem
->Networking & communication
-> Network filesystems
->Remote Mounted filessytems -> Actions -> Add Remote File system

I hope this helps

Good luck
Amidsts difficulties lie opportunities