SCIENTIFIC-LINUX-USERS Archives

July 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tam Nguyen <[log in to unmask]>
Reply To:
Tam Nguyen <[log in to unmask]>
Date:
Sun, 29 Jul 2012 21:15:59 -0400
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (842 bytes) , text/html (1580 bytes)
Hi Todd,
Did you create a file journal (mkfs...) after you executed the command?:

>  # cryptsetup luksOpen /dev/sdb1 lin-bak


Basic steps are:
1) cryptsetup luksFormat /dev/xyz
2) cryptsetup luksOpen /dev/xyz  abc   <---then verify it in /dev/mapper
3) mkfs.ext4 /dev/mapper/abc     <--- i like to use ext4.  Do research on
this journal if you're not clear.
Now that we got it settled.  Come the fun part- automounting:
4) configure your /etc/fstab

5) then configure your /etc/crypttab

Before you reboot your machine, do a tested mount:
>mount -a

-Tam

On Sun, Jul 29, 2012 at 7:37 PM, Todd And Margo Chester <
[log in to unmask]> wrote:

> Hi All,
>
> I can set up "/dev/mapper/lin-bak" with
>
>     # cryptsetup luksOpen /dev/sdb1 lin-bak
>
> but it disappears after I reboot. This messes up my
> crypttab/fstab. Any idea what I am doing wrong?
>
> Many thanks,
> -T
>


ATOM RSS1 RSS2