Seems like btrfs and ext4 partitioning is beyond my skills :(CoreOS installation formats my drive and create a big btrfs partition? Running Postgresql my machine I want my drive to be 50% btrfs, 50% ext4? Reviewing Darren's and Rob's examples there is no information how to split the btrfs and ext4 partitions to specific sizes. Is it assumed that I have attached a second drive to my machine?
What it seems to saying is to grab the entire raid you created (/dev/md0) and then making it ext4. So, you need to then partition it; does it have parted? If not, what does it use to partition the disk? Anywhoo, I would have the disk partition just before this line, which would be replaced with/bin/yes | mdadm --create --verbose -f /dev/md0 --level=stripe --raid-devices=2 ${BLOCKS}mkfs.ext4 /dev/md0touch /etc/${MACHINE_ID}.raid-setup
Look at the linemkfs.ext4 /dev/md0mkfs.ext4 /dev/md0.1mkfs.ext4 /dev/md0.2
[Mount]What=/dev/md0Where=/media/dataType=ext4
On Tuesday, July 15, 2014 6:19:56 AM UTC-4, Dan Byström wrote:Seems like btrfs and ext4 partitioning is beyond my skills :(CoreOS installation formats my drive and create a big btrfs partition? Running Postgresql my machine I want my drive to be 50% btrfs, 50% ext4? Reviewing Darren's and Rob's examples there is no information how to split the btrfs and ext4 partitions to specific sizes. Is it assumed that I have attached a second drive to my machine?
I really suck as systemd (just see my postings here if you want to have alaugh at my expense), but I *think* this is where you want to do some massaging:
What it seems to saying is to grab the entire raid you created (/dev/md0) and then making it ext4. So, you need to then partition it; does it have parted? If not, what does it use to partition the disk? Anywhoo, I would have the disk partition just before this line, which would be replaced with/bin/yes | mdadm --create --verbose -f /dev/md0 --level=stripe --raid-devices=2 ${BLOCKS}mkfs.ext4 /dev/md0touch /etc/${MACHINE_ID}.raid-setup
Look at the linemkfs.ext4 /dev/md0
mkfs.ext4 /dev/md0.1mkfs.brtfs /dev/md0.2
[Mount]What=/dev/md0Where=/media/dataType=ext4