get filesystem size back in sync with volume
Philip A. Kufeldt
pak@harbor.net
Tue, 24 Mar 1998 06:11:42 -0800
Gregory M. Paris wrote:
> I did a clueless thing when I carelessly grew one of my Veritas VM volumes
> when I meant to grow the filesystem. Now I'm not sure of what I have to
> do to get the filesystem to be the size I want. It seems to me it's only
> a matter of running mkfs, but I sure don't want to blow away the 9 GB of
> data that's currently on the filesystem. Will a kind soul please hold
> my hand and tell me what I need to do? Thanks!
For UFS:
mkfs -Fufs -M <mntpoint> <rawdev> <newsize>
For VxFS
/usr/lib/fs/vxfs/fsadm -b <newsize> -r <rawdev> <mntpoint>
In both cases newsize is blocks not bytes.
pakman