var (parted) mkpart primary ext4 57GiB 200GiB
swap (parted) mkpart primary linux-swap 29GiB 57GiB
home (parted) mkpart primary ext4 57GiB 200GiB
srv (parted) mkpart primary ext4 200GiB 100%
Reboot into single-user mode where services aren't started and networking is offline.
# init 1
Copy the data:
cp -apx /srv/* /mnt/srvRename directory, for later backup;
mv /srv /srv.old mkdir /srv
Edit the /etc/fstabfile:
# Server Data /srv UUID=6fadcb98-e442-4af7-a5f2-1ddb6100a8c4 /srv ext4 defaults 0 2
Reboot in normal mode.
Read Raid Setup, the only thing you will need outside system is: "Patience, Pizza, and your favorite caffeinated beverage.". Arch Wiki article about Sofware RAID and LVM.
Basic idea behind RAID is to deal with independent disks as an array of drives. Raid 0 uses two or more disks as one, with performance gains without fault-tolerance. From raid 1 to 6 they offer diferent fault tolerance mechanisms.
LVM or Logic Volume Manager bring one more layer, read Lvm made easy. Partitions under lvm are easy to be resized, moved and there is a tool to help encrypt. There is more freedom to name physical disk names exp; production, development, backups...
Until now "from install" there is only one partition, it is good idea to have a system with diferent partitions for each propos. If is a "fresh install";
# cd /iso/crux/opt/ # pkgadd lvm2#2.02.107-1.pkg.tar.xz #
Create a LVM partition, fdisk should show something like this;
# fdisk /dev/sdb Welcome to fdisk (util-linux 2.26.1). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: E37FE96F-9845-45A4-B6DA-BF3F8E47511A Device Start End Sectors Size Type /dev/sdb1 2048 8056 6009 3M BIOS boot /dev/sdb2 8192 18440191 18432000 8.8G Linux filesystem Command (m for help):
*.o
*.exe
*.dll
*.so
*.zip
*.iss
nimcache
lib/nimcache
tools/nimcache
tests/nimcache
tests/accept/run/nimcache
tests/accept/compile/nimcache
tests/reject/nimcache
rod/nimcache
rod/c2nim/nimcache
rod/pas2nim/nimcache
rod/tinyc
misc
doc/*.html
web/upload/*.html