Warning: file_exists(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin/wp-content/uploads/2019/08) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1613

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin/wp-content/uploads/2019) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin/wp-content/uploads) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin/wp-content) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu/domains) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home/malkeu) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-includes/functions.php on line 1618

Warning: file_exists(): open_basedir restriction in effect. File(/home/malkeu/domains/malkowski.eu/public_html/marcin/wp-content/uploads/wptouch-data) is not within the allowed path(s): (/home/eumalkowsk/:/tmp/:/var/tmp/:/usr/local/php72/lib/:/usr/local/php72/lib/:/usr/local/php56/lib/:/usr/local/lib/php/) in /home/eumalkowsk/domains/malkowski.eu/public_html/marcin/wp-content/plugins/wptouch/core/config-functions.php on line 32
IT Blog » Archiwum » Software RAID wymiana SDA i nie bootuje

Software RAID wymiana SDA i nie bootuje

Witam,

Dzisiaj przećwiczyłem wymianę /dev/sda na SOFT raid, niestety mimo zapewnień że wszystko to wstaje z automatu – serwer zaliczył zgon – jak się później okazało winowajcą jest MBR.

Mimo iż właściwie przy soft raid 1 dwa dyski /dev/sda i /dev/sdb powinny mieć oba MBR to okazuje się że serwerownia HETZNER nie stosuje tych praktyk, zatem po wymianie mamy pad

Lekarstwo jest bardzo proste, wystarczy jedynie grub odpalany z podmontowanej partycji

Najpierw trzeba zrobić resync partycji, na której znajduje się katalog /boot.

Odpalamy guba poleceniem /mnt/sbin/grub – zakładając że partycję / – root podmonotowaliśmy na /mnt

Dalej wpisujemy :

root (hd0,1) – oznacza to dysk pierwszy partycja druga, jeśli mamy innaczej należy dostosować komendę.

Następnie piszemy :

setup (hd0)

Pozostaje już tylko wyjść CTRL + C i reboot i mamy gotowe.

Ciekawy link opisujący podobne sytuacje :

http://www.sorgonet.com/linux/grubrestore/



Napisz odpowiedź

Musisz być zalogowany aby dodać komentarz.