* [linux-lvm] unable to create physical volume
@ 2004-11-05 18:16 rich turner
2004-11-05 19:19 ` Alasdair G Kergon
0 siblings, 1 reply; 3+ messages in thread
From: rich turner @ 2004-11-05 18:16 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] unable to create physical volume
2004-11-05 18:16 [linux-lvm] unable to create physical volume rich turner
@ 2004-11-05 19:19 ` Alasdair G Kergon
2004-11-05 19:38 ` rich turner
0 siblings, 1 reply; 3+ messages in thread
From: Alasdair G Kergon @ 2004-11-05 19:19 UTC (permalink / raw)
To: LVM general discussion and development
On Fri, Nov 05, 2004 at 10:16:13AM -0800, rich turner wrote:
> [root@redhat proc]# pvcreate /dev/etherd/e0.1
> /dev/etherd/e0.1: Couldn't find device.
Does 'cat /proc/devices' have a special entry for them?
If so, then you'll need to update the 'types' line in the
config file to include them.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] unable to create physical volume
2004-11-05 19:19 ` Alasdair G Kergon
@ 2004-11-05 19:38 ` rich turner
0 siblings, 0 replies; 3+ messages in thread
From: rich turner @ 2004-11-05 19:38 UTC (permalink / raw)
To: LVM general discussion and development
it does have a special entry in /proc/devices -> aoe
(ata-over-ethernet). added this type in lvm.conf and BINGO. thanks for
the help.
On Fri, 2004-11-05 at 11:19, Alasdair G Kergon wrote:
> On Fri, Nov 05, 2004 at 10:16:13AM -0800, rich turner wrote:
> > [root@redhat proc]# pvcreate /dev/etherd/e0.1
> > /dev/etherd/e0.1: Couldn't find device.
>
> Does 'cat /proc/devices' have a special entry for them?
>
> If so, then you'll need to update the 'types' line in the
> config file to include them.
>
> Alasdair
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-05 19:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05 18:16 [linux-lvm] unable to create physical volume rich turner
2004-11-05 19:19 ` Alasdair G Kergon
2004-11-05 19:38 ` rich turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox