Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 2002 01:56:58 -0400
From:      "David Loszewski" <drlski@attbi.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Serious Vinum problem, PLZ HELP
Message-ID:  <002c01c2021e$a6bddb90$0200a8c0@zeus>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I'm attempting to create a striped raid out of 2 drives of equal size.  I created the /etc/vinum.conf file which reads as:

    drive da2 device /dev/da2s1e
    drive da3 device /dev/da3s1e
    volume stripe
        plex org striped 256k
            sd length 17272m drive da2
            sd length 17272m drive da3

After I created the config file I started up vinum and typed:

    vinum > create -f /etc/vinum.conf
    vinum > quit

Once I did that I created a new fs and mounted it:

    newfs -v /dev/vinum/stripe   
    mount /dev/vinum/stripe /stripe

All worked fine, I now had a 36GB striped raid which I could access.  So after everything seemed to work fine I created a spot in the fstab reading:

    /dev/vinum/stripe    /stripe    ufs    rw    2    2

I restarted the computer and it didn't work....it came up saying that there was an inconsistency with fstab and kicked me into single-user mode.
I removed that line from fstab and restarted once more, once it restarted and I logged into root I tried to mount /stripe and it came up saying '/dev/vinum/stripe not configured' .  I then started up vinum again and typed 'list' and it showed that nothing was getting striped it seemed.  In order to get things working again I had to do the 'create -f /etc/vinum.conf' command in vinum, create the newfs and then mount it.  Is there a way to make it so that I don't have to keep doing this everytime I start up the computer.

Any help would be much appreciated, 
Thx,
Dave

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm attempting to create a striped raid out of 2 
drives of equal size.&nbsp; I created the /etc/vinum.conf file which reads 
as:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; drive da2 device 
/dev/da2s1e</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; drive da3 device 
/dev/da3s1e</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; volume stripe</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; plex org 
striped 256k</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  sd length 17272m drive da2</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; sd length 17272m drive da3</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>After I created the config file I started up vinum 
and typed:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; vinum &gt; create -f 
/etc/vinum.conf</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; vinum &gt; quit</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Once I did that I created a new fs and mounted 
it:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; newfs -v 
/dev/vinum/stripe&nbsp;&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; mount /dev/vinum/stripe 
/stripe</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>All worked fine, I now had a 36GB striped raid 
which I could access.&nbsp; So after everything seemed to work fine I created a 
spot in the fstab reading:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
/dev/vinum/stripe&nbsp;&nbsp;&nbsp; /stripe&nbsp;&nbsp;&nbsp; 
ufs&nbsp;&nbsp;&nbsp; rw&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp; 2</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2>I restarted the computer and it didn't 
work....it came up saying that there was an inconsistency with fstab and kicked 
me into single-user mode.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>I removed that line from fstab and restarted once 
more, once it restarted and I logged into root I tried to mount /stripe and it 
came up saying '/dev/vinum/stripe not configured'&nbsp;.&nbsp; I then started up 
vinum again and typed 'list' and it showed that nothing was getting striped it 
seemed.&nbsp; In order to get things working again I had to do the 'create -f 
/etc/vinum.conf' command in vinum, create the newfs and then mount it.&nbsp; Is 
there a way to make it so that I don't have to keep doing this everytime I start 
up the computer.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Any help would be much appreciated, </FONT></DIV>
<DIV><FONT face=Arial size=2>Thx,</FONT></DIV>
<DIV><FONT face=Arial size=2>Dave</FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002c01c2021e$a6bddb90$0200a8c0>