Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 1999 15:54:50 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Jacques Vidrine <n@nectar.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vinum-- resizing disks
Message-ID:  <19990504155450.U10134@freebie.lemis.com>
In-Reply-To: <19990502150018.1BA3D1DEB@spawn.nectar.com>; from Jacques Vidrine on Sun, May 02, 1999 at 10:00:17AM -0500
References:  <19990501210026.357911DC5@spawn.nectar.com> <19990502120821.W80561@freebie.lemis.com> <19990502070142.2AEF11DD7@spawn.nectar.com> <19990502163630.K80561@freebie.lemis.com> <19990502150018.1BA3D1DEB@spawn.nectar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday,  2 May 1999 at 10:00:17 -0500, Jacques Vidrine wrote:
> On 2 May 1999 at 16:36, Greg Lehey <grog@lemis.com> wrote:
>> OK, a couple of things: first, check the size of the drive.  It should
>> be 17655372 sectors, and not 9430092.  Then you could have done an
>> fsck, but it looks as if you're beyond that.
>
> Hmm, I do have some wierd results for the drive sizes.   I resized
> two of the drives (corresponding to da1s1h and da3s1h).
>
> spawn[~]# vinum ld
> D IBM680548C7GA  State: up  Device /dev/da0h  Avail: 4348/4604 MB (94%)
> D IBM68054185GA  State: up  Device /dev/da1h  Avail: 8364/4604 MB (181%)
> D IBM6805728BGA  State: up  Device /dev/da2h  Avail: 4348/4604 MB (94%)
> D IBM680574DBGA  State: up  Device /dev/da3h  Avail: 8364/4604 MB (181%)
> spawn[~]# vinum ld -v
> Drive IBM680548C7GA:	Device /dev/da0h
> 		Size:       4828207104 bytes (4604 MB)
> 		Used:        268571136 bytes (256 MB)
> Drive IBM68054185GA:	Device /dev/da1h
> 		Size:       4828207104 bytes (4604 MB)
> 		Used:      -3942772224 bytes (17592186040655 MB)
> Drive IBM6805728BGA:	Device /dev/da2h
> 		Size:       4828207104 bytes (4604 MB)
> 		Used:        268571136 bytes (256 MB)
> Drive IBM680574DBGA:	Device /dev/da3h
> 		Size:       4828207104 bytes (4604 MB)
> 		Used:      -3942772224 bytes (17592186040655 MB)
>
> Hmm, the sizes seem way out of whack, even on the drives I didn't
> touch.
>
> * The total size of each drive is still listed as 9,430,092 sectors
>   (correct for two drives, but not for the two I resized).
> * The amount of space used does not match reality (output of ``vinum
>   list -rv'' at the end of this message).
>
> Any way to force these to be recalculated?

Yes.  Fix the bug :-)

> [EEK] While composing this message and exercising writes on one of the
> filesystems under vinum control, the system hung.  I guess it's not
> working so easily after all :-) I think I'll leave those filesystems
> alone until I hear back from you.  I'd still like to salvage the
> situation if at all possible.

Were you able to get a dump?  That would have interested me.

Obviously I was wrong in thinking that Vinum would automatically
detect what was going on.  It only half did.  I'll have to take a look
at the code and fix it, but it won't be in the next week.

I'll send you private mail about how to fix the situation.

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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