Hi,
Is there any bug on GELI because unplugging the disk will trigger kernel panic? No problem on a non GELI pool on the same server.
I'm able to reproduce the issue almost everytime with the following step:
- run the following command:
- physically unplug the gpt/slog_disk0.eli after 10 minutes later, it will trigger kernel panic and server will be rebooted automatically.
My server specification as below:
Below is my /etc/rc.conf
/boot/loader.conf
Is there any bug on GELI because unplugging the disk will trigger kernel panic? No problem on a non GELI pool on the same server.
I'm able to reproduce the issue almost everytime with the following step:
- run the following command:
Code:
sh
for i in 1 2 3 4 5 6 7 8 9 10; do dd if=/dev/zero of=/vol/test$i bs=1M;done
My server specification as below:
- Supermicro 1U server.
- Xeon 1230v2 with AESNI supported and enabled.
- 8GB RAM.
- FreeBSD 9.1-p7 server setup with GELI enabled.
Code:
pool: vol
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
vol ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/data_disk0.eli ONLINE 0 0 0
gpt/data_disk1.eli ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gpt/data_disk2.eli ONLINE 0 0 0
gpt/data_disk3.eli ONLINE 0 0 0
logs
gpt/slog_disk0.eli ONLINE 0 0 0
cache
gpt/l2arc_disk0.eli ONLINE 0 0 0
NAME PROPERTY VALUE SOURCE
vol sync always local
vol compression off local
vol recordsize 128K default
vol atime on default
Below is my /etc/rc.conf
Code:
hostname="storage.ne.com.sg"
ifconfig_em0="inet 10.8.8.42 netmask 255.255.255.0 up"
ifconfig_em1="inet 10.9.9.42 netmask 255.255.255.0 mtu 9000 up"
defaultrouter="10.8.8.1"
sshd_enable="YES"
zfs_enable="YES"
geli_devices="gpt/data_disk0 gpt/data_disk1 gpt/data_disk2 gpt/data_disk3 gpt/l2arc_disk0 gpt/slog_disk0"
geli_swap_flags="-e AES-CBC -l 256 -s 4096 -d"
geli_default_flags="-p -k /boot/keys/disks.key"
# SendMail
sendmail_enable="NONE"
sendmail_msp_queue_enable="NO"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
# NFS
nfsv4_server_enable="YES"
rpcbind_enable="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 64"
mountd_flags="-r"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
/boot/loader.conf
Code:
zfs_load="YES"
aesni_load="YES"
vfs.zfs.cache_flush_disable=1
vfs.root.mountfrom="zfs:zroot"
vfs.zfs.arc_max="4G"
vfs.zfs.write_limit_override="2G"