Problem with GPT and a 12TB RAID-5 partition

Stephan Hermann sh at sourcecode.de
Tue Sep 14 12:30:31 CEST 2010


Hi Garb,


On Monday, September 13, 2010 05:30:17 pm Garb Dowle wrote:
> Hi!
> 
> Thanks Stephan, with your hint I managed to get Ubuntu 10.04 installed on
> the 12TB RAID5, but not without a little interaction during the install
> process. I used following setup-storage config:
> 
> 
> ----------------------------------------------------------------------
> # <type> <mountpoint> <size>   <fs type> <mount options> <misc options>
> 
> disk_config /dev/sda disklabel:gpt
> primary  -             1        -               -
> 
> primary  /boot         200      ext3          defaults
> primary  swap          4G          swap          defaults
> primary  -             100G-       -               -
> 
> disk_config lvm
> vg system /dev/sda4
> system-rootlv         /               20G     xfs     defaults
> system-homelv         /home           5G      xfs     defaults
> system-tmplv          /tmp            10G     xfs     defaults
> system-usrlv          /usr            10G     xfs     defaults
> system-varlv          /var            10G     xfs     defaults
> system-optlv          /opt            10G     xfs     defaults
> system-srvlv          /srv            10G     xfs     defaults
> 
> ------------------------------
> ----------------------------------------
> 
> The first partition for /dev/sda is the bios partition. I don't know how to
> set the neccessary flag "bios_grub" for it in this config file. If it's not
> set, then grub-pc won't install correctly and the system will not boot.

I wonder why you really want your system on a GPT partitioned drive.
For Data Storage, GPT is ok, but for the System you should think about just 
using msdos labled partition, and split the Raid Disks into two volumes.
(I don't know which Raid Controller you are using, but e.g. with Areca you can 
just create a raid5 array (or in TB areas, I really like Raid6) and split this 
up into two volumes, which are for the linux kernel two drives).

Anyways, if bios_grub is a fstab flag, you should set it after the partition 
like for /boot.

Regards,

\sh


More information about the linux-fai mailing list