2014-04-02 16:16:50 +02:00
|
|
|
[[Kategorie:Infrastruktur]]
|
|
|
|
|
2014-04-03 15:58:53 +02:00
|
|
|
Ein Filesystem um sie alle zu knechten.
|
|
|
|
Auf der Suche nach den verlorenen Bits.
|
|
|
|
|
2014-04-02 16:16:50 +02:00
|
|
|
== Hardware Info ==
|
|
|
|
* CPU: [http://ark.intel.com/de/products/27205/Intel-Xeon-Processor-3060-4M-Cache-2_40-GHz-1066-MHz-FSB] @ 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
|
2014-04-02 16:19:11 +02:00
|
|
|
* 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
|
2014-04-02 16:16:50 +02:00
|
|
|
|
2014-04-02 16:20:31 +02:00
|
|
|
*** 5 GB /boot mit SoftRAID1
|
|
|
|
*** 4 GB SWAP
|
|
|
|
*** 70 GB BTRFS / balance RAID1
|
|
|
|
*** 160 GB /c3d2 single storage
|
2014-04-02 16:16:50 +02:00
|
|
|
|
2014-04-02 16:22:55 +02:00
|
|
|
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
|
|
|
|
|
2014-04-02 16:16:50 +02:00
|
|
|
== INFO ==
|
|
|
|
Bei Lust und Laune können wir an gelegentlichen Wochenenden BTRFS Sessions abhalten
|
|
|
|
|
|
|
|
== WoL mit Linux ==
|
|
|
|
|
|
|
|
etherwake installieren
|
|
|
|
|
2014-04-03 16:04:53 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
<source lang="bash">
|
|
|
|
sudo apt-get install etherwake
|
2014-04-03 16:01:07 +02:00
|
|
|
</source>
|
2014-04-02 16:16:50 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
|
2014-04-02 16:16:50 +02:00
|
|
|
ehterwake ausführen zum Kiste starten
|
|
|
|
|
2014-04-03 16:04:53 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
<source lang="bash">
|
2014-04-02 16:16:50 +02:00
|
|
|
sudo etherwake `dig TXT +short lostbert.hq.c3d2.de | sed 's/"//g'`
|
2014-04-03 16:01:07 +02:00
|
|
|
</source>
|
2014-04-02 16:16:50 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
|
2014-04-02 16:16:50 +02:00
|
|
|
== WoL mit FreeBSD ==
|
|
|
|
|
2014-04-03 16:04:53 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
<source lang="bash">
|
2014-04-02 16:16:50 +02:00
|
|
|
wake <INTERFACE> `(drill TXT lostbert.hq.c3d2.de | grep "lostbert.hq.c3d2.de." | tail -n1 | awk '{print $5}' | sed 's/"//g')`
|
2014-04-03 16:01:07 +02:00
|
|
|
</source>
|
2014-04-02 16:16:50 +02:00
|
|
|
|
2014-04-03 16:05:47 +02:00
|
|
|
|
2014-04-02 16:16:50 +02:00
|
|
|
That's FreeBSD :D
|