Hi,

I recently synced my Gentoo (2.6.7-gentoo-r13) and after emerging
updated ebuilds, sure lvm2 was one of them and a reboot I lost my
mounted fs.

Fortunately I do not have / (root) under LVM however all efforts so far
haven't brought my fs back:

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of
storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>                  <mountpoint>    <type>          <opts>
        <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            noauto,noatime
        0 0
/dev/hda2               /               reiserfs        noatime
        0 0
/dev/cont/swap          none            swap            sw
        0 0
/dev/cont/usr           /usr            reiserfs        noatime
        0 0
/dev/cont/var           /var            reiserfs        noatime
        0 0
/dev/cont/home          /home           reiserfs        noatime
        0 0
/dev/cont/tmp           /tmp            reiserfs        noatime
        0 0
/dev/cont/var-log       /var/log        reiserfs        noatime
        0 0
/dev/cont/var-www       /var/www        reiserfs        noatime
        0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro
        0 0
#/dev/fd0               /mnt/floppy     auto            noauto
        0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults
        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none                    /dev/shm        tmpfs           defaults
        0 0


df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             479M   80M  399M  17% /
none


pvscan
  PV /dev/hda3   VG cont   lvm2 [111.23 GB / 6.74 GB free]
  Total: 1 [111.23 GB] / in use: 1 [111.23 GB] / in no VG: 0 [0   ]

vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "cont" using metadata type lvm2

vgchange -a y
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:0)
  Failed to add device (254:0) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:1)
  Failed to add device (254:1) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:2)
  Failed to add device (254:2) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:3)
  Failed to add device (254:3) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:4)
  Failed to add device (254:4) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:5)
  Failed to add device (254:5) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:6)
  Failed to add device (254:6) to dtree
  device-mapper: deps ioctl failed: Invalid argument
  _deps: task run failed for (254:7)
  Failed to add device (254:7) to dtree
  8 logical volume(s) in volume group "zoom" now active
          248M     0  248M   0% /dev/shm

Any further suggestions how to troubleshoot or fix the issue ?

~Barny
-- 
gentoo-user@gentoo.org mailing list

Reply via email to