Re: LUKS partition gone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sean

My 2cents - in no particular order.

1. Since you power-cycled, the chances that your shell history was written to disk are low. It may be valuable to scanvenge it anyways and find out what partition you Luks'ed.

2. Your commandline should be (since fdisk reports no partition):
#> cryptsetup luksDump /dev/sdl
or
#> cryptsetup isLuks /dev/sdl

3. Another possibility could be to go hunt for a partition table on the drive. Google is your friend ("lost partition linux").

4. Luks header lost? Go hunt for it on the disk. Google for "hexdump luks header".

YMMV,
Harald



Sean Bushby wrote:
Hi everyone,

I recently created a 1terebyte encrypted drive.  I managed to unmount, mount
and unmount and mount it again no problems.

My system needed a reboot but would not reboot or poweroff so I power cycled
it.  I never unmounted the Crypt volume before hand.  Once the system came
back up I cant mount the volume?


[root@eve log]# fdisk -l /dev/sdl

Disk /dev/sdl: 1000.2 GB, 1000215724032 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/sdl doesn't contain a valid partition table

[root@eve log]# cryptsetup luksDump /dev/sdl1
Can't open device: /dev/sdl1
Command failed.[root@eve log]# cryptsetup luksDump /dev/sdl
/dev/sdl is not a LUKS partition
Command failed.


Is there anywayu to rebuild the volume?  The data must be there just it's
lost it's header or something?

Thanks in advance,

Regards
Sean


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux