User Tools

Site Tools


other:networking:opnsense:resizevirt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

other:networking:opnsense:resizevirt [2022/11/09 23:40] – created rodolicoother:networking:opnsense:resizevirt [2022/11/09 23:41] (current) rodolico
Line 14: Line 14:
 gpart show vtbd0         #Show again to verify and find the partition we're interested in</code> gpart show vtbd0         #Show again to verify and find the partition we're interested in</code>
    - This will show something similar to the following<file>=>      40  20971440  vtbd0  GPT  (10G)    - This will show something similar to the following<file>=>      40  20971440  vtbd0  GPT  (10G)
-    40    532480      1  efi  (260M) +        40    532480      1  efi  (260M) 
-532520      1024      2  freebsd-boot  (512K) +    532520      1024      2  freebsd-boot  (512K) 
-533544  20437936      3  freebsd-ufs  (9.7G)</file>+    533544  20437936      3  freebsd-ufs  (9.7G)</file>
    - Now, resize the partition<code bash>gpart resize -i 3 vtdb0  #Resize the freebsd-ufs partition (free space MUST be below the partition)    - Now, resize the partition<code bash>gpart resize -i 3 vtdb0  #Resize the freebsd-ufs partition (free space MUST be below the partition)
 gpart show vtbd0         #Verify resize is what we expect gpart show vtbd0         #Verify resize is what we expect
other/networking/opnsense/resizevirt.txt · Last modified: 2022/11/09 23:41 by rodolico