You are not logged in.

#1 2008-06-14 18:24:57

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

fsck external luks drive

hi all big_smile
is there any good possibility for checking luks encrypted external drives with fsck?
filesystem is ext3 --> i tried fsck.ext3 /dev/sdb but it didn't work

thx in advance
arch0r

Offline

#2 2008-06-14 22:48:38

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: fsck external luks drive

You have to run fsck on the virtual device you create in /dev/mapper/:
the one you create with
cryptsetup luksOpen /dev/sdb1 THENAME

Of course you can't fsck /dev/sdb: first of all it's the name of the disk, not the partition you want to check,
secondly being encrypted fsck have no idea what it contains.

At least I think, since I never used encryption.

Last edited by carlocci (2008-06-14 22:49:29)

Offline

#3 2008-06-15 10:27:04

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: fsck external luks drive

thx a lot, worked smile

fsck.ext3 /dev/mapper/hd

Offline

Board footer

Powered by FluxBB