<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Ocfs2-users] How do I remove old devices</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Thanks Tao,</FONT>
</P>
<P><FONT SIZE=2>But</FONT>
</P>
<P><FONT SIZE=2>[root@erasme ~]# wget <A HREF="http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz" TARGET="_blank">http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz</A></FONT>
<BR><FONT SIZE=2>--11:02:29-- <A HREF="http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz" TARGET="_blank">http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz</A></FONT>
<BR><FONT SIZE=2> => `bvi-1.3.2.src.tar.gz'</FONT>
<BR><FONT SIZE=2>Resolving prdownloads.sourceforge.net... 66.35.250.217</FONT>
<BR><FONT SIZE=2>Connecting to prdownloads.sourceforge.net|66.35.250.217|:80... connected.</FONT>
<BR><FONT SIZE=2>HTTP request sent, awaiting response... 200 OK</FONT>
<BR><FONT SIZE=2>Length: unspecified [text/html]</FONT>
</P>
<P><FONT SIZE=2> [ <=> ] 12,828 34.51K/s</FONT>
</P>
<P><FONT SIZE=2>11:02:30 (34.43 KB/s) - `bvi-1.3.2.src.tar.gz' saved [12828]</FONT>
</P>
<P><FONT SIZE=2>[root@erasme ~]# tar zxvf bvi-1.3.2.src.tar.gz</FONT>
</P>
<P><FONT SIZE=2>gzip: stdin: not in gzip format</FONT>
<BR><FONT SIZE=2>tar: Child returned status 1</FONT>
<BR><FONT SIZE=2>tar: Error exit delayed from previous errors</FONT>
<BR><FONT SIZE=2>[root@erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz | tar xv</FONT>
</P>
<P><FONT SIZE=2>gunzip: bvi-1.3.2.src.tar.gz: not in gzip format</FONT>
<BR><FONT SIZE=2>[root@erasme ~]#</FONT>
</P>
<P><FONT SIZE=2>I believe the file has a problem.</FONT>
</P>
<P>
<BR><FONT SIZE=2>Philippe Andries </FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: tao.ma [<A HREF="mailto:tao.ma@oracle.com">mailto:tao.ma@oracle.com</A>] </FONT>
<BR><FONT SIZE=2>Sent: vendredi 29 septembre 2006 10:58</FONT>
<BR><FONT SIZE=2>To: Philippe Andries</FONT>
<BR><FONT SIZE=2>Cc: 'ocfs2-users@oss.oracle.com'</FONT>
<BR><FONT SIZE=2>Subject: Re: [Ocfs2-users] How do I remove old devices</FONT>
</P>
<BR>
<P><FONT SIZE=2>Please use:</FONT>
<BR><FONT SIZE=2>gunzip -c bvi-1.3.2.src.tar.gz | tar xv</FONT>
<BR><FONT SIZE=2>or tar zxvf bvi-1.3.2.src.tar.gz</FONT>
</P>
<P><FONT SIZE=2>Philippe Andries wrote:</FONT>
</P>
<P><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Thanks for this info Sunil,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> But I run on Redhat AS 4 and bvi is not available immediately. I tried </FONT>
<BR><FONT SIZE=2>> to use the source, but the one available on </FONT>
<BR><FONT SIZE=2>> <A HREF="http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz" TARGET="_blank">http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz</A> seem to </FONT>
<BR><FONT SIZE=2>> have a problem:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> When I run the gunzip command as told on the installation page of the</FONT>
<BR><FONT SIZE=2>> web site:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> [root@erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz | tar xvf</FONT>
<BR><FONT SIZE=2>> gunzip: bvi-1.3.2.src.tar.gz: not in gzip format</FONT>
<BR><FONT SIZE=2>> tar: Old option `f' requires an argument.</FONT>
<BR><FONT SIZE=2>> Try `tar --help' for more information.</FONT>
<BR><FONT SIZE=2>> [root@erasme ~]#</FONT>
<BR><FONT SIZE=2>> [root@erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz</FONT>
<BR><FONT SIZE=2>> gunzip: bvi-1.3.2.src.tar.gz: not in gzip format</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> So I am stuck. :-(</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Any other idea welcomed. An other binary editor (could not find any</FONT>
<BR><FONT SIZE=2>> on redhat)? An other solution?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Thanks in advance,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Philippe Andries</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> -----Original Message-----</FONT>
<BR><FONT SIZE=2>> From: Sunil Mushran [<A HREF="mailto:Sunil.Mushran@oracle.com">mailto:Sunil.Mushran@oracle.com</A>]</FONT>
<BR><FONT SIZE=2>> Sent: jeudi 28 septembre 2006 19:22</FONT>
<BR><FONT SIZE=2>> To: Philippe Andries</FONT>
<BR><FONT SIZE=2>> Cc: 'ocfs2-users@oss.oracle.com'</FONT>
<BR><FONT SIZE=2>> Subject: Re: [Ocfs2-users] How do I remove old devices</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> ocfs2console just scans the partitions in /proc/partitions and looks</FONT>
<BR><FONT SIZE=2>> for the superblock on the 3rd block.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Easiest would be to use bvi (or any binary editor), search for the</FONT>
<BR><FONT SIZE=2>> signature OCFSV2, and change it.</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> # bvi -s 10240 /dev/sda1</FONT>
<BR><FONT SIZE=2>> /OCFSV2</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Philippe Andries wrote:</FONT>
<BR><FONT SIZE=2>> > Hi,</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > How do I remove 'ghost device' shown in ocfs2console</FONT>
<BR><FONT SIZE=2>> > I did a mistake while setting it my system formatting not to be </FONT>
<BR><FONT SIZE=2>> > formatted partition. But now after formating the correct one, and </FONT>
<BR><FONT SIZE=2>> > having my devices mounted and runnning, the old formated device are </FONT>
<BR><FONT SIZE=2>> > still shown in the windows of my console</FONT>
<BR><FONT SIZE=2>> > How can I removed them?</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > Thanks in adavance for your assistance,</FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > Philippe Andries</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>> > --------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>> > --</FONT>
<BR><FONT SIZE=2>> > --</FONT>
<BR><FONT SIZE=2>> ></FONT>
<BR><FONT SIZE=2>> > _______________________________________________</FONT>
<BR><FONT SIZE=2>> > Ocfs2-users mailing list</FONT>
<BR><FONT SIZE=2>> > Ocfs2-users@oss.oracle.com </FONT>
<BR><FONT SIZE=2>> > <A HREF="http://oss.oracle.com/mailman/listinfo/ocfs2-users" TARGET="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A></FONT>
<BR><FONT SIZE=2>> > </FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>-----------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>>-</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>_______________________________________________</FONT>
<BR><FONT SIZE=2>>Ocfs2-users mailing list</FONT>
<BR><FONT SIZE=2>>Ocfs2-users@oss.oracle.com </FONT>
<BR><FONT SIZE=2>><A HREF="http://oss.oracle.com/mailman/listinfo/ocfs2-users" TARGET="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</A></FONT>
<BR><FONT SIZE=2>></FONT>
</P>
</BODY>
</HTML>