OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Disk repartitioning
« previous next »
  • Print
Pages: [1]

Author Topic: Disk repartitioning  (Read 5625 times)

maege

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Disk repartitioning
« on: February 10, 2018, 03:28:19 pm »
Hi

I can not update because i have not enough disk space. I would like to repartitioning opnsense. How is the easieest way to do thata?

 gpart show
=>      63  31277169  ada0  MBR  (15G)
        63   3854585     1  freebsd  [active]  (1.8G)
   3854648         7        - free -  (3.5K)
   3854655  12582905     2  freebsd  (6.0G)
  16437560  14839672        - free -  (7.1G)

=>      0  3854585  ada0s1  BSD  (1.8G)
        0       16          - free -  (8.0K)
       16  3854513       1  !0  (1.8G)
  3854529       56          - free -  (28K)

=>       0  12582905  ada0s2  BSD  (6.0G)
         0        16          - free -  (8.0K)
        16   3854513       1  !0  (1.8G)
   3854529   8728376          - free -  (4.2G)


Thank you for your help

cheers markus

Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1534
  • Karma: 166
    • View Profile
Re: Disk repartitioning
« Reply #1 on: February 10, 2018, 03:59:57 pm »
Hi Markus,

I would save the firewall configuration, deploy a larger disk with a fresh 18.1 install, and restore your configuration on that.

This also gives you an easy roll-back by going back to your old drive.

Bart...
Logged

maege

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Disk repartitioning
« Reply #2 on: February 10, 2018, 04:18:54 pm »
thank you.. then i will do a new installation.. thank you
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13624
  • Karma: 1173
    • View Profile
Re: Disk repartitioning
« Reply #3 on: February 12, 2018, 10:59:05 pm »
If you have a VM and created a snapshot... Run this from the console:

# touch /.probe.for.growfs.nano

And reboot...


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • Disk repartitioning
 

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