Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Adding a second SDD
« previous
next »
Print
Pages: [
1
]
Author
Topic: Adding a second SDD (Read 1964 times)
hushcoden
Hero Member
Posts: 550
Karma: 23
Adding a second SDD
«
on:
March 23, 2022, 01:51:18 pm »
I've ordered a second SDD for my appliance and I'd like to set up the ZFS mirror functionality: do I have to re-install OPNsense from scratch or I can do it with some commands?
Tia.
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Adding a second SDD
«
Reply #1 on:
March 23, 2022, 02:10:09 pm »
Assuming your present ssd is ada0 and the new one is ada1:
Code:
[Select]
gpart backup ada0 | gpart restore ada1
zpool attach zroot ada0p4 ada1p4
HTH,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
hushcoden
Hero Member
Posts: 550
Karma: 23
Re: Adding a second SDD
«
Reply #2 on:
March 24, 2022, 10:20:46 am »
Thanks Patrick, will keep you posted once it's done.
Logged
hushcoden
Hero Member
Posts: 550
Karma: 23
Re: Adding a second SDD
«
Reply #3 on:
May 28, 2022, 02:26:09 pm »
I finally got the second SSD, and should I delete the data on it or gpart will erase it anyway?
Once installed into the appliance, I just reboot it, I log in with SSH and run those commands, and that's it?
Thanks.
«
Last Edit: May 28, 2022, 02:36:39 pm by hushcoden
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Adding a second SDD