Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2004 19:18:06 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        questions@freebsd.org
Subject:   growfs problem [was Re: Adding a drive in vinum]
Message-ID:  <119377812.1073416685@pouet.in.mat.cc>
In-Reply-To: <116314781.1073413622@pouet.in.mat.cc>
References:  <116314781.1073413622@pouet.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
--==========A9CE1FE05A8788B26B7D==========
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Ok, I could not wait, so I did :
a create with :
drive vinumdrive1 device /dev/ad3e
sd name data.p0.s1 drive vinumdrive1 len 0

then :
attach data.p0.s1 data.p0

That worked well, I had a 115GB volume, I now have a 301GB one, I'm happy :)

Now, growfs, so, I launch it :

# growfs -N /dev/vinum/data
new file systemsize is: 78997019 frags
Warning: 4312 sector(s) cannot be allocated.
growfs: 308580.0MB (631971840 sectors) block size 32768, fragment size 4096
        using 417 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
        with soft updates
then, the superblocks backup.

And then, I do :
# 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 ?

-- 
Mathieu Arnold
--==========A9CE1FE05A8788B26B7D==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)

iD8DBQE/+vvgqYYpzGz/vmcRAsTJAKCbAkDjI/YYhCfjhF/cjSRC1lelzwCgoK66
dz1to7SKwL9oTOZLvQny8sQ=
=8wiT
-----END PGP SIGNATURE-----

--==========A9CE1FE05A8788B26B7D==========--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?119377812.1073416685>