Skip to Content
avatar image
Former Member

Moving usr directory on a JAVA system

Hello All,

I have a Enterprise Portal 7.0 running on windows system

Unfortunately the space where usr directory is locates is very less,we have around 1 Gb left there,adding extra space will take 1-2 months,I have to perform EHP1 on enterprise portal system

So I am thinking of moving the usr directory to another drive,is it possible?

If yes any ideas how to do it

Rohit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 28, 2009 at 08:55 AM

    Is this Windows?

    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 28, 2009 at 09:12 AM

    That could be easily done on *nix, so I believe that it also should not be difficult on windows:

    - stop all instances,

    - copy all files from old drive to new drive (preserving permissions!),

    - change drive letter of old disk to any available letter,

    - change drive letter of new disk to match drive letter of old disk.

    But again, I never did it on windows...

    Or perhaps you could buy yourself some time by temporarily moving some files that are obsolete from, for example, /usr/sap/trans?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Markus Doehr

      >

      > > That could be easily done on *nix, so I believe that it also should not be difficult on windows:

      >

      > well.. windows has ACLs (as opposed to the implementation on *nix systems), Windows has a registry containing drive letters, there are shares (sapmnt etc.) pointing to drive letters, environment variables for two users etc.

      >

      > Markus

      Phew! Then I will try my best to stay on *nix side. 😊

      Anyway, maybe changing drive letter at the and of copy (XCOPY?) procedure could eliminate most of the problems (except shares)? Then again it is windows.

  • Jul 29, 2009 at 07:44 AM

    Hi Rohit

    I think you can use junction utility for the case. It allows to establish a reference from a folder in one drive to a folder in another drive.

    So you have to 1) stop engine, copy folder c:\usr to drive d:\, for example.

    2) Remove physically c:\usr.

    3) Use junction to create a reference c:\usr -> d:\usr.

    4) Start engine.

    For the engine such reference should be transparent, but the files will be physically stored on d:\.

    BR, Sergei

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 30, 2009 at 12:30 PM

    A colleague of mine recently successfully moved the usr dir to another drive on Windows.

    All he did was:

    1) Copy the usr to new drive (Stop SAP first)

    2) Use the offline config tool and search for any reference for old path (e.g. d:\usr) and renamed to new drive letter.

    3) Recreate the sapmnt and saploc share and assign appropriate permissions.

    4) Startup SAP

    I might be a good idea to perform a filesystem and database backup before you attempt this.

    Regards,

    CJ

    Add comment
    10|10000 characters needed characters exceeded