0

I'm searching for a way to reload a partition table in FreeBSD 12 (FreeNAS). I don't have hdparm nor gfdisk nor partprobe.

What's the standard way of doing ?

PS: my pkg doesn't work behind a firewall so i probably can't install packages other than via SCP. [EDIT]Got my firewall rules relaxed, I can install packages if needed[/EDIT]

Already read Reread partition table without rebooting? but there are only solutions for linux.

3
  • AFAIK, you don't need to reload partition table information manually on FreeBSD. Anyways, man gpart.
    – arrowd
    Sep 23, 2021 at 18:47
  • Indeed, as long as geom can read something. After zeroing the disk, geom didn't "see" the disk so gpart couldn't create new partitions unless I reboot. Sep 24, 2021 at 7:42
  • Hum? When I dd by USB stick with zeroes, geom automatically detects it and removes all partition information from gpart output, as well as partition character devices from /dev/.
    – arrowd
    Sep 24, 2021 at 8:06

1 Answer 1

0

In theory, glabel refresh /dev/your/disk will help. In practice, in my case, it did not help.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .