[dundee] Raid 1 + Encryption
Lee Hughes
toxicnaan at yahoo.co.uk
Fri Feb 6 17:48:53 UTC 2009
Well, I'm brickwalling on this.
I should be able to do a raid install with this..
according to http://d-i.alioth.debian.org/manual/en.i386/install.en.txt
I should be able to lvm , raid and crypt installs using preseed..
can I get to work thought?!! :-(
according to the docs....
I preseed with this, but can I get it work???
# The method should be set to "raid".
#d-i partman-auto/method string raid
# Specify the disks to be partitioned. They will all get the same layout,
# so this will only work if the disks are the same size.
#d-i partman-auto/disk string /dev/discs/disc0/disc /dev/discs/disc1/disc
# Next you need to specify the physical partitions that will be used.
#d-i partman-auto/expert_recipe string \
# multiraid :: \
# 1000 5000 4000 raid \
# $primary{ } method{ raid } \
# . \
# 64 512 300% raid \
# method{ raid } \
# . \
# 500 10000 1000000000 raid \
# method{ raid } \
# .
# Last you need to specify how the previously defined partitions will be
# used in the RAID setup. Remember to use the correct partition numbers
# for logical partitions.
# Parameters are:
# <raidtype> <devcount> <sparecount> <fstype> <mountpoint> \
# <devices> <sparedevices>
# RAID levels 0, 1, 5, 6 and 10 are supported; devices are separated using "#"
#d-i partman-auto-raid/recipe string \
# 1 2 0 ext3 / \
# /dev/discs/disc0/part1#/dev/discs/disc1/part1 \
# . \
# 1 2 0 swap - \
# /dev/discs/disc0/part5#/dev/discs/disc1/part5 \
# . \
# 0 2 0 ext3 /home \
# /dev/discs/disc0/part6#/dev/discs/disc1/part6 \
# .
# This makes partman automatically partition without confirmation.
d-i partman-md/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
--- On Fri, 6/2/09, Lee Hughes <toxicnaan at yahoo.co.uk> wrote:
From: Lee Hughes <toxicnaan at yahoo.co.uk>
Subject: Re: [dundee] Raid 1 + Encryption
To: "Tayside Linux User Group" <dundee at lists.lug.org.uk>, "Sean McRobbie" <lug at seany.us>
Date: Friday, 6 February, 2009, 2:34 PM
Right, seems I've hit another snag. I need to use the debian installer, because I use
it to netboot machine, and use the bebian installer to get it on it's feet.
It seems that I've come up with a configuration the partman can't handle.
has anyone be able to tell d-i and partman raid+lvm+encryption?
is it possible to just forget partman, and run a shell script , then continue with a normal
installtion?
Hope you can help!!
Cheers,
Lee
--- On Wed, 4/2/09, Sean McRobbie <lug at seany.us> wrote:
From: Sean McRobbie <lug at seany.us>
Subject: Re: [dundee] Raid 1 + Encryption
To: toxicnaan at yahoo.co.uk, "Tayside Linux User Group" <dundee at lists.lug.org.uk>
Date: Wednesday, 4
February, 2009, 4:11 PM
Hello,
The alternate install CD for Ubuntu Server provides RAID+LVM+LUKS. I have
successfully set up plenty of Ubuntu servers using nothing more than their
installer for RAID1 drives.
With the installer, I *think* the process goes like this:
Create 256mb raid disk md0 on drive 1
Create 256mb raid disk md0 on drive 2
Create 2GB swap on drive 1
Create 2GB swap on drive 2
Create raid disk md1 on remaining space on both drives
Create /boot on md0 as ext2
Create LVM on md1
(my memory fails at this point) Create ext3 LUKS on the LVM.
Hope this helps
Regards,
Sean McRobbie
----- Original Message -----
From: "Lee Hughes" <toxicnaan at yahoo.co.uk>
To: dundee at lists.lug.org.uk
Sent: Wednesday, 4 February, 2009 14:13:06 GMT +00:00 GMT Britain, Ireland,
Portugal
Subject: [dundee] Raid 1 + Encryption
okay, now here's a question
for you..
after following the *excellent guide here*
http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/
I got a very good raid 1 setup, it's suprising stable and quick.
However , how does one add encrypted raid 1? is it possible ? I'm sure
it's out
the power of the normal install....
go an scare me with a config or two..
Cheers,
Lee
_______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk
_______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on
dundee.lug.org.uk
_______________________________________________
dundee GNU/Linux Users Group mailing list
dundee at lists.lug.org.uk http://dundee.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/dundee
Chat on IRC, #tlug on dundee.lug.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/dundee/attachments/20090206/c5139a04/attachment.htm
More information about the dundee
mailing list