growfs problem [was Re: Adding a drive in vinum]
nate at root.org
Tue Jan 6 14:58:26 PST 2004
> |# growfs /dev/vinum/data
> | We strongly recommend you to make a backup before growing the Filesystem
> | Did you backup your data (Yes/No) ? Yes
> | new file systemsize is: 78997019 frags
> | growfs: wtfs: write error: 631976157: Inappropriate ioctl for device
> | And well, it does not work that good...
> | Any hints ?
> Ok, no matter what I do, I can't grow this filesystem. I'm wondering if
> there's a bug somewhere in growfs or if it's because of vinum or...
growfs(8) was never fully updated for UFS2 and probably still uses old
disklabel(8) ioctls. This is almost certainly a growfs bug. You should
compile it with -g and do a breakpoint to find what operation produces
that error message.
More information about the freebsd-current