Software

[howto] Software RAID (mirror) su Debian 4.0 (Etch)

Innanzitutto occorre preparare i due dischi che saranno utilizzati per la creazione del RAID 1 software.
Per fare ciò, le partizioni devono essere marcate col tipo fd (Linux Raid autodetect). Nel dettaglio, va creata una partizione sul primo disco (/dev/hda) e una sul secondo (/dev/hdb):

fdisk /dev/hda
fdisk /dev/hdb

Una volta create le partizioni sui due dischi, è possibile creare il disco virtuale, mirror dei due dischi fisici:

mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/hda1 /dev/hdb1

A questo punto, l’unità RAID appena creata, va formattata:

mkfs.ext3 /dev/md1

Per monitorare lo stato del RAID, è sufficiente eseguire il comando

# cat /proc/mdstatPersonalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid1 hda1[0] hdb1[1]
78132032 blocks [2/2] [UU]unused devices: none

31/08/2007 How-To
No Comments

[howto] Un fax server con mgetty e sendfax su Debian Etch (4.0)

[tip] Abilitare le variabili globali su PHP > 4.2.0

Lascia un commento

Devi essere connesso per inviare un commento.

Giugno 2025
L M M G V S D
 1
2345678
9101112131415
16171819202122
23242526272829
30  
« Giu    

Categorie

  • Access
  • Asp
  • Cyberoam
  • Dell
  • ESX / vmWare
  • Exchange
  • Exchange 2007
  • How-To
  • IIS
  • iPhone
  • Linux
  • Mac
  • Office 365
  • Outlook
  • plesk
  • Sophos XG
  • SQL Server
  • TeamSystem
  • Tips
  • Trend Micro
  • Vb.NET
  • VB6
  • Windows 10
  • Windows 7
  • Windows SBS
  • Windows Server
  • Windows Vista
  • Windows XP
  • WSUS

How-To

  • Configure SMTP O365 Migration Using TLS 1.2 For SQL Database Mail
  • Debian anti-spam and anti-virus e-mail gateway
  • How to install Small Business Server 2003 in an existing Active Directory domain
  • Sophos XG Firewall and Firebox Branch Office VPN Integration Guide
  • Squid, SquidGard, NTLM Authentication con Samba 3.x su Debian Sarge
  • Troubleshoot high-CPU-usage issues in SQL Server

Utili

  • Chip Grafici per portatili – Benchmark
  • Il blog su Microsoft Access
  • Processori per portatili – Benchmark
  • Sophos Wireless: Wi-Fi Fundamentals
  • Zentyal – Linux Small Business Server

Meta

  • Accedi
  • Feed dei contenuti
  • Feed dei commenti
  • WordPress.org
Proudly powered by WordPress | Theme: Neblue by NEThemes.