OS/2, eCS & ArcaOS - Technical > Setup & Installation
SSD partition miss aligned.
Remy:
I put here my update from under xcenter thread.
--- Quote ---SSD unaligned partition can't be mounted under linux and of course, can't be fstrimed
On, my SSD, I have 4 partition and the last one is a windows one (ntfs)
Gparted could align the ntfs partition but when trying to align the previous one, it faileddespite have space after to move it and allow alignment (hope not impacting too much my ssd !)
I found dfsee having an option to move the partition using CYL or MiB !
msinfo32 under windows is interesting giving the start offset (bytes) and as soon this one is an exact multiple of 4096, partition should be aligned... ::)
--- End quote ---
I corrected 2 of 4 partitions on my SSD which under windows show me correct alignment (start offset a multiple of 4096)
I checked under dfsee and it warned me about miss aligned partition because it uses CYL instead of MiB.
I move one partiton backward for 1 MiB to have this one aligned without the need to create it again (with lost of datas)
At en of the move process, it fully updated MBR entries and after check again under windows (msinfo32), all my partition were miss aligned again ?
From what I can see, using LVM or Dfsee, SSD partition are all miss aligned and then not good for SSD (slower and more write operation).
Any idea to not have Dfsee like LVM modifying physical partition alignment ?
Of course, I do not understand how it does it without physically moving partition ?
- partition created on SDD with windows gives good aligned partition but then, it seems not good for LVM or DFSEE
May it suppose SSD are not good disk used with OS/2 or Arca Noae ?
Dave Yeo:
It's the usual problem, need to do all partitioning with OS/2 aware tools, and do some math to have the 4k sector partitioning, basically JFS 4k sectors need to align with the SSD's 4k sectors.
My SSD works fine, Linux is happy with it and can trim it.
You might have to start over with blanking the beginning of the drive and then creating the partitions.
Dariusz Piatkowski:
--- Quote from: Dave Yeo on February 03, 2022, 12:42:26 am ---It's the usual problem, need to do all partitioning with OS/2 aware tools, and do some math to have the 4k sector partitioning, basically JFS 4k sectors need to align with the SSD's 4k sectors...
--- End quote ---
But Dave, for those of us 'mere mortals' (when it comes to doing that mapping RIGHT and knowing how to instruct the tools to implement) this is a nearly hopeless situation.
Remy,
I struggled a bit through this a couple of years ago when I decided to move my OS/2 stuff to a SSD. I noticed that DFSEE did actually provide a way to build an OS/2 partition where the goal was to implement this very alignment. I tried to do that, but the resulting disk GEO was looking really strange and the remaining OS/2 disk tools complained.
Eventually, having spent a pile of time on this and NOT knowing whether all I've done did actually get me a right or wrong setup, I finally just partitioned with LVM like I've done before and off I went having spent far too much time just trying to get OS/2 to benefit from the latest tech.
Total frustration! So I feel your pain.
Unfortunately, I do not have an answer. For what it's worth I'm about to re-do all of that given that I wanted to move my stuff to a larger SSD, that being a Samsung 860Evo (from my current 850Evo drive). I will experiment again, but truth be told, as the tech has moved forward it's been harder and harder to keep all my trusty OS/2 stuff afloat, let alone actually being able to benefit from the better hardware.
I hate to mentally "toss in the towel", but I feel like that "end of the OS/2 road" may be nearer for me than I had previously wanted to believe, or perhaps even realized. Grrrhhh....I hate that feeling!
Andreas Schnellbacher:
I use DFsee (or dfsanos2 via minilvm) to create partitions. All my SSDs (including Samsung 860 EVO, 500 GB) work.
Never heard of such problems. Do you have the default options for DFSee changed?
Dariusz Piatkowski:
Andreas,
--- Quote from: Andreas Schnellbacher on February 03, 2022, 03:58:15 am ---I use DFsee (or dfsanos2 via minilvm) to create partitions. All my SSDs (including Samsung 860 EVO, 500 GB) work.
--- End quote ---
OK, but how do you know that your partition boundaries are actually aligned?
Remy's point is that unless you have that 4K alignment, it is known that the performance of your SSD is degraded given multiple memory page reads that occur otherwise (I believe, but easy to find detailed on-line explanation out there).
Navigation
[0] Message Index
[#] Next page
Go to full version