SOLVED Can't find pool to import after re-install

Mobiustorr

Cadet
Joined
Sep 9, 2020
Messages
7
Hi,
My Boot USB died on me recently and I managed to get a fresh install on a SSD. The Boot USB was using 11.3, potentially -U4 before it died before/after the upgrade. The fresh install is using 11.3-U4. My hardware list is below:
  • Motherboard make and model: Asus z87 mitx
  • CPU make and model: Intel i7-4770k
  • RAM quantity: DDR3 16GB (2x8GB) non-ECC
  • Hard drives, quantity, model numbers, and RAID configuration, including boot drives: 6x2TB (10TB usable with whatever ZFS redundancy)
  • Hard disk controllers: On-board motherboard, SATA
  • Network cards: On-board motherboard, LAN and Wifi
Using the webGUI, I attempted to manually import the existing pool but can't find it. I assumed the existing pool was unencrypted as I can't find or remember if I had set my encryption seed and pass phrase. When I input the following through Shell I get the following:

Inputted "zpool list"

zpool list.png

Inputted "zpool status"
zpool status.png


When I input "zpool import" nothing happens.

When I check Disks, I can see all 6 of my HDD are recognized: ada0, ada1, ada2, ada3, ada4, and ada5.

Any ideas on what I can do? There are a lot of pictures, videos, and documents locked in this pool.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Does zdb -l /dev/ada0p2 show anything? How about ls -l /dev/gptid?
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, the gptid list shows you don't have any encrypted partitions. Now try gpart list ada0, and note the rawuuid for partition 2. Then run zdb -l /dev/gptid/<rawuuid>. This will see if there's a ZFS label in that partition, what the name of the pool is, and how the VDEV was structured.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
No, substitute the rawuuid for ada0p2 for <rawuuid> in the zdb command.
 

Mobiustorr

Cadet
Joined
Sep 9, 2020
Messages
7
Yes, I did that. Below are what it's giving me.

gpart list ada0
Annotation 2020-09-09 200457.png

zdb -l /dev/gptid/<rawuuid>
2.png
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, so it appears ada0 may have died, and that could be why your pool isn't importing. Try the same with ada1p2, ada2p2, and so on.
 

Mobiustorr

Cadet
Joined
Sep 9, 2020
Messages
7
Just tried all 6 partitions but it shows the same thing with "failed to unpack label...". I don't believe the disks have died since "gpart show" still recognizes each disk and partition, and "gpart list" shows the state for each drive is OK. Though I do see that the labels for the partition are "(null)". Not sure if that is the issue. Maybe if that label is recovered, I can import the pool? Oddly, my boot drive also has "(null)" for the label.
gpart show
1.png

gpart list
2.png

3.png
 

AlexGG

Contributor
Joined
Dec 13, 2018
Messages
171
You said in the first post that your disks are 6x 2TB.

However partitions sizes for freebsd-zfs are listed as 2.7TB

which one is correct?
 

Mobiustorr

Cadet
Joined
Sep 9, 2020
Messages
7
Sorry, I assumed wrong in the OP. The disks are 6x3TB, with 10TB usable. I think it's using RAIDZ2.
 

Mobiustorr

Cadet
Joined
Sep 9, 2020
Messages
7
Had iX Systems support help me with this issue. Turned out the drives WERE encrypted but we managed to copy an image of the corrupted Boot USB onto the current Boot SSD and pull out the encryption seed. We configured the pool as read only and copied the key to the right location. We were able to manually import the pool and I am able to see my "lost" files using WinSCP. I'm in the process of copying my files to my local storage before destroying the pool to make anew.

Also found that one of my drives has some problems and will need to be replaced soon.

This thread can be closed.
 

penguinv22

Cadet
Joined
Jun 14, 2017
Messages
4
Hello,

I seem to have a very similar problem and hoping someone might be able to help please. I can't import my old pool after a boot USB failure. I don't think my pool was encrypted though I can't be entirely sure. I don't have a geli key saved.

I do have a backup config from 2017: mammoth-FreeNAS-11.0-RELEASE (a2dc21583)-20171228212015.tar
Its contents include:
Code:
freenas-v1.db
pwenc_secret


I attempted to upload this configuration file; however, it appears to have failed and reverted back. /data/update.failed contains the following:

Code:
root@mammoth[/data]# less update.failed
Operations to perform:
  Apply all migrations: account, auth, contenttypes, directoryservice, failover, network, services, sessions, sharing, storage, system, tasks, truenas, vm
Running migrations:
  Applying account.0005_add_netdata_user... OK
  Applying account.0006_bsdusers_bsdusr_attributes... OK
  Applying account.0007_add_nslcd_user... OK
  Applying account.0008_migrate_legacy_values... OK
  Applying account.0008_add_pgsql_user... OK
  Applying account.0009_merge_20181109_1114... OK
  Applying account.0010_auto_20190221_0824... OK
  Applying account.0011_remove_netdata_user... OK
  Applying directoryservice.0003_kill_nt4... OK
  Applying directoryservice.0004_idmap_script... OK
  Applying directoryservice.0005_idmap_ad... OK
  Applying directoryservice.0006_certificate_model... OK
  Applying directoryservice.0007_migrate_to_nslcd... OK
  Applying directoryservice.0008__alter_kerberos_principal... OK
  Applying directoryservice.0009__add_createcomputer_to_ad... OK
  Applying directoryservice.0010_encrypt_keytabs... OK
  Applying directoryservice.0011_add_new_idmap_model... OK
  Applying directoryservice.0012_remove_unix_extensions... OK
  Applying directoryservice.0013_add_disable_freenas_cache_to_ldap... OK
  Applying directoryservice.0014_remove_sysctls... OK
  Applying directoryservice.0015_add_ldaps_validation... OK
  Applying failover.0001_initial... FAKED
  Applying network.0003_lagg_no_mtu... OK
  Applying network.0004_auto_20170703_1224... OK
  Applying network.0005_vlan_vlan_pcp... OK
  Applying network.0006_globalconfiguration_gc_domains... OK
  Applying network.0007_globalconfiguration_gc_hostname_virtual... OK
  Applying network.0008_auto_20171121_1029... OK
  Applying network.0009_move_options_and_mtu... OK
  Applying network.0010_auto_20181114_1129... OK
  Applying network.0011_disable_offload_capabilities... OK
  Applying system.0005_auto_20170712_1137... OK
  Applying system.0006_update_tun_var_size... OK
  Applying system.0007_auto_201708211858... OK
  Applying system.0008_auto_20170906_2335... OK
  Applying system.0009_auto_20171023_2159... OK
  Applying system.0017_auto_20180219_1615... OK
  Applying system.0020_auto_20180502_1200... OK
  Applying system.0016_encrypt_cloud_credentials... OK
  Applying system.0021_merge_20180612_2332... OK
  Applying system.0022_cert_serial... OK
  Applying system.0022_cloud_sync... OK
  Applying system.0010_syscons_to_vt... OK
  Applying system.0011_auto_20180219_1615... OK
  Applying system.0012_add_filesystem_model... OK
  Applying system.0013_rename_consulalerts_to_alertservice... OK
  Applying system.0014_alert_default_settings... OK
  Applying system.0015_alert... OK
  Applying system.0023_merge_20180612_2359... OK
  Applying system.0024_rename_bes... OK
  Applying system.0025_remove_screensaver... OK
  Applying system.0026_keyvalue... OK
  Applying system.0018_merge_20180409_1538... OK
  Applying system.0019_increase_motd... OK
  Applying system.0021_merge_20180507_1315... OK
  Applying system.0027_merge_20180807_0638... OK
  Applying system.0028_cert_serials... OK
  Applying system.0029_add_organizational_unit... OK
  Applying system.0030_ip_fields... OK
  Applying system.0031_adv_boot_scrub... OK
  Applying system.0032_remove_protocol_field... OK
  Applying system.0033_acme_models... OK
  Applying system.0034_keychain_credential... OK
  Applying system.0035_vmware_snapshot_alert... OK
  Applying system.0036_remove_parseable_cert_attrs... OK
  Applying system.0037_reporting... OK
  Applying system.0023_delete_vm_kmem_size_tunable... OK
  Applying system.0029_merge_20190226_0917... OK
  Applying system.0038_merge_20190226_1008... OK
  Applying system.0039_alerts_classes... OK
  Applying sharing.0004_afp_share_afp_timemachine_quota... OK
  Applying sharing.0005_add_cifs_abe... OK
  Applying sharing.0006_afp_share_afp_timemachine_quota_in_gib... OK
  Applying sharing.0007_afp_share_afp_home...Traceback (most recent call last):
  File "/usr/local/lib/migrate113/src/main.py", line 30, in <module>
    run_syncdb()
  File "/usr/local/lib/migrate113/src/utils.py", line 38, in run_syncdb
    call_command('migrate', interactive=False, merge=True, delete_ghosts=True, migrate=True, fake_initial=True)
  File "/usr/local/lib/migrate113/django/core/management/__init__.py", line 130, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/migrate113/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/migrate113/django/core/management/commands/migrate.py", line 202, in handle
    post_migrate_state = executor.migrate(
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/local/lib/migrate113/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/local/lib/migrate113/django/db/migrations/operations/special.py", line 189, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/usr/local/lib/migrate113/freenasUI/sharing/migrations/0007_afp_share_afp_home.py", line 17, in migrate_afp_home
    share.afp_timemachine = service.afp_srv_hometimemachine
AttributeError: 'AFP' object has no attribute 'afp_srv_hometimemachine'



My USB drive seems to have been corrupted. It failed to boot the system. To conserve the configuration, I attempted to upgrade the old USB using a new installer; however, it didn't seem to recognize the old install. I installed TrueNAS-12.0-U1 to a new boot USB.

When I boot the system off the new USB with the old boot usb in the system, I get the following error message.

Code:
da8 at umass-sim0 bus 0 scbus9 target 0 lun 0
da8: <13FE USB DISK 50X PMAP> Removable Direct Access SPC-2 SCSI device
da8: Serial Number 000000000003
da8: 40.000MB/s transfers
da8: Attempt to query device size failed: NOT READY, Medium not present
da8: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
da8: Write Protected


When I attempt to mount this drive to access slice 4 and my old config, I can't mount the drive.

I think my data drives are ok:

Code:
root@mammoth[~]# gpart show
=>        34  7814037101  da0  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da1  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da2  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da3  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da4  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da5  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        40  7814037088  da6  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>        40  7814037088  da7  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>      40  62521264  da9  GPT  (30G)
        40    532480    1  efi  (260M)
    532520  61964288    2  freebsd-zfs  (30G)
  62496808     24496       - free -  (12M)


gpart list results in the following. As suggested earlier in this thread, I attempted to use zdb -l /dev/gptid/<rawuuid> without any luck. I get the failed to unpack label errors as noted above.

Code:
root@mammoth[~]# gpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f0cc5b70-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f0cc5b70-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da0p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f1cf691f-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f1cf691f-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da0
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da1p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f35af841-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f35af841-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da1p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f47cb65e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f47cb65e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da1
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da2
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da2p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f6240603-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f6240603-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da2p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f741f471-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f741f471-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da2
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da3
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f8c660ae-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f8c660ae-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da3p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f9e08047-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f9e08047-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da3
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da4
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da4p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fb665f60-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fb665f60-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da4p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,fc6eb15e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: fc6eb15e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da5
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da5p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fdf85008-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fdf85008-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da5p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,ff1780ca-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: ff1780ca-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da5
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da6
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da6p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,a99823f1-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: a99823f1-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da6p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,a9b2f147-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: a9b2f147-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da6
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da7
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da7p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,aaa69fa8-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: aaa69fa8-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da7p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,aac491b0-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: aac491b0-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da7
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da9
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 62521303
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da9p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c,0x28,0x82000)
   rawuuid: 3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: (null)
   length: 272629760
   offset: 20480
   type: efi
   index: 1
   end: 532519
   start: 40
2. Name: da9p2
   Mediasize: 31725715456 (30G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r1w1e2
   efimedia: HD(2,GPT,3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c,0x82028,0x3b18000)
   rawuuid: 3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 31725715456
   offset: 272650240
   type: freebsd-zfs
   index: 2
   end: 62496807
   start: 532520
Consumers:
1. Name: da9
   Mediasize: 32010928128 (30G)
   Sectorsize: 512
   Mode: r1w1e3
 

penguinv22

Cadet
Joined
Jun 14, 2017
Messages
4
Hello,

I seem to have a very similar problem and hoping someone might be able to help please. I can't import my old pool after a boot USB failure. I don't think my pool was encrypted though I can't be entirely sure. I don't have a geli key saved.

I do have a backup config from 2017: mammoth-FreeNAS-11.0-RELEASE (a2dc21583)-20171228212015.tar
Its contents include:
Code:
freenas-v1.db
pwenc_secret


I attempted to upload this configuration file; however, it appears to have failed and reverted back. /data/update.failed contains the following:

Code:
root@mammoth[/data]# less update.failed
Operations to perform:
  Apply all migrations: account, auth, contenttypes, directoryservice, failover, network, services, sessions, sharing, storage, system, tasks, truenas, vm
Running migrations:
  Applying account.0005_add_netdata_user... OK
  Applying account.0006_bsdusers_bsdusr_attributes... OK
  Applying account.0007_add_nslcd_user... OK
  Applying account.0008_migrate_legacy_values... OK
  Applying account.0008_add_pgsql_user... OK
  Applying account.0009_merge_20181109_1114... OK
  Applying account.0010_auto_20190221_0824... OK
  Applying account.0011_remove_netdata_user... OK
  Applying directoryservice.0003_kill_nt4... OK
  Applying directoryservice.0004_idmap_script... OK
  Applying directoryservice.0005_idmap_ad... OK
  Applying directoryservice.0006_certificate_model... OK
  Applying directoryservice.0007_migrate_to_nslcd... OK
  Applying directoryservice.0008__alter_kerberos_principal... OK
  Applying directoryservice.0009__add_createcomputer_to_ad... OK
  Applying directoryservice.0010_encrypt_keytabs... OK
  Applying directoryservice.0011_add_new_idmap_model... OK
  Applying directoryservice.0012_remove_unix_extensions... OK
  Applying directoryservice.0013_add_disable_freenas_cache_to_ldap... OK
  Applying directoryservice.0014_remove_sysctls... OK
  Applying directoryservice.0015_add_ldaps_validation... OK
  Applying failover.0001_initial... FAKED
  Applying network.0003_lagg_no_mtu... OK
  Applying network.0004_auto_20170703_1224... OK
  Applying network.0005_vlan_vlan_pcp... OK
  Applying network.0006_globalconfiguration_gc_domains... OK
  Applying network.0007_globalconfiguration_gc_hostname_virtual... OK
  Applying network.0008_auto_20171121_1029... OK
  Applying network.0009_move_options_and_mtu... OK
  Applying network.0010_auto_20181114_1129... OK
  Applying network.0011_disable_offload_capabilities... OK
  Applying system.0005_auto_20170712_1137... OK
  Applying system.0006_update_tun_var_size... OK
  Applying system.0007_auto_201708211858... OK
  Applying system.0008_auto_20170906_2335... OK
  Applying system.0009_auto_20171023_2159... OK
  Applying system.0017_auto_20180219_1615... OK
  Applying system.0020_auto_20180502_1200... OK
  Applying system.0016_encrypt_cloud_credentials... OK
  Applying system.0021_merge_20180612_2332... OK
  Applying system.0022_cert_serial... OK
  Applying system.0022_cloud_sync... OK
  Applying system.0010_syscons_to_vt... OK
  Applying system.0011_auto_20180219_1615... OK
  Applying system.0012_add_filesystem_model... OK
  Applying system.0013_rename_consulalerts_to_alertservice... OK
  Applying system.0014_alert_default_settings... OK
  Applying system.0015_alert... OK
  Applying system.0023_merge_20180612_2359... OK
  Applying system.0024_rename_bes... OK
  Applying system.0025_remove_screensaver... OK
  Applying system.0026_keyvalue... OK
  Applying system.0018_merge_20180409_1538... OK
  Applying system.0019_increase_motd... OK
  Applying system.0021_merge_20180507_1315... OK
  Applying system.0027_merge_20180807_0638... OK
  Applying system.0028_cert_serials... OK
  Applying system.0029_add_organizational_unit... OK
  Applying system.0030_ip_fields... OK
  Applying system.0031_adv_boot_scrub... OK
  Applying system.0032_remove_protocol_field... OK
  Applying system.0033_acme_models... OK
  Applying system.0034_keychain_credential... OK
  Applying system.0035_vmware_snapshot_alert... OK
  Applying system.0036_remove_parseable_cert_attrs... OK
  Applying system.0037_reporting... OK
  Applying system.0023_delete_vm_kmem_size_tunable... OK
  Applying system.0029_merge_20190226_0917... OK
  Applying system.0038_merge_20190226_1008... OK
  Applying system.0039_alerts_classes... OK
  Applying sharing.0004_afp_share_afp_timemachine_quota... OK
  Applying sharing.0005_add_cifs_abe... OK
  Applying sharing.0006_afp_share_afp_timemachine_quota_in_gib... OK
  Applying sharing.0007_afp_share_afp_home...Traceback (most recent call last):
  File "/usr/local/lib/migrate113/src/main.py", line 30, in <module>
    run_syncdb()
  File "/usr/local/lib/migrate113/src/utils.py", line 38, in run_syncdb
    call_command('migrate', interactive=False, merge=True, delete_ghosts=True, migrate=True, fake_initial=True)
  File "/usr/local/lib/migrate113/django/core/management/__init__.py", line 130, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/migrate113/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/migrate113/django/core/management/commands/migrate.py", line 202, in handle
    post_migrate_state = executor.migrate(
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/local/lib/migrate113/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/local/lib/migrate113/django/db/migrations/operations/special.py", line 189, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/usr/local/lib/migrate113/freenasUI/sharing/migrations/0007_afp_share_afp_home.py", line 17, in migrate_afp_home
    share.afp_timemachine = service.afp_srv_hometimemachine
AttributeError: 'AFP' object has no attribute 'afp_srv_hometimemachine'



My USB drive seems to have been corrupted. It failed to boot the system. To conserve the configuration, I attempted to upgrade the old USB using a new installer; however, it didn't seem to recognize the old install. I installed TrueNAS-12.0-U1 to a new boot USB.

When I boot the system off the new USB with the old boot usb in the system, I get the following error message.

Code:
da8 at umass-sim0 bus 0 scbus9 target 0 lun 0
da8: <13FE USB DISK 50X PMAP> Removable Direct Access SPC-2 SCSI device
da8: Serial Number 000000000003
da8: 40.000MB/s transfers
da8: Attempt to query device size failed: NOT READY, Medium not present
da8: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
da8: Write Protected


When I attempt to mount this drive to access slice 4 and my old config, I can't mount the drive.

I think my data drives are ok:

Code:
root@mammoth[~]# gpart show
=>        34  7814037101  da0  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da1  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da2  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da3  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da4  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da5  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        40  7814037088  da6  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>        40  7814037088  da7  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>      40  62521264  da9  GPT  (30G)
        40    532480    1  efi  (260M)
    532520  61964288    2  freebsd-zfs  (30G)
  62496808     24496       - free -  (12M)


gpart list results in the following. As suggested earlier in this thread, I attempted to use zdb -l /dev/gptid/<rawuuid> without any luck. I get the failed to unpack label errors as noted above.

Code:
root@mammoth[~]# gpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f0cc5b70-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f0cc5b70-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da0p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f1cf691f-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f1cf691f-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da0
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da1p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f35af841-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f35af841-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da1p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f47cb65e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f47cb65e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da1
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da2
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da2p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f6240603-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f6240603-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da2p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f741f471-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f741f471-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da2
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da3
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f8c660ae-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f8c660ae-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da3p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f9e08047-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f9e08047-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da3
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da4
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da4p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fb665f60-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fb665f60-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da4p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,fc6eb15e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: fc6eb15e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da5
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da5p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fdf85008-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fdf85008-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da5p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,ff1780ca-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: ff1780ca-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da5
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da6
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da6p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,a99823f1-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: a99823f1-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da6p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,a9b2f147-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: a9b2f147-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da6
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da7
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da7p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,aaa69fa8-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: aaa69fa8-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da7p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,aac491b0-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: aac491b0-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da7
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da9
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 62521303
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da9p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c,0x28,0x82000)
   rawuuid: 3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: (null)
   length: 272629760
   offset: 20480
   type: efi
   index: 1
   end: 532519
   start: 40
2. Name: da9p2
   Mediasize: 31725715456 (30G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r1w1e2
   efimedia: HD(2,GPT,3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c,0x82028,0x3b18000)
   rawuuid: 3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 31725715456
   offset: 272650240
   type: freebsd-zfs
   index: 2
   end: 62496807
   start: 532520
Consumers:
1. Name: da9
   Mediasize: 32010928128 (30G)
   Sectorsize: 512
   Mode: r1w1e3

I subsequently downloaded and installed the old FreeNAS-11.0-RELEASE that corresponds to my saved config file. I then uploaded my old config file. My pool is listed but I can't seem to access it. The pool appears locked. Does this mean that it was, in fact, encrypted? Any ideas? Thanks for your thoughts.

1610257427710.png
 

penguinv22

Cadet
Joined
Jun 14, 2017
Messages
4
Hello,

I seem to have a very similar problem and hoping someone might be able to help please. I can't import my old pool after a boot USB failure. I don't think my pool was encrypted though I can't be entirely sure. I don't have a geli key saved.

I do have a backup config from 2017: mammoth-FreeNAS-11.0-RELEASE (a2dc21583)-20171228212015.tar
Its contents include:
Code:
freenas-v1.db
pwenc_secret


I attempted to upload this configuration file; however, it appears to have failed and reverted back. /data/update.failed contains the following:

Code:
root@mammoth[/data]# less update.failed
Operations to perform:
  Apply all migrations: account, auth, contenttypes, directoryservice, failover, network, services, sessions, sharing, storage, system, tasks, truenas, vm
Running migrations:
  Applying account.0005_add_netdata_user... OK
  Applying account.0006_bsdusers_bsdusr_attributes... OK
  Applying account.0007_add_nslcd_user... OK
  Applying account.0008_migrate_legacy_values... OK
  Applying account.0008_add_pgsql_user... OK
  Applying account.0009_merge_20181109_1114... OK
  Applying account.0010_auto_20190221_0824... OK
  Applying account.0011_remove_netdata_user... OK
  Applying directoryservice.0003_kill_nt4... OK
  Applying directoryservice.0004_idmap_script... OK
  Applying directoryservice.0005_idmap_ad... OK
  Applying directoryservice.0006_certificate_model... OK
  Applying directoryservice.0007_migrate_to_nslcd... OK
  Applying directoryservice.0008__alter_kerberos_principal... OK
  Applying directoryservice.0009__add_createcomputer_to_ad... OK
  Applying directoryservice.0010_encrypt_keytabs... OK
  Applying directoryservice.0011_add_new_idmap_model... OK
  Applying directoryservice.0012_remove_unix_extensions... OK
  Applying directoryservice.0013_add_disable_freenas_cache_to_ldap... OK
  Applying directoryservice.0014_remove_sysctls... OK
  Applying directoryservice.0015_add_ldaps_validation... OK
  Applying failover.0001_initial... FAKED
  Applying network.0003_lagg_no_mtu... OK
  Applying network.0004_auto_20170703_1224... OK
  Applying network.0005_vlan_vlan_pcp... OK
  Applying network.0006_globalconfiguration_gc_domains... OK
  Applying network.0007_globalconfiguration_gc_hostname_virtual... OK
  Applying network.0008_auto_20171121_1029... OK
  Applying network.0009_move_options_and_mtu... OK
  Applying network.0010_auto_20181114_1129... OK
  Applying network.0011_disable_offload_capabilities... OK
  Applying system.0005_auto_20170712_1137... OK
  Applying system.0006_update_tun_var_size... OK
  Applying system.0007_auto_201708211858... OK
  Applying system.0008_auto_20170906_2335... OK
  Applying system.0009_auto_20171023_2159... OK
  Applying system.0017_auto_20180219_1615... OK
  Applying system.0020_auto_20180502_1200... OK
  Applying system.0016_encrypt_cloud_credentials... OK
  Applying system.0021_merge_20180612_2332... OK
  Applying system.0022_cert_serial... OK
  Applying system.0022_cloud_sync... OK
  Applying system.0010_syscons_to_vt... OK
  Applying system.0011_auto_20180219_1615... OK
  Applying system.0012_add_filesystem_model... OK
  Applying system.0013_rename_consulalerts_to_alertservice... OK
  Applying system.0014_alert_default_settings... OK
  Applying system.0015_alert... OK
  Applying system.0023_merge_20180612_2359... OK
  Applying system.0024_rename_bes... OK
  Applying system.0025_remove_screensaver... OK
  Applying system.0026_keyvalue... OK
  Applying system.0018_merge_20180409_1538... OK
  Applying system.0019_increase_motd... OK
  Applying system.0021_merge_20180507_1315... OK
  Applying system.0027_merge_20180807_0638... OK
  Applying system.0028_cert_serials... OK
  Applying system.0029_add_organizational_unit... OK
  Applying system.0030_ip_fields... OK
  Applying system.0031_adv_boot_scrub... OK
  Applying system.0032_remove_protocol_field... OK
  Applying system.0033_acme_models... OK
  Applying system.0034_keychain_credential... OK
  Applying system.0035_vmware_snapshot_alert... OK
  Applying system.0036_remove_parseable_cert_attrs... OK
  Applying system.0037_reporting... OK
  Applying system.0023_delete_vm_kmem_size_tunable... OK
  Applying system.0029_merge_20190226_0917... OK
  Applying system.0038_merge_20190226_1008... OK
  Applying system.0039_alerts_classes... OK
  Applying sharing.0004_afp_share_afp_timemachine_quota... OK
  Applying sharing.0005_add_cifs_abe... OK
  Applying sharing.0006_afp_share_afp_timemachine_quota_in_gib... OK
  Applying sharing.0007_afp_share_afp_home...Traceback (most recent call last):
  File "/usr/local/lib/migrate113/src/main.py", line 30, in <module>
    run_syncdb()
  File "/usr/local/lib/migrate113/src/utils.py", line 38, in run_syncdb
    call_command('migrate', interactive=False, merge=True, delete_ghosts=True, migrate=True, fake_initial=True)
  File "/usr/local/lib/migrate113/django/core/management/__init__.py", line 130, in call_command
    return command.execute(*args, **defaults)
  File "/usr/local/lib/migrate113/django/core/management/base.py", line 345, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/migrate113/django/core/management/commands/migrate.py", line 202, in handle
    post_migrate_state = executor.migrate(
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/usr/local/lib/migrate113/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/usr/local/lib/migrate113/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/usr/local/lib/migrate113/django/db/migrations/operations/special.py", line 189, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/usr/local/lib/migrate113/freenasUI/sharing/migrations/0007_afp_share_afp_home.py", line 17, in migrate_afp_home
    share.afp_timemachine = service.afp_srv_hometimemachine
AttributeError: 'AFP' object has no attribute 'afp_srv_hometimemachine'



My USB drive seems to have been corrupted. It failed to boot the system. To conserve the configuration, I attempted to upgrade the old USB using a new installer; however, it didn't seem to recognize the old install. I installed TrueNAS-12.0-U1 to a new boot USB.

When I boot the system off the new USB with the old boot usb in the system, I get the following error message.

Code:
da8 at umass-sim0 bus 0 scbus9 target 0 lun 0
da8: <13FE USB DISK 50X PMAP> Removable Direct Access SPC-2 SCSI device
da8: Serial Number 000000000003
da8: 40.000MB/s transfers
da8: Attempt to query device size failed: NOT READY, Medium not present
da8: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
da8: Write Protected


When I attempt to mount this drive to access slice 4 and my old config, I can't mount the drive.

I think my data drives are ok:

Code:
root@mammoth[~]# gpart show
=>        34  7814037101  da0  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da1  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da2  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da3  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da4  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        34  7814037101  da5  GPT  (3.6T)
          34          94       - free -  (47K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842696    2  freebsd-zfs  (3.6T)
  7814037128           7       - free -  (3.5K)

=>        40  7814037088  da6  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>        40  7814037088  da7  GPT  (3.6T)
          40          88       - free -  (44K)
         128     4194304    1  freebsd-swap  (2.0G)
     4194432  7809842688    2  freebsd-zfs  (3.6T)
  7814037120           8       - free -  (4.0K)

=>      40  62521264  da9  GPT  (30G)
        40    532480    1  efi  (260M)
    532520  61964288    2  freebsd-zfs  (30G)
  62496808     24496       - free -  (12M)


gpart list results in the following. As suggested earlier in this thread, I attempted to use zdb -l /dev/gptid/<rawuuid> without any luck. I get the failed to unpack label errors as noted above.

Code:
root@mammoth[~]# gpart list
Geom name: da0
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da0p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f0cc5b70-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f0cc5b70-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da0p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f1cf691f-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f1cf691f-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da0
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da1
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da1p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f35af841-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f35af841-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da1p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f47cb65e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f47cb65e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da1
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da2
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da2p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f6240603-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f6240603-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da2p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f741f471-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f741f471-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da2
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da3
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,f8c660ae-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: f8c660ae-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da3p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,f9e08047-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: f9e08047-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da3
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da4
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da4p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fb665f60-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fb665f60-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da4p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,fc6eb15e-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: fc6eb15e-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da5
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: da5p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,fdf85008-197b-11e6-a81e-0cc47aaba68c,0x80,0x400000)
   rawuuid: fdf85008-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da5p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,ff1780ca-197b-11e6-a81e-0cc47aaba68c,0x400080,0x1d180be08)
   rawuuid: ff1780ca-197b-11e6-a81e-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: da5
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da6
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da6p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,a99823f1-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: a99823f1-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da6p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,a9b2f147-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: a9b2f147-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da6
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da7
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da7p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(1,GPT,aaa69fa8-ae4f-11e8-8529-0cc47aaba68c,0x80,0x400000)
   rawuuid: aaa69fa8-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: da7p2
   Mediasize: 3998639456256 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   efimedia: HD(2,GPT,aac491b0-ae4f-11e8-8529-0cc47aaba68c,0x400080,0x1d180be00)
   rawuuid: aac491b0-ae4f-11e8-8529-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639456256
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037119
   start: 4194432
Consumers:
1. Name: da7
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0

Geom name: da9
modified: false
state: OK
fwheads: 255
fwsectors: 63
last: 62521303
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: da9p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c,0x28,0x82000)
   rawuuid: 3bbf87b6-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: (null)
   length: 272629760
   offset: 20480
   type: efi
   index: 1
   end: 532519
   start: 40
2. Name: da9p2
   Mediasize: 31725715456 (30G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r1w1e2
   efimedia: HD(2,GPT,3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c,0x82028,0x3b18000)
   rawuuid: 3c26ff7f-ffa3-11ea-9e66-0cc47aaba68c
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 31725715456
   offset: 272650240
   type: freebsd-zfs
   index: 2
   end: 62496807
   start: 532520
Consumers:
1. Name: da9
   Mediasize: 32010928128 (30G)
   Sectorsize: 512
   Mode: r1w1e3

Does the following mean that my drives were in fact encrypted:

GEOM_ELI: Device da0p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
GEOM_ELI: Device da1p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
GEOM_ELI: Device da2p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
GEOM_ELI: Device da3p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
GEOM_ELI: Device da4p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware
GEOM_ELI: Device da5p1.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI: Crypto: hardware

And if so, any ideas on how to recover my corrupted USB boot drive to pull the key file off?

Thanks in advance.
 
Top