darkknight4714
Cadet
- Joined
- Jan 27, 2019
- Messages
- 9
Hello everyone. This is my first post and I hope to get to know everyone a little better. I do hope that my forum behavior is acceptable as I don't often post in forums. :)
I have been a long time user of FreeNAS, since about 2013. I have loved using it and for the most part it has always, well, worked. Never had any problem with it that was not my own doing (Usually configs). But being a lurker, I have been able to solve most if not all of my issues with the plethera of information that is posted on these forums. That is until this morning...
Let me lay out the story and I will post all the information that I have. Let me know if I need to gather more information and I will be happy to get it.
So I logged onto my workstation and found that my SMB shares was missing folders, not disconnected, just missing a ton of folders. Thats odd, so I log into the GUI to find that the directory is basically empty other than a few files my wife uploaded earlier. So I have seen issues in the past that are easily resolved with a simple reboot. OK, power cycle the system and it comes up with a error while booting. "error 32 LBA something...". Okay, so I get a bootable usb drive, just to check if it the port, the usb drive or something on the usb drive. Well it boots. So i do some searching and it appears that I may have a toast USB drive. Fine, I have a backup config from earlier in the week. Easee-peezee. Except that someone wiped my backup configs. Darn! So here is where I fall back on why I love FreeNAS and zfs so much because I can just import the pool again and sure I'll have to fix all my configs, but the data will be there.
So I install a fresh copy of 11.2-RELEASE-U1 from the website. No biggie and things are going along quickly. Now its time to import the pools. I import pool "Dump" which is exactly that and it appears it has some bad sectors, no biggie, it was a, well, dumping ground and I dont take backups for that pool. But when I import the pool, all the datasets are missing. Thinking this might have something to do with the bad sectors, I move onto my second pool "MainStorage". I have never in the 3-4 migrations that I have done with this pool ever had a problem with it. I do the same thing and import the pool and same issue. Datasets are missing. About 4.2TB worth of it missing.
Now I dont think the datasets are missing, i just dont know how to get them to show up exactly. I have scoured the forums to see if there is anything and everyone that I have seen either has SOMETHING no their pool or nothing at all. And this with nothing at all appear to end up restoring or never respond to the thread again.
So, that leads me here. I will post all the information that I have gather based on information requests from others in past threads.
The pool that I care the most about is the MainStorage pool so you will only see Dump show up in list that are part of the global lists. What I am basically hoping for is to not do a full recovery on this pool. I can if needed, but I'd rather not if this is something rather simple.
Thanks Again!
I have been a long time user of FreeNAS, since about 2013. I have loved using it and for the most part it has always, well, worked. Never had any problem with it that was not my own doing (Usually configs). But being a lurker, I have been able to solve most if not all of my issues with the plethera of information that is posted on these forums. That is until this morning...
Let me lay out the story and I will post all the information that I have. Let me know if I need to gather more information and I will be happy to get it.
So I logged onto my workstation and found that my SMB shares was missing folders, not disconnected, just missing a ton of folders. Thats odd, so I log into the GUI to find that the directory is basically empty other than a few files my wife uploaded earlier. So I have seen issues in the past that are easily resolved with a simple reboot. OK, power cycle the system and it comes up with a error while booting. "error 32 LBA something...". Okay, so I get a bootable usb drive, just to check if it the port, the usb drive or something on the usb drive. Well it boots. So i do some searching and it appears that I may have a toast USB drive. Fine, I have a backup config from earlier in the week. Easee-peezee. Except that someone wiped my backup configs. Darn! So here is where I fall back on why I love FreeNAS and zfs so much because I can just import the pool again and sure I'll have to fix all my configs, but the data will be there.
So I install a fresh copy of 11.2-RELEASE-U1 from the website. No biggie and things are going along quickly. Now its time to import the pools. I import pool "Dump" which is exactly that and it appears it has some bad sectors, no biggie, it was a, well, dumping ground and I dont take backups for that pool. But when I import the pool, all the datasets are missing. Thinking this might have something to do with the bad sectors, I move onto my second pool "MainStorage". I have never in the 3-4 migrations that I have done with this pool ever had a problem with it. I do the same thing and import the pool and same issue. Datasets are missing. About 4.2TB worth of it missing.
Now I dont think the datasets are missing, i just dont know how to get them to show up exactly. I have scoured the forums to see if there is anything and everyone that I have seen either has SOMETHING no their pool or nothing at all. And this with nothing at all appear to end up restoring or never respond to the thread again.
So, that leads me here. I will post all the information that I have gather based on information requests from others in past threads.
The pool that I care the most about is the MainStorage pool so you will only see Dump show up in list that are part of the global lists. What I am basically hoping for is to not do a full recovery on this pool. I can if needed, but I'd rather not if this is something rather simple.
Thanks Again!
Code:
Platform Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Memory 8103MB
3x Toshiba 3TB RAIDZ1
1x Seagate 1TB Single Drive Pool
[root@freenas /mnt/Dump]# zfs list
NAME USED AVAIL REFER MOUNTPOINT
Dump 205M 899G 980K /mnt/Dump
Dump/.system 157M 899G 25K legacy
Dump/.system/configs-1c36823397d74dbc9e7d4fbefe8b455e 1.02M 899G 1.02M legacy
Dump/.system/configs-85575f3640124e06b9ead9eeda4080b1 23K 899G 23K legacy
Dump/.system/cores 23K 899G 23K legacy
Dump/.system/rrd-1c36823397d74dbc9e7d4fbefe8b455e 81.8M 899G 81.8M legacy
Dump/.system/rrd-85575f3640124e06b9ead9eeda4080b1 68.7M 899G 68.7M legacy
Dump/.system/samba4 4.83M 899G 4.83M legacy
Dump/.system/syslog-1c36823397d74dbc9e7d4fbefe8b455e 177K 899G 177K legacy
Dump/.system/syslog-85575f3640124e06b9ead9eeda4080b1 644K 899G 644K legacy
Dump/.system/webui 23K 899G 23K legacy
Dump/Jail 20K 899G 20K /mnt/Dump/Jail
Dump/Repo 108K 899G 108K /mnt/Dump/Repo
MainStorage 453M 5.24T 408M /mnt/MainStorage
freenas-boot 762M 2.63G 64K none
freenas-boot/ROOT 762M 2.63G 29K none
freenas-boot/ROOT/Initial-Install 1K 2.63G 760M legacy
freenas-boot/ROOT/default 762M 2.63G 760M legacy
[root@freenas /mnt/Dump]# zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
Dump 928G 215M 928G - - 22% 0% 1.00x ONLINE /mnt
MainStorage 8.12T 680M 8.12T - - - 0% 1.00x ONLINE /mnt
freenas-boot 3.50G 763M 2.76G - - - 21% 1.00x ONLINE -
[root@freenas /mnt/Dump]# zpool status
pool: Dump
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 0 in 0 days 02:38:45 with 11 errors on Sun Jan 20 02:38:46 2019
config:
NAME STATE READ WRITE CKSUM
Dump ONLINE 0 0 0
gptid/b630aade-d642-11e2-baee-0018f3a296ea ONLINE 0 0 0
errors: 3 data errors, use '-v' for a list
pool: MainStorage
state: ONLINE
status: The pool is formatted using a legacy on-disk format. The pool can
still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
pool will no longer be accessible on software that does not support feature
flags.
scan: scrub repaired 0 in 0 days 03:05:27 with 0 errors on Sun Jan 13 03:05:28 2019
config:
NAME STATE READ WRITE CKSUM
MainStorage ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/e17dd9d2-d142-11e5-afbe-0018f3a296ea ONLINE 0 0 0
gptid/d570b63d-cf32-11e2-bbdb-0018f3a296ea ONLINE 0 0 0
gptid/d6269f12-cf32-11e2-bbdb-0018f3a296ea 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
[root@freenas /mnt/Dump]# zpool get all MainStorage
NAME PROPERTY VALUE SOURCE
MainStorage size 8.12T -
MainStorage capacity 0% -
MainStorage altroot /mnt local
MainStorage health ONLINE -
MainStorage guid 4767613106516338597 local
MainStorage version 28 local
MainStorage bootfs - default
MainStorage delegation on default
MainStorage autoreplace off default
MainStorage cachefile /data/zfs/zpool.cache local
MainStorage failmode wait default
MainStorage listsnapshots off default
MainStorage autoexpand on local
MainStorage dedupditto 0 default
MainStorage dedupratio 1.00x -
MainStorage free 8.12T -
MainStorage allocated 680M -
MainStorage readonly off -
MainStorage comment - default
MainStorage expandsize - -
MainStorage freeing 0 local
MainStorage fragmentation - -
MainStorage leaked 0 local
MainStorage bootsize - default
MainStorage checkpoint - -
MainStorage feature@async_destroy disabled local
MainStorage feature@empty_bpobj disabled local
MainStorage feature@lz4_compress disabled local
MainStorage feature@multi_vdev_crash_dump disabled local
MainStorage feature@spacemap_histogram disabled local
MainStorage feature@enabled_txg disabled local
MainStorage feature@hole_birth disabled local
MainStorage feature@extensible_dataset disabled local
MainStorage feature@embedded_data disabled local
MainStorage feature@bookmarks disabled local
MainStorage feature@filesystem_limits disabled local
MainStorage feature@large_blocks disabled local
MainStorage feature@sha512 disabled local
MainStorage feature@skein disabled local
MainStorage feature@device_removal disabled local
MainStorage feature@obsolete_counts disabled local
MainStorage feature@zpool_checkpoint disabled local
zpool history -il MainStorage
...
2019-01-13.03:05:28 [txg:32597075] scan done errors=0 [on freenas.local]
2019-01-27.03:10:10 [txg:32850744] open pool version 28; software version 5000/5; uts freenas.local 11.2-STABLE 1102500 amd64 [on fr
eenas.local]
2019-01-27.03:10:11 [txg:32850746] import pool version 28; software version 5000/5; uts freenas.local 11.2-STABLE 1102500 amd64 [on
freenas.local]
2019-01-27.03:10:11 zpool import -f -R /mnt 4767613106516338597 [user 0 (root) on freenas.local]
2019-01-27.03:10:11 zpool set cachefile=/data/zfs/zpool.cache MainStorage [user 0 (root) on freenas.local]
2019-01-27.03:10:12 [txg:32850749] inherit MainStorage (21) mountpoint=/ [on freenas.local]
2019-01-27.03:10:12 zfs inherit -r mountpoint MainStorage [user 0 (root) on freenas.local]
2019-01-27.03:10:12 [txg:32850750] set MainStorage (21) aclmode=3 [on freenas.local]
2019-01-27.03:10:12 zfs set aclmode=passthrough MainStorage [user 0 (root) on freenas.local]
2019-01-27.03:10:12 [txg:32850751] set MainStorage (21) aclinherit=3 [on freenas.local]
2019-01-27.03:10:17 zfs set aclinherit=passthrough MainStorage [user 0 (root) on freenas.local]