Re: Disk partition alignment
"Gilles Espinasse" <[email protected]>
| Newsgroups | gmane.comp.security.ipcop.devel |
|---|---|
| Message-ID | <001001cc00c1$8aedcc30$f9b5a8c0@pii350> |
----- Original Message ----- From: "Marcos Felipe Rasia de Mello" <[email protected]> To: "Gilles Espinasse" <[email protected]>; <[email protected]> Sent: Sunday, April 17, 2011 8:23 PM Subject: Re: [IPCop-devel] Disk partition alignment > >> The right way to force the old aligment is parted's "-a cylinder" > >> option. With the option, start of the first partition can be > >> represented by 0% and parted will put it in sector 63. > >> > > Why not simply use the 2048 sector shift? > > When you use "-a cylinder", parted use by default cylinder as unit. > There are various ways: 0%, 0 (partition will start at the first > cylinder, or sector 63), 63s. If you keep the beginning of the first > partition at sector 63, I think you should use "-a cylinder", so the > second partition will *also* be cylinder aligned. > To my understanding, cylinder alignment is a requirement from the past except on sparc where the boot partition have to start on a cylinder boudary. http://tldp.org/HOWTO/Large-Disk-HOWTO-6.html So we should better not use cylinder as this concept was outdated long time ago. Gilles ------------------------------------------------------------------------------ Fulfilling the Lean Software Promise Lean software platforms are now widely adopted and the benefits have been demonstrated beyond question. Learn why your peers are replacing JEE containers with lightweight application servers - and what you can gain from the move. http://p.sf.net/sfu/vmware-sfemails