Archiv

Archiv für Juli, 2009

Neuer Server wieder Offline…

29. Juli 2009

Ich hasse es.  Sowas tut einer kleinen Community nie gut! Ich hätte das mit dem Serverumzug nicht innerhalb von 24h erledigen sollen.

Denn das RAID5 machte nach kürzester Zeit probleme, und ich konnte es nicht mehr retten.

Als ich verzweifelt versuchte das RAID5 wieder zu reparieren, und ich es nicht schaffte, beschloss ich also FreeBSD zu installieren und ZFS als Filesystme zu verwenden.

[root@midna /]# zpool status
pool: tank
state: ONLINE
scrub: none requested
config:

NAME            STATE     READ WRITE CKSUM
tank            ONLINE       0     0     0
raidz1        ONLINE       0     0     0
ad6         ONLINE       0     0     0
ad7         ONLINE       0     0     0
stripe/st0  ONLINE       0     0     0

errors: No known data errors
[root@midna /]# zpool list
NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
tank                   1.36T    696G    700G    49%  ONLINE     -
[root@midna /]# zfs list
NAME        USED  AVAIL  REFER  MOUNTPOINT
tank        464G   451G  24.0K  /tank
tank/home   464G   451G   464G  /home/
[root@midna /]#

Wie Ihr sieht, läuft bis jetzt alles einwandfrei (2 Tage schon).

Ich installiere grade Apache, PHP und alle anderen Dienste, und richte die vollkommen und so sicher wie ich kann und vorallem stelle ich alles mit ruhe ein. So kann ich keinen Fehler mehr machen, und Ihr habt wieder am Ende ein Server, der schneller ist, und auch funktioniert :)

tomekk Allgemein , , , ,

Neuer Server ist Online!

26. Juli 2009

Der neue Server ist endlich Online. Es sind noch nicht alle Dienste migriert, aber wenigstens schon alle Daten und die zwei wichtigsten Dienste: Apache und IRC.

Der Rest kommt auch noch, das nächste Ziel ist erstmal OpenTTD (wegen gestiegener hoher Nachfrage :) ).

Ich werde nicht viel um den heißen Brei reden. Hier einfach ein paar Infos:

RAID 5

midna:/home/tomekk# cat /proc/mdstat
Personalities : [raid0] [raid6] [raid5] [raid4]
md1 : active raid5 sdc[0] md0[2] sdd[1]
976772992 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md0 : active raid0 sda1[0] sdb1[1]
488391808 blocks 64k chunks

unused devices:
midna:/home/tomekk#
midna:/home/tomekk# mdadm –detail /dev/md1
mdadm: metadata format 00.90 unknown, ignored.
mdadm: metadata format 00.90 unknown, ignored.
/dev/md1:
Version : 00.90
Creation Time : Fri Jul 24 01:41:54 2009
Raid Level : raid5
Array Size : 976772992 (931.52 GiB 1000.22 GB)
Used Dev Size : 488386496 (465.76 GiB 500.11 GB)
Raid Devices : 3
Total Devices : 3
Preferred Minor : 1
Persistence : Superblock is persistent

Update Time : Sun Jul 26 16:27:27 2009
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0

Layout : left-symmetric
Chunk Size : 64K

UUID : 4d181081:f6d4ddb2:430fa026:6458319f
Events : 0.12410

Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc
1 8 48 1 active sync /dev/sdd
2 9 0 2 active sync /dev/disk/by-id/md-uuid-3c82d111:f97a8d1c:430fa026:6458319f
midna:/home/tomekk#
midna:/home/tomekk# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×000d62d1

Device Boot Start End Blocks Id System
/dev/hda1 1 8510 68356543+ 83 Linux
/dev/hda2 8511 9118 4883760 83 Linux
/dev/hda3 9119 9847 5855692+ 83 Linux
/dev/hda4 9848 9964 939802+ 82 Linux swap / Solaris

Disk /dev/sda: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000

Device Boot Start End Blocks Id System

Disk /dev/sdb: 250.0 GB, 250058268160 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000

Device Boot Start End Blocks Id System

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000

Disk /dev/sdc doesn’t contain a valid partition table

Disk /dev/sdd: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0×00000000

Disk /dev/sdd doesn’t contain a valid partition table

Disk /dev/md0: 500.1 GB, 500113211392 bytes
2 heads, 4 sectors/track, 122097952 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0×00000000

Disk /dev/md0 doesn’t contain a valid partition table

Disk /dev/md1: 1000.2 GB, 1000215543808 bytes
2 heads, 4 sectors/track, 244193248 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0×00000000

Disk /dev/md1 doesn’t contain a valid partition table
midna:/home/tomekk#

Und Systeminfos: http://tomekk228.dyndns.org/phpsysinfo

Bei Fragen und Vorschläge, einfach in den Kommentaren posten ;)

tomekk Allgemein , , , ,

Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien: