Okay and this process doesn't corrupt the files/file system right?

And to perform this copy activity do we need to stop Kafka broker as well?

Regards,
GP

On Tue, 18 Jul, 2023, 16:24 sunil chaudhari, <sunilmchaudhar...@gmail.com>
wrote:

> Actually the broker refers to the base directory.
> Example:
> log.paths: /var/log/mykafka/data/
>
> then copy. /data/. to the new path completely and refer it in the
> server.properties
>
> On Tue, 18 Jul 2023 at 1:09 PM, Gaurav Pande <gaupand...@gmail.com> wrote:
>
> > Okay so the data directory has some files like checkpoints,
> meta.properties
> > in existing file system all of these should also be copied to new
> disk/file
> > system?
> >
> > Regards,
> > GP
> >
> > On Tue, 18 Jul, 2023, 12:32 sunil chaudhari, <
> sunilmchaudhar...@gmail.com>
> > wrote:
> >
> > > I think you can copy whole data directory to new one. I dont think
> there
> > > will be loss or corruption
> > >
> > > On Tue, 18 Jul 2023 at 12:20 PM, Gaurav Pande <gaupand...@gmail.com>
> > > wrote:
> > >
> > > > Hi Guys,
> > > >
> > > > Any help on this query please.
> > > >
> > > > Regards,
> > > > GP
> > > >
> > > > On Mon, 17 Jul, 2023, 21:00 Gaurav Pande, <gaupand...@gmail.com>
> > wrote:
> > > >
> > > > > Hi Guys,
> > > > >
> > > > > I have 3 node Kafka cluster running on version 2.7.0 . On one of
> the
> > > > > broker out of three iam noticing data directory getting filled and
> > > broker
> > > > > going down.
> > > > >
> > > > > Presently the data is being written to / mount point(which is
> wrong)
> > > so I
> > > > > want to add a disk  on my VM.
> > > > >
> > > > > For this  my query is how do I migrate/move my existing data from
> > > root(/)
> > > > > mount point to this new one without data loss?
> > > > >
> > > > > Is there any documentation on this.
> > > > >
> > > > > Thanks,
> > > > > GP
> > > > >
> > > >
> > >
> >
>

Reply via email to