Operating System - HP-UX
1755699 Members
3481 Online
108837 Solutions
New Discussion юеВ

HPUX cancellation of directory exports?

 
cbozlagan
Regular Advisor

HPUX cancellation of directory exports?

HPUX cancellation of directory exports?

How can I do that?

Thanks
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: HPUX cancellation of directory exports?

There is -u for exportfs(1M).
Pete Randall
Outstanding Contributor

Re: HPUX cancellation of directory exports?

rm /usr/sbin/exportfs

or

chmod a-w /etc/exports (though this would still allow root to make changes)


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: HPUX cancellation of directory exports?

You might want to explain in more detail what you are trying to do with this and your "Disabling directory links" question.

Cancellation and disable are not the words I would ordinarily use with these operations.
Unless you like Pete's solutions. :-)
cbozlagan
Regular Advisor

Re: HPUX cancellation of directory exports?

Hi Dennis,

I do more explenation below
---------------------------
1- I had 2 HPUX system clustered. Running SAP R/3 on them.

2- I migrated SAP R/3 to faster platform.

3- I decided to use my HPUX s seperately (non clustered)
one HPUX for SAP NW XI
one HPUX for SAP NW EP

4- In order to use my HP system seperately I stopped cluster mechanism(MC/Masterguard)

5- I deleted SAP R/3 directories but one of them can not be deleted.

This directory is /usr/sap/trans

I know that this directory was exported and softlinked to other HP system.

I must delete trans directory to begin SAP NW installation.

Problem mentioned above is about both of HPUX system there once clustered each other.

Thanks.
Dennis Handly
Acclaimed Contributor

Re: HPUX cancellation of directory exports?

Then you first want to umount it on each client.

Then do that exportfs -u on the server.
M.S. BALAJI
Occasional Advisor

Re: HPUX cancellation of directory exports?

Hi,

MC service guard uses AutoFS for to mount exported filesystems.

So, on both systems do the following.

#cat /etc/auto_master

Check the auto_master file and modify the exports.

#exportfs -ua

#umount /usr/sap/trans on one system &
carry out the tasks in another.

Regards,
BALAJI M.S