on 10-12-2011 12:29 PM
Hi,
I have to restore a system for a DRP test.
I first deleted the /usr/sap/SID, /sapmnt/SID and /oracle/SID directories.
Before starting the restore I have to create a symbolic link of oraarch on saparch because the mount is on oraarch. I did it with the following command :
ln -s /oracle/SID/saparch/ /oracle/SID/oraarch/
after executing this line, it returns the error:
ln: 0653-417 /oracle/SID/oraarch// is a directory. (cannot unlink)
Many thanks for your help
Regards
Hi,
It works.
Thanks to all of you !
Regrads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Orkun
I tried to drop the slash, it returns the same error :
ln -s /oracle/SID/saparch/ /oracle/SID/oraarch
ln: 0653-417 /oracle/SID/oraarch/ is a directory. (cannot unlink)
Many thanks
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What exactly are you trying to do?
I have to create a symbolic link of oraarch on saparch
Somehow I suspect it has to be the other way round:
ln -s /oracle/SID/oraarch /oracle/SID/saparch
Read the manual pages of man ln and think again about your requirement.
Edited by: Joe Bo on Oct 12, 2011 2:26 PM
(typo: ln, not ls)
What exactly are you trying to do?
>
I have to create a symbolic link of oraarch on saparch
> Somehow I suspect it has to be the other way round:
>
ln -s /oracle/SID/oraarch /oracle/SID/saparch
>
> Read the manual pages of man ln and think again about your requirement.
>
> Edited by: Joe Bo on Oct 12, 2011 2:26 PM
> (typo: ln, not ls)
Yeah,
it is always the other way round than you think with "ln -s".
If you ever find a system with a link "b" pointing to "a"
you might safely assume I had may hands on it once when I had once again
no clue which way round the parameters work. In this case I always execute
ln -s a b
just to re-ensure myself
So if the filesystem mounted is .../oraarch, saparch needs o be non-existent when executing
ln -s /oracle/SID/oraarch /oracle/SID/saparch
see, just some twenty executions of "ln -s a b" and you are very sure to say which way round the parameters should be.
Volker
Thanks Orkun
Is there any solution to make this symbolic link ?
Thx
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Because oraarch is a physical directory. You can create the link by executing command, below;
ln -s /oracle/<SID>/saparch/ /oracle/<SID>/oraarch
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.