[linux-lvm] unable to create physical volume
rich turner
rich at storix.com
Fri Nov 5 18:16:13 UTC 2004
i am using 4 etherdrives that are block devices and present in the /dev
directory as:
brw-rw---- 1 root root 152, 0 Nov 5 16:34 /dev/etherd/e0.0
brw-rw---- 1 root root 152, 16 Nov 5 16:34 /dev/etherd/e0.1
brw-rw---- 1 root root 152, 32 Nov 5 16:34 /dev/etherd/e0.2
brw-rw---- 1 root root 152, 48 Nov 5 16:34 /dev/etherd/e0.3
when i try to create a physical volume out of one of them:
[root at redhat proc]# pvcreate /dev/etherd/e0.1
/dev/etherd/e0.1: Couldn't find device.
when i scan for available disks with "lvmdiskscan" these disks do not
display.
it looks like a filter problem within lvm.conf but i have made some
changes and it doesnt seem to work. these are the lines in my lvm.conf
file that i believe are responsible for finding block devices:
scan = [ "/dev" ]
filter = [ "a/.*/" ] (all other filters are commented out)
not sure if it helps but in /sys/block i can see entries like this:
[root at redhat block]# ls -l /sys/block/etherd\!e0.0/
total 0
-r--r--r-- 1 root root 4096 Nov 5 16:35 dev
drwxr-xr-x 3 root root 0 Nov 5 16:35 queue
-r--r--r-- 1 root root 4096 Nov 5 16:35 range
-r--r--r-- 1 root root 4096 Nov 5 16:35 size
-r--r--r-- 1 root root 4096 Nov 5 16:35 stat
More information about the linux-lvm
mailing list