OPNsense
  • 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 1972 times)

hushcoden

  • Hero Member
  • *****
  • Posts: 551
  • Karma: 23
    • View Profile
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: 6925
  • Karma: 584
    • View Profile
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: 551
  • Karma: 23
    • View Profile
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: 551
  • Karma: 23
    • View Profile
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
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2