≡ Menu


HowTo: Linux List Disk Partitions Command

How do I list all hard disk partitions under Linux operating systems?
[click to continue…]

Maximum Number of Disks In RAID 5

Is there a limit to how many drives you can have in one RAID-5? What is the maximum number of physical drives recommended in a RAID-5 set?
[click to continue…]

Linux: Use smartctl To Check Disk Behind Adaptec RAID Controllers

I can use the smartctl -d ata -a /dev/sdb to read hard disk health status directly connected to my system. But, how do I read smartctl command to check disk SAS / SCSI behind Adaptec RAID controller from the shell prompt?
[click to continue…]

HowTo: Reload (re-read) Partition Table In Ubuntu Linux

How do I reload the partition table in Ubuntu Linux without rebooting the systems?
[click to continue…]

Solaris UNIX: Display LUNs

How do I display LUNs under Solaris UNIX version 10 or earlier?
[click to continue…]

Linux: Find out serial / model number and vendor information for SATA and IDE hard disk

How do I find out the make, model and serial number for my SCSI or IDE hard disks under CentOS Linux server? How do I get vendor information about my disk storage w/o opening my Intel / AMD server chassis?
[click to continue…]

OpenBSD Mount And Use a USB Flash Drive

How do I mount and use a USB pen or hard disk under OpenBSD operating systems using ksh/bash/sh shell prompt?
[click to continue…]

Howto rebuilding a RAID array after a disk fails

Q. I have two disk-mirrored array, suppose if one of my disk in mirrored RAID array fails, then I will replace that disk with new one (I have hot swapping SCSI drives). Now question is how I rebuild a RAID array after a disk fails.

A. A redundant array of inexpensive disks, (redundant array of independent disks) is a system, which uses multiple hard drives to share or replicate data among the drives. You can use both IDE and SCSI disk for mirroring.

If you are not using hot swapping drives then you need to shutdown server. Once hard disk has been replaced to system, you need to use used raidhotadd to add disks from RAID-1, -4 and -5 arrays, while they are active.

Assuming that new SCSI disk is /dev/sdb, type the following command:# raidhotadd /dev/mdX /dev/sdbReplace /dev/mdX with actual raid device name (e.g. /dev/md0). While array is under construction, you can see progress and other information by typing following command:# cat /proc/mdstat

See also: