Re: Managing /service for SMP/E



Yes, Shmuel, I did read your reply. Even though I quoted my original
post you either *still* didn't read it or you don't understand what I
wrote.

Yes, I am free to use any path prefix that I choose, but I also want
to use Automount to manage the mount of the HFS containing Java (and
others) when I apply service. I use a naming convention that uses
the same name in the mount point and the dsname. My DDDEF PATH
looks like /service/java/TARGET/J1.4 and Automount has no problem
mounting OMVS.TARGET.JAVA14 at /service/java/TARGET.

The problem with Automount comes when AJVSCRPT is run and it expects
the J1.4 directory that is in the root of the Java HFS to be located
at -PathPrefix-/usr/lpp/java/. If you know a way that I can define
Automount so that I can reference, for example,
/service/java/TARGET/usr/lpp/java/J1.4 and Automount will mount
OMVS.TARGET.JAVA14 at /service/java/TARGET/usr/lpp/java, I would be
very interested in learning how to do it.

Actually, I don't have a problem, because I have a solution, also
proposed in my original post. I was looking for two things when
I first posted.

1. Opinions about my proposed solution.
2. Other possible solutions.

My solution, as originally posted, is to create a /usr/lpp/
directory structure in the root of the Java HFS and a symlink at
/usr/lpp/java/ with a value of "../.." (without the quotes).
This way, when Automount mounts OMVS.TARGET.JAVA14 at
/service/java/TARGET/ AJVASCRPT is able to find
/service/java/TARGET/usr/lpp/java/J1.4.

Opinions appreciated,
Tom Marchant

On Mon, 29 Aug 2005 09:48:46 -0300, Shmuel Metz (Seymour J.)
<shmuel+ibm-main@xxxxxxxxxxx> wrote:

>In <LISTSERV%200508281318369380.0313@xxxxxxxxxxx>, on 08/28/2005
> at 01:18 PM, Tom Marchant <m42tom-ibmmain@xxxxxxxxx> said:
>
>>I guess you didn't bother to read my original post,
>
>And I guess that you didn't read my response ;-)
>
>"If you use a naming convention that includes the target zone as part
>of both the dsname and the mount point, then I don't see the problem."
>
>When you wrote -PathPrefix-/usr/lpp/java/J1.4, did you mean the
>literal string "-PathPrefix-" or a prefix that you were free to
>assign? If the latter, what is your problem? Is something that should
>run on the driver or on the target?
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: NFS client , automount and protection problem
    ... Since you're having problems with non-root automount, ... This creates the "disk2" alias in the root. ... WORKS PERFECTLY (aka lists the files on the remote server). ... bother asking the remote server to mount it. ...
    (comp.sys.mac.system)
  • Re: FC3 hotplugging philosophy?
    ... >>have some silly automount thing set up. ... But doing a mount command doesn't show ... checks on the contents of fstab to determine whether the user executing ... mount is allowed to mount that filesystem. ...
    (comp.os.linux.misc)
  • Re: USB flash drive not automounting or mounting
    ... Data CDs will automount, but sometimes take so long to do so that I ... the CD WILL NOT unmount. ... I su to root and try again. ... with commandline mount and umount commands. ...
    (Debian-User)
  • Re: Pen-drive no longer automounts
    ... I eventually put two entries into fstab, ... If one mount failed, I tried the other. ... Since I dislike automount for hard drives and floppies, ...
    (Fedora)
  • Re: [SLE] Automount problems
    ... had a problem with automounting data cd's dvd's. ... Could not mount device. ... Two "things" are trying to automount it. ... Carlos Robinson ...
    (SuSE)