summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-discuss/20110610/004674.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-discuss/20110610/004674.html')
-rw-r--r--zarb-ml/mageia-discuss/20110610/004674.html115
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 &#233;crit :
+&gt;<i>
+</I>&gt;<i> On Thu, 09 Jun 2011 09:33:23 -0400, Doug Lytle &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">support at drdos.info</A>&gt; wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> I've purchased a Hitachi 3TB drive that uses 4k sectors.
+</I>&gt;<i>
+</I>&gt;<i> The drive is using 4k physical sectors. Is it using 512 byte logical
+</I>&gt;<i> sectors or 4k logical sectors?
+</I>&gt;<i>
+</I>&gt;<i> If it's using 4k logical sectors, you don't have to worry about
+</I>&gt;<i> alignment.
+</I>&gt;<i>
+</I>&gt;<i> If it's using 512 byte logical sectors, then you have two things to do.
+</I>&gt;<i>
+</I>&gt;<i> Ensure partitions are aligned on 4k boundaries.
+</I>&gt;<i>
+</I>&gt;<i> Use a gpt partition table, instead of a msdos style partition table,
+</I>&gt;<i> as the msdos partition table cannot address anything beyond 2TB, due
+</I>&gt;<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.
+&gt;<i>
+</I>&gt;<i> I'd use gparted to partition the drive. In gparted, select Device,
+</I>&gt;<i> Create partition table, Advanced, and use the drop down button to
+</I>&gt;<i> select a partition table type of gpt. This creates a msdos style
+</I>&gt;<i> mbr with a fake 2TB partition, so that older partitioning tools
+</I>&gt;<i> like fdisk won't see any free space, and uses the guid partition
+</I>&gt;<i> table to store information about the real partitions. See
+</I>&gt;<i> <A HREF="http://en.wikipedia.org/wiki/GUID_Partition_Table">http://en.wikipedia.org/wiki/GUID_Partition_Table</A> for details.
+</I>&gt;<i>
+</I>&gt;<i> I think gparted will default to aligning the partitions on 1MB
+</I>&gt;<i> boundaries, which is a multiple of 4k.
+</I>
+That is my understanding as well.
+
+&gt;<i> After you've partitioned the drive with gparted, you may be able to
+</I>&gt;<i> use diskdrake to specify the mount points, and create the fstab
+</I>&gt;<i> entries, but I'm not sure if it will work with a gpt partition table,
+</I>&gt;<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.)
+
+&gt;<i>
+</I>&gt;<i> Regards, Dave Hodgins
+</I>
+--
+Andr&#233;
+</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>