Eu tenho uma configuração do servidor FreeNAS na casa dos meus pais. Anteriormente, estava executando o FreeNAS Coral.
Isso tinha um único volume do ZFS chamado 'datastore'. É um volume RAIDZ-1, composto por 4 discos Toshiba de 5 TB.
Por alguma razão, essa instalação parece ter se encaixado. De qualquer forma, eu re-instalei o USB de inicialização com o último FreeNAS 11 e inicializei. Em seguida, passei pelo assistente para importar meu antigo volume do ZFS.
Pareceu-me importar bem o volume - a GUI também me levou a atualizar a versão do pool do ZFS, o que eu fiz. No entanto, agora percebo que pareço perder vários volumes do ZFS - mas nenhum erro está sendo relatado.
Saída de zfs list
:
root@freenas:/mnt/datastore # zfs list
NAME USED AVAIL REFER MOUNTPOINT
datastore 1.20T 9.01T 128K /mnt/datastore
datastore/.system 8.81M 9.01T 140K legacy
datastore/.system/configs-127b3ac88ebd45cc8152eb1d50a360da 128K 9.01T 128K legacy
datastore/.system/cores 128K 9.01T 128K legacy
datastore/.system/rrd-127b3ac88ebd45cc8152eb1d50a360da 7.90M 9.01T 7.90M legacy
datastore/.system/samba4 279K 9.01T 279K legacy
datastore/.system/syslog-127b3ac88ebd45cc8152eb1d50a360da 256K 9.01T 256K legacy
datastore/ablage 1.20T 9.01T 1.20T /mnt/datastore/ablage
freenas-boot 743M 6.24G 64K none
freenas-boot/ROOT 736M 6.24G 29K none
freenas-boot/ROOT/Initial-Install 1K 6.24G 734M legacy
freenas-boot/ROOT/default 736M 6.24G 734M legacy
freenas-boot/grub 6.29M 6.24G 6.29M legacy
Saída de zpool status
:
root@freenas:/mnt/datastore # zpool status
pool: datastore
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
datastore ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/896b991d-a974-11e6-b04f-a0b3cce4fa18 ONLINE 0 0 0
gptid/88ace9fe-a974-11e6-b04f-a0b3cce4fa18 ONLINE 0 0 0
gptid/8957be15-a974-11e6-b04f-a0b3cce4fa18 ONLINE 0 0 0
gptid/8cbda7a2-a974-11e6-b04f-a0b3cce4fa18 ONLINE 0 0 0
errors: No known data errors
pool: freenas-boot
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
da0p2 ONLINE 0 0 0
errors: No known data errors
E da GUI do FreeNAS 11 - volumes:
ediscos:
Deveriahaveroutrosvolumes-porexemplo"datastore / joo" ou "datastore / photos" etc.
Alguma idéia do que está acontecendo? Poderia a versão do pool de alguma forma ter algo borked? = (.
O fato de reportar 12 TB de graça é bastante preocupante - mas eu espero que os dados estejam nos discos de alguma forma ... alguma sugestão sobre como chegar à causa raiz e / ou se recuperar?
Atualização - saída de zpool history -il <zpool>
:
% sudo zpool history -il datastore
Password:
History for 'datastore':
2016-11-13.18:41:21 [txg:5] create pool version 5000; software version 5000/5; uts freenas.local 10.3-STABLE 1003510 amd64 [on freenas.local]
2016-11-13.18:41:21 [txg:5] set datastore (21) compression=15 [on freenas.local]
2016-11-13.18:41:21 [txg:5] set datastore (21) aclmode=3 [on freenas.local]
2016-11-13.18:41:21 [txg:5] set datastore (21) mountpoint=/mnt/datastore [on freenas.local]
2016-11-13.18:41:21 [txg:5] set datastore (21) aclinherit=3 [on freenas.local]
2016-11-13.18:41:24 <dispatcher> zpool create -o feature@embedded_data=enabled -o feature@filesystem_limits=enabled -o feature@enabled_txg=enabled -o feature@multi_vdev_crash_dump=enabled -o feature@extensible_dataset=enabled -o feature@large_blocks=enabled -o feature@empty_bpobj=enabled -o feature@bookmarks=enabled -o feature@hole_birth=enabled -o cachefile=/data/zfs/volume.cache -o autoexpand=on -o feature@lz4_compress=enabled -o failmode=continue -o feature@async_destroy=enabled -o feature@spacemap_histogram=enabled -O aclmode=passthrough -O mountpoint=/mnt/datastore -O aclinherit=passthrough -O compression=lz4 datastore raidz1 /dev/gptid/896b991d-a974-11e6-b04f-a0b3cce4fa18 /dev/gptid/88ace9fe-a974-11e6-b04f-a0b3cce4fa18 /dev/gptid/8957be15-a974-11e6-b04f-a0b3cce4fa18 /dev/gptid/8cbda7a2-a974-11e6-b04f-a0b3cce4fa18 [user 0 (root) on freenas.local]
2016-11-13.18:41:24 [txg:6] set datastore (21) org.freenas:permissions_type=PERM [on freenas.local]
2016-11-13.18:41:29 <dispatcher> zfs set org.freenas:permissions_type=PERM datastore [user 0 (root) on freenas.local]
2016-11-13.18:45:45 [txg:59] set datastore (21) atime=0 [on freenas.local]
2016-11-13.18:45:50 <dispatcher> zfs set atime=off datastore [user 0 (root) on freenas.local]
2016-11-13.18:46:18 [txg:66] create datastore/ablage (42) [on freenas.local]
2016-11-13.18:46:18 [txg:67] set datastore/ablage (42) compression=15 [on freenas.local]
2016-11-13.18:46:18 [txg:67] set datastore/ablage (42) org.freenas:uuid=502dd243-a1aa-444d-9e98-435766fcf206 [on freenas.local]
2016-11-13.18:46:18 [txg:67] set datastore/ablage (42) aclmode=3 [on freenas.local]
2016-11-13.18:46:18 [txg:67] set datastore/ablage (42) org.freenas:permissions_type=PERM [on freenas.local]
2016-11-13.18:46:23 ioctl create
input:
type: 2
props:
compression: 15
org.freenas:uuid: '502dd243-a1aa-444d-9e98-435766fcf206'
aclmode: 3
org.freenas:permissions_type: 'PERM'
[user 0 (root) on freenas.local]
2016-11-13.18:46:23 <dispatcher> zfs mount datastore/ablage [user 0 (root) on freenas.local]
2017-06-04.17:01:25 [txg:20779] open pool version 5000; software version 5000/5; uts freenas.local 11.0-STABLE 1100512 amd64 [on freenas.local]
2017-06-04.17:01:26 [txg:20781] import pool version 5000; software version 5000/5; uts freenas.local 11.0-STABLE 1100512 amd64 [on freenas.local]
2017-06-04.17:01:26 zpool import -f -R /mnt 1196016705705258035 [user 0 (root) on freenas.local]
2017-06-04.17:01:26 [txg:20783] inherit datastore (21) mountpoint=/ [on freenas.local]
2017-06-04.17:01:26 [txg:20784] inherit datastore/ablage (42) mountpoint=/ [on freenas.local]
2017-06-04.17:01:26 zfs inherit -r mountpoint datastore [user 0 (root) on freenas.local]
2017-06-04.17:01:26 zpool set cachefile=/data/zfs/zpool.cache datastore [user 0 (root) on freenas.local]
2017-06-04.17:01:26 [txg:20785] set datastore (21) aclmode=3 [on freenas.local]
2017-06-04.17:01:26 zfs set aclmode=passthrough datastore [user 0 (root) on freenas.local]
2017-06-04.17:01:26 [txg:20786] set datastore (21) aclinherit=3 [on freenas.local]
2017-06-04.17:01:31 zfs set aclinherit=passthrough datastore [user 0 (root) on freenas.local]
2017-06-04.17:01:31 [txg:20787] create datastore/.system (71) [on freenas.local]
2017-06-04.17:01:31 [txg:20788] set datastore/.system (71) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:31 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:31 zfs create -o mountpoint=legacy datastore/.system [user 0 (root) on freenas.local]
2017-06-04.17:01:31 [txg:20789] create datastore/.system/cores (77) [on freenas.local]
2017-06-04.17:01:31 [txg:20790] set datastore/.system/cores (77) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:31 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:31 zfs create -o mountpoint=legacy datastore/.system/cores [user 0 (root) on freenas.local]
2017-06-04.17:01:31 [txg:20791] create datastore/.system/samba4 (83) [on freenas.local]
2017-06-04.17:01:31 [txg:20792] set datastore/.system/samba4 (83) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:31 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:31 zfs create -o mountpoint=legacy datastore/.system/samba4 [user 0 (root) on freenas.local]
2017-06-04.17:01:31 [txg:20793] create datastore/.system/syslog-127b3ac88ebd45cc8152eb1d50a360da (89) [on freenas.local]
2017-06-04.17:01:32 [txg:20794] set datastore/.system/syslog-127b3ac88ebd45cc8152eb1d50a360da (89) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:32 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:32 zfs create -o mountpoint=legacy datastore/.system/syslog-127b3ac88ebd45cc8152eb1d50a360da [user 0 (root) on freenas.local]
2017-06-04.17:01:32 [txg:20795] create datastore/.system/rrd-127b3ac88ebd45cc8152eb1d50a360da (95) [on freenas.local]
2017-06-04.17:01:32 [txg:20796] set datastore/.system/rrd-127b3ac88ebd45cc8152eb1d50a360da (95) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:32 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:32 zfs create -o mountpoint=legacy datastore/.system/rrd-127b3ac88ebd45cc8152eb1d50a360da [user 0 (root) on freenas.local]
2017-06-04.17:01:32 [txg:20797] create datastore/.system/configs-127b3ac88ebd45cc8152eb1d50a360da (101) [on freenas.local]
2017-06-04.17:01:32 [txg:20798] set datastore/.system/configs-127b3ac88ebd45cc8152eb1d50a360da (101) mountpoint=legacy [on freenas.local]
2017-06-04.17:01:37 ioctl create
input:
type: 2
props:
mountpoint: 'legacy'
[user 0 (root) on freenas.local]
2017-06-04.17:01:37 zfs create -o mountpoint=legacy datastore/.system/configs-127b3ac88ebd45cc8152eb1d50a360da [user 0 (root) on freenas.local]
2017-06-04.17:12:04 [txg:20925] set feature@sha512=enabled [on freenas.local]
2017-06-04.17:12:04 [txg:20926] set feature@skein=enabled [on freenas.local]
2017-06-04.17:12:09 zpool upgrade datastore [user 0 (root) on freenas.local]
Tags data-recovery zfs