[Bug 719563] Re: mountall: fatal error: cannot open /dev/mapper/crypthome_unformatted

Thorsten Kohfeldt thorsten.kohfeldt at gmx.de
Fri May 4 03:35:41 UTC 2012


Hi Steve,

to #6:
I confirm using UUIDs in /etc/fstab (actually I already stated that in #3).


to #8:
Interresting.

Is that supposed to be common knowledge ?
I only figured it out the hard way, summarising just that in #3.
Also it seems it was not obvious to Daniel.
Who knows how many people solved it accidentally by "restructuring" their fstab.

Do you think it suffices to have that stated just in comment #8 of this bug description ?
The same problem happened to me when I was setting up previous systems (in the last 2-3 years):
The installation process created an fstab with UUIDs and when I "moved" around files systems "between devices of different dm-layer config properties" (.i.e. in order to get a previously unencrypted fs encrypted),
OF COURSE I felt those fstab UUIDs should be left alone.
That is communicated "everywhere" as the whole point of the UUIDs of file systems.
Each time I spent an arbitrary amount of "reboot days" until everything worked again.
Each time I only accidentally ended up with an fstab without UUIDs.

Cryptsetup and/or mountall could at least spit some kind of warning if
the unsupported case is encountered, at least if the boot process just
got stuck.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/719563

Title:
  mountall: fatal error: cannot open /dev/mapper/crypthome_unformatted

Status in “cryptsetup” package in Ubuntu:
  Won't Fix
Status in “mountall” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: mountall

  I have upgraded from Maverick to Natty yesterday, while there are
  still some (apparently irrelevant) packages pending.

  I am using cryptsetup and after entering the passphrase for my crypthome device (where keys for other devices are stored), I am getting a fatal error from mountall (translated from German):
    fsck.ext4: file/dir not found when trying to access /dev/mapper/crypthome_unformatted - Possibly non-existent device?
    mountall: fsck /home [$ID] exited with code 8
    mountall: fatal fsck error: /home

  Then it says that /root is still not mounted, which resides on /home,
  and nothing happens anymore.

  I can fix this using the "M"anual recovery, and doing the following:
  1. mount /home
  2. start every cryptdisk device using cryptdisk_start (necessary for all of them except crypthome)
  3. mount -a
  4. ctrl-d
  --- 
  Architecture: i386
  DistroRelease: Ubuntu 11.04
  NonfreeKernelModules: nvidia
  Package: mountall 2.21
  PackageArchitecture: i386
  ProcEnviron:
   LANGUAGE=de_DE:de:en_US:en_GB:en
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/zsh
  ProcVersionSignature: Ubuntu 2.6.38-3.30-generic 2.6.38-rc4
  Tags: natty
  Uname: Linux 2.6.38-3-generic i686
  UserGroups: adm admin audio cdrom dialout dip floppy fuse libvirtd lpadmin plugdev pulse sambashare sbuild scanner src video

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/719563/+subscriptions




More information about the foundations-bugs mailing list