linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] devices/dir configuration option in /etc/lvm/lvm.conf can be edited?
@ 2019-10-14  8:00 Gang He
  2019-10-14 10:39 ` Zdenek Kabelac
  0 siblings, 1 reply; 6+ messages in thread
From: Gang He @ 2019-10-14  8:00 UTC (permalink / raw)
  To: linux-lvm

Hello List,

By default, devices/dir configuration option in /etc/lvm/lvm.conf is "=/dev".
But, if I edit this configuration option, e.g. dir = "/dev/lvm", then lvcreate command will fail.

sles12sp4-node:/dev # lvcreate -L2G -ay -n testlv vgdata
  /dev/lvm/vgdata/testlv: not found: device not cleared
  Aborting. Failed to wipe start of new LV.

I am using lvm 2.02.183(or 180), this option can be edit individually? 
or any other option will affect this option, then lead to lvcreate failure.

Thanks
Gang

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-15  2:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14  8:00 [linux-lvm] devices/dir configuration option in /etc/lvm/lvm.conf can be edited? Gang He
2019-10-14 10:39 ` Zdenek Kabelac
2019-10-14 10:52   ` Gang He
2019-10-14 10:55     ` Zdenek Kabelac
2019-10-14 13:19     ` Alasdair G Kergon
2019-10-15  2:19       ` Gang He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).