ho finalmente creato il raid sul mio mediacenter,e funziona quasi tutto bene.
L'unico problema è il resume da ibernazione(suspend to disk).
Premetto che senza raid il sistema funziona che è una meraviglia.
Ho creato tutte le partizioni in raid 1 compresa ANCHE la swap.
Dopo aver impostato in lilo.conf il device corretto (/dev/md2 nel mio caso) ed un riavvio,provo ad eseguire il suspend.
La macchina si sospende correttamente.Il log di pm-suspend è perfetto.Nel ripristino arrivano i guai:
Codice: Seleziona tutto
md: created md2
md: bind<sdb3>
md: bind<sda3>
md: running: <sda3><sdb3>
raid1: md2 is not clean -- starting background reconstruction
raid1: raid set md2 active with 2 out of 2 mirrors
md2: detected capacity change from 0 to 2048000000
Questo è il mio lilo.conf:
Codice: Seleziona tutto
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/md0
raid-extra-boot=mbr-only
compact # faster, but won't work on all systems.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Append any additional kernel parameters:
append=" root=/dev/md0 vt.default_utf8=0 resume=/dev/md2"
prompt
timeout = 50
vga = 773
# vga = normal
# ramdisk = 0 # paranoia setting
image = /boot/vmlinuz-2.6.32.7-smp
root = /dev/md0
label = 2.6.32.7
read-only
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.32.5-smp
root = /dev/md0
label = 2.6.32.5
read-only
image = /boot/vmlinuz
root = /dev/md0
label = Slack
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
Idee?


