![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
stop auto-mounting dmcrypt/LUKS at boot?
Hey everybody,
I've recently set up an LUKS-encrypted raid mirror on my fileserver, which went smoothly and is working just fine; manpages and a little googling was all it took. However, I now face the problem that the gentoo initscripts wants to mount the partition at runtime, prompts for passphrase and has very long timeout, which isn't very nice for a server that I want to be able to remote-boot. I've been searching both the web and newsgroups, but haven't been able to find a solution for this (indeed, my google-fu is weak). If I remove the entry from /etc/conf.d/dmcrypt , the auto-mounting (and thus passphrase-asking) doesn't happen, which is just fine; having SSH in and do cryptsetup manually is no problem. The problem with this approach, however, is (obviously ) that the crypt mapping isn't takendown on boot/shutdown, so if I forget to do it manually, the raid won't dismount cleanly. Is there some clean way to not auto-mount but have auto-dismount on shutdown, or should I go hunt for some existing shutdown script I can hack a dismount line into? Thanks in advance! |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |