[linux-lvm] How to change default system dir

Bartłomiej Błachut bartlomiejblachut at gmail.com
Wed Sep 28 15:16:41 UTC 2022


Hi,
I have a question for you, because what I need is to change in my
ubuntu(22.04) the localisation of default-system-dir from /etc/lvm to a
place where I have write access e.g. /home/my_user/new_lvm_dir. I've tried
so far to provide to ./configure option
--with-default-system-dir=/home/my_user/new_lvm_dir or later I replace
everywhere in code pattern /etc/lvm to /home/my_user/new_lvm_dir but
without any success. Are you able to give me any idea how I can do it ?

I tried it on main/stable branches git://sourceware.org/git/lvm2.git

Cheers,
Bartek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20220928/63aa549f/attachment-0001.htm>


More information about the linux-lvm mailing list