ubuntu@ubuntu:~$ # simple one-one output or no ouput at all if no software-RAID device was created
ubuntu@ubuntu:~$ ls -l /dev/md*
ls: cannot access /dev/md*: No such file or directory
ubuntu@ubuntu:~$ ls -l /dev/sd*
brw-rw---- 1 root disk 8, 0 2010-03-16 04:52 /dev/sda
brw-rw---- 1 root disk 8, 1 2010-03-16 04:52 /dev/sda1
brw-rw---- 1 root disk 8, 16 2010-03-16 04:52 /dev/sdb
brw-rw---- 1 root disk 8, 17 2010-03-16 04:52 /dev/sdb1
brw-rw---- 1 root disk 8, 32 2010-03-16 04:52 /dev/sdc
brw-rw---- 1 root disk 8, 33 2010-03-16 04:52 /dev/sdc1
ubuntu@ubuntu:~$ dmesg | grep sd
[ 63.778087] sd 10:0:0:0: Attached scsi generic sg0 type 0
[ 63.781164] sd 10:0:0:0: [sda] 1952151552 512-byte logical blocks: (999 GB/930 GiB)
[ 63.783245] sd 8:0:0:0: Attached scsi generic sg2 type 0
[ 63.783512] sd 10:0:0:0: [sda] Write Protect is off
[ 63.783515] sd 10:0:0:0: [sda] Mode Sense: 23 00 10 00
[ 63.783516] sd 10:0:0:0: [sda] Assuming drive cache: write through
[ 63.783819] sd 9:0:0:0: Attached scsi generic sg3 type 0
[ 63.785073] sd 9:0:0:0: [sdc] 1465149168 512-byte logical blocks: (750 GB/698 GiB)
[ 63.785580] sd 8:0:0:0: [sdb] 3915776 512-byte logical blocks: (2.00 GB/1.86 GiB)
[ 63.785702] sd 9:0:0:0: [sdc] Write Protect is off
[ 63.785704] sd 9:0:0:0: [sdc] Mode Sense: 2d 08 00 00
[ 63.785705] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 63.786573] sd 10:0:0:0: [sda] Assuming drive cache: write through
[ 63.786575] sda:
[ 63.786706] sd 8:0:0:0: [sdb] Write Protect is off
[ 63.786708] sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 63.786710] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 63.786945] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 63.786947] sdc:
[ 63.790702] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 63.790705] sdb: sdb1
[ 63.794713] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[ 63.794716] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[ 63.812457] sdc1
[ 63.816102] sd 9:0:0:0: [sdc] Assuming drive cache: write through
[ 63.816107] sd 9:0:0:0: [sdc] Attached SCSI disk
[ 64.273429] sda1
[ 64.277424] sd 10:0:0:0: [sda] Assuming drive cache: write through
[ 64.277428] sd 10:0:0:0: [sda] Attached SCSI disk
ubuntu@ubuntu:~$
ubuntu@ubuntu:~$ # do not need output of the following command
ubuntu@ubuntu:~$ # will install mdadm
ubuntu@ubuntu:~$ sudo apt-get install mdadm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
postfix
Suggested packages:
procmail postfix-mysql postfix-pgsql postfix-ldap postfix-pcre sasl2-bin
resolvconf postfix-cdb
The following NEW packages will be installed:
mdadm postfix
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,544kB of archives.
After this operation, 3,932kB of additional disk space will be used.
Do you want to continue [Y/n]?