unable to create physical volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux