OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: maege on February 10, 2018, 03:28:19 pm

Title: Disk repartitioning
Post by: maege 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

Title: Re: Disk repartitioning
Post by: bartjsmit 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...
Title: Re: Disk repartitioning
Post by: maege on February 10, 2018, 04:18:54 pm
thank you.. then i will do a new installation.. thank you
Title: Re: Disk repartitioning
Post by: franco 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