cancel
Showing results for 
Search instead for 
Did you mean: 

SAP - Get real Diskname

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

in SAP (for example in ST06), I can see a diskname of a disk.

There I have for example "disk1".

But in our storage system this name is unknown.

Whereform do I get the real diskname?

Kind regards

Accepted Solutions (1)

Accepted Solutions (1)

Private_Member_19084
Active Contributor
0 Kudos

so lsblk was the answer for me.
Thx to every body for help.

dmsetup ls is also very helpful, but I think lsblk is a bit more helpful.

Answers (5)

Answers (5)

former_member182657
Active Contributor
0 Kudos

Hi Guys,

As per me we can't get the expected results from command df -kh,best would to use command dmsetup ls which Alwina suggested you earlier.

Regards,

Gaurav

hemanth2
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christian ,

 

Hope you are doing good.

Praveen is right. df-kh will help you:

12 Useful "df" Commands to Check Disk Space in Linux

____________

Kind Regards,

Hemanth

SAP AGS

alwina_enns
Employee
Employee
0 Kudos

Hello Hemanth,

and how you can find out in the output of "df -kh" which disk names belong to names "dm-0", "dm-1"  in ST06?

Regards,
Alwina

0 Kudos

Can you try with fdisk -l?


Regards,

Praveen

Private_Member_19084
Active Contributor
0 Kudos

fdisk -l is not found, do you know where it is stored?

0 Kudos

Run it as a Root user

Regards,

Praveen

Private_Member_19084
Active Contributor
0 Kudos

I know, but I only got the <sid>adm.

Maybe my colleagues are not trusting me

I will discuss with them

0 Kudos

have you tried the "df"  command

Linux and Unix df command help and examples

This might also help you find relevant information.

http://unix.stackexchange.com/questions/4561/how-do-i-find-out-what-hard-disks-are-in-the-system

Regards,

Praveen

alwina_enns
Employee
Employee
0 Kudos

Hello Christian,

what is the operating system and what exactly do you see in ST06 for disk? saposcol on Linux gets

statistics about disks from the file /proc/partitions.  To find out the real disk name you should run the following command as root:

# dmsetup ls

But this is for a Linux server. What is your OS?

Regards,
Alwina

Private_Member_19084
Active Contributor
0 Kudos

We are on linux.

I can see the disk##s and some values like "usage %", Queue, Waiting time, ...

alwina_enns
Employee
Employee
0 Kudos

Hello Christian,

on our Linux test system I see these disks in ST06:

and if I run

dmsetup ls

as root on OS level I get these names back:

so "dm-0" is "system-oracle", ""dm-1" is "system-sap"

Regards,
Alwina

Private_Member_19084
Active Contributor
0 Kudos

Hi Alwina,

sound good.

Is there a command which can be used by <sid>adm?

Btw, dmsetup is in /sbin/

Kind regards

alwina_enns
Employee
Employee
0 Kudos

I'm not aware of a such command for <sid>adm user, probably you could ask it in the space "SAP on Linux". The note "574900 - SAPOSCOL reports: *LINUX*: disk statistic not available" contains only a hint, that disk statistics saposcol gets from /proc/partitions file.


Sriram2009
Active Contributor
0 Kudos

Hi Christian

What about your EWA report?

BR