On Wed, Oct 12, 2011 at 12:14 PM, Les Mikesell <lesmikesell at gmail.com>wrote: > On Wed, Oct 12, 2011 at 11:09 AM, John R Pierce <pierce at hogranch.com> > wrote: > > >> What's the right way to set up>2TB partitions for raid1 autoassembly? > >> I don't need to boot from this but I'd like it to come up and mount > >> automatically at boot. > > > > disks 2TB and up have to be formatted as GPT rather than MBR, so old MBR > > tools like fdisk are useless. use parted > > > > I would build a LVM vg with the multi-terabyte volumes, using lvm > > mirroring, and then create an XFS lv on the vg .... xfs seems 100% > > stable and high performance on centos6 > > What I'm looking for is the way to make md raid autodetect and > assemble on boot. With fdisk, you would set the partition type to FD > for that, but I don't see an equivalent in parted. > With GPT that's set using flags. This is done in parted with the command "set <partition number> raid on" -- David