SCIENTIFIC-LINUX-USERS Archives

July 2012

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text 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:
Todd And Margo Chester <[log in to unmask]>
Reply To:
Todd And Margo Chester <[log in to unmask]>
Date:
Sun, 29 Jul 2012 19:59:39 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
> On Sun, Jul 29, 2012 at 7:37 PM, Todd And Margo Chester
> <[log in to unmask] <mailto:[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


On 07/29/2012 06:15 PM, Tam Nguyen wrote:> 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
 >


Yes, did all that.   I can mount too.  But, when I reboot,
lin-bak disappears from /var/mapper.   AAAHHHH!

-T

ATOM RSS1 RSS2