zpool status

Noooooooooooooooooooooooooooooooooooooooooo!!!!

root@christine:~# zpool status
  pool: storage
 state: DEGRADED
status: One or more devices are faulted in response to persistent errors.
	Sufficient replicas exist for the pool to continue functioning in a
	degraded state.
action: Replace the faulted device, or use 'zpool clear' to mark the device
	repaired.
  scan: scrub repaired 0 in 2h1m with 0 errors on Mon Mar 13 22:41:57 2017
config:
 
	NAME                 STATE     READ WRITE CKSUM
	storage              DEGRADED     0     0     0
	  raidz1-0           ONLINE       0     0     0
	    WD-WCC4N2AJ9T7E  ONLINE       0     0     0
	    SG-W6A12G2H      ONLINE       0     0     0
	    WD-WCC4N6VCK2TD  ONLINE       0     0     0
	    SG-Z5020FXJ      ONLINE       0     0     0
	  raidz1-1           ONLINE       0     0     0
	    WD-WCC4N6SXZ3PF  ONLINE       0     0     0
	    SG-W6A12F14      ONLINE       0     0     0
	    WD-WCC4N4NNTF1P  ONLINE       0     0     0
	    SG-W6A12FMB      ONLINE       0     0     0
	  raidz1-2           DEGRADED     0     0     0
	    SG-W6A12G0B      ONLINE       0     0     0
	    WD-WCC4N6KV534N  ONLINE       0     0     0
	    SG-W6A12FXS      ONLINE       0     0     0
	    SG-Z5020G18      FAULTED      0     6     0  too many errors
	  raidz1-3           ONLINE       0     0     0
	    WD-WCAWZ2194067  ONLINE       0     0     0
	    SG-Z501ZYA5      ONLINE       0     0     0
	    WD-WCAWZ2194120  ONLINE       0     0     0
	    SG-Z5020G17      ONLINE       0     0     0
	logs
	  mirror-4           ONLINE       0     0     0
	    zil1             ONLINE       0     0     0
	    zil2             ONLINE       0     0     0
	cache
	  cache1             ONLINE       0     0     0
	  cache2             ONLINE       0     0     0
 
errors: No known data errors

update:

root@christine:~# zpool status
  pool: storage
 state: ONLINE
  scan: scrub repaired 0 in 4h36m with 0 errors on Sun Apr  9 05:00:44 2017
config:

Linux IPSEC using strongswan

Recently I took a look at some techniques I always wanted to take a look at. IPSEC for example is one of those techniques. Remembering how long it took my work-colleague to setup an ipsec connection I thought this would be a nightmare. Took him a few days to get a working ipsec connection to a customer appliance – seems that had nothing to do with ipsec. The horrible part was the documentation or rather the lack of proper documentation for that specific Peplink appliance. Anyway, here’s how you can setup ipsec pretty simple and fast.
Continue Reading