growfs problem [was Re: Adding a drive in vinum]
Mathieu Arnold
mat at FreeBSD.org
Tue Jan 6 10:18:21 PST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040106/41df19b5/attachment.bin
More information about the freebsd-questions
mailing list