PDA

View Full Version : Hard disk paths?


sparkles43
2007-10-31, 10:27 AM CDT
I am trying to setup Nagios to monitor the hard disk space on my system, but FC7 does not have the usual /dev/hda1 paths to the drives. Can someone tell me the paths to see the drives on this system? Or what directory I need to cd into.

Thanks in advance

scottro
2007-10-31, 10:37 AM CDT
It's usually /dev/sda1 now--this changed with some kernel or another, I've forgotten which.

It holds for all Linux distributions.

nick.stumpos
2007-10-31, 10:44 AM CDT
what does as root
fdisk -l say

sparkles43
2007-10-31, 11:49 AM CDT
That was it. thanks

/dev/sda1