Closed samuelfusato closed 2 years ago
Update: I addressed this issue by shutting down the machine completely.
/etc/vdoconf.yml
was updated after creating a new volume by running vdo create --name vdo1 --device /dev/vdb --vdoLogicalSize 10G
[root@virtmanager-rhel8 ~]# systemctl status vdo
● vdo.service - VDO volume services
Loaded: loaded (/usr/lib/systemd/system/vdo.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2021-08-01 01:13:55 CEST; 7min ago
Process: 841 ExecStart=/usr/bin/vdo start --all --confFile /etc/vdoconf.yml (code=exited, status=0/SUCCESS)
Main PID: 841 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 8166)
Memory: 0B
CGroup: /system.slice/vdo.service
Hi @samuelfusato,
It sounds like you likely had some previously created volumes that weren't completely removed. If you are certain that you do not have any volumes on the system, you can rename or remove the /etc/vdoconf.yml.
I don't think it would be wise to remove the config file when removing the packages if there are contents in it. There are values in there that you might want/need to retain in case you were only temporarily removing the packages.
Regarding the vdo.service and the vdo-start-by-dev.service failures. These services aren't implemented in such a way that there's a daemon running (like nginx or apache, for example). Instead, these services are just one-shot calls to the 'vdo' script, either sending a 'vdo start --all' or 'vdo start --name
Since I'm not entirely clear what your initial goal was, I'm not sure what other guidance I can provide. Please feel free to ask any other questions you might have and we'll see what we can do to help you out.
Hello @rhawalsh,
Thanks for your kind response. It is clear now. I am currently studying for the RHCSA exam and VDO is listed as one of its objectives. I will make sure to wipe possibile signatures from the device before working with VDO on my exercises.
By the way, now it is clear to me why the /etc/fstab
entry does not count with the d
on the vdo.service
line: it is not implemented as a daemon running, as you explained.
Thanks again.
Hello,
I am currently unable to create vdo volumes on a RHEL8 VM. I cannot bring
vdo.service
up. Please, see below details about it:As per the below output, vdo.service fails to start complaining about a disk I have not started before (
/dev/vdb
). I have removed that disk but it keeps complaining:I have also noticed that the
/etc/vdoconf.yml
config file won't disappear from this directory after removing the installed packages. Here's the content of that file:Can you please advise?
Thanks.