linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dennison Williams <evoltech@2inches.com>
To: linux-crypto@vger.kernel.org
Subject: Re: ext3 filesystem is not recognized after losetup -e aes
Date: Mon, 07 Jan 2008 12:37:28 -0800	[thread overview]
Message-ID: <47828D88.2080903@2inches.com> (raw)
In-Reply-To: <477F2813.3010003@2inches.com>

I am pretty confident that this problem is somewhere in the block driver
/ crypto driver combo and am considering digging through the code.
Before I do can anyone point me in the direction pertinent documentation
, specific drivers, etc.?

Dennison Williams wrote:
> Here is the setup: MD software RAID 5 on 4 disks (md0), a LVM logical
> volume (/dev/volume_group/logical_volume) comprised of one physical
> device (/dev/md0), a encryption layer provided by the cryptoloop driver
> (losetup -e aes /dev/loop0 /dev/volume_group/logical_volume), then a
> EXT3 file system (mkfs.ext3 /dev/loop0).
> 
> Recently the RAID device kicked out one of the disks during a large file
> transfer. After re-adding the disk to the array whith "mdadm /dev/mdo
> -add /dev/sde (smartctl didn't report
> anything wrong with it, I am not sure why this happened), authenticating
> against the cryptographic layer, then trying to mount the drive, I get
> the following error:
> 
> [root@storage redhat]# mount -t ext3 /dev/loop1 /terrorbyte/1/
> mount: wrong fs type, bad option, bad superblock on /dev/loop1,
> 
> The message in /var/log/message is:
> VFS: Can't find ext3 filesystem on dev loop1.
> 
> I then tried to e2fsck the /dev/loop1 partition with all of the
> different blocks that were reported from:
> mke2fs -n /dev/loop1
> with no luck still.
> 
> I don't think that LVM has anything to do with it, because on another
> volume group, that didn't loose any drives, there is a encrypted logical
> volume that has the same problem.  Actually all of the drives that I
> have encrypted have this problem now. I am unsure of where the problem
> actually is, and how to go about debugging it. Any suggestions would be
> appreciated.
> 
> Sincerely,
> Dennison Williams
> -
> To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
*****************************************************************
* To communicate with me securely, please email me and I will   *
* send you my public key.  We can then verify each others       *
* fingerprints in person, or over the phone.                    *
*                                                               *
* I am open and willing to talk about setting up PGP, the       *
* security problems inherent with PGP, and alternatives to PGP  *
* for secure electronic communication.                          *
*****************************************************************

      parent reply	other threads:[~2008-01-07 20:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05  6:47 ext3 filesystem is not recognized after losetup -e aes Dennison Williams
2008-01-06  0:32 ` Dennison Williams
2008-01-07 20:37 ` Dennison Williams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47828D88.2080903@2inches.com \
    --to=evoltech@2inches.com \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).