Server/lostbert: Unterschied zwischen den Versionen

Aus C3D2
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
K (Vater verschob Seite Lostbert nach Server/lostbert)
 
(8 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Kategorie:Infrastruktur]]
[[Kategorie:Infrastruktur]]
Ein Filesystem um sie alle zu knechten.
Auf der Suche nach den verlorenen Bits.


== Hardware Info ==
== Hardware Info ==
Zeile 19: Zeile 22:
== Partitionierungsschema ==
== Partitionierungsschema ==
NAME    MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
NAME    MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
** sda      8:0    0 232.9G  0 disk
* sda      8:0    0 232.9G  0 disk
*** |-sda1    8:1    0  4.7G  0 part
** |-sda1    8:1    0  4.7G  0 part
*** | `-md0  9:0    0  4.7G  0 raid1 /boot
** | `-md0  9:0    0  4.7G  0 raid1 /boot
*** |-sda2    8:2    0  3.7G  0 part  [SWAP]
** |-sda2    8:2    0  3.7G  0 part  [SWAP]
*** |-sda3    8:3    0  65.2G  0 part
** |-sda3    8:3    0  65.2G  0 part
*** `-sda4    8:4    0 158.3G  0 part
** `-sda4    8:4    0 158.3G  0 part
** sdb      8:16  0  74.5G  0 disk
* sdb      8:16  0  74.5G  0 disk
*** |-sdb1    8:17  0  4.7G  0 part
** |-sdb1    8:17  0  4.7G  0 part
*** | `-md0  9:0    0  4.7G  0 raid1 /boot
** | `-md0  9:0    0  4.7G  0 raid1 /boot
*** |-sdb2    8:18  0  3.7G  0 part  [SWAP]
** |-sdb2    8:18  0  3.7G  0 part  [SWAP]
*** `-sdb3    8:19  0  65.2G  0 part
** `-sdb3    8:19  0  65.2G  0 part


- 5  GB /boot mit SoftRAID1
*** 5  GB /boot mit SoftRAID1
- 4  GB SWAP
*** 4  GB SWAP
- 70 GB BTRFS / balance RAID1
*** 70 GB BTRFS / balance RAID1
- 160 GB /c3d2 single storage
*** 160 GB /c3d2 single storage
 
btrfs filesystem show /
Label: system  uuid:
*        Total devices 2 FS bytes used 1006.25MiB
*        devid    1 size 65.19GiB used 4.03GiB path /dev/sda3
*        devid    2 size 65.19GiB used 4.03GiB path /dev/sdb3
 
Btrfs v3.12


== INFO ==
== INFO ==
Zeile 43: Zeile 54:
etherwake installieren
etherwake installieren


<pre>
 
sudo apt-get install etherwake  
<source lang="bash">
</pre>
sudo apt-get install etherwake
</source>
 


ehterwake ausführen zum Kiste starten
ehterwake ausführen zum Kiste starten


<pre>
 
<source lang="bash">
sudo etherwake `dig TXT +short lostbert.hq.c3d2.de | sed 's/"//g'`
sudo etherwake `dig TXT +short lostbert.hq.c3d2.de | sed 's/"//g'`
</pre>
</source>
 


== WoL mit FreeBSD ==
== WoL mit FreeBSD ==


<pre>
 
<source lang="bash">
wake <INTERFACE> `(drill TXT lostbert.hq.c3d2.de | grep "lostbert.hq.c3d2.de." | tail -n1 | awk '{print $5}'  | sed 's/"//g')`
wake <INTERFACE> `(drill TXT lostbert.hq.c3d2.de | grep "lostbert.hq.c3d2.de." | tail -n1 | awk '{print $5}'  | sed 's/"//g')`
</pre>
</source>
 


That's FreeBSD :D
That's FreeBSD :D

Aktuelle Version vom 16. Juni 2014, 00:53 Uhr


Ein Filesystem um sie alle zu knechten. Auf der Suche nach den verlorenen Bits.

Hardware Info

  • CPU: [1] @ 2.40GHZ
  • RAM: 4x1GB
  • Board:
  • HDD: 250GB
  • HDD: 80GB

Software Info

  • System: Debian jessie/sid
  • Virtualisierung: bisher ohne
  • Kernel: Linux lostbert 3.13-1-amd64 #1 SMP Debian 3.13.7-1 (2014-03-25) x86_64 GNU/Linux

Verwendungszweck

Spielwiese für BTRFS

  • Da der Server primär nur am Wochenende verwendet werden soll, kann er bei Bedarf mit Wake on LAN hochgefahren werden

Partitionierungsschema

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

  • sda 8:0 0 232.9G 0 disk
    • |-sda1 8:1 0 4.7G 0 part
    • | `-md0 9:0 0 4.7G 0 raid1 /boot
    • |-sda2 8:2 0 3.7G 0 part [SWAP]
    • |-sda3 8:3 0 65.2G 0 part
    • `-sda4 8:4 0 158.3G 0 part
  • sdb 8:16 0 74.5G 0 disk
    • |-sdb1 8:17 0 4.7G 0 part
    • | `-md0 9:0 0 4.7G 0 raid1 /boot
    • |-sdb2 8:18 0 3.7G 0 part [SWAP]
    • `-sdb3 8:19 0 65.2G 0 part
      • 5 GB /boot mit SoftRAID1
      • 4 GB SWAP
      • 70 GB BTRFS / balance RAID1
      • 160 GB /c3d2 single storage

btrfs filesystem show / Label: system uuid:

  • Total devices 2 FS bytes used 1006.25MiB
  • devid 1 size 65.19GiB used 4.03GiB path /dev/sda3
  • devid 2 size 65.19GiB used 4.03GiB path /dev/sdb3

Btrfs v3.12

INFO

Bei Lust und Laune können wir an gelegentlichen Wochenenden BTRFS Sessions abhalten

WoL mit Linux

etherwake installieren


sudo apt-get install etherwake


ehterwake ausführen zum Kiste starten


sudo etherwake `dig TXT +short lostbert.hq.c3d2.de | sed 's/"//g'`


WoL mit FreeBSD

wake <INTERFACE> `(drill TXT lostbert.hq.c3d2.de | grep "lostbert.hq.c3d2.de." | tail -n1 | awk '{print $5}'  | sed 's/"//g')`


That's FreeBSD :D