growfs filesystem size limits ?

Henry Vogt hv at tuebingen.mpg.de
Thu May 17 19:28:45 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Arne,
Am 17.05.2007 um 18:46 schrieb Arne Wörner:

> ...

> Yup... In line 1981 of the version 1.5 of
>   src/sbin/growfs/growfs.c
> i c
>   u_int32_t p_size;
>
> U might want to change it into
>   u_int64_t p_size;
> or
>   off_t p_size;
> and then compile it
> (maybe that helps)... :-))
>
> *whoop*whoop*
> Use it on a test file system... :-))
> I dont guarantee, that it will work... :-))
> Do a fsck before and after...

Thanks for the tip. I've changed the appropriate lines (including  
where referenced as u_int64_t) and compiled.

Unfortunately it still doesn't succeed:

growfs da1p1
...
new file systemsize is: 3662108143 frags
Warning: 60028 sector(s) cannot be allocated.
growfs: not enough new space

Any further ideas ?

btw. Sorry for twice posting the same mail, i had the impression the  
first attempt  didn't work..

Henry
- --
Netzwerk- und System Administration am MPI Campus Tübingen.
Email: hv at tuebingen.mpg.de
Tel. 07071/601-511



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGTKzoiF3PvXvQ0FARAg2oAJ4x1ymqpEPujLtlcv9qvTJQx2ynaQCglOE5
WdXosuTQrVVzOsleDR5gzmI=
=oDEw
-----END PGP SIGNATURE-----


More information about the freebsd-fs mailing list