GNU bug report logs -
#22180
Partition alignment using parted
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi Phillip
Thank you very much for reply,
We are using am335x based (Beaglebone Black) custom board with eMMC(4GB).
I have couple more questions regarding partition alignment.
1. Does partition alignment guarantee performance improvement ?
2. Is it required for all the partitions to be aligned ? Because we are creating four raw partitions at the beginning of the eMMC which can't be on 1MB boundary.(because ROM code looks at on 128kb blocks only).
3. Is there any better way to get partition aligned. (I know I sound silly but I wanted to know if there is any better method ).
4. parted is not allowing to use ~340 MB of size at the end of the eMMC, why so ? Am I missing something ?
5. I don't see verbose option for parted in man page, Is there any way to enable it?
I know its atrocious to ask you to look at my partition script and partition calculator excel sheet.
However if you can review them, it would be a great help, I have attached them with this mail.
Any pointers/suggestions ?
Thank you,
Regards,
Ankur
-----Original Message-----
From: Phillip Susi [mailto:psusi <at> ubuntu.com]
Sent: Wednesday, December 23, 2015 6:40 AM
To: Ankur Tank; 22180 <at> debbugs.gnu.org
Cc: artfri2 <at> gmail.com
Subject: Re: bug#22180: Partition alignment using parted
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Control: forcemerge -1 22179
Control: close -1
Partitions can not possibly be created on a fraction of a sector.
Optimal alignment is much larger than a single sector: typically 1 MiB. Create your partitions on 1 MiB boundaries. When you specify the size in bytes or sectors, you are asking for exact placement.
Using conventional units of MB or GB allows parted to move the exact start and end to the nearest preferable location rather than giving that warning.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCgAGBQJWefRxAAoJEBB5UWFcu6UWOEYIAIK+AQhtBKdR8E26kRx+mTrW
ugsZzi2dQMfJ4ECYGBbMMLoXdFr2KSNaNZe6MjESvOxYKCZW6NZMKMeMdvpQNaXq
rHClHg+ra8JNo7QFqGfAn2BWYvbXfnMtmmrUdGRQZQBI8h7KZiIG6gts/GD9uKEO
puqmJEpRku4TQFR1YOEKAJDGlb9DhoKKlTAXInb2Ctzk1RzsP+D1J6DAjGQwPu5x
/L8A7BEuwigq9eFA0KdxCNTzcOv/et+ddwCf600WrbToqeWSSAf+LuMmiYbK2TKH
KEp8lnZfvOZAIv7ogCTNG4X1Dbc8tyEMpOW9MsKp7cOWUjbtDaonaMsNpu+n2AM=
=DBsF
-----END PGP SIGNATURE-----
L&T Technology Services Ltd
www.LntTechservices.com<http://www.lnttechservices.com/>
This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
[partition_emmc.tar.gz (application/x-gzip, attachment)]
[PartitionCalculator_2.xlsx (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, attachment)]
This bug report was last modified 8 years and 76 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.