You are not logged in.

#1 2014-11-12 07:55:07

rafnov
Member
Registered: 2014-11-12
Posts: 11

Is my SSD properly aligned?

I'm just switching from other distro to Arch. Arch installed and configured but before I move data to my SSD I need to be sure the disk I was using before is properly aligned. It's "not-new" Corsair CSSD-F40GB2 which was partitioned few years ago following some instructions from web. Now I need to be sure it's properly aligned.
It is fdisk -l output:

Device     Boot    Start      End  Sectors Size Id Type
/dev/sda1  *        2048 20977662 20975615  10G  7 HPFS/NTFS/exFAT
/dev/sda2       20977663 41953278 20975616  10G 83 Linux
/dev/sda3       41953279 73419772 31466494  15G 83 Linux
/dev/sda4       73419773 77614896  4195124   2G 82 Linux swap / Solaris

blockdev --getalignoff /dev/<partition> returns 0 to every partition which says partitions are aligned.
But parted says different things - it says sda1 is aligned but rest is not.
So how it really is?

Offline

#2 2014-11-12 11:42:10

crxxn
Member
Registered: 2014-06-25
Posts: 9

Re: Is my SSD properly aligned?

Why do you need to make sure the disk you were useing before is properly aligned?
Partition alignment to SSD erase-block size is ceratinly reasonable regarding data throughput performance and the lifetime of your drive, but after moveing all your files from the drive (which
will certainly not cause any further harm), you're free to realign all partitions useing fdisk.

The discrepancy between blockdev and parted output is interesting nevertheless...

Offline

Board footer

Powered by FluxBB