Tag: opnsense
opnsense festplatte vergroessern
ohne grosse worte…
root@f1:~ # gpart show /dev/da0
=> 40 27262896 da0 GPT (13G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 14680056 3 freebsd-ufs (7.0G)
15090720 12172216 - free - (5.8G)
root@f1:~ # gpart resize -i 3 da0
da0p3 resized
root@f1:~ # gpart show /dev/da0
=> 40 27262896 da0 GPT (13G)
40 409600 1 efi (200M)
409640 1024 2 freebsd-boot (512K)
410664 26852272 3 freebsd-ufs (13G)
root@f1:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 6.8G 5.2G 1.0G 83% /
devfs 1.0K 1.0K 0B 100% /dev
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev
root@f1:~ # growfs /dev/gpt/rootfs
Device is mounted read-write; resizing will result in temporary write suspension for /.
It's strongly recommended to make a backup before growing the file system.
OK to grow filesystem on /dev/gpt/rootfs, mounted on /, from 7.0GB to 13GB? [yes/no] yes
super-block backups (for fsck_ffs -b #) at:
15387072, 16669312, 17951552, 19233792, 20516032, 21798272, 23080512, 24362752, 25644992
root@f1:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/rootfs 12G 5.2G 6.2G 45% /
devfs 1.0K 1.0K 0B 100% /dev
devfs 1.0K 1.0K 0B 100% /var/dhcpd/dev