Tern: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
Line 9: Line 9:
The two Seagate Green 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 ===
=== Changing over from mirror to stripe ===


http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/
It ended up on /dev/md126 (he shrugs).


  mdadm --detail /dev/md127
  mdadm --detail /dev/md127

Revision as of 20:04, 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 stripe

It ended up on /dev/md126 (he shrugs).

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