diff options
Diffstat (limited to 'zarb-ml/mageia-discuss/20110610/004674.html')
| -rw-r--r-- | zarb-ml/mageia-discuss/20110610/004674.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/zarb-ml/mageia-discuss/20110610/004674.html b/zarb-ml/mageia-discuss/20110610/004674.html new file mode 100644 index 000000000..fcdc81ad3 --- /dev/null +++ b/zarb-ml/mageia-discuss/20110610/004674.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-discuss] Partitioning tools + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Partitioning%20tools&In-Reply-To=%3C4DF19773.4000002%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="004698.html"> + <LINK REL="Next" HREF="004675.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-discuss] Partitioning tools</H1> + <B>andre999</B> + <A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Partitioning%20tools&In-Reply-To=%3C4DF19773.4000002%40laposte.net%3E" + TITLE="[Mageia-discuss] Partitioning tools">andr55 at laposte.net + </A><BR> + <I>Fri Jun 10 06:02:59 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="004698.html">[Mageia-discuss] Does exist equivalent to Mandriva's mirror list files in mageia? +</A></li> + <LI>Next message: <A HREF="004675.html">[Mageia-discuss] Forum or mailing list +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4674">[ date ]</a> + <a href="thread.html#4674">[ thread ]</a> + <a href="subject.html#4674">[ subject ]</a> + <a href="author.html#4674">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>David W. Hodgins a écrit : +><i> +</I>><i> On Thu, 09 Jun 2011 09:33:23 -0400, Doug Lytle <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">support at drdos.info</A>> wrote: +</I>><i> +</I>>><i> I've purchased a Hitachi 3TB drive that uses 4k sectors. +</I>><i> +</I>><i> The drive is using 4k physical sectors. Is it using 512 byte logical +</I>><i> sectors or 4k logical sectors? +</I>><i> +</I>><i> If it's using 4k logical sectors, you don't have to worry about +</I>><i> alignment. +</I>><i> +</I>><i> If it's using 512 byte logical sectors, then you have two things to do. +</I>><i> +</I>><i> Ensure partitions are aligned on 4k boundaries. +</I>><i> +</I>><i> Use a gpt partition table, instead of a msdos style partition table, +</I>><i> as the msdos partition table cannot address anything beyond 2TB, due +</I>><i> to the use of 32 bit sector numbers. +</I> +A gpt partition table is also more secure, with a backup table at the end of the disk. +Gpt typically has 128 partitions, all primary. Gpt doesn't have secondary partitions, thus +avoiding the associated daisy-chaining. Additionally, a gpt table takes less space than the +equivalent mbr format with secondary partitions. +><i> +</I>><i> I'd use gparted to partition the drive. In gparted, select Device, +</I>><i> Create partition table, Advanced, and use the drop down button to +</I>><i> select a partition table type of gpt. This creates a msdos style +</I>><i> mbr with a fake 2TB partition, so that older partitioning tools +</I>><i> like fdisk won't see any free space, and uses the guid partition +</I>><i> table to store information about the real partitions. See +</I>><i> <A HREF="http://en.wikipedia.org/wiki/GUID_Partition_Table">http://en.wikipedia.org/wiki/GUID_Partition_Table</A> for details. +</I>><i> +</I>><i> I think gparted will default to aligning the partitions on 1MB +</I>><i> boundaries, which is a multiple of 4k. +</I> +That is my understanding as well. + +><i> After you've partitioned the drive with gparted, you may be able to +</I>><i> use diskdrake to specify the mount points, and create the fstab +</I>><i> entries, but I'm not sure if it will work with a gpt partition table, +</I>><i> as I've never tried it. +</I> +It would be much _safer to simply edit /etc/fstab to change the mount points. (Creating any +corresponding folders as needed.) +You _could_ use diskdrake to specify the mount points, but it is very risky to do any other changes. +When I tried some other changes with Mandriva 2010.0, it corrupted the partition table -- every +time. (I didn't realise the cause until I specifically tested for corruption.) +I had to boot using systemrescuecd, and use gdisk on the cd, to repair the partition table. +(If you procede carefully, gdisk, now in Mageia, is a useful tool for gpt disks, much like fdisk +for mbr disks.) + +><i> +</I>><i> Regards, Dave Hodgins +</I> +-- +André +</PRE> + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="004698.html">[Mageia-discuss] Does exist equivalent to Mandriva's mirror list files in mageia? +</A></li> + <LI>Next message: <A HREF="004675.html">[Mageia-discuss] Forum or mailing list +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#4674">[ date ]</a> + <a href="thread.html#4674">[ thread ]</a> + <a href="subject.html#4674">[ subject ]</a> + <a href="author.html#4674">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss +mailing list</a><br> +</body></html> |
