Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 13:14:52 -1000
From:      Gary Dunn <gdunng@mac.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Help With Vinum Syntax
Message-ID:  <00103113292800.04686@shf102107.hi.pac.army.mil>

next in thread | raw e-mail | index | archive | help
I poseted this via DejaNews a week ago and received no response, so I am
sending directly to the mailing list in hopes of reaching more people. (Does it
make a difference?) I kept it cryptic to save readers' time, but maybe too
cryptic. 

Basically I'm looking for start-up help with vinum, the disk mirroring
software. I have read Lehey ch. 14 and the vinum man page, but still can't get
it going. Obviously stuck on some trivial detail that has escaped me. If you
can help I'd sure appreciate it.

=-=-=-=-=

Stuck in vinum setup, Invalid argument error.
  
 FreeBSD 4.1 as server
 Two SCSI hard drives, da0 and da1
 Goal: - root, usr, small windows share on da0
       - apache web content on da1
       - mirrored volume for user mail storage
  
 Output of df:
  
 Filesystem	1K-blocks	Used	Avail	Capacity	Mounted on
 /dev/da0s2a	49583      	26940	18677	    59%  /
 /dev/da0s3e  	4359077        	1  	4010350    0%    /p0
 /dev/da1s1e  	4359077        	1  	4010350    0%    /p1
 /dev/da0s2f  	1348443  	123768	1116800    10%    /usr
 /dev/da0s2e    	19815      	242	17988        1%    /var
 /dev/da0s4e  	2280928        	1  	2098453    0%    /win
 /dev/da1s2e  	4242621        	1  	3903211    0%    /www
 procfs              	4        		4        0  100%    	/proc
  
 Vinum configuration file (vinumcfg):
  
 drive a device /dev/da0s3e
 drive b device /dev/da1s1e
 volume profiles
   plex org concat
     sd length 4g drive a
   plex org concat
     sd length 4g drive b
  
  
 vinum -> create vinumcfg
   1: drive a device /dev/da0s3e
 ** 1 : Invalid argument
   2: drive b device /dev/da1s1e
 ** 2 : Invalid argument
 0 drives:
 1 volumes:
 V profiles              State: down    Plexes:      2 Size:      4096 MB
  
 2 plexes:
 P profiles.p0        C State: faulty  Subdisks:    1 Size:      4096 MB
 P profiles.p1        C State: faulty  Subdisks:    1 Size:      4096 MB
  
 2 subdisks:
 S profiles.p0.s0        State: crashed  PO:        0  B Size:      4096 MB
 S profiles.p1.s0        State: crashed  PO:        0  B Size:      4096 MB
  
  
 Excerpted from man vinum:
  
 device devicename
  
 Specify the device on which the drive resides.
 devicename must be the name of a disk parti-
 tion, for example /dev/da1e or /dev/wd3s2h, and
 it must be of type vinum. Do not use the c par-
 tition, which is reserved for the complete
 disk.
  
 My hunch is I am either using the wrong name form, or when I created the slice I used the
 wrong type (freebsd).
  
 Thanks in advance for your thoughts.
-- 
 == Gary Dunn
 == Honolulu
 == Open Slate Project



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?00103113292800.04686>