I have recently configured my own mail server (Linux-based postfix + dovecot scenario). This is just for personal use - I have no bulk mail going out, no automatically generated mail outbound from the host, nothing like that. I've gone through the trouble to configure all the additional fun-to-debug email DNS records:
@ IN TXT v=spf1 +mx -all
_domainkey IN TXT o=-; r=dkim@example.com
mail._domainkey IN TXT v=DKIM1; h=sha256; k=rsa; s=email; p=deadbeef
_adsp._domainkey IN TXT dkim=all
_dmarc IN TXT adkim=s; aspf=s; …
Run Code Online (Sandbox Code Playgroud) 由于 PPA ,我有一个支持 ZFS 的 Ubuntu (13.04) 桌面zfs-native/stable
。
一切都运行得很好。我创建了一个inground
使用以下命令调用的 RAID-Z1 池:
zpool create inground raidz1 sdb sdc sdd sde sdf
Run Code Online (Sandbox Code Playgroud)
后来,在无法访问我创建的挂载点后,zpool status
当我看到池中的1unavailable
和 2 个corrupt
vdev时,我跑起来差点从椅子上掉下来。深呼吸几次后,我注意到当我最近重新启动系统时,我的塔的前端口之一中有一个美元拇指驱动器。这导致所有/dev/sd*
映射都发生了变化,一切都有意义了。我移除了 USB 驱动器,重新启动,一切都很好。
我的问题是,我将来如何防止这种情况发生?在将物理驱动器作为 vdev 添加到 zpool 时,是否可以使用不同的规范标识符来引用它们?
我在通过 SSH 连接到远程主机时遇到问题。我已将问题范围缩小到本地主机,因为其他客户端每次都会进行名义(快速且稳定)的连接。
尝试通过 SSH 连接到remotehost.example.net
fromlocalhost
将超时,但大约十分之一的尝试会超时(它挂在此处,然后超时):
515 chris@localhost ~ $ ssh -vvv remotehost-root
OpenSSH_6.4, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /home/chris/.ssh/config
debug1: /home/chris/.ssh/config line 43: Applying options for remotehost-root
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to remotehost.example.net [123.123.123.123] port 12345.
^C
Run Code Online (Sandbox Code Playgroud)
localhost
是一个最新的 Arch 系统:
517 chris@localhost ~ $ uname -a
Linux localhost 3.12.1-1-ARCH #1 SMP PREEMPT Thu Nov 21 08:18:42 CET 2013 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
我使用 …
我正在为我的 Puppet 基础设施编写一个外部节点分类器,我需要/etc/hosts
在每个节点上操作文件。以下(由于重复键)是无效的 YAML:
---
host:
name: www1.example.com
host_aliases: www1
ip: 1.2.3.4
host:
name: www2.example.com
host_aliases: www2
ip: 1.2.3.5
Run Code Online (Sandbox Code Playgroud)
我看到了这个相关的答案,它有以下代码:
host {
# Public IPs - eth0
'front-01': ip => '192.168.1.103';
'front-02': ip => '192.168.1.106';
# Private IPs - eth1
'priv0-0': ip => '192.169.40.201';
'priv0-1': ip => '192.169.40.202';
'priv1-0': ip => '192.169.40.207';
'priv1-1': ip => '192.169.40.208';
# Virtual IPs - eth0:1
'vip-01': ip => '192.169.50.202';
'vip-02': ip => '192.169.50.205';
}
Run Code Online (Sandbox Code Playgroud)
然而,