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>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C201FD.1F96DED0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 =20 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,=20 Thx, Dave ------=_NextPart_000_0029_01C201FD.1F96DED0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>I'm attempting to create a striped raid = out of 2=20 drives of equal size. I created the /etc/vinum.conf file which = reads=20 as:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> drive da2 device=20 /dev/da2s1e</FONT></DIV> <DIV><FONT face=3DArial size=3D2> drive da3 device=20 /dev/da3s1e</FONT></DIV> <DIV><FONT face=3DArial size=3D2> volume = stripe</FONT></DIV> <DIV><FONT face=3DArial size=3D2> = plex org=20 striped 256k</FONT></DIV> <DIV><FONT face=3DArial size=3D2> =20 sd length 17272m drive = da2</FONT></DIV> <DIV><FONT face=3DArial size=3D2> =20 sd length 17272m drive da3</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>After I created the config file I = started up vinum=20 and typed:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> vinum > create -f = /etc/vinum.conf</FONT></DIV> <DIV><FONT face=3DArial size=3D2> vinum > = quit</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Once I did that I created a new fs and = mounted=20 it:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> newfs -v=20 /dev/vinum/stripe </FONT></DIV> <DIV><FONT face=3DArial size=3D2> mount = /dev/vinum/stripe=20 /stripe</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>All worked fine, I now had a 36GB = striped raid=20 which I could access. So after everything seemed to work fine I = created a=20 spot in the fstab reading:</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2> =20 /dev/vinum/stripe /stripe =20 ufs rw 2 = 2</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial><FONT size=3D2>I restarted the computer and it = didn't=20 work....it came up saying that there was an inconsistency with fstab and = kicked=20 me into single-user mode.</FONT></FONT></DIV> <DIV><FONT face=3DArial size=3D2>I removed that line from fstab and = restarted once=20 more, once it restarted and I logged into root I tried to mount /stripe = and it=20 came up saying '/dev/vinum/stripe not configured' . I then = started up=20 vinum again and typed 'list' and it showed that nothing was getting = striped it=20 seemed. In order to get things working again I had to do the = 'create -f=20 /etc/vinum.conf' command in vinum, create the newfs and then mount = it. Is=20 there a way to make it so that I don't have to keep doing this everytime = I start=20 up the computer.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Any help would be much appreciated, = </FONT></DIV> <DIV><FONT face=3DArial size=3D2>Thx,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Dave</FONT></DIV></BODY></HTML> ------=_NextPart_000_0029_01C201FD.1F96DED0-- 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?002c01c2021e$a6bddb90$0200a8c0>