I’ll try to keep this one quick; I am already short on time this weekend because of personal obligations. But I also think gdisk is something that resembles fdisk enough (and even perhaps cfdisk and some other partition tools) that mentioning it at all is a rehash of sorts.
Anyway, feast thine eyes:
gdisk, for what I have seen, just about matches fdisk keypress for keypress, with the major difference being its relative comfort in working with the newer generation of hard drives that use GUID partition tables and not MBR style.
Wikipedia tells me the changeover took place sometime around 2009, and so it doesn’t surprise me that I use it so rarely. The newest, most powerful machine I have in the house right now is 8 years old, and I’m wondering if it isn’t time for me to upgrade that. …
I wouldn’t want to fall behind on the times, now would I? 🙄
Tagged: disk, drive, hard, hdd, information, manager, partition, system
list drives by typing fdisk -l
create a primary partition and make it Linux Raid Auto partition for each drive.
fd = Linux raid auto
1. type n for new
2. type p for primary
2. 1 for first partition
3. T for type
4. fd for Linux Raid Auto
5. do this for all the drives you want to include.
6. fdisk /dev/sdc
then follow the steps above
7. fdisk /dev/sdd
then follow steps above.
Create the raid0 partition (Raid0 is no redundancy but adds the space together.
mdadm –create –verbose /dev/md0 –level=0 –raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1
setup the encryption and the encryption password.
cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/md0 cryptsetup luksOpen /dev/md0 burn
Format the newly created raid0 partition
mkfs -t ext3 /dev/mapper/burn
Make directory to mount new partition
Mount the new raid0 partition.
mount /dev/mapper/burn /raid0
Done deal! Your now have setup a drive with encryption and a Raid0 partition. It does require a password to mount the drive.