Re: partition table numberings

From: Ritesh Raj Sarraf (riteshsarraf_at_users.sourceforge.net)
Date: 03/20/05

  • Next message: J. Grant: "debian sarge lockup, requing forced reset"
    To: debian-user@lists.debian.org
    Date: Mon, 21 Mar 2005 00:21:06 +0530
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Ritesh Raj Sarraf wrote:

    > Hello People,
    >
    > Following is my concern,
    >
    > - -------------------
    > laptop:~# fdisk -l /dev/hda
    >
    > Disk /dev/hda: 30.0 GB, 30005821440 bytes
    > 255 heads, 63 sectors/track, 3648 cylinders
    > Units = cylinders of 16065 * 512 = 8225280 bytes
    >
    > Device Boot      Start         End      Blocks   Id  System
    > /dev/hda1               1          18      144553+  83  Linux
    > /dev/hda2   *          19         444     3421845    b  W95 FAT32
    > /dev/hda3             445        3648    25736130    5  Extended
    > /dev/hda5             445         507      506016   82  Linux swap
    > /dev/hda6             508        1966    11719386   83  Linux
    > /dev/hda7            2514        3648     9116856   83  Linux
    > /dev/hda8            2159        2513     2851506   83  Linux
    > /dev/hda9            1967        2158     1542208+  82  Linux swap
    >
    > Partition table entries are not in disk order
    > laptop:~#
    > - --------------------
    >
    > Is this something to worry about? I just modified my partition table using
    > parted to make a new swap partition. Previously / was /dev/hda8 and now
    > it's /dev/hda7. Everything is working fine for me.
    >
    > Just the message, "Partition table entries are not in disk order".
    > Is it something to worry about? Will it slowly damage my disk?
    >

    So here I am with being able to solve the problem.

    Following is the procedure:
    fdisk /dev/hda
    x - Enter to expert mode
    f - Fix the partition order.
    w - Commit changes.

    Modify the /etc/fstab and /boot/grub/menu.lst files accordingly.
    I'm done and everything is shown perfect.

    Now my questions,
    I did all this to solve the occasional hibernation problem that I faced
    which I suspected to be because of less swap space (My physical RAM is 768
    and my swap was 512).

    How many read/write heads does an IDE disk have (Eg a 30GB IDE Disk) ?
    Does having multiple swaps on one single disk enhance/degrade the
    performance ?
    Should I merge the two swaps to one single swap ?

    TIA,

    rrs
    - --
    Ritesh Raj Sarraf
    RESEARCHUT -- http://www.researchut.com
    Gnupg Key ID: 04F130BC
    "Stealing logic from one person is plagiarism, stealing from many is
    research".
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFCPcYg4Rhi6gTxMLwRAvZDAJ9EsQEje2m+31tq9IsD1DGpsvJyEQCfVeiJ
    PWoWUQ8bOtdXTlaOkstcgdA=
    =grLH
    -----END PGP SIGNATURE-----

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: J. Grant: "debian sarge lockup, requing forced reset"

    Relevant Pages

    • Re: Hibernation woes
      ... this) or a swap PARTITION needs to be created from disk space ... which I take to mean unformatted free physical unused disk space just ... swap "file" creation and change. ... Unfortunately this is a dual boot machine (XP and Ubuntu) and will ...
      (Ubuntu)
    • Re: I HATE WINDOWS!
      ... stable and easily backed up system, how would you partition a headless ... considering a system with two or three hard drives. ... Higher data rates are achieved at the beginning of the disk. ... Swap would probably be next if you have one drive. ...
      (alt.os.linux)
    • Re: swap_pager complaints but not using swap
      ... using a whole 96K of swap. ... I don't see any disk related ... Traditionally swap used the b partition. ... virtual memory support. ...
      (freebsd-questions)
    • Re: Security of data in memory
      ... swap partition, key protection, secure data deletion. ... being stolen or otherwise disclosed they will often respond with filesystem ... permissions on a file, user, group and other as a bare minimum. ...
      (SecProg)
    • Re: Linux community software-update-anarchy polemic
      ... Remember, I'm just a monkey. ... That implies that if you have one disk per partition, ... Trust the kernel or don't trust the kernel, but either way, both ...
      (comp.os.linux.misc)