diskmanagementd writing to external disk which is not yet mounted
Hi,
I connected the external disk on which I usually backup to my laptop. I noticed that some disk activity started right away. But hours later the still continues, and the drive did not yet show up in finder.
Looking at the activity monitor I first noticed that something is writing to the drive with about 35-45 MByte/second.
I then looked with ps -ef | grep fsck to see if some repair was going on, but no fsck is running.
diskutil list shows, that the mount has not yet happened:
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: *2.0 TB disk4
disk4 is visible but no partition, that would normally show up as disk4s1 etc.
Finally I found the hint to use the command sudo fs_usage -f filesys and when I do I see it write in fast succession entries like
19:44:47.846486 WrData[S] D=0x7c660e00 B=0x20000 /dev/disk4 /dev/rdisk4 0.003661 W diskmanagementd.2878
19:44:47.846489 write F=3 B=0x20000 0.003671 diskmanagementd.2878
19:44:47.850058 WrData[S] D=0x7c660f00 B=0x20000 /dev/disk4 /dev/rdisk4 0.003560 W diskmanagementd.2878
19:44:47.850062 write F=3 B=0x20000 0.003569 diskmanagementd.2878
19:44:47.853341 WrData[S] D=0x7c661000 B=0x20000 /dev/disk4 /dev/rdisk4 0.003251 W diskmanagementd.2878
19:44:47.853343 write F=3 B=0x20000 0.003261 diskmanagementd.2878
19:44:47.856568 WrData[S] D=0x7c661100 B=0x20000 /dev/disk4 /dev/rdisk4 0.003215 W diskmanagementd.2878
19:44:47.856569 write F=3 B=0x20000 0.003221 diskmanagementd.2878
hinting that diskmanagementd is the culprit of all this writes. What I do not know though is how to deal with this. Shall I just let it continue run, will it end at some time?
Shall I stop it, but if how to do it in a way that is safe, because I do not want to corrupt the disk. I am just in need to retrieve stuff from my backup and thus I don't want to risk to damage it.
If anybody knows more about what could go on, please tell me.
Thanks.
MacBook Pro 15″, macOS 10.15