Benutzer:JFiebig: Unterschied zwischen den Versionen

Aus Delixs
Zur Navigation springen Zur Suche springen
(Installation bei mir)
Keine Bearbeitungszusammenfassung
Zeile 55: Zeile 55:
  mount /dev/sda5 /usr
  mount /dev/sda5 /usr
  mount /dev/sda6 /var
  mount /dev/sda6 /var
cd usr
mkdir ggg
mount /dev/sda1 /usr/ggg
   
   
  cd /usr/ggg/etc
  editor /etc/fstab
editor fstab
   
   
dann
dann


  editor mtab
  editor /etc/mtab


dann
dann


  cd ..
  editor /boot/grub/menu.lst
cd boot/grub/
 
editor menu.lst
 
ziemlich weit unten 2x sde in sda ändern


neustart
neustart
Zeile 76: Zeile 73:
jetzt klappt:
jetzt klappt:


aptitude install mc
aptitude install mc openssh-server


ggf.:
update-alternatives --set editor /usr/bin/mcedit-debian
update-alternatives --set editor /usr/bin/mcedit-debian
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
/etc/fstab, /etc/mtab , /boot/grub  ändern
aptitude install openssh-server
ggf. Neustart (oder aber mounten)


----------
----------

Version vom 24. Mai 2010, 10:42 Uhr

Mein zukünftiger Schulserver und jetziger Testserver:

Asus P5BV-C/4L Xeon X3360 4 GB DDR-RAM 667 ECC Areca ARC-1120 mit 2x Raid 1 und 1x Raid 0 IDE-DVD-LW


Wir wollen doch auf "apt-get" verzichten und statt dessen das neuere "aptitude" verwenden. Uwe


ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/Linux/HTTP/V1.83_81103 download von archttpxx irgendwohin entpacken Wohin sinnvollerweise ???

archttpxx 1553 (Handbuchangabe) ausführen

später reicht archttpxx, da der Rest in einer Conf gespeichert wird

Bsp.: archttp64

Wie startet man das per init.d ???


Vom Client aus delixs-ip:1553 bringt die Weboberfläche des Controllers

(BIOS, Firmware und Loader-Update und schon sieht man die Plattentemperaturen in der Oberfläche)


sensors bringen nichts bzw. fehlerhaftes bei CPU-Temp. könnte stimmen - Rest falsch (oder mein Board defekt)



noch keine confs, homes u.s.w.


Webinstaller - bei RAID

bei grub -> e

Ändern auf /dev/sda1 (statt sde1)

booten - Fehlermeldungen ignorieren

dann als root anmelden

mount /dev/sda5 /usr
mount /dev/sda6 /var

editor /etc/fstab

dann

editor /etc/mtab

dann

editor /boot/grub/menu.lst


ziemlich weit unten 2x sde in sda ändern

neustart

jetzt klappt:

aptitude install mc openssh-server

ggf.: update-alternatives --set editor /usr/bin/mcedit-debian alias mc='. /usr/share/mc/bin/mc-wrapper.sh'


dann geht tunnelier vom win-pc aus

export PS1='[\[\033[1;31m\]\u\[\033[0m\]@\h \W]\$ '

aptitude install ethtool zip unzip bzip2 netstat-nat sysvconfig sudo-ldap apache libapache2-mod-php5 ftp partimage

/etc/init.d/apache2 restart

-> die Sache mit dem User-Dir http://www.delixs.de/dwiki/index.php/Kirmse/Apache

aptitude install samba samba-common smbclient swat quota ntp ntpdate squid

-> die Sache mit den Nutzern und Freigaben http://www.delixs.de/dwiki/index.php/Kirmse/Samba

/etc/ntp.conf ändern -> server ptbtime1.ptb.de

/etc/init.d/ntp restart

-> die Sache mit den Quotas http://www.delixs.de/dwiki/index.php/Kirmse/Samba

-> Einstellungen: http://www.delixs.de/dwiki/index.php/Kirmse/Squid

Überwachung: aptitude install lm-sensors i2c-tools sensord smartmontools

Last login: Fri May 29 16:47:59 2009 from athlon64
flix:~# aptitude install lm-sensors i2c-tools sensord smartmontools
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Lese erweiterte Statusinformationen
Initialisiere Paketstatus... Fertig
Lese Task-Beschreibungen... Fertig
Die folgenden NEUEN Pakete werden zusätzlich installiert:
 bsd-mailx{a} defoma{a} exim4{a} exim4-base{a} exim4-config{a}
 exim4-daemon-light{a} fontconfig{a} fontconfig-config{a} i2c-tools
 libcairo2{a} libdatrie0{a} libdirectfb-1.0-0{a} libfontconfig1{a}
 libfontenc1{a} libfreetype6{a} libpango1.0-0{a} libpango1.0-common{a}
 libpixman-1-0{a} libpng12-0{a} librrd4{a} libsensors4{a} libsysfs2{a}
 libthai-data{a} libthai0{a} libts-0.0-0{a} libxcb-render-util0{a}
 libxcb-render0{a} libxfont1{a} libxft2{a} libxrender1{a} lm-sensors
 mailx{a} psmisc{a} sensord smartmontools ttf-dejavu{a} ttf-dejavu-core{a}
 ttf-dejavu-extra{a} x-ttcidfont-conf{a} xfonts-encodings{a}
 xfonts-utils{a}
0 Pakete aktualisiert, 41 zusätzlich installiert, 0 werden entfernt und 0 nicht
aktualisiert.
Muss 11,8MB an Archiven herunterladen. Nach dem Entpacken werden 25,8MB zusätzli
ch belegt sein.
Wollen Sie fortsetzen? [Y/n/?] Y


dabei dann: http://smartmontools.sourceforge.net/docs/raid-controller_support.html Areca SATA RAID controller -d areca,N (beim Aufruf dann z.B.: smartctl -d areca,1) stimmt nicht.

ändern von:

/etc/default/smartmontools
# Defaults for smartmontools initscript (/etc/init.d/smartmontools)
# This is a POSIX shell fragment

# List of devices you want to explicitly enable S.M.A.R.T. for
# Not needed (and not recommended) if the device is monitored by smartd
#enable_smart="/dev/hda /dev/hdb"

# uncomment to start smartd on system startup
start_smartd=yes

# uncomment to pass additional options to smartd on startup


Sensors einrichten mit

sensors-detect

dann die gefundenen laden (beim ersten Mal - nach dem Neustart gehts dann)

flix:~# modprobe w83627ehf
flix:~# modprobe coretemp

Werte auf Asus P5BV-C/4L unklar:

flix:~# sensors
w83627dhg-isa-0290
Adapter: ISA adapter
VCore:       +1.07 V  (min =  +0.00 V, max =  +1.74 V)
in1:        +12.14 V  (min =  +1.74 V, max =  +3.38 V)   ALARM
AVCC:        +3.28 V  (min =  +0.00 V, max =  +0.00 V)   ALARM
3VCC:        +3.28 V  (min =  +0.90 V, max =  +0.11 V)   ALARM
in4:         +1.32 V  (min =  +0.00 V, max =  +0.07 V)   ALARM
in5:         +1.60 V  (min =  +0.40 V, max =  +0.14 V)   ALARM
in6:         +4.12 V  (min =  +0.87 V, max =  +1.43 V)   ALARM
VSB:         +3.28 V  (min =  +2.24 V, max =  +2.56 V)   ALARM
VBAT:        +3.01 V  (min =  +0.82 V, max =  +0.00 V)   ALARM
Case Fan:      0 RPM  (min =   65 RPM, div = 128)  ALARM
CPU Fan:    1430 RPM  (min = 9642 RPM, div = 4)  ALARM
Aux Fan:       0 RPM  (min = 1171 RPM, div = 128)  ALARM
fan4:          0 RPM  (min = 42187 RPM, div = 8)  ALARM
fan5:          0 RPM  (min = 2481 RPM, div = 8)  ALARM
Sys Temp:    +33.0°C  (high = +78.0°C, hyst =  +4.0°C)  sensor = thermistor
CPU Temp:    +25.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = diode
AUX Temp:    +27.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
cpu0_vid:   +2.500 V

coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +38.0°C  (high = +76.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +32.0°C  (high = +76.0°C, crit = +100.0°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +39.0°C  (high = +76.0°C, crit = +100.0°C) 

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +39.0°C  (high = +76.0°C, crit = +100.0°C)

Platten:

flix:~# smartctl -d areca,1
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=======> INVALID ARGUMENT TO -d: areca,1
=======> VALID ARGUMENTS ARE: ata, scsi, marvell, sat, 3ware,N, hpt,L/M/N cciss, N <=======

Braucht man aber auch nicht

flix:~# smartctl --all /dev/sdc
smartctl version 5.38 [x86_64-unknown-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: Areca    ARC-1220-VOL#02  Version: R001
Serial number: 0000000155527889
Device type: disk
Transport protocol: Fibre channel (FCP-2)
Local Time is: Fri May 29 17:28:45 2009 CEST
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
SMART Health Status: OK

Current Drive Temperature:     30 C
Drive Trip Temperature:        25 C
Manufactured in week 30 of year 2002
Recommended maximum start stop count:  4278190080 times
Current start stop count:      256 times
Elements in grown defect list: 0

Error counter log:
   Errors Corrected by           Total   Correction     Gigabytes    Total
       ECC          rereads/    errors   algorithm      processed    uncorrected
   fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors 
read:  0        0         0         0          0          0.000       0
write: 0        0         0         0          0          0.000       0

Non-medium error count:        0
Device does not support Self Test logging
flix:~#

Temperaturen stimmen nicht mit denen vom Areca-http-Tool angezeigten überein (zu niedrig) Temperaturen verändern sich während des Betriebes nicht (im Tool schon)




Klar, du kannst die aber auch in eine Zeile packen. Thorsten

partimage gibts auch

http://www.fsarchiver.org/Main_Page

soll mehr können oder http://www.clonezilla.org/



LVM:

http://www.linuxhaven.de/dlhp/FTP/aktuell/pdf/DE-LVM-HOWTO.pdf.gz