Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2002 07:48:32 -0600 (MDT)
From:      Randy Smith <randys@amigo.net>
To:        freebsd-stable@freebsd.org
Subject:   vinum question
Message-ID:  <20020619072202.F6594-100000@stalker.amigo.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm using 4.6R and am trying to create a volume with a single concat plex
with two ~17GB subdisks.  As far as I can tell, the volume is up but df is
only reporting the size as ~17GB (or one drive). I am also getting the
following error during startup that is not written to any log file that I
can see.

  /dev is mounted read-only, not rebuilding /dev/vinum

What can I do to fix this and get the full use of the volume?

Thanks for your help. Extra info follows:

# vinum printconfig
drive vinumdrive1 device /dev/da1s1e
drive vinumdrive0 device /dev/da2s1e
volume cgate
plex name cgate.p0 org concat vol cgate
sd name cgate.p0.s0 drive vinumdrive0 plex cgate.p0 len 35840687s driveoffset 265s plexoffset 0s
sd name cgate.p0.s1 drive vinumdrive1 plex cgate.p0 len 35760362s driveoffset 265s plexoffset 35840687s

# vinum list
2 drives:
D vinumdrive1           State: up       Device /dev/da1s1e      Avail: 0/17461 MB (0%)
D vinumdrive0           State: up       Device /dev/da2s1e      Avail: 0/17500 MB (0%)

1 volumes:
V cgate                 State: up       Plexes:       1 Size:         34 GB

1 plexes:
P cgate.p0            C State: up       Subdisks:     2 Size:         34 GB

2 subdisks:
S cgate.p0.s0           State: up       PO:        0  B Size:         17 GB
S cgate.p0.s1           State: up       PO:       17 GB Size:         17 GB

# df (Other drives ommitted)
Filesystem          1K-blocks     Used    Avail Capacity  Mounted on
/dev/vinum/cgate     17368942 15736869   242558    98%    /drive1

# vinum dumpconfig
Drive vinumdrive1:      Device /dev/da1s1e
                Created on pop1.amigo.net at Wed Jun 19 05:12:59 2002
                Config last updated Wed Jun 19 00:31:09 2002
                Size:      18309441024 bytes (17461 MB)
volume cgate state up
plex name cgate.p0 state up org concat vol cgate
sd name cgate.p0.s0 drive vinumdrive0 plex cgate.p0 len 35840687s driveoffset 265s state up plexoffset 0s
sd name cgate.p0.s1 drive vinumdrive1 plex cgate.p0 len 35760362s driveoffset 265s state up plexoffset 35840687s

Drive /dev/da1s1e: 17 GB (18309441024 bytes)
Drive vinumdrive0:      Device /dev/da2s1e
                Created on pop1.amigo.net at Tue Jun 11 14:12:09 2002
                Config last updated Wed Jun 19 00:31:09 2002
                Size:      18350567424 bytes (17500 MB)
volume cgate state up
plex name cgate.p0 state up org concat vol cgate
sd name cgate.p0.s0 drive vinumdrive0 plex cgate.p0 len 35840687s driveoffset 265s state up plexoffset 0s
sd name cgate.p0.s1 drive vinumdrive1 plex cgate.p0 len 35760362s driveoffset 265s state up plexoffset 35840687s

Drive /dev/da2s1e: 17 GB (18350567424 bytes)

# /etc/fstab
/dev/vinum/cgate        /drive1         ufs     rw              2       2


Thanks again for your help.

-- 
Randy Smith
Amigo.Net Systems Administrator
1-719-589-6100 x 4185
http://www.amigo.net/


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




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