piefke n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 05 Sep 2003 Posts: 57
|
Posted: Thu Oct 09, 2003 12:33 am Post subject: error on mounting encrypted filesystem |
|
|
hey,
yesterday i had the idea to encrypt a partition. :)
kernel got patched by jars-cryptoloop-patch (i am using 2.4.22 vanilla)
all went ok, attached partition to loop0, used twofish, formatted with reiserfs.
ok, i mounted it and .. it works!
so i tested reattaching at, and no error occurs.
ok > 15gb of data take their place in this new encrypted filesystem ..
summarized:
losetup -e twofish /dev/loop0 /dev/hda6
mkreiserfs /dev/loop0
mount -t reiserfs /dev/loop0 /mnt/crypt
reading/writing data works fine.
some hours later -> systemcrash (don't ask why *g*)
after a new start, i wasn't able to mount the partition
mount -t reiserfs /dev/loop0 /mnt/crypt
-> mount: Not a directory
loop0 was attached, password is correct .. otherwise an error about bad superblock etc would occur.
kernellog says:
for (loop(7,0))
is_tree_node: node level 44722 does not match to the expected one 3
loop(7,0):vs-5150: search_by_key: invalid format found in block 30245. Fsck?
loop(7,0):vs-13070: reiserfs_read_inode2: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
while the crash and logically reboot the partition was known to fstab, as ntfs (ro), so no filesystemcheck should corrupt it.
hope you can help
thanks
piefke |
|