1 |
I've never seen this issue, so I may not be the right person to give advice |
2 |
here. But at a glance, it looks like lvm and device-mapper are incompatible |
3 |
or something similar. If I were in your place I would try differrent versions |
4 |
of lvm2, device-mapper and/or kernel. |
5 |
|
6 |
FYI, my configuration works with kernel 2.6.16-r1, |
7 |
device-mapper 1.02.03 and lvm2 2.02.05. |
8 |
|
9 |
On Tuesday 09 May 2006 17:40, bm2600@×××××.com wrote: |
10 |
> Hi, |
11 |
> |
12 |
> I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging |
13 |
> updated ebuilds, sure lvm2 was one of them and a reboot I lost my |
14 |
> mounted fs. |
15 |
> |
16 |
> Fortunately I do not have / (root) under LVM however all efforts so far |
17 |
> haven't brought my fs back: |
18 |
> |
19 |
> # /etc/fstab: static file system information. |
20 |
> # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 |
21 |
> 2003/10/13 20:03:38 azarah Exp $ |
22 |
> # |
23 |
> # noatime turns off atimes for increased performance (atimes normally |
24 |
> aren't # needed; notail increases performance of ReiserFS (at the expense |
25 |
> of storage |
26 |
> # efficiency). It's safe to drop the noatime options if you want and to |
27 |
> # switch between notail and tail freely. |
28 |
> |
29 |
> # <fs> <mountpoint> <type> <opts> |
30 |
> <dump/pass> |
31 |
> |
32 |
> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. |
33 |
> /dev/hda1 /boot ext2 noauto,noatime |
34 |
> 0 0 |
35 |
> /dev/hda2 / reiserfs noatime |
36 |
> 0 0 |
37 |
> /dev/cont/swap none swap sw |
38 |
> 0 0 |
39 |
> /dev/cont/usr /usr reiserfs noatime |
40 |
> 0 0 |
41 |
> /dev/cont/var /var reiserfs noatime |
42 |
> 0 0 |
43 |
> /dev/cont/home /home reiserfs noatime |
44 |
> 0 0 |
45 |
> /dev/cont/tmp /tmp reiserfs noatime |
46 |
> 0 0 |
47 |
> /dev/cont/var-log /var/log reiserfs noatime |
48 |
> 0 0 |
49 |
> /dev/cont/var-www /var/www reiserfs noatime |
50 |
> 0 0 |
51 |
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro |
52 |
> 0 0 |
53 |
> #/dev/fd0 /mnt/floppy auto noauto |
54 |
> 0 0 |
55 |
> |
56 |
> # NOTE: The next line is critical for boot! |
57 |
> none /proc proc defaults |
58 |
> 0 0 |
59 |
> |
60 |
> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for |
61 |
> # POSIX shared memory (shm_open, shm_unlink). |
62 |
> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will |
63 |
> # use almost no memory if not populated with files) |
64 |
> # Adding the following line to /etc/fstab should take care of this: |
65 |
> |
66 |
> none /dev/shm tmpfs defaults |
67 |
> 0 0 |
68 |
> |
69 |
> |
70 |
> df -h |
71 |
> Filesystem Size Used Avail Use% Mounted on |
72 |
> /dev/hda2 479M 80M 399M 17% / |
73 |
> none |
74 |
> |
75 |
> |
76 |
> pvscan |
77 |
> PV /dev/hda3 VG cont lvm2 [111.23 GB / 6.74 GB free] |
78 |
> Total: 1 [111.23 GB] / in use: 1 [111.23 GB] / in no VG: 0 [0 ] |
79 |
> |
80 |
> vgscan |
81 |
> Reading all physical volumes. This may take a while... |
82 |
> Found volume group "cont" using metadata type lvm2 |
83 |
> |
84 |
> vgchange -a y |
85 |
> device-mapper: deps ioctl failed: Invalid argument |
86 |
> _deps: task run failed for (254:0) |
87 |
> Failed to add device (254:0) to dtree |
88 |
> device-mapper: deps ioctl failed: Invalid argument |
89 |
> _deps: task run failed for (254:1) |
90 |
> Failed to add device (254:1) to dtree |
91 |
> device-mapper: deps ioctl failed: Invalid argument |
92 |
> _deps: task run failed for (254:2) |
93 |
> Failed to add device (254:2) to dtree |
94 |
> device-mapper: deps ioctl failed: Invalid argument |
95 |
> _deps: task run failed for (254:3) |
96 |
> Failed to add device (254:3) to dtree |
97 |
> device-mapper: deps ioctl failed: Invalid argument |
98 |
> _deps: task run failed for (254:4) |
99 |
> Failed to add device (254:4) to dtree |
100 |
> device-mapper: deps ioctl failed: Invalid argument |
101 |
> _deps: task run failed for (254:5) |
102 |
> Failed to add device (254:5) to dtree |
103 |
> device-mapper: deps ioctl failed: Invalid argument |
104 |
> _deps: task run failed for (254:6) |
105 |
> Failed to add device (254:6) to dtree |
106 |
> device-mapper: deps ioctl failed: Invalid argument |
107 |
> _deps: task run failed for (254:7) |
108 |
> Failed to add device (254:7) to dtree |
109 |
> 8 logical volume(s) in volume group "zoom" now active |
110 |
> 248M 0 248M 0% /dev/shm |
111 |
> |
112 |
> Any further suggestions how to troubleshoot or fix the issue ? |
113 |
> |
114 |
> ~Barny |