S
S
squidw2019-03-26 13:27:42
linux
squidw, 2019-03-26 13:27:42

What is the command to see if a directory belongs to a specific disk?

I have a ready server prepared by other people. 2 disks in RAID1 and 2 more disks in RAID1.
How can I see what drive a directory is on? For example / var / lib / pgsql I will need to put it on another disk if it is on the same where the OS is, otherwise there will be a heavy load. How can I see which drive this directory is located on?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zersh, 2019-03-30
@squidw

df -h directory path

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question