OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: olest on May 13, 2026, 11:56:14 AM

Title: Export config.xml from crashed disk
Post by: olest on May 13, 2026, 11:56:14 AM
Where do I find config.xml from crashed disk?
When I mount zpool I see no /config folder
Title: Re: Export config.xml from crashed disk
Post by: Patrick M. Hausen on May 13, 2026, 11:57:33 AM
Post the output of "zfs list" after importing, please.
Title: Re: Export config.xml from crashed disk
Post by: olest on May 13, 2026, 12:23:00 PM
root@OPNsense:~ # zfs list
NAME                 USED  AVAIL  REFER  MOUNTPOINT
fix                 1.27G  98.5G    96K  /mnt/fix/zroot
fix/ROOT            1.24G  98.5G    96K  none
fix/ROOT/default    1.24G  98.5G  1.24G  /mnt/fix
fix/home              96K  98.5G    96K  /mnt/fix/home
fix/tmp             1.84M  98.5G  1.84M  /mnt/fix/tmp
fix/usr              288K  98.5G    96K  /mnt/fix/usr
fix/usr/ports         96K  98.5G    96K  /mnt/fix/usr/ports
fix/usr/src           96K  98.5G    96K  /mnt/fix/usr/src
fix/var             6.73M  98.5G    96K  /mnt/fix/var
fix/var/audit         96K  98.5G    96K  /mnt/fix/var/audit
fix/var/crash         96K  98.5G    96K  /mnt/fix/var/crash
fix/var/log         6.26M  98.5G  6.26M  /mnt/fix/var/log
fix/var/mail          96K  98.5G    96K  /mnt/fix/var/mail
fix/var/tmp           96K  98.5G    96K  /mnt/fix/var/tmp
zroot               1.12G  98.7G    96K  /zroot
zroot/ROOT          1.11G  98.7G    96K  none
zroot/ROOT/default  1.11G  98.7G  1.11G  /
zroot/home            96K  98.7G    96K  /home
zroot/tmp           1.49M  98.7G  1.49M  /tmp
zroot/usr            288K  98.7G    96K  /usr
zroot/usr/ports       96K  98.7G    96K  /usr/ports
zroot/usr/src         96K  98.7G    96K  /usr/src
zroot/var           1.74M  98.7G    96K  /var
zroot/var/audit       96K  98.7G    96K  /var/audit
zroot/var/crash       96K  98.7G    96K  /var/crash
zroot/var/log       1.27M  98.7G  1.27M  /var/log
zroot/var/mail        96K  98.7G    96K  /var/mail
zroot/var/tmp         96K  98.7G    96K  /var/tmp


root@OPNsense:~ # cd /mnt/fix/
root@OPNsense:/mnt/fix # ls -la
total 20
drwxr-xr-x  7 root wheel  7 May 13 09:58 .
drwxr-xr-x  8 root wheel  8 May 13 09:58 ..
drwxr-xr-x  2 root wheel  2 Jan  6 11:37 home
drwxrwxrwt  5 root wheel 21 Mar 26 04:29 tmp
drwxr-xr-x  4 root wheel  4 May 13 09:58 usr
drwxr-xr-x  7 root wheel  7 May 13 09:58 var
drwxr-xr-x  2 root wheel  2 Jan  6 11:52 zroot
Title: Re: Export config.xml from crashed disk
Post by: Patrick M. Hausen on May 13, 2026, 12:56:47 PM
mkdir /mnt2
mount -t zfs fix/ROOT/default /mnt2
cd /mnt2
ls -l