VMware Cloud Community
singh_harminder
Contributor
Contributor

How to exclude a hdd from a replicated RHEL 7 -- getting a error after recovering by detaching the hdd

We are using a Vsphere 6.0 and using a replication of a RHEL 7 server to a DR site. How to exclude a HDD from replicating to a DR site as we want to reduce the bandwidth consumption. WE tried the following -

Excluded the HDD for replication at the source level - We are not able to recover the server and it is stuck at the boot level of Linux.

Included the HDD and at the source level and detached while doing the server recovery - Same issue at the boot level,

The error screenshot is attached.

kindly help is anyone has the solution for this.

harminder singh

0 Kudos
3 Replies
continuum
Immortal
Immortal

Your bootscreen looks as I would expect it with a Linux that notices at boot that a drive configured to be present at boot is not available.
I assume you have to use the suggested approach to fix the boot once - and then adjust journalctl and fstab so that it no longer tries to automount the missing drive.
It should be easier to do that on the original ...


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
singh_harminder
Contributor
Contributor

Thanks for the reply. Can you help us with the ways to achieve this. Actually we have 3 HDD's in the source VM which is replicated, but we do not want to replicate the HDD which has the temp database stored. The temp database is being used in the Oracle database for multiple database statements and VMWare treats it as new blocks everytime there is a change in the temp database. So my replication is effected although the data in the temp database is of no use to me.

We want to achieve this and need your help is doing the same.

kindly help

0 Kudos
GregPatria
Enthusiast
Enthusiast

Just make storage motion for HDD that contain temp disk on your vm to another datastore that not replicated.

0 Kudos