Re: [Aoetools-discuss] Introduction
Brought to you by:
ecashin,
elcapitansam
From: kelsey h. <kh...@dr...> - 2008-07-09 16:53:46
|
Hi Phil, Phillip Bennett wrote: > I've been at this all day and can't find a thing! > > I've tried using a boot parameter, but nothing worked... fdisk and > sfdisk can't do GPT partition tables, and parted which can, doesn't do CHS! Due to the nature of GUID partition tables, their use will always result in misaligned access. Always. > Do you have any words for the wise? Avoid GPT. If you require a filesystem greater than 1.75 Tbytes (loath as I am to admit this) export additional AoE targets to the initiator and concatenate them with LVM into one giant PV (I know, it's *dirty*). > I just can't seem to get this to work... Use fdisk on the AoE device. Press 'o' to create a new DOS partition table. Go into e(x)pert mode. Use the (h)eads command to change the number of heads to 248, the (s)ectors/track option to change the number of sectors per track to 56. Calculate the number of cylinders using the formula I gave you in my previous email. Use the (c)ylinders option to specify the new value (round down). (r)eturn to the main menu and create a partition and write the table to disk. Creating the partition is the important part -- if you don't create the partition first then nothing will know how to calculate the geometry when the virtual disk is read. There isn't anywhere in the partition table where the geometry information is kept. It's derived from the partition sizes. > PS: I've managed to get sfdisk to do it on a 768GB partition. When I > use sfdisk a second time, it reports that the partition table has been > built with the wrong parameters, but it'll use it for this session... I > formatted the partition and exported it with qaoed but got exactly the > same problem. I think I'm going to go crazy here! :( Hm. Maybe you're partitioning the wrong device. :) The target can partition its devices however you choose (the target machine is the one on which you run vblade or qaoed). It's the *initiator* that must partition its AoE devices with wacky geometry. Let me know if you have any more questions. Cheers, -Kelsey |