Hi,
Our team has been using Apache Kafka for over a year.
Recently, we plan to replace the Kafka log directory with a symbolic link.
For example, in the server.properties:
`log.dirs=/some/path/to/logdir`
whereas `/some/path/to/logdir` is a symbolic link to
`/actual/path/to/logdir`. To provide more context, the two paths reside in
different disk partitions.
However, we keep on failing to startup Kafka. Here's the error message:
```
[2024-12-30 18:14:52,434] INFO [ThrottledChannelReaper-ControllerMutation]:
Starting (kafka.server.ClientQuotaManager$ThrottledChannelReaper)
[2024-12-30 18:14:52,444] INFO [KafkaServer id=MYID] Rewriting
/path/to/logdir/meta.properties (kafka.server.KafkaServer)
[2024-12-30 18:14:52,445] ERROR Error while writing meta.properties to
/path/to/logdir
(org.apache.kafka.storage.internals.log.LogDirFailureChannel)
java.nio.file.FileAlreadyExistsException: /path/to/logdir
at
java.base/sun.nio.fs.UnixException.translateToIOExcepti...