Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] LVM2 Problems Jure Varlec <exzombie@×××××××××××××××.net>
Re: [gentoo-user] LVM2 Problems Richard Fish <bigfish@××××××××××.org>
Re: [gentoo-user] LVM2 Problems "Boyd Stephen Smith Jr." <bss03@××××××××××.net>