Project

General

Profile

Bug #7291 ยป panic.sh

Alex Deiter, 2016-08-10 09:30 PM

 
1
#!/bin/ksh -x
2

    
3
# Please change this parameters
4
DISKS="c2t1d0 c2t2d0 c2t3d0 c2t4d0 c2t5d0"
5
POOL="test"
6

    
7
zpool destroy -f $TEST
8
zpool create -f -o cachefile=none -m /tmp/tmp.NJa40f $TEST raidz3 $DISKS
9
zfs create -p -o compression=zle -o checksum=skein -o recordsize=32768 $TEST/src
10
zfs create -p -o compression=gzip -o checksum=on -o recordsize=2048 $TEST/src/ab36034a
11
zfs create -p -o compression=gzip -o checksum=sha512 -o recordsize=16384 $TEST/src/ab36034a/a13850c5
12
zfs create -p -o compression=off -o checksum=skein -o recordsize=8192 $TEST/src/ab36034a/a13850c5/bc43d477
13
zfs create -p -o compression=off -o checksum=sha512 -o recordsize=32768 $TEST/src/ab36034a/a13850c5/bc43d477/66ce25e1
14
zfs create -p -o compression=off -o checksum=fletcher2 -o recordsize=16384 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981
15
zfs create -p -o compression=lzjb -o checksum=sha256 -o recordsize=65536 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/21990bcb
16
zfs create -p -s -V 1670512640 -o compression=lzjb -o checksum=on -o volblocksize=65536 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/21990bcb/9635cddc
17
/opt/zfs-tests/bin/file_write -o overwrite -f /dev/zvol/dsk/$TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/21990bcb/9635cddc -b 65536 -s 556599640 -c 2042
18
zfs create -p -o compression=off -o checksum=edonr -o recordsize=2048 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/9b8704a1
19
zfs create -p -V 1670039552 -o compression=lz4 -o checksum=fletcher4 -o volblocksize=1024 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/9b8704a1/2990cad2
20
/opt/zfs-tests/bin/file_write -o overwrite -f /dev/zvol/dsk/$TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/9b8704a1/2990cad2 -b 1024 -s 909623320 -c 217
21
zfs create -p -o compression=lzjb -o checksum=skein -o recordsize=1024 $TEST/src/39adc18a/e74522f6/1b57bfd7/036677c5/965a7c59/abef8981/9b8704a1/cf89a418
22
zpool destroy -f $TEST
23

    
24
zpool create -f -o cachefile=none -m /tmp/tmp.7Cai7g $TEST raidz $DISKS
25
zfs create -p -s -V 1469644800 -o compression=lzjb -o checksum=on -o volblocksize=32768 $TEST/src
26
/opt/zfs-tests/bin/file_write -o overwrite -f /dev/zvol/dsk/$TEST/src -b 32768 -s 1079091000 -c 3644
27
zpool destroy -f $TEST
    (1-1/1)