Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 06:50:58 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Lewis Thompson <purple@lewiz.net>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: Large vinum volume -- only showing as the size of one subdisk.
Message-ID:  <20030917212058.GF37023@wantadilla.lemis.com>
In-Reply-To: <20030917175355.GB12302@lewiz.org>
References:  <20030917175355.GB12302@lewiz.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--AH+kv8CCoFf6qPuz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wednesday, 17 September 2003 at 18:53:55 +0100, Lewis Thompson wrote:
> Hi,
>
> I'm trying to set up a large concatenated vinum volume.  I want a volume
> called ``data'' that is ~200GB in size.  Each subdisk is ~100GB (the
> same size).
>
>   However, when I mount it it only shows up as ~100GB.  Here is vinum
> list (edited to show the relevant details):
>
> purple# vinum list
> 2 drives:
> D vinum0                State: up       /dev/ad0s1h     A: 2/14998 MB (0%)
> D vinum1                State: up       /dev/ad2s1h     A: 2/14998 MB (0%)
>
> 10 volumes:
> V data                  State: up       Plexes:       1 Size:        199 GB

This looks like 200 GB to me, for small values of 200.

>   I'm hoping I've gotten the config right.  Also, I tried (while the
> volume was not mounted) newfs /dev/vinum/data and I received:
>
> purple# newfs /dev/vinum/data
> newfs: wtfs: 512 bytes at sector 418773125: Inappropriate ioctl for device

That's puzzling.  I've never seen this before.  What version of
FreeBSD are you using?  Try:

  ktrace -i newfs /dev/vinum/data

This will create a file ktrace.out.  Look at it with:

  kdump | less

Look for the message in the output (it'll be there) and show the ioctl
call immediately before (if it's there).  Also check if there's any
message in dmesg output or /var/log/messages.  Otherwise I have
alternative tricks up my sleeve.

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
See complete headers for address and phone numbers

--AH+kv8CCoFf6qPuz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE/aNA6IubykFB6QiMRAqEdAKCstgCD+7zOytoyKsSx7jRdIefuKgCfd0sW
Wy9QNfyDSudDrutAc/3cIQQ=
=VxA+
-----END PGP SIGNATURE-----

--AH+kv8CCoFf6qPuz--



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