cancel
Showing results for 
Search instead for 
Did you mean: 

drive is full , need to move /usr/sap/<SID> to another drive

v_veeramalla
Active Participant
0 Kudos

HI All,

Due to file system full  , we would like to change the /usr/sap/<SID> to another drive it's a Portal Java installation . We were not in a position to extend the drive.

Please advice the  best ways to do the same.

//Venkat

Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

Hi Veeramalla,

Firstly you need to check for following files and delete them

1) Core files

2) backup of exe or kernel folder

3) older .trc files

cleaning up these files should provide some space to you.

In case you want to move the /usr/sap/SID

1) Stop sap system and database

2) Copy the files to another folder

3) Change the environment variables to point to this new location

4) Recreate the SAP services using sapstartsrv so that it points to the new location

5) Adjust the SAP profile so that it has new path maintained

I hope this helps.

Regards,

Deepak Kori

Hope this helps.

Regards,

Deepak Kori

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Steve,

I am putting in a micro steps.

  1. Create new system identical with all OS patching
  2. Create enough paging space if required
  3. Backup \usr entire drive from the current system (including profile, logs, global, exe, gen, data, work etc)
  4. In the new server try to get the same ip address

In new server:

  1. Install desired Java SDK
  2. Install SAP application server for portal from the Master CD of the same version
  3. Stop the application Server
  4. Restore profile from the backup and all the relevant from that drive data, logs. work, global etc...
  5. Start the Application on new box

I hope it helps you.

Regards,

Zaki

v_veeramalla
Active Participant
0 Kudos

HI Zaki,

We want to move to new drive not to new system.

//Venkat

former_member184473
Active Contributor
0 Kudos

Hello Venkat,

As already mentioned you must adjust the parameters and profiles to the new location but if you forgot something, you may not be able to start up the system.

To ensure nothing will be missing you could perform a system copy.

Regards,

Eduardo Rezende

Former Member
0 Kudos

Hi Venkat,

I would adapt the same procedure mentioned above.

  • Take backup
  • Uninstall application from the server
  • Install the application on to the new drive.
  • Replace it with old profile

Chao,

Zaki

Former Member
0 Kudos

Hi Veeramalla,

Gone through the below blog few minutes.

It may help resolve your issue:

http://scn.sap.com/community/netweaver-administrator/blog/2012/12/18/file-system-is-full-what-need-t...

Mohan

v_veeramalla
Active Participant
0 Kudos

Hi Mohan,

We followed all the thing , but still need not much space added. Only option at the moment is to move to another drive

//Venkat

Former Member
0 Kudos

Which operating system? If I assume that using '/' in the path rather than '\' means some kind of Unix-like system, then you can move the contents of /usr/sap/SID anywhere you like and just have /usr/sap/SID be a symlink to the new location. NetWeaver is quite happy to follow symlinks.

I don't know if the same thing works with shortcuts on Windows - I've not tried.

Steve.

Former Member
0 Kudos

I think Steve is right.

Another think that you can do is stop SAP, create a new file system, copy the contents of /usr/sap/<SID> and mount the new file system correctly.

And, obviosly search for something to delete fisrt of all!

Regards

Matteo Stocco

v_veeramalla
Active Participant
0 Kudos

Hi Steve,

it's windows operating system , planning to move java instance.

//Venkat

Former Member
0 Kudos

Then as others here have said, the best way will be to just create a new drive big enough and move everything to it. With the system shut down I don't think you need to do anything special - just copy everything and then swap the old and new drives so that /usr/sap/SID points to the new one.

Steve.