Mittwoch, 26. September 2007

defekte Festplatte, Volume group

HDISK ersetzen
---------------

Spiegel aufloesen:


unmirrorvg rootvg hdisk0


hdiskX aus der VolumeGroup entfehren:

smitty:

System Storage Management (Physical & Logical Storage) -> Logical Volume Manager -> Volume Groups -> Set Characteristics of a Volume Group -> Remove a Physical Volume from a Volume Group


CMD-Line:

reducevg rootvg hdisk0





hdiskX als Device loeschen:

CMD-Line:

rmdev -l 'hdisk0' '-d'

prufen ob hdisk geloescht ist:

lspv


botlist checken:

bootlist -m normal -o

bootlist auf noch vorhande disk setzen

bootlist -m normal hdisk1



Neue Festplatte integrieren:

cfgmgr

lspv

extendvg '-f' 'rootvg' 'hdisk0'

mirrorvg rootvg hdisk0

syncvg -P 4 -v rootvg



Pruefen des Spiegels:


lsvg -l rootvg






Fehlerlampe ausschalten:

smitty:

Problem Determination -> Hardware Diagnostics -> Current Shell Diagnostics -> Task Selection (Diagnostics, Advanced Diagnostics, Service Aids, etc.) -> Identify and Attention Indicators

Montag, 24. September 2007

Umlaute in MySQL / Apache

Apache (httpd.conf)


AddDefaultCharset LATIN1
AddDefaultCharset ISO-8859-1



MySQL (my.cnf)

[mysqld]

character-set-server = latin1
default-character-set=latin1
collation-server=latin1_german1_ci

[client]

default-character-set=latin1

Donnerstag, 20. September 2007

files finden die sich "heute" veraendert haben

find . -mtime -1 -ls

find / -mtime -1 -ls