Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
How to Access NVME storage drive contents via Appliance/FREEBSD
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to Access NVME storage drive contents via Appliance/FREEBSD (Read 1153 times)
cg50000OPN
Newbie
Posts: 15
Karma: 0
How to Access NVME storage drive contents via Appliance/FREEBSD
«
on:
February 17, 2023, 02:29:05 am »
Hey all,
This might be a really stupid question but...
I installed OPNSense on a NVME drive on my appliance. I had also tried to installed PFSSense, but did not have success with it, so would like to uninstall it and keep OPNSense.
How can I access the contents on the drive without running another OS the appliance with some type of file explorer utility? Can this be done via FREEBSD (that's the underlying OS behind OPENSense, as I understand it?)
My goal is to just have OPNSense on it; nothing else unnecessary on the drive.
Is there some command prompt magic (seeking specific syntax) from the console I can use to see what's there and delete what I don't want? I think it might be organized into partitions?
I am NOT good with syntax, so hoping you can show me what I need to copy paste to get this done.
(pllleeaassse)
Thanks!
Logged
Patrick M. Hausen
Hero Member
Posts: 6797
Karma: 571
Re: How to Access NVME storage drive contents via Appliance/FREEBSD
«
Reply #1 on:
February 17, 2023, 07:14:21 am »
The OPNsense installer overwrites the entire content of the drive.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: How to Access NVME storage drive contents via Appliance/FREEBSD
«
Reply #2 on:
February 17, 2023, 02:27:53 pm »
And if you want to be sure "gpart show" will list the partitions on the devices. Note these are partitions not filesystems, but you start from there.
Logged
FLguy
Newbie
Posts: 35
Karma: 1
Re: How to Access NVME storage drive contents via Appliance/FREEBSD
«
Reply #3 on:
February 18, 2023, 06:58:44 am »
I believe @pmhausen is correct on this one. But only if you have been installing OPNsense and pfSense on the same NVMe. For example, really my confusion of this post, if you installed OPNsense and the installed pfSense, and then went back to OPNsense. Every time you ran the installer's, its most likely you destroyed the drive each install. Remember that screen right after selecting the file system type ufs or zfs. You are told about destroying the existing data on the drive.
But for some I'm incorrectly understanding your post, and you have two installations of FW software somehow installed on the same drive then @cookiemonster is right. Use gpart or suggest
geom part list
to understand the partitions. From there you will have to mount the partitions from the pfSense installation as they for sure will not be automounting when booting OPNsense.
I think you have pfSense still installed, and you want to surf the file system before installing OPNsense. You have two options, enable SSH to access the terminal of FreeBSD or from the console. but you will need some basic unix/linux file command knowledge.
https://www.youtube.com/watch?v=MnY0K-3_Fjk
in that case I would just re-install OPNsense and the installer will removed pfSense for you.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
How to Access NVME storage drive contents via Appliance/FREEBSD