VG deletion problem (Oracle + ASM + RAC + EMC + POWERPATH...)

Florent Gilain florent.gilain at
Wed Jan 24 10:30:31 CST 2007

Hello all,

1) I already asked some informations about a similar problem few months ago; but i leaved this problem at this moment so, i restart trying to resolve it now..

2) My setup :

Oracle 10GR2 RAC standard Edition using ASM for Oracle storage
SAN with 2*PE2950 under RHEL4ES (s-oracle1 and s-oracle2) connected with fiber to a DELL EMC CX300 and Brocade Fiber switchs.

Each Oracle node is allowed to access 2 LUNS on the CX300 : /dev/emcpowera and /dev/emcpowerb

Here is the setup of the RAW Devices partitions used by Oracle using ASM on theses LUN :

[root at s-oracle1 ~]# cat /etc/sysconfig/rawdevices
# This file and interface are deprecated.
# Applications needing raw device access should open regular
# block devices with O_DIRECT.
# raw device bindings
# format:  <rawdev> <major> <minor>
#          <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
#          /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/emcpowerb1
/dev/raw/raw2 /dev/emcpowerb2
#    dbf+log+ctrl
/dev/raw/raw3 /dev/emcpowerb3
#    Archivelog + backup rman
/dev/raw/raw4 /dev/emcpowera1

[root at s-oracle1 ~]# df -h
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
                       29G   11G   18G  38% /
/dev/sda3             190M   20M  161M  11% /boot
none                  3,9G     0  3,9G   0% /dev/shm
                      4,0G  1,1G  2,7G  30% /home
                      4,0G   43M  3,7G   2% /tmp
                      7,9G  3,1G  4,4G  42% /usr
                      4,0G  237M  3,6G   7% /var
                      9,9G  4,9G  4,5G  53% /oracle

[root at s-oracle1 ~]# vgdisplay
  --- Volume group ---
  VG Name               VolGroup01
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  2
  VG Access             read/write
  VG Status             resizable
  MAX LV                256
  Cur LV                1
  Open LV               0
  Max PV                256
  Cur PV                1
  Act PV                1
  VG Size               230,32 GB
  PE Size               4,00 MB
  Total PE              58963
  Alloc PE / Size       58963 / 230,32 GB
  Free  PE / Size       0 / 0   
  VG UUID               C0XIOj-TPdy-WRRh-JpCY-ISMj-Wf3b-iaEOrG
  --- Volume group ---
  VG Name               VolGroup00
  System ID             
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  15
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                7
  Open LV               7
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               67,47 GB
  PE Size               32,00 MB
  Total PE              2159
  Alloc PE / Size       2159 / 67,47 GB
  Free  PE / Size       0 / 0   
  VG UUID               qSyfEe-JrM2-lhCT-nbZJ-FOO0-VW1Q-Y47Cu0

[root at s-oracle1 ~]# ls /dev/emc*
/dev/emcpower  /dev/emcpowera  /dev/emcpowera1  /dev/emcpowera2  /dev/emcpowerb  /dev/emcpowerb1  /dev/emcpowerb2  /dev/emcpowerb3

[root at s-oracle1 ~]# parted /dev/emcpowera
GNU Parted 1.6.19
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

On utilise /dev/emcpowera
(parted) help                                                             
  check MINEURE                 faire une vérification simple du système de fichiers
        copier le système de fichiers vers une autre partition
  help [COMMANDE]               afficher l'aide générale ou de l'aide sur la COMMANDE
  mklabel LABEL-TYPE            créer une nouvelle étiquette de disque (table de partition)
  mkfs MINEURE TYPE-SF             créer un système de fichiers de TYPE-SF sur la partititon MINEURE
  mkpart TYPE-PAR [TYPE-SF] DÉPART FIN      créer une partition
  mkpartfs TYPE-PAR TYPE-SF DÉPART FIN      créer une partition avec un système de fichiers
  move MINEURE DÉPART FIN       déplacer une partition MINEURE
  name MINEURE NOM              nommer une partition MINEURE NOM
  print [MINEUR]                afficher la table de partitions ou une partition
  quit                          terminer le programme
  rescue DÉPART FIN             restaurer les partitions perdues entre DÉPART et FIN
  resize MINEURE DÉPART FIN     modifier la taille du système de fichiers MINEURE
  rm MINEURE                    détruire la partition MINEURE
  select PÉRIPHÉRIQUE           sélectionner le périphérique à éditer
  set MINEURE FANION ÉTAT       modifier le FANION sur la partition MINEURE
(parted) print                                                            
Géométrie du disque pour /dev/emcpowera: 0.000-521971,250 mégaoctets
Type d'étiquette de disque: msdos
Mineur   Départ      Fin     Type      Sys.fichiersFanions
1          0,031 286110,747  primaire              

3) My Problem :

At a moment, as i'm not a Linux expert and was new to SAN, i was thinking i could use the rest of the free space of the LUN /dev/emcpowera to create a new "normal" file system (ext3...where i could copy rman backup files to send them on a remote backup server) that would be accessible from both servers at the same time (shame on me...). It corresponds, i think, to the /dev/emcpowera2 partition...

Now, my question is : What should i do to remove any trace of that second partition creation ? (and so, remove any trace to the VolGroup01) because i finally decided to add 2 new disks inside the s-oracle1 server (not in the SAN) dedicaced to RMAN backups on a bnormal FS...

Thanks a lot

PS : i hope i've been clear enough...
NB : VolGroup01 isn't displayed on second server when using vgdisplay command


More information about the Linux-PowerEdge mailing list