removing the filesystem from Veritas Volume Manager

Hi All,

recently i had the project.

Got 2 server, one is Mercury, and another is Procyon.
two server was attached to EMC Box and use the Veritas Filesystem.

My question is,

  1. Is it possible first remove the filesystem(/u03,/u04) from Veritas in Procyon, no effect on the data? we still can read the data in /u03 and /u04 ???

If step 1 OK, plan to ask EMC vendor to configure EMC to let the Mercury to see the device previously use by Procyon (/u03, /u04). After that,
2. is it Mercury need to do any configuration to see the data in /u03 and /u04 ???

Need your guys help and advice. =)

You need to deport the disk group containing the FS mounted as /u03 and /u04 on Procyon and then import the diskgroup on Mercury, below is the detailed process you can follow:

  • The storage need to be visible on both the servers.
  • Umount /u03 and /u04 from Procyon.
  • Deport the disk group containing FS mounted as /u03 and /u04 from Procyon.
  • Import the disk group on Mercury.
  • You can now mount the FS on Mercury.

since this the diskgroup os create by veritas volumn manager, is it need to remove the diskgroup from veritas in Procyon, and then create again the disk group in mercury?

my concern is, during this process, the data still safe?

you dont need to re create the disk group in Veritas on Mercury,
the private region on the Storage Luns which have been configured under Procyon has all the information,
when you will deport the disk group from Procyon and import the same on Mercury, the private region will provide all the information to Mercury regarding the disk group and the FS's created under it.

Please post the output of the FS's and disk groups from Procyon which you want to migrate.

ora10g@procyon>df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d0          20G  10.0G   9.8G    51%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    11G   1.6M    11G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
fd                       0K     0K     0K     0%    /dev/fd
/dev/md/dsk/d3          24G   1.8G    22G     8%    /var
swap                    11G   120K    11G     1%    /tmp
swap                    11G    88K    11G     1%    /var/run
swap                    11G     0K    11G     0%    /dev/vx/dmp
swap                    11G     0K    11G     0%    /dev/vx/rdmp
/dev/vx/dsk/devdg/vol02
                       250G   199G    48G    81%    /u04
/dev/vx/dsk/devdg/vol01
                       251G   142G   103G    58%    /u03
/dev/vx/dsk/arcdg/vol02
                       410G   156G   238G    40%    /u06
/dev/vx/dsk/arcdg/vol01
                       410G   278G   124G    70%    /u05
centaurus:/u01/oracle/sms5
                       404G   286G   113G    72%    /u07
centaurus:/u02/oracle/dss5
                       404G   332G    68G    84%    /u08
gemini:/u10            492G   138G   350G    29%    /u10
gemini:/u09            492G   296G   191G    61%    /u09
myweb1:/WNFS_Backup1   700G   208G   492G    30%    /u11
myweb1:/WNFS_Backup2   500G    80M   500G     1%    /u12

i wish to migrate the /u03 and /u04 to another server Mercury

Thanks for the output.

We need to migrate the complete diskgroup devdg in our case, since it is having both the volumes vol01 [mounted on /u03] and vol02 [mounted on /u04].

  • Get the physical luns details in the disk group devdg.
  • Get them presented to other server Mercury.
  • Rescann Mercury and make sure the disks are visible to OS and are into Veritas.
  • Deport the disk group devdg from Procyon.
  • Import the disk group devdg in Mercury.

You will have the complete disk group devdg in Mercury now, mount the volumes vol01 and vol02 as you need on Mercury.

2 Likes