I tried to do this a couple of years ago but it didn't work out and I went back to HDD. I read if you optimise the distribution with 'Trim' and use 4fs you should be fine at least for 51 years,
how do I enable Trim for my Drive.?
fdisk -l
lsblk -f
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0005dce0
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 25189919 12593936 83 Linux
/dev/sda2 25192440 976768064 475787812+ 5 Extended
/dev/sda5 25192448 33367004 4087278+ 82 Linux swap / Solaris
/dev/sda6 33370112 976768064 471698976+ 83 Linux
[root@localhost dwhite64]#
That's my current lsblk -f
sda
├─sda1 ext4 bc0bb0d5-a355-4a41-af4f-73f1c85f2fb3 /
├─sda2
├─sda5 swap d2501573-78e2-435b-98fe-15ab4ad383eb [SWAP]
└─sda6 ext4 525c1553-fe68-4f1d-983b-06bd18cd4452 /home
dwhite wrote:If I make a mistake on setting up trim, setting ro flags on the SSD will stop me ending up with expensive junk in a few months.
[root@localhost dwhite64]# fdisk -l
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Partition 2 does not start on physical sector boundary.
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 16370234 8184093+ 83 Linux
/dev/sda2 16373700 234436544 109031422+ 5 Extended
/dev/sda5 16373760 166995674 75310957+ 83 Linux
/dev/sda6 166998016 234436544 33719264+ 83 Linux
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0005dce0
Partition 2 does not start on physical sector boundary.
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 6570584 3284268+ 82 Linux swap / Solaris
/dev/sdb2 6574050 976768064 485097007+ 5 Extended
/dev/sdb5 6574080 16643339 5034630 83 Linux
/dev/sdb6 33370112 976768064 471698976+ 83 Linux
/dev/sdb7 16646144 33367004 8360430+ 83 Linux
Partition table entries are not in disk order.
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 ext4 f7f00506-1899-43b8-8d53-7f949f3d178f /
├─sda2
├─sda5 ext4 211e3339-de0a-4f52-a622-9e0e65ed7f8b /usr
└─sda6 ext4 208d2a33-205f-4aea-8c84-c14ced0f4620 /usr/local
sdb
├─sdb1 swap 34b16731-4fdd-4581-ba7d-3e1be132e046 [SWAP]
├─sdb2
├─sdb5 ext4 b82deb6d-32c2-4a82-bc34-c5111da2806b /var
├─sdb6 ext4 525c1553-fe68-4f1d-983b-06bd18cd4452 /home
└─sdb7 ext4 c11186cd-ae17-4c57-b9f5-7ff0f2287033 /tmp
sr
Users browsing this forum: No registered users and 1 guest