[Ocfs2-users] How do I remove old devices

Philippe Andries PA at CAPITALATWORK.BE
Fri Sep 29 02:04:38 PDT 2006


Thanks Tao,

But

[root at erasme ~]# wget
http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz
--11:02:29--  http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz
           => `bvi-1.3.2.src.tar.gz'
Resolving prdownloads.sourceforge.net... 66.35.250.217
Connecting to prdownloads.sourceforge.net|66.35.250.217|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [  <=>                                ] 12,828        34.51K/s

11:02:30 (34.43 KB/s) - `bvi-1.3.2.src.tar.gz' saved [12828]

[root at erasme ~]# tar zxvf bvi-1.3.2.src.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root at erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz | tar xv

gunzip: bvi-1.3.2.src.tar.gz: not in gzip format
[root at erasme ~]#

I believe the file has a problem.

	
Philippe Andries 

-----Original Message-----
From: tao.ma [mailto:tao.ma at oracle.com] 
Sent: vendredi 29 septembre 2006 10:58
To: Philippe Andries
Cc: 'ocfs2-users at oss.oracle.com'
Subject: Re: [Ocfs2-users] How do I remove old devices


Please use:
gunzip -c bvi-1.3.2.src.tar.gz | tar xv
or tar zxvf bvi-1.3.2.src.tar.gz

Philippe Andries wrote:

>
> Thanks for this info Sunil,
>
> But I run on Redhat AS 4 and bvi is not available immediately. I tried 
> to use the source, but the one available on 
> http://prdownloads.sourceforge.net/bvi/bvi-1.3.2.src.tar.gz seem to 
> have a problem:
>
> When I run the gunzip command as told on the installation page of the
> web site:
>
> [root at erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz | tar xvf
> gunzip: bvi-1.3.2.src.tar.gz: not in gzip format
> tar: Old option `f' requires an argument.
> Try `tar --help' for more information.
> [root at erasme ~]#
> [root at erasme ~]# gunzip -c bvi-1.3.2.src.tar.gz
> gunzip: bvi-1.3.2.src.tar.gz: not in gzip format
>
> So I am stuck.  :-(
>
> Any other idea welcomed.  An other binary editor (could not find any
> on redhat)? An other solution?
>
> Thanks in advance,
>        
> Philippe Andries
>
>
> -----Original Message-----
> From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com]
> Sent: jeudi 28 septembre 2006 19:22
> To: Philippe Andries
> Cc: 'ocfs2-users at oss.oracle.com'
> Subject: Re: [Ocfs2-users] How do I remove old devices
>
>
> ocfs2console just scans the partitions in /proc/partitions and looks
> for the superblock on the 3rd block.
>
> Easiest would be to use bvi (or any binary editor), search for the
> signature OCFSV2, and change it.
>
> # bvi -s 10240 /dev/sda1
> /OCFSV2
>
> Philippe Andries wrote:
> > Hi,
> > 
> > How do I remove 'ghost device' shown in ocfs2console
> > I did a mistake while setting it my system formatting not to be 
> > formatted partition. But now after formating the correct one, and 
> > having my devices mounted and runnning, the old formated device are 
> > still shown in the windows of my console
> > How can I removed them?
> > 
> > Thanks in adavance for your assistance,
> > 
> >
> > Philippe Andries
> >
> > 
> > --------------------------------------------------------------------
> > --
> > --
> >
> > _______________________________________________
> > Ocfs2-users mailing list
> > Ocfs2-users at oss.oracle.com 
> > http://oss.oracle.com/mailman/listinfo/ocfs2-users
> >  
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Ocfs2-users mailing list
>Ocfs2-users at oss.oracle.com 
>http://oss.oracle.com/mailman/listinfo/ocfs2-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20060929/81b3d652/attachment.html


More information about the Ocfs2-users mailing list