From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=serverc.ru; s=mail; h=To:From:Message-ID:Date:Subject:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=bvvujY+v6/yoyl5F1njBZle4lTfghPqkSGxoovuBwpc=; b=cm/8ISnsH+CGxfTt79VFVEbuYXE8keU+ra7lKmIop77czq4+NyiyLYMiV4NnMLTzG24pLDcYj7HrBsKRAvd0aszxEkYSvSYt9tMQkO6FvXsDq3D4xvASk6QTPBC60u5x51hMjHn0JCLoeaElBhVeYD+F1+7aAAp/e3jaWts6mfI=; Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Tue, 26 Jun 2012 17:52:27 +1100 Message-ID: <213B51F00051AE48A9F0E112880177178F7A56@Delta.sc.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: =?koi8-r?B?18/T09TBzs/XzMXOycUgbGluZWFyIHJhaWQ=?= Thread-Index: Ac1TaD+QVhhqlJNrTwmkpsu7H+CT2g== From: =?koi8-r?B?68/T1NnSxdcg4czFy9PBzsTSIOHMxcvTxcXXyd4=?= To: Subject: [Sysadmins] =?koi8-r?b?18/T09TBzs/XzMXOycUgbGluZWFyIHJhaWQ=?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux sysadmins' discussion List-Id: ALT Linux sysadmins' discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 06:52:53 -0000 Archived-At: List-Archive: =E4=CF=C2=D2=D9=CA =C4=C5=CE=D8! =D0=D9=D4=C1=D3=D8 =D0=CF=C2=CF=D2=CF=D4=D8 = =D7=CF=D3=D3=D4=C1=CE=CF=D7=CC=C5=CE=C9=C5 =C9=CE=C6=D9 =D3 =C4=D7=D5=C8 = =C4=C9=D3=CB=CF=D7, =D3=CF=C2=D2=C1=CE=CE=D9=C8 =D7 linear = =DE=C5=D2=C5=DA mdadm =D1 =D0=CF=CE=C9=CD=C1=C0, =DE=D4=CF =DC=D4=CF=D4 =D2=C5=D6=C9=CD =CE=C5 = =D0=D2=C5=C4=CF=D3=D4=C1=D7=CC=D1=C5=D4 =CB=C1=CB=CF=C7=CF-=CC=C9=C2=CF = redundancy, =C9 =D7 =D3=CC=D5=DE=C1=C5 =D3=CD=C5=D2=D4=C9 = =CF=C4=CE=CF=C7=CF =C9=DA =C4=C9=D3=CB=CF=D7, =C9=CE=C6=C1, =DE=D4=CF = =C2=D9=CC=C1 =CE=C1 =CE=C5=CD, =D5=D4=D2=C1=DE=C5=CE=C1. =D0=CF=CB=C1 =D0=D9=D4=C1=C0=D3=D8 =D0=D2=CF=C4=C5=CC=C1=D4=D8 = =CF=D0=C5=D2=C1=C3=C9=C0 =D0=CF =D7=CF=D3=D3=D4=C1=CE=D7=CC=C5=CE=C9=C0 = =CE=C1 =D7=C9=D2=D4=C1=D5=CC=CB=C5. =E4=CF=C2=C1=D7=C9=CC =C4=D7=C1 50M =C4=C9=D3=CB=C1 =D7 = =D7=C9=D2=D4=D5=C1=CC=CF=DE=CB=D5. =D2=C1=DA=CD=C5=D4=C9=CC Device Boot Start End Blocks Id System /dev/vdb1 2048 102399 50176 fd Linux raid autodetect Device Boot Start End Blocks Id System /dev/vdc1 2048 102399 50176 fd Linux raid autodetect =D3=CF=DA=C4=C1=CC =CD=C1=D3=D3=C9=D7 mdadm --create --verbose /dev/md0 --level linear --raid-disks 2 = /dev/vdb1 /dev/vdc1 mdadm --detail --scan >> /etc/mdadm/mdadm.conf =C6=C1=CA=CC=CF=D7=D5=C0 =D3=C9=D3=D4=C5=CD=D5 mkfs.xfs /dev/md0=20 mount /dev/md0 /mnt/linear/ =DA=C1=D0=CF=CC=CE=C9=CC =C4=C1=CE=CE=D9=CD=C9 mkdir /mnt/linear/etc mkdir /mnt/linear/etc2 mkdir /mnt/linear/etc3 cp -r /etc/* /mnt/linear/etc/ cp -r /etc/* /mnt/linear/etc2/ cp -r /etc/* /mnt/linear/etc3/ df -h /dev/md0 Filesystem Size Used Avail Use% Mounted on /dev/md0 92M 69M 23M 76% /mnt/linear =DA=C1=D4=C5=CD =D1 =D5=C4=C1=CC=D1=C0 =C9=DA =D7=C9=D2=D4=C1=CC=CB=C9 = (KVM) =CF=C4=C9=CE =C9=DA =C4=C9=D3=CB=CF=D7. umount /mnt/linear mdadm --stop /dev/md0 =C9 =C4=CF=C2=C1=D7=CC=D1=C0 =CE=CF=D7=D9=CA =C4=C9=D3=CB =D7 50 = =CD=C5=D4=D2=CF=D7. =D2=C1=DA=CD=C5=DE=C1=C0 =D4=C1=CB=D6=C5 sfdisk -d /dev/vdb | sfdisk /dev/vdc =C9 =D7=CF=D4 =D4=D5=D4 =DA=C1=D4=D9=CB. =CB=C1=CB =C2=D9=D4=D8 = =C4=C1=CC=D8=DB=C5 =CE=C5=D0=CF=CE=D1=D4=CE=CF =CD=CF=D6 =CB=D4=CF =DA=C1=CD=CF=D2=C1=DE=C9=D7=C1=CC=D3=D1 =C9 = =D0=CF=C4=D3=CB=C1=D6=C5=D4? =D3=D0=C1=D3=C9=C2=CF! -- =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =EB=CF=D3=D4=D9=D2=C5=D7 =E1=CC=C5=CB=D3=C1=CE=C4=D2