Operating System - HP-UX
1839126 Members
3180 Online
110136 Solutions
New Discussion

Re: External Disks & Remote Mount

 
SOLVED
Go to solution
Amit Dixit_2
Regular Advisor

External Disks & Remote Mount

Hi,
I am having 4 External SCSI disk connected to
one of my servers I want to create a
filesystem on ony one them and then want to
mount it on another system so as to create
dbspace for informix on that FS.

How can I do that ??

Thanks,
Amit
6 REPLIES 6
Mobeen_1
Esteemed Contributor

Re: External Disks & Remote Mount

Amit,
I am not an expert on this hence you may have to wait for the experts to get back to you on this. I am sure they will suggest many ways to do this. But while waiting i would suggest that you explore the following possibilities

1. Use of NFS

2. Is this a Cluster?

Having said this, i think it really is not a good idea to look into NFS and make this file system available to other system as you may have to look into a lot of other conditions like IO etc

Secondly if these systems (with local disk) and the system on which you want to make this available are clustered. Then there should be a way for you to make these SCSI disks be seen on the other system

regards
Mobeen
Muthukumar_5
Honored Contributor

Re: External Disks & Remote Mount

create a file system with newfs which is a friendly front end to mkfs.

newfs -F

mount the pariticular fs with a new mount point. Create the entry in /etc/fstab file

It will mount when ever system restarts.

Easy to suggest when don't know about the problem!
melvyn burnard
Honored Contributor

Re: External Disks & Remote Mount

pvcreate the disk(s) you want to use.
create a new vg using these pv's
create one or more Lvols that you reauire, and hten creat a file system on them.

Mount these file systems to a mount point on your server,include them in /etc/fstab for automounting at server reboot time and copy over the data you wish to be on them.
Then set up the /etc/exports file to have the file systems exported, and ensure you have your server configured to have NFS Server started at boot time, by configuring /etc/rc.config.d/nfsconf

and then start the nfs server side by doing
/sbin/init.d/nfs.server start

Then on the remote system mount the file system(s) you need

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bharat Katkar
Honored Contributor
Solution

Re: External Disks & Remote Mount

HI amit.
On your System1
1. Create PV as suggested. pvcreate
2. Create VG. vgcreate vgname pvname
3. Create LV lvcreate
4. Create Filesystems. newfs
Mount filesystems

Now you filesystems are ready.

5. Modify /etc/exports file see man exports
6. Modify /etc/rc.config.d/nfsconf file and set: NFS_CLIENT=1,NFS_SERVER=1,NUM_NFSD=16, NUM_NFSIOD=16 variables
7. /sbin/init.d/nfs.core start
8. /sbin/init.d/nfs.server start
9. On another systems also you need to modify /etc/rc.config.d/nfsconf as
NFS_CLIENT=1,NFS_SERVER=0, NUM_NFSD=16, NUM_NFSIOD=16 and then do
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.client start


There you are.
Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: External Disks & Remote Mount

Amit,
Thanks for 10 points... but as i told you earlier also it would be better to give points to all those who helped and you have choice of 1-10 scale.
Don't take it otherwise... forum is for learning with fun and thrill.
Keep foruming..
regards

You need to know a lot to actually know how little you know
Bill Hassell
Honored Contributor

Re: External Disks & Remote Mount

I hope that this is a temporary solution or is being implemented to test something. I would definitely not put NFS dbspace into production. Not only will the performance be very slow but if your disk server goes down, the LAN connection quits working, someone misconfigures a router, etc, then the Oracle application will go down hard. And unless you are running the very latest version of HP-UX (11.11) with the very latest network and NFS patches, you may have to reboot both computers to get things restored--something that is not well-tolerated in a production environment.


Bill Hassell, sysadmin