Procedure for removing local disk node on cluster

frankz

Active Member
Nov 16, 2020
364
24
38
Hi everyone, I have read that to locally unmount and delete an ext4 disk or other filesystem in a node that is part of a cluster, as usual, umount the disk and then access the contents. Then open a shell and navigate to etc / systemd-d / system / mountpoint.mount. And delete the link. I noticed that this kind of procedure in my opinion could be incorrect as the disk seems to be managed by systemd and therefore I don't see why to manually delete the link instead of issuing the command from the node where the disk resides locally: "systemctl disable mnt -pve-volumexxx.mount and then systemctl remove mnt-pve-volumexxx.mount. I was asking the more experts if what I just wrote is correct or if the manual removal should be done. Thanks to all.
 
Hi,

A.F.I.K. there is no "systemctl remove".
But what I know for sure in the systemd version Debian ships there is no remove option.
 
Hi,

A.F.I.K. there is no "systemctl remove".
But what I know for sure in the systemd version Debian ships there is no remove option.
Thanks it is as you say, perhaps with the disable parameter that should remove the link. However, how written would it be more correct with the disable command? Thanks
 
However, how written would it be more correct with the disable command?
This is not correct because "disable" can reset when a new package will be installed.
You must use "systemd mask" but then the config file will still exist and this is not good.
 
This is not correct because "disable" can reset when a new package will be installed.
You must use "systemd mask" but then the config file will still exist and this is not good.
Ok, so I understand that it is best to delete it manually. Anyway thanks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!