Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Greg 'groggy' Lehey
On Sunday,  8 February 2004 at 21:43:19 +1030, Michael Ritchie wrote:
 I have followed the method advocated by Drew Tomlinson on this list
 (October 2002) to create a Vinum volume without losing data.  Everything
 worked ok for the first drive... and then I added the second, and grew
 the file system using growfs ... and then added the third subdisk to the
 plex, and tried to growfs again, and got the following message:

 # growfs -N /dev/vinum/data
 new file systemsize is: 195366077 frags
 Warning: 157556 sector(s) cannot be allocated.
 growfs: 381497.4MB (781306752 sectors) block size 16384, fragment size 2048
using 2076 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
with soft updates
 super-block backups (for fsck -b #) at:
 ...
 growfs: bad inode number 1 to ginode

 ...

 I'm running 5.2-RELEASE, with kernel compiled from RELEASE source to
 include IPFW.  Fairly standard stuff.  Is something broken or am I
 doing something wrong??

Sorry about the late response; I appear to have overlooked this issue.

What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
lack of love at the moment.  It might be worth putting in a PR.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Michael Ritchie
Greg 'groggy' Lehey wrote:
What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
lack of love at the moment.  It might be worth putting in a PR.
Thanks for the response,

File system UFS2 (with softupdates, if that matters?).

I've sort of worked around the issue at the moment (backed up, 
re-created the filesystem on vinum volume from scratch, and restored), 
but perhaps a PR would help others having the same problem.

--Michael.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Growfs Vinum on 5.2-RELEASE

2004-02-22 Thread Greg 'groggy' Lehey
On Monday, 23 February 2004 at 13:51:52 +1030, Michael Ritchie wrote:
 Greg 'groggy' Lehey wrote:
 What file system?  UFS 1 or UFS 2?  growfs is suffering a bit from
 lack of love at the moment.  It might be worth putting in a PR.

 Thanks for the response,

 File system UFS2 (with softupdates, if that matters?).

Not so much.  But growfs does have problems with UFS2.  That PR might
not be a bad idea.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Growfs Vinum on 5.2-RELEASE

2004-02-08 Thread Michael Ritchie
I have followed the method advocated by Drew Tomlinson on this list
(October 2002) to create a Vinum volume without losing data.  Everything
worked ok for the first drive... and then I added the second, and grew
the file system using growfs ... and then added the third subdisk to the
plex, and tried to growfs again, and got the following message:
# growfs -N /dev/vinum/data
new file systemsize is: 195366077 frags
Warning: 157556 sector(s) cannot be allocated.
growfs: 381497.4MB (781306752 sectors) block size 16384, fragment size 2048
   using 2076 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
   with soft updates
super-block backups (for fsck -b #) at:
625120832, 625497184, 625873536, 626249888, 626626240, 627002592, 627378944,
627755296, 628131648, 628508000, 628884352, 629260704, 629637056,
630013408,
... etc ...
775285280, 775661632, 776037984, 776414336, 776790688, 777167040,
777543392,
777919744, 778296096, 778672448, 779048800, 779425152, 779801504,
780177856,
780554208, 780930560
growfs: bad inode number 1 to ginode
#
Here's my vinum configuration summary:
# vinum list
3 drives:
D d0  State: up   /dev/ad7s1e A: 0/190782 MB (0%)
D d2  State: up   /dev/ad6s1e A: 0/76319 MB (0%)
D d1  State: up   /dev/ad4s1e A: 0/114473 MB (0%)
1 volumes:
V dataState: up   Plexes:   1 Size:372 GB
1 plexes:
P data.p0   C State: up   Subdisks: 3 Size:372 GB
3 subdisks:
S data.p0.s0  State: up   D: d0   Size:186 GB
S data.p0.s1  State: up   D: d1   Size:111 GB
S subdisk2State: up   D: d2   Size: 74 GB
I'm running 5.2-RELEASE, with kernel compiled from RELEASE source to
include IPFW.  Fairly standard stuff.  Is something broken or am I doing
something wrong??
Thanks,
Michael.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]