access config file

Status
Not open for further replies.

Nas User 333

Dabbler
Joined
May 9, 2015
Messages
11
Hi,
I want to access the config file, but my freenas crashed, so I can´t access de GUI anymore...
For thid reason I searched on the internet:
https://blogs.oracle.com/karim/entry/reading_a_zfs_usb_drive

But the problem is that i can not import the pool:


test@test-VirtualBox:~$ sudo fdisk -l
[sudo] password for test:

Disk /dev/sda: 141,1 GiB, 151535091712 bytes, 295966976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4c9a0fed

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 289591295 289589248 138,1G 83 Linux
/dev/sda2 289593342 295966719 6373378 3G 5 Extended
/dev/sda5 289593344 295966719 6373376 3G 82 Linux swap / Solaris

Disk /dev/sdb: 7,5 GiB, 8053063680 bytes, 15728640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D262F703-AF10-11E4-92A0-002215A36996

Device Start End Sectors Size Type
/dev/sdb1 34 1057 1024 512K BIOS boot
/dev/sdb2 1064 15728599 15727536 7,5G FreeBSD ZFS

test@test-VirtualBox:~$ sudo zpool list
no pools available
test@test-VirtualBox:~$ sudo zpool status
no pools available
test@test-VirtualBox:~$ sudo zpool import -D -f
no pools available to import
test@test-VirtualBox:~$ sudo zfs list
no datasets available
test@test-VirtualBox:~$ sudo zpool import -f FreeBSD
cannot import 'FreeBSD': no such pool available

Thanks for answering
 

Nas User 333

Dabbler
Joined
May 9, 2015
Messages
11
yes but there had no solution been posted and now I started a new thread with a new
approach...

I can not access the .system folder., because I can not access the CLI & the GUI...
So I tried to access the config file with a virtual machine(here is the problem I can not import the pool)


the system works with a new USB stick, but I had not backuped the config file. I want to import the config file, in hope that the system recognizes my old pools...

Is there another way to access the config file
 

Nas User 333

Dabbler
Joined
May 9, 2015
Messages
11
"I can not access ´the path /data/freenas-v1.db´, because I can not access the CLI & the GUI"
 
Status
Not open for further replies.
Top