Ask Your Question
0

How to use new internal SSD?

asked 2018-08-08 15:21:57 -0500

wingedelephant gravatar image

I have a desktop computer running Fedora 28 with a 2TB HDD. I have recently inserted an internal Samsung 500GB SSD. I wish to use both HDD and SSD. The SSD appears to be recognised by the system (see output of "fdisk" below). However the SSD does not show up as free space in the file system (see output of "df" below). How should I proceed?

a) Re-install Fedora 28 on HDD and SSD

b) Do some magic which exposes the SSD to the file system?

df -h

Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 3.9G     0  3.9G   0% /dev
tmpfs                    3.9G   47M  3.9G   2% /dev/shm
tmpfs                    3.9G  2.0M  3.9G   1% /run
tmpfs                    3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   50G   17G   31G  35% /
tmpfs                    3.9G  152K  3.9G   1% /tmp
/dev/sda2                477M  174M  275M  39% /boot
/dev/mapper/fedora-home  1.8T   93G  1.6T   6% /home
/dev/sda1                200M  8.9M  191M   5% /boot/efi

sudo fdisk -l

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 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: gpt
Disk identifier: A5B5864F-EBBC-4C60-91FA-DFA7616E7CC5

Device   Start        End    Sectors  Size Type
/dev/sda1     2048     411647     409600  200M EFI System
/dev/sda2   411648    1435647    1024000  500M Linux filesystem
/dev/sda3  1435648 3907028991 3905593344  1.8T Linux LVM


Disk /dev/sdb: 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
edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2018-08-09 00:02:58 -0500

hello gravatar image

As far as I know, your two best options are reinstalling and choosing the partitions as you wish or editing /etc/fstab to mount the SSD every time you boot. This will mount it in the place you choose and essentially just act like another separate drive.

Here is a guide to messing around with /etc/fstab: https://access.redhat.com/documentati...HatEnterpriseLinux/4/html/IntroductionToSystemAdministration/s2-storage-mount-fstab.html

I would just go ahead and reinstall. Cleans up the system and also makes it a lot easier.

edit flag offensive delete link more

Comments

Many thanks for your help and for the info on fstab. I went for reinstalling Fedora on the SSD & it works fine.

wingedelephant gravatar imagewingedelephant ( 2018-08-11 05:44:34 -0500 )edit

Perfect! Mark your post as closed or select a correct answer so others can know what to do as well.

hello gravatar imagehello ( 2018-08-12 03:00:33 -0500 )edit
1

answered 2018-08-08 17:25:11 -0500

florian gravatar image

updated 2018-08-08 17:32:22 -0500

I’d say it’s much faster and easier to reinstall Fedora placing everything on the SSD, than relocating partitions and volumes. You will want to have /, /boot, /boot/efi, and likely /home on your SSD.

You could span /home over both SSD and HDD, or use “only” the remaining SSD space for /home and use the HDD for backups , or whatever you have in mind. Many options, all depending on your use case.

Anyways, IMO, reinstalling is the way to go. (And if you do so, you will want to set a mount point for your “old” /home during installation. Also make sure not to format the partition).

edit flag offensive delete link more

Comments

1

Thanks for your advice. I reinstalled Fedora on the SSD as you suggested and it works fine.

wingedelephant gravatar imagewingedelephant ( 2018-08-11 05:46:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-08-08 15:21:57 -0500

Seen: 48 times

Last updated: Aug 09