Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: LVM problem
Date: Sun, 24 Dec 2006 12:43:30
Message-Id: Pine.LNX.4.64.0612241228340.13176@jmaa.math.ist.utl.pt
In Reply to: [gentoo-user] Re: LVM problem by Regis Decamps
1 On Sun, 24 Dec 2006, Regis Decamps wrote:
2
3 > Jorge Almeida wrote:
4 >> I'm about to start using LVM.
5 >
6 > LVM-user or LVM2?
7 LVM2. (Don't know about the former...)
8 >
9 >> So, what's the problem? The problem is that vgdisplay, vgscan, vgchange,
10 >> pvdisplay, lvdisplay all say there are no volumes to be found!
11 >> What did I miss?
12 >
13 > Have you modified lvm.conf?
14 Yes, I changed the filter line:
15 filter = [ "a|/dev/hdb]|", "r/.*/" ]
16 And, of course, this is the problem! I copied the line in
17 http://www.gentoo.org/doc/en/lvm2.xml, but since I have a physical
18 volume only at /dev/hdb5, I deleted the '[a' and forgot about the
19 closing ']'! Things are working now.
20 >
21 > Can you provide /etc/lvm/.cache?
22 Here it goes, although I suppose it's not needed any more:
23 persistent_filter_cache {
24 valid_devices=[
25 "/dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part2",
26 "/dev/disk/by-path/pci-0000:00:1f.1-ide-0:1-part1",
27 "/dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part3",
28 "/dev/disk/by-path/pci-0000:00:1f.1-ide-0:1-part3",
29 "/dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part1",
30 "/dev/hdb6",
31 "/dev/disk/by-uuid/203d7cab-0dd9-4a52-a376-02ee721de134",
32 "/dev/disk/by-path/pci-0000:00:1f.1-ide-0:1-part2",
33 "/dev/disk/by-uuid/d6d0a50f-16dc-4425-9047-66758c5b13d9",
34 "/dev/hdb5",
35 "/dev/disk/by-uuid/3a5288ad-f1a4-4370-a5ed-6058467de4e8",
36 "/dev/disk/by-uuid/38415f62-cea0-4c2a-aee2-567932993d2d",
37 "/dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part6",
38 "/dev/hdb1",
39 "/dev/disk/by-id/ata-SAMSUNG_SP0802N_S00JJ30X191824-part5",
40 "/dev/disk/by-path/pci-0000:00:1f.1-ide-0:1-part5",
41 "/dev/hdb2",
42 "/dev/disk/by-path/pci-0000:00:1f.1-ide-0:1-part6",
43 "/dev/hdb3"
44 ]
45 }
46
47 >
48 >> One other thing i don't understand is what to do regarding init scripts.
49 >
50 > The gentoo init script already manages lvm.
51 >
52 Could you elaborate on this? What init script? Something in /etc/init.d?
53 Something to be managed by rc-update?
54 >
55 Thanks. (Great list, where you can get help on XMAS eve!)
56 --
57 Jorge
58 --
59 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: LVM problem Richard Fish <bigfish@××××××××××.org>