[Ocfs2-users] How do I remove old devices

tao.ma tao.ma at oracle.com
Fri Sep 29 01:58:02 PDT 2006


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 
>



More information about the Ocfs2-users mailing list