UFS Growing Disks

Hello everybody,

I tried to grow a UFS Partition inside a virtualbox VM (.vhd disk format).

I went trough https://www.freebsd.org/doc/handbook/disks-growing.html and everything was fine until

Code:
growfs /dev/ada1p3
Operation not permitted
occurred.

I googled a bit around and found following thread
and noticed that
growfs /dev/gpt/rootfs
worked smoothly.

Is this intended? Might it be a good idea to add a note to the documentation?

Best,
Tobias
 
I have the same problem here:


Maybe is that you should not be able to use growfs on mounted filesystems?
 
I have the same problem here:


Maybe is that you should not be able to use growfs on mounted filesystems?
generally, even if it's gravedigging:
why not, it has been possible in most filesystems since like late 90s/early 2000. With that in mind, it would be better to declare any problems around live (not livecd as in offline) resize "a not yet implemented" rather than a y"ou should not do this". (Even filesystem shrink worked on better FS no later than 2005ish, usually didn't survive the Linux porting for whatever reasons)

from a filesystem tool point of view, you absolutely want to support online resize since whatever changes one needs to make it work reliably, non-data-shredding are cases that remove prior unaddressed edge cases that just weren't possible to hit before, IOW it exposes bugs or design oversights. That's the best thing to happen for a filesystem.
 
Back
Top