tswxl:~# mdadm -a /dev/md0 /dev/sdb1 -bash: mdadm: command not found tswxl:~#mdadm をインストールする。
tswxl:~# apt-get install mdadm Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light liblockfile1 libpcre3 mailx perl perl-modules psmisc Suggested packages: mail-reader eximon4 exim4-doc-html exim4-doc-info gnutls-bin openssl file libmail-spf-query-perl swaks perl-doc libterm-readline-gnu-perl libterm-readline-perl-perl The following NEW packages will be installed: bsd-mailx exim4 exim4-base exim4-config exim4-daemon-light liblockfile1 libpcre3 mailx mdadm perl perl-modules psmisc 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 10.3MB of archives. After this operation, 34.3MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org lenny/main exim4-config 4.69-9 [350kB] Get:2 http://ftp.jp.debian.org lenny/main exim4-base 4.69-9 [989kB] Get:3 http://ftp.jp.debian.org lenny/main libpcre3 7.6-2.1 [213kB] Get:4 http://ftp.jp.debian.org lenny/main exim4-daemon-light 4.69-9 [435kB] Get:5 http://ftp.jp.debian.org lenny/main exim4 4.69-9 [7478B] Get:6 http://ftp.jp.debian.org lenny/main liblockfile1 1.08-3 [18.1kB] Get:7 http://ftp.jp.debian.org lenny/main bsd-mailx 8.1.2-0.20071201cvs-3 [158kB] Get:8 http://ftp.jp.debian.org lenny/main perl-modules 5.10.0-19lenny2 [3198kB] Get:9 http://ftp.jp.debian.org lenny/main perl 5.10.0-19lenny2 [4532kB] Get:10 http://ftp.jp.debian.org lenny/main mdadm 2.6.7.2-3 [278kB] Get:11 http://ftp.jp.debian.org lenny/main psmisc 22.6-1 [82.1kB] Get:12 http://ftp.jp.debian.org lenny/main mailx 1:20071201-3 [8260B] Fetched 10.3MB in 4s (2058kB/s) Preconfiguring packages ... Package configuration lqqqqqqqqqqqqqqqqqqqqqqqqqqqu Configuring mdadm tqqqqqqqqqqqqqqqqqqqqqqqqqqqk x x x If the system's root file system is located on an MD array (RAID), it x needs to be started early during the boot sequence. If it is located on x a logical volume (LVM), which is on MD, all constituent arrays need to a x be started. a x a x If you know exactly which arrays are needed to bring up the root file a x system, and you want to postpone starting all other arrays to a later a x point in the boot sequence, enter the arrays to start here. a x Alternatively, enter 'all' to simply start all available arrays. a x a x If you do not need or want to start any arrays for the root file system, a x leave the answer blank (or enter 'none'). This may be the case if you a x are using kernel autostart or do not need any arrays to boot. a x a x Please enter 'all', 'none', or a space-separated list of devices such as x xなんで、こんなに?x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj Package configuration lqqqqqqqqqqqqu Configuring mdadm tqqqqqqqqqqqqk x MD arrays needed for the root file system: x x x x all________________________________________ x x x x x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj Selecting previously deselected package exim4-config. (Reading database ... 8138 files and directories currently installed.) Unpacking exim4-config (from .../exim4-config_4.69-9_all.deb) ... Selecting previously deselected package exim4-base. Unpacking exim4-base (from .../exim4-base_4.69-9_armel.deb) ... Selecting previously deselected package libpcre3. Unpacking libpcre3 (from .../libpcre3_7.6-2.1_armel.deb) ... Selecting previously deselected package exim4-daemon-light. Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.69-9_armel.deb) ... Selecting previously deselected package exim4. Unpacking exim4 (from .../archives/exim4_4.69-9_all.deb) ... Selecting previously deselected package liblockfile1. Unpacking liblockfile1 (from .../liblockfile1_1.08-3_armel.deb) ... Selecting previously deselected package bsd-mailx. Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20071201cvs-3_armel.deb) ... Selecting previously deselected package perl-modules. Unpacking perl-modules (from .../perl-modules_5.10.0-19lenny2_all.deb) ... Selecting previously deselected package perl. Unpacking perl (from .../perl_5.10.0-19lenny2_armel.deb) ... Selecting previously deselected package mdadm. Unpacking mdadm (from .../mdadm_2.6.7.2-3_armel.deb) ... Selecting previously deselected package psmisc. Unpacking psmisc (from .../psmisc_22.6-1_armel.deb) ... Selecting previously deselected package mailx. Unpacking mailx (from .../mailx_1%3a20071201-3_all.deb) ... Processing triggers for man-db ... Setting up exim4-config (4.69-9) ... Adding system-user for exim (v4) Setting up exim4-base (4.69-9) ... Setting up libpcre3 (7.6-2.1) ... Setting up exim4-daemon-light (4.69-9) ... Starting MTA: exim4. Setting up exim4 (4.69-9) ... Setting up liblockfile1 (1.08-3) ... Setting up bsd-mailx (8.1.2-0.20071201cvs-3) ... Setting up mdadm (2.6.7.2-3) ... Generating mdadm.conf... done. Starting MD monitoring service: mdadm --monitor. Generating udev events for MD arrays...done. Setting up psmisc (22.6-1) ... Setting up mailx (1:20071201-3) ... Setting up perl-modules (5.10.0-19lenny2) ... Setting up perl (5.10.0-19lenny2) ... tswxl:~#
|
← 2台目の HDD にパーティションを設定 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ RAID1 の構築 |