[Ocfs2-users] How do I remove old devices
Philippe Andries
PA at CAPITALATWORK.BE
Wed Oct 11 02:32:17 PDT 2006
Dear all, just to close this case and clarify:
I installed and used bvi, but still the ghosts device were always coming
back.
Very strange. So I decided to reinstall completely my servers. And
understand.
I have a RAC made of 2 servers and a disk array. The connection between the
servers and the disk array use a multi scsi device (2 port for each
connection for safety)
That force me to use HP multipath software (cpq_cciss-2.6.12-6.rhel4.i686
for the info)
Multipath software use the following disk
Disk /dev/cciss/c0d1: 145.6 GB, 145675714560 bytes
2 heads, 4 sectors/track, 35565360 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 488282 1953126 83 Linux
/dev/cciss/c0d1p2 488283 35565344 140308248 83 Linux
Disk /dev/cciss/c1d0: 145.6 GB, 145675714560 bytes
2 heads, 4 sectors/track, 35565360 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c1d0p1 1 488282 1953126 83 Linux
/dev/cciss/c1d0p2 488283 35565344 140308248 83 Linux
to create multipath devices.
/dev/md0 /dev/cciss/c0d1p1 and /dev/cciss/c1d0p1
/dev/md1 /dev/cciss/c0d1p2 and /dev/cciss/c1d0p2
Even if I format and mount only the /dev/mdx devices, ocfs2 recognize and
list them all
[root at erasme installed]# mounted.ocfs2 -d
Device FS UUID Label
/dev/cciss/c0d1p1 ocfs2 26d4fc43-fe0f-435a-b7be-b6b9c37e18ee oraclecrs
/dev/cciss/c0d1p2 ocfs2 df0e801c-2501-44ae-9cb4-38a67325762a oracledb
/dev/cciss/c1d0p1 ocfs2 26d4fc43-fe0f-435a-b7be-b6b9c37e18ee oraclecrs
/dev/cciss/c1d0p2 ocfs2 df0e801c-2501-44ae-9cb4-38a67325762a oracledb
/dev/md0 ocfs2 26d4fc43-fe0f-435a-b7be-b6b9c37e18ee oraclecrs
/dev/md1 ocfs2 df0e801c-2501-44ae-9cb4-38a67325762a oracledb
My 4 ghosts included.
So there was no bug.
Thanks anyway for your assistance
Philippe Andries
-----Original Message-----
From: Sunil Mushran [mailto:Sunil.Mushran at oracle.com]
Sent: vendredi 29 septembre 2006 18:45
To: Philippe Andries
Cc: 'ocfs2-users at oss.oracle.com'
Subject: Re: [Ocfs2-users] How do I remove old devices
Because that is a html doc. Click on the link and then select a mirror.
http://bvi.sourceforge.net/download.html
You could get the bin rpm too.
Philippe Andries wrote:
>
> 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
> >
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> 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/20061011/3361afa2/attachment.html
More information about the Ocfs2-users
mailing list