O'Reilly logo

Managing RAID on Linux by Derek Vadala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

/proc and Software RAID

The /proc filesystem is a virtual filesystem that provides information about the system and the running kernel. Files located in /proc provide vital information about memory, devices, and processes. Here is also where you look for current information on active RAID devices. Virtual files under /proc provide information in real time. By default, the kernel is configured to support the /proc filesystem. However, to be certain that your kernel supports /proc, look for its entry in the File systems subsection of the kernel configuration:

File systems  --->
 ...
 [*] /proc file system support
 ...

Files located in /proc are usually displayed using the cat command, but you can use any program in which you can view a text file. Most of the files in /proc merely provide information (they are read-only), but some actually offer the means to manipulate the way a running kernel operates. In that case, administrators usually write new values to a file using the echo command.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required