Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  Slow mounting of SSD  (Read 7007 times)

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #15 on: 2018/07/13, 14:26:00 »
I saw that I have 2 non-allocated space before and after the unique partition, so with gparted I moved everything to remove the first non-allocated and fixed the alignment to cylinders (because before was MiB) but the problem persist.Now the first sector is 63.

Offline absolut

  • User
  • Posts: 455
Re: Slow mounting of SSD
« Reply #16 on: 2018/07/13, 21:46:12 »
please paste the output of    fdisk -l

watch the alignment / start of the sda1 partition

Code: [Select]
Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 981D877E-5AA9-4835-9EB1-22AB2CFEFA0E

Device        Start       End   Sectors   Size Type
/dev/sda1      2048  67106815  67104768    32G Linux filesystem
/dev/sda2  67106816  75499519   8392704     4G Linux swap
/dev/sda3  75499520 976773119 901273600 429,8G Linux filesystem

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #17 on: 2018/07/13, 21:56:22 »
Code: [Select]
Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x489f2e91

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1  *       63 468857024 468856962 223,6G 83 Linux

Offline absolut

  • User
  • Posts: 455
Re: Slow mounting of SSD
« Reply #18 on: 2018/07/13, 23:19:11 »
please re-align the partitions using gparted (or other tool) to 2048. this is actually the new default value since some time already.

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #19 on: 2018/07/13, 23:20:15 »
before was 2049 but there was the problem so I tried changing the sectors.

Offline absolut

  • User
  • Posts: 455
Re: Slow mounting of SSD
« Reply #20 on: 2018/07/14, 09:13:47 »
a partition starting with 63 or 2049 is not aligned

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #21 on: 2018/07/14, 11:39:34 »
How I can align it? On internet I didn't find a tutorial or a tool for that.The old ssd has sector 2049 and didn't have this problems

Offline unklarer

  • User
  • Posts: 816
Re: Slow mounting of SSD
« Reply #22 on: 2018/07/14, 13:29:20 »
For repair of the alignment
My level of knowledge is (I am not all-knowing), it is extensive.   ???  Therefore it is first to consider whether it is not easier to repeat the copying of the plates with gparted (on the again virgin ssd)

I also assume that the old original of sda1 still exists as a backup   ;)

They need:
1. a siduction-live with gparted and parted (some experience with handling is recommended)

Warning: It is extremely important to always select "Align to NOTHING"(Ausrichten an Nichts) in the following operations!
I only found a German manual. The relevant part for Linux starts at: "Get to work."(An die Arbeit)

If the described operations are successful, the siduction will not start on restart. Therefore, the installation of the grub would also have to be rearranged from Live.   :D

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #23 on: 2018/07/14, 14:30:23 »
I already done that with alignment to Cylinder instead MiB for that reason now the first one is 63 as sector.I can try with nothing as alignment but gparted enable to change the alignment if I resize/enlarge a partition and I don't have anymore space for that.

Offline der_bud

  • User
  • Posts: 1.072
  • member
Re: Slow mounting of SSD
« Reply #24 on: 2018/07/14, 16:08:39 »
Changing gparted back to use MiB should do it, because gparted then normally starts after the first MiB. And arithmetically, the first Mebibyte of a disk contains the sectors 0-2047 (given the sector size is the usual 512 bytes)
It should look like this: https://media-cdn.ubuntu-de.org/wiki/attachments/05/21/ssd-gparted.png
Du lachst? Wieso lachst du? Das ist doch oft so, Leute lachen erst und dann sind sie tot.

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #25 on: 2018/07/16, 13:10:48 »
Yes is that view and now the sector is 63.I will probably do a new copy with dd of the old ssd and see if the problem happen again.

Offline unklarer

  • User
  • Posts: 816
Re: Slow mounting of SSD
« Reply #26 on: 2018/07/16, 13:36:45 »
Quote from: Mte90
Yes is that view and now the sector is 63.I will probably do a new copy with dd of the old ssd and see if the problem happen again.

Unfortunately, he doesn't understand what we keep telling him...
Of course, with dd the problem will persist again with 63.

Offline Mte90

  • User
  • Posts: 216
  • KDE & Debian lover
    • http://www.mte90.net
Re: Slow mounting of SSD
« Reply #27 on: 2018/07/16, 17:59:32 »
I made a new copy with dd, didn't removed the swap and enlarged the partition and now there are no problems.