Dualboot archlinux/ubuntu on SSD, partition alignement is so fun

Hi people.
I just bought one of those shiny thing called SSD (a Crucial RealSSD C300 64GB) and planning to install Archlinux on it (along with Ubuntu as a test system for running my apps under it and as a backup system, you know for when I'll try the last feature in kernel26-git and will break every thing).
I setup the disk according Tso's numbers : H=225 S=56
I tried to align my partition by hand using a 512kiB and create the ext4 filesystems using :
mkfs.ext4 -b 4096 -E stride=128 /dev/sdaX
Frankly I think that I misunderstood the head/cylinder thing :
- I manage to install Ubuntu (I use it currently)
- but I can't assign partition to mount point in Archlinux installer: it complain about a partition that finishes half of a cylinder.
So my question are:
Should I realign my partition using H=32 S=32 or could I ignore the installer error and mounting the partition myself (and will I loose performances if I do so) ?
Bonus :
The Archlinux wiki page on SSD (http://wiki.archlinux.org/index.php/SSD … _Alignment) does advise to a blocksize of 4kiB and a stride of 128kiB when creating the filesystem. I think it would be nice to advertise on that and I'm willing to add that myself but I not so sure about SSD and partitions so comments are welcome.

Answering to myself and from the man page of ext4.
I was wrong in my previous post, maybe someone will need those informations later so I put them here :
It look like you need to customize block size and stride for raid only, so in my case I don't need it (don't remember where I read about that but I may have misunderstood something again). Furthermore it look like for a filesystem larger than 512MiB mke2fs will pickup a block size of 4kiB (as stated in the default section /etc/mk2fs.conf) of  but I can't find much information on the -T usage_type parameter.
Can't someone correct me if I'm wrong ?

Similar Messages

  • Partitions alignment using cfdisk

    I have a new hard disk which have advance formatting , and I am not sure if I will cfdisk if the partitions will be aligned correctly.
    is there paramers I need to give to enure the partitions are aligned or I can just use it and the partitions will be aligned?
    Last edited by XDarkAngelX (2014-01-08 16:47:04)

    Alber wrote:
    I'm supposing a SSD.
    From wiki:
    Many of the common partition tools handle partition alignment automatically (assuming users are using an up-to-date version):
    https://wiki.archlinux.org/index.php/So … _Alignment
    Edit:
    About advance formatting
    http://en.wikipedia.org/wiki/Advanced_Format
    https://wiki.archlinux.org/index.php/Advanced_Format
    For advanced format partitioning
    https://wiki.archlinux.org/index.php/Ad … Partitions
    ok but do you know if cfdisk supports Aligning Partitions? as it is not menioned in the wiki and I perfer to use it over fdisk

  • Imaging and partition alignment

    We are using ZCM 10.3.1 and the August 2010 Imaging CD to create and
    restore Windows 7 images to wiped conventional and solid state drives.
    We have been running the Windows 7 Experience Index tool to check disk
    performance. We are in the process of moving towards use of solid state
    drives and want to be sure we are getting the best possible performance.
    We have identical model laptops with the same SSD where some will score
    a 7.1 on the disk performance and others will score 5.9.
    In the process of doing more research on solid state drives, we came
    across some info that mentioned the need to have the partition aligned
    for best performance.
    So far we have found that if a laptop had Windows 7 installed directly
    to the solid state drive from the Windows 7 DVD, the partition is
    aligned (determined by taking the partition starting offset and dividing
    it by 4096 - result should be an integer if aligned). These laptops
    score at least a 6.9 on the Windows 7 disk performance test.
    On a laptop that had an image laid down using Zenworks the partition
    always ends up misaligned. These laptops typically score a 5.9 on the
    Windows 7 disk performance test.
    Has anyone else noticed a partition alignment problem when using
    Zenworks imaging ?

    Or maybe run a chkdsk on a freshly imaged machine to see if there are
    errors ?
    On 10/8/2010 2:25 PM, Chris Granitz wrote:
    > Does anyone have anything to offer on this ?
    >
    > Would someone else mind checking the partition alignment on one of their
    > imaged machines ?
    >
    > On 10/5/2010 1:33 PM, Chris Granitz wrote:
    >> Some additional info...
    >>
    >> We have also noticed that if we run Windows Chkdsk on a laptop that was
    >> restored using a Zenworks image (conventional hard drive or solid state
    >> drive), that there a lot of errors that chkdsk corrects. That is
    >> particularly bothersome. Windows seems to otherwise run fine, but
    >> obviously Windows is not totally happy with some aspect of the image
    >> that Zenworks is laying down.
    >>
    >>
    >> On 10/5/2010 1:12 PM, Chris Granitz wrote:
    >>> We are using ZCM 10.3.1 and the August 2010 Imaging CD to create and
    >>> restore Windows 7 images to wiped conventional and solid state drives.
    >>> We have been running the Windows 7 Experience Index tool to check disk
    >>> performance. We are in the process of moving towards use of solid state
    >>> drives and want to be sure we are getting the best possible performance.
    >>> We have identical model laptops with the same SSD where some will score
    >>> a 7.1 on the disk performance and others will score 5.9.
    >>>
    >>> In the process of doing more research on solid state drives, we came
    >>> across some info that mentioned the need to have the partition aligned
    >>> for best performance.
    >>>
    >>> So far we have found that if a laptop had Windows 7 installed directly
    >>> to the solid state drive from the Windows 7 DVD, the partition is
    >>> aligned (determined by taking the partition starting offset and dividing
    >>> it by 4096 - result should be an integer if aligned). These laptops
    >>> score at least a 6.9 on the Windows 7 disk performance test.
    >>>
    >>> On a laptop that had an image laid down using Zenworks the partition
    >>> always ends up misaligned. These laptops typically score a 5.9 on the
    >>> Windows 7 disk performance test.
    >>>
    >>> Has anyone else noticed a partition alignment problem when using
    >>> Zenworks imaging ?
    >>
    >

  • Can't install win 8 x64 on SSD partition on MacBook Pro

    I have a MacBook Pro with a 512gb SSD drive and I'm trying to use Bootcamp to install windows 8 off a flash drive to half of the SSD partition. When I get to the windows installation screen after reboot, it tells me I can't install to that partition that Bootcamp created and that my hardware might not support booting aff that partition. I tried deleting it and reformatting it but that didn't work.
    Does anyone know a workaround for this?

    How did you create the Bootcamp partition and how did you delete it in your attempts to install Windows?

  • Is SSD partitioning with boot camp stable and recommended?

    Is SSD partitioning with boot camp stable and recommended?

    The OS as already stated does not know the difference. The SSD will perform as it does with any operating system. SSDs can be partitioned as can HDDs.
    My Bootcamp partition is running exactly like it did on my HDD only faster. I have not experienced any issues with the Bootcamp partition or the SSD.

  • I can't find my 22GB SSD partition on my Hybrid disk

    Hi,
    I have a S400u with a Hybrid disk in it. 500gb / 22GB SSD
    After a virus (see my other post, lot of probleme to find my disk in UEFI ), I Diskpart > clean to install a clean win8 on my computer. 
    Now i can't find my SSD partition except in the boot manager and in the BIOS. I have intel RST drivers installed.
    Anyone has a solution for me?
    Solved!
    Go to Solution.

    hi there,
    Looking at the screenshot, we can conclude that the SSD is not getting detected properly (on diskpart and on disk management). Given that you were able to detect both SSD and HDD by installing the RAID drivers, both drives should show up under Disk Management and on diskpart.
    It's possible that the SSD is failing but you need to run a diagnostic test to verify its health. One sure way to test it is to take out the SSD out of the machine and put in an enclosure (like this one) and test it inside Windows
    Alternatively, you can try the Expresscache software for data caching (you will need to install Win8 in AHCI mode - this will show both HDD/SSD under Disk Management and you can use HD Tune to run diagnostics on the drive).
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Help install ArchLinux onto a existing partitioned Ubuntu(Using USB)

    I've installed Ubuntu on C:\ drive of Windows which resulted in full Ubuntu system but with other drives as NTFS partitions. At office I tried ArchLinux on VM Ware & liked it. Now I feel like installing Arch onto my machine(Dell Inspiron 1420) without tinkering the NTFS partions. As my CD/DVD drive isn't working, as a next option, I want to install using pendrive. Please help me with this.
    Thank you.

    Read the Beginners' Guide in the wiki, it has everything you need.

  • Is my Crucial SSD correctly aligned?

    I've installed Arch Linux on my Crucial M4 SSD after installing Windows 8. After doing this, I started to read about correct alignment and how important it is supposed be.
    But to be honest, I didn't really understand yet whether my SSD is correctly aligned, or not.
    I'd be very thankful if you could tell me.
    Last edited by stecklars (2013-11-09 12:15:12)

    teateawhy wrote:
    There is also:
    blockdev --getalignoff /dev/sdb1
    If it outputs 0, the partition should be aligned.
    Nice tip.  Added it to the wiki.[1]
    1. https://wiki.archlinux.org/index.php/So … _Alignment

  • X240 ssd partitions

    I have in front of me a brand new ThinkPad X240 and I'm trying to install Ubuntu 14.04 LTS to dual boot with preinstalled Windows 7.  On my previous ThinkPads there were two partitions, the operating system and the recovery partition but on the X240 there are in total four partitions as it comes out of the box.
    In order to add Ubuntu on to the hard drive I need to free up one of them, since only four primary partitions can be on a hard drive. The problem is that I don't know what is on what partition. They are:
    SYSTEM_DRV
    Windows7_OS
    Lenovo_Recovery
    Unknown
    What are those SYSTEM_DRV and the Unkown one? Is it safe for me do format either of them so I can dual boot the computer? Or is there another solution for me?

    Lenovo win7 preloaded systems contain:
    1. SYSTEM_DRV - system partition. Contains m$ environment WinPE and Lenovo Rescue&Recovery tools. Do not remove it
    2. Windows - OS&apps
    3. Lenovo_Recovery - contains .wim archives for the Factory Recovery Media creation using Lenovo tool (in Control Panel). After the recovery media (cd+3dvd or usb stick) is created this partition might be deleted.
    4. seems it's an unused free space. Look at the content of this partition. I suppose its size is about 160...170 gb or several Mbs. Definitely it might be deleted.
    Note after the partitions wiil be resized or deleted Lenovo Rescue&Recovery application should be reinstalled in order to laptop could boot into SYSTEM_DRV partition for the recovery reason in the future.
    x220 | i5-2520m | Intel ssd 320 series | Gobi 2000 3G GPS | WiFi
    x220 | i5-2520m | hdd 320 | Intel msata ssd 310 series | 3G GPS | WiFi
    Do it well, worse becomes itself
    Русскоязычное Сообщество   English Community   Deutsche Community   Comunidad en Español

  • Macbook air ssd partition disappeared?

    Greetings. I am currently dealing with something a bit unusual. The partition where all the Mountain Lion OS was stored cant be detected in any way by my macbook air. I tried everything, trying to reselect as a startup disk, apple internet recovery, reseting NVRAMit just wont show up in the list of Disks in the Disk utility. All I get is the recovery partition which is Disk0 "MAC OS X Base System" which is 1.32GB or so. Please help as I start to get very upset, this is my work machine and I need it for an important presentation this weekend. It's a macbook air 13 mid 2012 8GB Ram 120GB SSD (I believe its the toshiba one). Thanks for reading!

    Probably you put an app in full-screen. Move the cursor to the top right and select the blue button, so the menu bar will show again

  • How to wipe all SSD Partitions?

    Hi - I am one of the guys, who have been trying to figure out how to create an offline USB recovery disk for my 2011 MBA. I have succeeded in doing it. In the process, I think I may have hosed one or more partitions on the SSD. Here's my symptoms...
    1. Restart normal - works perfectly
    2. Restart, holding cmd-r -> get the "spinning globe", and a drop-down list of SSIDs to connect wireless to. Presumably, this is to download and build the recovery partition. Issue is, the list of SSIDs is limited to 3 or 4, and doesn't include mine! There is a .... screen to enter the SSID and password, but, it won't accept any combination I try.
    3. Restart, holding down alt key, shows two disks. Regular disk,, and recovery partition. If I select the recovery partition, it leads me to the appropriate screens, to run diskutility, or reinstall lion, etc
    Running disk utility shows my lion partition as being 250.14GB. Seems like I may have lost some space? What do others who have the new MBA with 256 disk see?
    Any suggestions? Seems like I can't see all the raw disk space being accounted for. Thansk.

    piratemc742 wrote:
    Hi - I am one of the guys, who have been trying to figure out how to create an offline USB recovery disk for my 2011 MBA. I have succeeded in doing it.
    I realize that you no longer need to know this, and have a different question, however:
    Lion Recovery Disk Assistant
    The Lion Recovery Disk Assistant lets you create Lion Recovery on an external drive that has all of the same capabilities as the built-in Lion Recover

  • HDD and SSD partition Question

    Can I back up a HDD and a SSD using the same external hard drive by partitioning the drive? I have a 128 GB SSD and a 500 TB HDD
    and want to back up both using a 1 TB external hard drive.

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Lion mysteriously erases SSD partition on external FireWire drive.

    I'm not sure whether this is a problem with OS X, my SSD, or my external FireWire drive, so please bear with me.
    Recently, I have been having some hardware problems on my MacBook Pro, and decided to send my computer off to be repaired. Before doing so, I took my Corsair Performance Pro SSD (still on firmware 1.0) out of my machine so that I could boot it from my FireWire 800 drive (Oyen Digital Minipro) onto the school computers.
    Both times I have tried this (and on different machines!) I was able to successfully load my laptop installation. Then, after a few minutes, everything would suddenly freeze up (beach balls, et al) and I would have to shut down the computer. Afterwards, the system would not let me boot back into the external drive, and Disk Utility in the host OS would show that my partition had been completely erased, and that I would have to reformat the drive and restore from Time Machine.
    Is it possible that Lion doesn't like being booted from FireWire drives? My OS X installation is still on 10.7.3 (as I have not had a chance to update yet) so maybe the FireWire driver has been fixed since then? Could this be a problem with my SSD? Or could my FireWire drive be malfunctioning? I have used this enclosure with a non-boot hard drive without any problems in the past.
    Sorry this question is so broad, but I am at a complete loss.

    In the "Current" Volume Scheme, the 8GB partition is on top. The 85GB is below that. Originally, the 20GB partition was between them. There is no grey mass i.e. free space in the middle.
    Is there a grey mass anywhere? top? bottom?
    In other words, do the two white sections that represent the active partitions fill the entire block, or is there any other space that's vacant?
    All volumes on the drive are/were formatted Mac OS Extended (Journaled). I'm not sure but, I think that corresponds to "GUID"...right?
    No, Mac OS X Extended (whether journaled or not) is independent of the partition scheme in use.
    The bottom of the Disk Utility window should report the partition format.

  • Ssd partition rebuild

    My SSD crashed. And it turns out that TimeMachine hasn't backed up for several month, but I didn't notice that until too late.
    The drive no longer has a volume or partitions thus it can't be repaired in Disk Utility.
    I downloaded a number of trial software programs that:
    1) Finds the partitions and
    2) Will enable particular files to be lifted off to another drive.
    That's an OK Plan B.
    However, I'm wondering if there's software that will look at directories/files and rebuild the partition such that the drive works again. Then I can re-enable time machine and will at least have a backup if it happens again while I wait it out until the new iMacs come.
    Does anyone know of software that essentially recreates the partition so that the drive will boot again?
    Thanks!

    My SSD crashed. And it turns out that TimeMachine hasn't backed up for several month, but I didn't notice that until too late.
    The drive no longer has a volume or partitions thus it can't be repaired in Disk Utility.
    I downloaded a number of trial software programs that:
    1) Finds the partitions and
    2) Will enable particular files to be lifted off to another drive.
    That's an OK Plan B.
    However, I'm wondering if there's software that will look at directories/files and rebuild the partition such that the drive works again. Then I can re-enable time machine and will at least have a backup if it happens again while I wait it out until the new iMacs come.
    Does anyone know of software that essentially recreates the partition so that the drive will boot again?
    Thanks!

  • SSD partition disabled

    Hi!
    As I was restarting my laptop - HP Envy dv6
    I got the next screen: 
    and I got scared because when I tried to repair it, it said that the RAID structure would be gone,
    can I fix it without losing the SSD I have?
    This is the configuration I have:
    dv6t Quad
    • Windows 8 64
    • 3rd generation Intel Core i7-3630QM Processor (2.4GHz, 6MB L3 Cache)
    • NVIDIA(R) GeForce(R) GT 635M Graphics with 2048MB of dedicated video memory
    • 8GB DDR3 System Memory (2 Dimm)
    • 1TB 5400 rpm Hard Drive
    • 32GB mSSD Hard Drive Acceleration Cache
    • 6 cell + 9 cell Lithium Ion Battery
    • SuperMulti 8X DVD+/-R/RW with Double Layer Support• Intel 802.11b/g/n WLAN and Bluetooth(R)
    Thanks

    Try opening the Intel Rapid Start Technology Manager in Windows and see what it says. The actual bootable 8 gig acceleration cache is still active per the screen you posted. The mSSD is divided into two partitions and you should be able to see what is going on with the other partition on the mSSD through that manager. 

Maybe you are looking for

  • Optical drive fails to read most DVD's

    Product: HP Pavilion dv4t-1500, Windows 7 64-bit OEM. A few weeks ago my DVD drive stopped reading DVD's. I put a DVD in and close the door and it spins up, then down, spins up, then down. And, most of the time it never loads the video content. Frequ

  • Activation key for Office 2010

    Hello, i had installed microsoft office 2013 in my laptop and it asked me to activate my key product. But when i clicked to activate my key, it said that the key cannot be activated as the product key can only be activated in certain geographic regio

  • Adobe Reader 11.0 starter ADM templates wont work

    I dowloaded the ADM from http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/gpo.html and created a group policy . The group policy add registry entried in HKLM  but when I launch reader they are not working: HKEY_LOCAL_MACHINE\SOFTWARE\Poli

  • Restoring events  / projects of iMovie

    Hello, Would anyone know which files or folders one would need to restore from backup in order torestore a given event of iMovie ? Since iMovie is not time-machine-ready one needs apparently to "manually" restore the relevant files. The same question

  • How can I delete duplicates

    Hi there, I try to get around with iTunes, as I have a new iPod since one week, but I will soon abandon... I converted my music to AAC partially twice or even three times and now I have lots of duplicates. Is there any way to delete them without dele