停止占用服务
systemctl stop rsync解除挂载
umount /mnt/encrypted_backup如果发现被占用使用lsof查看占用,然后使用kill -9关闭
lsof /mnt/encrypted_backup锁定对应卷
cryptsetup close /dev/mapper/backup关闭对应电源
udisksctl power-off -b /dev/sdb停止占用服务
systemctl stop rsync解除挂载
umount /mnt/encrypted_backup如果发现被占用使用lsof查看占用,然后使用kill -9关闭
lsof /mnt/encrypted_backup锁定对应卷
cryptsetup close /dev/mapper/backup关闭对应电源
udisksctl power-off -b /dev/sdb