Instalacja systemu na soft-RAID 10

Instalacja Slackware Linux, problemy i wstępna konfiguracja, aktualizacje do nowszych wersji.

Moderatorzy: Moderatorzy, Administratorzy

stativ
Użytkownik
Posty: 13
Rejestracja: 2009-01-28, 11:49

Instalacja systemu na soft-RAID 10

Post autor: stativ »

Witajcie,

Moje założenie dotyczące 4 dysków jest takie, by je podzielić w sposób identyczny na 3 partycje. 2 z nich będą spięte w RAID 10, a trzecia będzie służyła jako partycja /boot na pierwszym dysku, oraz jako swap na pozostałych. Jak zamierzałem, tak zrobiłem. Poniżej wyniki.

Zrzut z fdisk:

Kod: Zaznacz cały

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x487b7a2d

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   195318269    97659103+  fd  Linux raid autodetect
Partition 1 does not start on physical sector boundary.
/dev/sda2   *   195318270   197278199      979965   83  Linux
Partition 2 does not start on physical sector boundary.
/dev/sda3       197278200  1953525167   878123484   fd  Linux raid autodetect
Mdstat pokazuje:

Kod: Zaznacz cały

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath] 
md3 : active raid10 sda3[0] sdd3[3] sdc3[2] sdb3[1]
      1755983872 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
      
md1 : active raid10 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      195186688 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
      
unused devices: <none>
Zgodnie z zaleceniami stąd: http://forum.slackware.pl/viewtopic.php?t=2772 /dev/sda2 ustawiłem jako /boot i na nim znajdują się wszystkie pliki systemu używane przy starcie, reszta na /dev/md1
Natomiast lilo.conf u mnie wygląda tak:

Kod: Zaznacz cały

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

#compact        # faster, but won't work on all systems.

# Boot BMP Image.
# 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.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
#vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/md1
  label = Linux
  read-only
# Linux bootable partition config ends
Efekt jest taki, że zamiast lilo pojawia mi się migający kursor na czarnym ekranie. Co ciekawe, lilo nie zgłosił nawet najdrobniejszego warning'a przy instalacji.
Zapewne coś mam zrobione nie tak. Bardzo proszę o doradzenie.
stativ
Użytkownik
Posty: 13
Rejestracja: 2009-01-28, 11:49

Re: Instalacja systemu na soft-RAID 10

Post autor: stativ »

Udało mi się dojść do rozwiązania.

Dla potomnych: sugeruję sprawdzić jaki interfejs SATA używany jest podczas bootowania BIOSu.
ODPOWIEDZ