Tern: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Created page with "== History == 2016-Jan-20 set up as Time Machine == Hardware == Hardware that used to be Bellman The two 2TB drives are now LVM'ed into a stripe because I need space m..."
 
Brian Wilson (talk | contribs)
Line 5: Line 5:
== Hardware ==
== Hardware ==


Hardware that used to be [[Bellman]]
Hardware is a MiniITX server that used to be [[Bellman]]


The two 2TB drives are now LVM'ed into a stripe because I need space more than reliability for Time Machine.
The two Seagate Green 2TB drives are now LVM'ed into a stripe because I need space more than reliability for Time Machine.
 
=== Changing over from mirror to strip ===
 
http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/
 
mdadm --detail /dev/md127
mdadm --fail /dev/md127 /dev/sdc --remove /dev/sdc
mdadm --stop /dev/md127
mdadm --remove /dev/md127
fdisk /dev/sdb
fdisk /dev/sdc
mdadm --create /dev/md127 level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1
mkfs.ext4 /dev/md127
blkid /dev/md127 >> /etc/fstab
emacs /etc/fstab


== Software ==
== Software ==

Revision as of 20:02, 20 January 2016

History

2016-Jan-20 set up as Time Machine

Hardware

Hardware is a MiniITX server that used to be Bellman

The two Seagate Green 2TB drives are now LVM'ed into a stripe because I need space more than reliability for Time Machine.

Changing over from mirror to strip

http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/

mdadm --detail /dev/md127
mdadm --fail /dev/md127 /dev/sdc --remove /dev/sdc
mdadm --stop /dev/md127
mdadm --remove /dev/md127
fdisk /dev/sdb
fdisk /dev/sdc
mdadm --create /dev/md127 level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1
mkfs.ext4 /dev/md127
blkid /dev/md127 >> /etc/fstab
emacs /etc/fstab

Software

# Must Haves
apt-get install emacs

Time Machine

https://daniel-lange.com/archives/102-Apple-Timemachine-backups-on-Debian-8-Jessie.html

Built deb packages for netatalk from git on bellman and install packages here.

apt-get install mysql-common libcrack2 libmysqlclient18 
dpkg --install libatalk16_3.1.7-1_amd64.deb netatalk_3.1.7-1_amd64.deb