Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 18:53:55 +0100
From:      Lewis Thompson <purple@lewiz.net>
To:        FreeBSD-questions <questions@freebsd.org>
Subject:   Large vinum volume -- only showing as the size of one subdisk.
Message-ID:  <20030917175355.GB12302@lewiz.org>

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

[-- Attachment #1 --]
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

9 plexes:
P data.p0             C State: up       Subdisks:     2 Size:        199 GB

10 subdisks:
S data.p0.s0            State: up       D: vinum0       Size:         99 GB
S data.p0.s1            State: up       D: vinum1       Size:         99 GB

vinum printconfig:

purple# vinum printconfig
# Vinum configuration of purple.lewiz.org, saved at Wed Sep 17 18:50:55 2003
drive vinum0 device /dev/ad0s1h
drive vinum1 device /dev/ad2s1h
volume data
plex name data.p0 org concat vol data
sd name data.p0.s0 drive vinum0 plex data.p0 len 209386563s driveoffset 30720848s plexoffset 0s
sd name data.p0.s1 drive vinum1 plex data.p0 len 209386563s driveoffset 30720848s plexoffset 0s

  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

  This looks like I've messed the config up at a guess.  I really don't
know.  Any help would be greatly appreciated.

-lewiz.

P.S.
  newfs -v doesn't exist?

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
------------------------------------------------------------------------
-| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |-

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD4DBQE/aJ+zItq0KFQv7T8RAi/kAJUfvCHD3MVbxVOS1ujk2ghB+ERJAJwL2zhr
mGJKQf5T38UiZxuFPhdchg==
=+PNc
-----END PGP SIGNATURE-----

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