a solid-state disk (SSD)

learn more… | top users | synonyms

43
votes
2answers
2k views

What NOT to put on an SSD?

I bought an SSD and I am going to set up my desktop system with a completely fresh Linux installation. SSDs are known to be fast, but they have a disadvantage: The number of writes (per block?) is ...
17
votes
3answers
6k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of ...
17
votes
3answers
9k views

How can I safely remove a SATA disk from a running system?

I sometimes need to plug a disk into a disk bay. At other times, I have the very weird setup of connecting a SSD using a SATA-eSATA cable on my laptop while pulling power from a desktop. How can I ...
16
votes
7answers
4k views

Linux equivalent to ReadyBoost?

Is there a kernel module or some other patch or something similar to Windows' ReadyBoost? Basically I'm looking for something that allows disk reads to be cached on a Flash drive.
16
votes
3answers
1k views

File system for an SSD drive

I always thought that traditional file systems, are geared and optimized for non-ssd drive, where, for instance, data locality is important, and fragmentation is problematic. Is there a file system ...
8
votes
2answers
1k views

Heavy write activity on SSD nukes system performance

I've noticed that when I do heavy write applications, the whole system slows down. To test this further I ran this to do a (relatively) low-CPU, high disk activity: john -incremental > file_on_SSD ...
7
votes
2answers
550 views

Trim with LVM and dm-crypt

I tried to setup TRIM with LVM and dm-crypt on ubuntu 13.04 following this tutorial: http://blog.neutrino.es/2013/howto-properly-activate-trim-for-your-ssd-on-linux-fstrim-lvm-and-dmcrypt/ See the ...
7
votes
4answers
2k views

Switch off syslog on laptop?

Is there any point in keeping logs on my laptop? This is not a server to debug problems via syslog. I occassionally want to look at dmesg | tail but that does not mean I need anything on disk. Wastes ...
6
votes
3answers
500 views

Preload movie on RAM

My current computer is unable to run FullHD movies smoothly and I was already resigned to the idea, because it seemed a graphics card issue, mine not being powerful enought to do the work (which is ...
6
votes
1answer
824 views

Move /usr to SSD

I have an SSD and regular HDD drive in my laptop. The SSD drive is not used at all; it is not even being mounted. I am using Arch Linux. I'd like to start using the SSD, and from what I have read I ...
6
votes
1answer
2k views

LVM + LUKS + SSD + Gentoo — making it all work together

I'm finding a lot of conflicting information out there, and as of yet haven't found anyone trying to pull together all of the components that I'm trying to do, so I'm hoping someone who understands ...
6
votes
2answers
626 views

Poor random read SSD performance on Linux

I recently got an Intel 320-series SSD, and I am having difficulty achieving the advertised 38K IOPS for random 4K reads. Both with fio and my own hacked-together program, I am seeing around 6K IOPS. ...
6
votes
1answer
5k views

How to configure a filesystem+LVM for effective usage of SSD?

ext4 is one of the filesystems recommended for using on SSDs (with a number of built-in techniques and advices how to tune it for better performance and wear-levelling of SSDs). I want to install a ...
5
votes
2answers
633 views

Linux (3.4) SSD swap partition usage causes extreme latency - how to eliminate?

I'm running on 4G RAM with an extra 6G swap partition, SSD is a pretty decent SAMSUNG MZMPA128HMFU model. System responds very well to workloads when things stay in RAM, but as soon as things reach ...
5
votes
1answer
448 views

btrfs and the discard mount option on an ssd

I can't seem to find an answer to this so I thought I would ask here: In /etc/fstab and when using the mount command in ext4 you would add the option discard to activate TRIM on an SSD. Similarly ...
4
votes
4answers
370 views

If I have an SSD and a hard disk in a system, can the SSD act as cache for the hard disk?

Say I have some partitions; one on a SATA drive and one on an SSD. I want to create a "virtual" hybrid disk. Is this possible?
4
votes
6answers
1k views

What about no swap?

I have a netbook with a very slow (especially on writes) SSD, would it be a good idea to go without swap? The way I see it is that code and unmodified pages will still be swapped (re-read) but I won't ...
4
votes
3answers
287 views

Hiding encryption key in unpartitioned free space of SSD

Anyone know what can happen if we use the unpartitioned space of an SSD hard drive to hide some data, what would happen? I have read that there are some SSD firmware using these blocks for recycling ...
4
votes
2answers
2k views

Benchmark ssd on linux: How to measure the same things as crystaldiskmark does in windows

I want to benchmark a ssd (possibly with encrypted filesystems) and compare it to benchmarks done by crystaldiskmark on windows. So how can I measure approximately the same things as ...
4
votes
1answer
180 views

fstrim and iostat

I have a new samsung ssd in my new notebook. I tuned up everything to avoid writings in the disk (firefox profiles and /var/log in memory), I'm using a ext4 fs with relatime and I use fstrim once a ...
4
votes
0answers
2k views

Installing pfSense firewall on an SSD

I was looking at creating a home firewall running pfSense (as I could not get IPCop to boot properly on my hardware). Doing a little research, however, I have some concerns with installing it onto an ...
3
votes
6answers
690 views

How can I defragment my SSD on linux?

This page demonstrates that defragmentation is beneficial for SSDs. I suppose this type of defragmentation has to be trim-aware, so as to preserve the life time of the disk. How can I do that on ...
3
votes
2answers
381 views

Is it OK to store /var/tmp on a SSD? [duplicate]

I have read that you should not store /tmp on a SSD, because the frequent writes will shorten the lifetime of the SSD. But what about /var/tmp? Is it reasonable for /var/tmp to be stored on a SSD? ...
3
votes
3answers
4k views

Persistent blockdev setra read ahead setting

I've got some SSDs mounted up on /dev/sda1 and /dev/sdb1 on a SLES 11 SP2 server, and I was able to tweak the read ahead setting with blockdev --setra: sudo blockdev --setra 4096 /dev/sda sudo ...
3
votes
3answers
1k views

Will formatting my drive TRIM my SSD?

Will a standard fresh linux (Ubuntu 11.10 to be exact) install and drive re-format (full) successfully TRIM my SSD, or do I need to do something extra? I know that ext4 will TRIM blocks on erase ...
3
votes
2answers
281 views

LVM with SSD and SATA hard disks

Is it possible to create LVM partitions for both SSD and SATA hard disks? I mean if there isn't any conflicts.
3
votes
2answers
6k views

How to enable SSD TRIM support on Fedora 17?

I used to install Linux on HDD. It's easy. But now I have a SSD, and I want to install Fedora 17 on it. What should I do to make Fedora 17 issue TRIM commands to the SSD?
3
votes
1answer
52 views

Can't enable TRIM on SSD

I can't enable TRIM on my newly-installed SSD. Ubuntu Server 12.04, Linux 3.11.0-15-generic. I turned TRIM on through discard setting in /etc/fstab. Also TRIM doesn't work with fstrim command. Here ...
3
votes
1answer
171 views

SSD as a read cache for FREQUENTLY read data

I'm looking for ways to make use of an SSD to speed up my system. In “Linux equivalent to ReadyBoost?” (and the research that triggered for me) I've learned about bcache, dm-cache and EnhanceIO. All ...
3
votes
3answers
142 views

Best way to benchmark different encryption solutions on my system

I want to compare different encryption solutions for encrypting my system, possibly different solutions for different parts of the system such as /usr or /home. In particular I look at dm-crypt ...
3
votes
1answer
234 views

How to mount some folders on a different partition

I recently got an SSD for my computer. Therefore I reinstalled my system and mounted / on /dev/sda1 (which is a partition on the SSD). To protect the SSD, I managed to mount /tmp on the RAMdisk. ...
3
votes
2answers
378 views

Upgrading SSD Capacity - Clone Drive

I currently have a 60GB SSD that I have as my OS drive for Windows 7 partition and Fedora17 partition. Most data is stored on my 500GB HDD. I have upgraded to a 120GB drive, and want to clone the ...
3
votes
2answers
1k views

Optimal SSD configuration

I am thinking about buying an SSD for my Debian system. However, because I don't know what is the optimal arrangement (i.e. what goes on the SSD), I am not sure what is the optimal size. Obviously I ...
3
votes
0answers
31 views

Determine whether TRIM commands are being sent [duplicate]

I've configured multiple SSDs in a RAID-0 array in AHCI mode. I'd like to determine whether TRIM commands are being sent to the disks. Is there a way to monitor these commands in the kernel somewhere? ...
3
votes
2answers
247 views

How to dual boot Linux and Windows from small boot drive?

I am a Linux newbie, and I am trying to dual boot Linux Mint with Windows 7. Right now, Windows 7 boots from a small SSD, which has little extra room on it. Is there a way to set up a dual boot where ...
2
votes
1answer
517 views

How to check the life left in SSD or the medium's wear level?

We all know that SSDs have a limited predetermined life span. How do I check in Linux what the current health status of an SSD is? Most Google search results would ask you to look up S.M.A.R.T. ...
2
votes
2answers
998 views

How to check drive temperature on Linux?

I have used of hdparm -n and smartctl -A but it always seem to be a "per drive" technique as a drive may answer for only one of these tools. So, is there a standard way to get the drive temperature ...
2
votes
2answers
1k views

Installing Debian on an SSD

Does the Debian installer work out of the box for SSDs? I.e. I heard that you need to align the partitions to 32bit virtual clusters (is it actually true?). Are there any other things I need to take ...
2
votes
2answers
117 views

Why I have two /dev/sdx entries with a single disk?

In my laptop (running Linux) I have only one SSD, connected to the SATA3 port. Why I have two sdx entries in /dev directory? In particular I see /dev/sda and /dev/sdb, and /dev/sda is the SSD: # ...
2
votes
2answers
456 views

mbcache documentation

I want to experiment with mbcache kernel module, but I'm having trouble finding the documentation for it. If I understood correctly, mbcache allows the use of a fast SSD disk to act as a transparent ...
2
votes
1answer
407 views

Best way to encrypt my system on an ssd

I consider to buy an ssd for my laptop (something like Samsung 830 or 840) to make the system more responsive. I want my system (at least my home partition) to be encrypted. However I know about ...
2
votes
1answer
198 views

Grub loading slowly with SSD

Since yesterday, I added a brand new SSD in my PC, and I am experiencing a very fast boot from grub menu. The problem is before arriving to this menu, I must wait for a long time (~30s in most cases). ...
2
votes
2answers
654 views

Separating OS on a SSD from user settings and apps on HDD

I want to be able to format my OS SDD and format and reinstall without losing any user data, is this possible? I'm currently doing this on Windows 7 and 8 with the help of portable apps and some ...
2
votes
1answer
51 views

Using LVM with SSD and SATA drives

I saw in this question that it is possible to place both a SSD and a standard SATA hard drive into a single LVM volume group (VG). How does this affect performance? Is there a way to force the OS ...
2
votes
2answers
1k views

Installing Linux Mint on a blank SSD

I've dual booted Mint and Windows 7, but I'd really like to get rid of Windows all together. And from what I understand, it's not really a true dual boot, but it's actually just running from inside ...
2
votes
1answer
30 views

Why does fstrim trim all of the free space on my mdraid mirror after a reboot? [duplicate]

I have a server with 2 SSDs: Model Family: Intel 520 Series SSDs Device Model: INTEL SSDSC2BW240A3F Firmware Version: 400i User Capacity: 240,057,409,536 bytes [240 GB] Sector Size: ...
2
votes
2answers
270 views

How to install Linux Mint on 24GB SSD alongside 1TB HDD

I had a Lenovo laptop with Windows 8 on it but I wanted to switch to Linux Mint. After disabling UEFI secure boot and some other things I managed to get Linux Mint installed on the 24GB SSD. I'm new ...
2
votes
0answers
222 views

How to setup KVM partitions?

I'm trying to install SolusVM/KVM on a server with one 500 GB HD and one 256 SSD. I am a complete beginner at Linux. SolusVM has a script on the site to download and install automatically, but how do ...
1
vote
4answers
71 views

Is there a robust way to cache contents of usb on local hd?

I'd like to switch between working on a laptop with a debian vm and a desktop pc running debian while carrying all my work files in a usb. Is there a robust way to automatically start caching the ...
1
vote
3answers
49 views

Mount a second ssd drive on centos - How can I figure out which is the unused drive?

I need to mount my secound ssd drive to /home2. I already created the folder /home2 - Now, how can i figure out which is the unused drive ? Is this /dev/sda or sdb ? What is the exactly thing i`ve to ...