Sponsored Content
Top Forums UNIX for Dummies Questions & Answers What should I format my SSD with? Post 302922847 by Corona688 on Tuesday 28th of October 2014 04:29:17 PM
Old 10-28-2014
SMART statistics are just index numbers. The drive doesn't actually tell the computer "flying head time is too long", it just spits out some numbers -- a test number, a value, and the acceptable ranges(so your program doesn't have to know what it is to know it's bad). So, whatever test number "flying head hours" is may mean something totally different for your SSD. Look up the manual for your drive or ask the manufacturer.

I reccomend ext4 over ext3 for heavy-duty things since it's faster for large partitions (ever tried to fsck a 100GB ext3 partition? Takes a while). Also, it can be defragmented without unmounting it, which could end up being very important for the long-term performance of your virtual machines.

Otherwise, making a filesystem work well with an ssd is mostly about fine-tuning it to match its block sizes and boundaries. If you get it wrong, it won't explode, but performance might be just slightly worse. See SSD - Gentoo Wiki for some general advice.

Also, an fstrim once in a while is good for the SSD, it helps wear-levelling work better by informing the SSD which blocks it doesn't have to care about anymore. See the wiki again for that.

Last edited by Corona688; 10-28-2014 at 05:39 PM..
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. BSD

Using SSD in FreeBSD

Now that SSD drives are becoming mainstream, I had a few questions on installing a SSD drive in a FreeBSD environment. Can FreeBSD be made SSD aware, that is, somehow let FreeBSD know that reads and writes should be limited or deferred to extend the disk's life? Is there a setting for wear... (0 Replies)
Discussion started by: figaro
0 Replies

2. Hardware

Use of SSD for serving webpages

I have seen research articles and forum postings that demonstrate that SSDs are poor at reading large files: the larger the file, the slower the SSD compared to traditional hard disk drives. The difference with hard disk drives becomes apparent at medium size files, say 20KB. Does this mean that... (2 Replies)
Discussion started by: figaro
2 Replies

3. AIX

SSD with GPFS ?

Hi, does anyone here happen to know if I could run GLVM or GPFS on Solid State Disks? I have a high volume / high transaction Sybase HACMP cluster currently setup with SRDF to the DR datacentre. My business now considers to move everything to SSD storage but we still need to get the data to... (0 Replies)
Discussion started by: zxmaus
0 Replies

4. Hardware

SSD - motherboard compatibility question

I am planning on purchasing an OCZ SSD that runs on the PCI Express lane. Now, while the motherboard it is to be installed on is not listed in the compatibility table, this does not mean it will not work, because the table only lists the motherboards that have been tested. Still, is there a way... (4 Replies)
Discussion started by: figaro
4 Replies

5. Programming

Program to test SSD

Hi, I want to use SSD as storage to replace hard disk in server(Linux system). Need some help how to code the pgm(C or C ++)to test the SSD functionality (eg: Badblocks ). As im new to this line. i dont have much experience. Any input from experts/pro much appreciated. thanks a lot. :confused: (4 Replies)
Discussion started by: crazydude80
4 Replies

6. Hardware

mobo with built-in ssd and linux

hi, thinking of building a system around this mobo: GA-Z68XP-UD3-iSSD. this has an ssd built-in to the mobo that serves as a cache for the sata drives. does linux have a chance of working on this? or is it going to get confused. thanks (6 Replies)
Discussion started by: rtayek
6 Replies

7. Filesystems, Disks and Memory

RAID 0 for SSD

Nowadays the fastest SSDs achieve read-speeds of between 1500 MB/s to 1900 MB/s. Let's say that two such SSDs in RAID 0 achieve roughly double the throughput, ie 3000 MB/s. That is only half an order of magnitude removed from RAM ((10)^(1/2) * 3000 = 10.000), very broadly speaking. So for the... (6 Replies)
Discussion started by: figaro
6 Replies

8. Solaris

Install ssd hdd on Solaris 5.8

Hi, I want to install an SSD on my hdd ULTRA SPARK 10 with solaris 5.8. I can not format it because to complete the operation is necessary to enter the number of sectors and cylinders ... I also tried to make a copy disk2disk but goes wrong ... someone has an idea? Has anyone ever done such a... (0 Replies)
Discussion started by: stirux
0 Replies

9. Filesystems, Disks and Memory

SSD Caching, how its done, right choice?

Hello, someone needed VPS with SSD caching, he want to use server for websites hosting. What does that mean, this SSD caching and is it optimal solution for this? Also i listen some SSD dont like too much of writting so how one can recognise certain SSD is made the way that its not destroyed... (1 Reply)
Discussion started by: postcd
1 Replies

10. Hardware

SAS or SSD for Ubuntu 14.04 and data analysis

I am in the process of building a workstation and have a question related to performance. I am a scientist who deals with big data (average file size 30-50gb). My OS is ubuntu 14.04 and so far I have a 128gb dual xeon E5-2630 with 6 cores each. I/O buffering is an issue so I am adding a 256/512?... (6 Replies)
Discussion started by: cmccabe
6 Replies
guestfs-testing(1)					      Virtualization Support						guestfs-testing(1)

NAME
guestfs-testing - manual testing of libguestfs, you can help! DESCRIPTION
This page has manual tests you can try on libguestfs. Everyone has a slightly different combination of platform, hardware and guests, so this testing is very valuable. Thanks for helping out! These tests require libguestfs >= 1.14. Tests marked with a * (asterisk) can destroy data if you're not careful. The others are safe and won't modify anything. You can report bugs you find through this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools or post on the mailing list (registration is not required, but if you're not registered then you'll have to wait for a moderator to manually approve your message): https://www.redhat.com/mailman/listinfo/libguestfs TESTS
Run libguestfs-test-tool Run: libguestfs-test-tool This command does a very simple, non-destructive test that basic libguestfs is functioning. You don't need to run it as root. If it doesn't print "===== TEST FINISHED OK =====", report it as a bug. It is very important that you include the complete, unedited output of "libguestfs-test-tool" in your bug report. See the "BUGS" section at the end of this page. Check KVM acceleration is being used. If your host has hardware virt acceleration, then with a hot cache libguestfs should be able to start up in a few seconds. Run the following command a few times: time guestfish -a /dev/null run After a few runs, the time should settle down to a few seconds (under 5 seconds on fast 64 bit hardware). How to check for hardware virt: http://virt-tools.org/learning/check-hardware-virt/ If the command above does not work at all, use libguestfs-test-tool(1). Run virt-alignment-scan on all your guests. Run virt-alignment-scan(1) on guests or disk images: virt-alignment-scan -a /path/to/disk.img or: virt-alignment-scan -d Guest Does the alignment report match how the guest partitions are aligned? Run virt-cat on some files in guests. virt-cat(1) can display files from guests. For a Linux guest, try: virt-cat LinuxGuest /etc/passwd A recent feature is support for Windows paths, for example: virt-cat WindowsGuest 'c:windowswin.ini' An even better test is if you have a Windows guest with multiple drives. Do "D:", "E:" etc paths work correctly? * Copy some files into a shut off guest. virt-copy-in(1) can recursively copy files and directories into a guest or disk image. virt-copy-in -d Guest /etc /tmp This should copy local directory "/etc" to "/tmp/etc" in the guest (recursively). If you boot the guest, can you see all of the copied files and directories? Shut the guest down and try copying multiple files and directories: virt-copy-in -d Guest /home /etc/issue /tmp Copy some files out of a guest. virt-copy-out(1) can recursively copy files and directories out of a guest or disk image. virt-copy-out -d Guest /home . Note the final space and period in the command is not a typo. This should copy "/home" from the guest into the current directory. Run virt-df. virt-df(1) lists disk space. Run: virt-df You can try comparing this to the results from df(1) inside the guest, but there are some provisos: o The guest must be idle. o The guest disks must be synched using sync(1). o Any action such as booting the guest will write log files causing the numbers to change. We don't guarantee that the numbers will be identical even under these circumstances. They should be similar. It would indicate a bug if you saw greatly differing numbers. Try importing virt-df CSV output into a spreadsheet or database. Run: virt-df --csv > /tmp/report.csv Now try to load this into your favorite spreadsheet or database. Are the results reproduced faithfully in the spreadsheet/database? http://www.postgresql.org/docs/8.1/static/sql-copy.html http://dev.mysql.com/doc/refman/5.1/en/load-data.html * Edit a file in a shut off guest. virt-edit(1) can edit files in guests. Try this command on a RHEL or Fedora guest: virt-edit LinuxGuest /etc/sysconfig/network On other Linux guests try editing other files such as: virt-edit LinuxGuest /etc/motd Are the changes seen inside the guest when it is booted? Display the filesystems / partitions / LVs in a guest. virt-filesystems(1) can be used to display filesystems in a guest. Try this command on any disk image or guest: virt-filesystems -a /path/to/disk.img --all --long -h or: virt-filesystems -d Guest --all --long -h Do the results match what is seen in the guest? Run virt-inspector on all your guests. Use virt-inspector(1) to get a report on all of your guests or disk images: virt-inspector -a /path/to/disk.img | less or: virt-inspector -d Guest | less Do the results match what is actually in the guest? Try the auditing features of virt-ls on all your guests. List all setuid or setgid programs in a Linux virtual machine: virt-ls -lR -d Guest / | grep '^- [42]' List all public-writable directories in a Linux virtual machine: virt-ls -lR -d Guest / | grep '^d ...7' List all Unix domain sockets in a Linux virtual machine: virt-ls -lR -d Guest / | grep '^s' List all regular files with filenames ending in '.png': virt-ls -lR -d Guest / | grep -i '^-.*.png$' Display files larger than 10MB in home directories: virt-ls -lR -d Guest /home | awk '$3 > 10*1024*1024' Find everything modified in the last 7 days: virt-ls -lR -d Guest --time-days / | awk '$6 <= 7' Find regular files modified in the last 24 hours: virt-ls -lR -d Guest --time-days / | grep '^-' | awk '$6 < 1' Do the results match what is in the guest? Create a disk image from a tarball. Use virt-make-fs(1) to create a disk image from any tarball that you happen to have: virt-make-fs --partition=mbr --type=vfat /any/tarball.tar.gz output.img Add 'output.img' as a raw disk to an existing guest. Check the guest can see the files. This test is particularly useful if you try it with a Windows guest. Try other partitioning schemes, eg. --partition=gpt. Try other filesystem formats, eg. --type=ntfs, --type=ext2. * Run virt-rescue on a shut off disk image or guest. Use virt-rescue(1) to examine, rescue or repair a shut off guest or disk image: virt-rescue -a /path/to/disk.img or: virt-rescue -d Guest Can you use ordinary shell commands to examine the guest? * Resize your guests. Use virt-resize(1) to give a guest some more disk space. For example, if you have a disk image that is smaller than 30G, increase it to 30G by doing: truncate -s 30G newdisk.img virt-filesystems -a /path/to/olddisk.img --all --long -h virt-resize /path/to/olddisk.img newdisk.img --expand /dev/sda1 qemu-kvm -m 1024 -hda newdisk.img Does the guest still boot? Try expanding other partitions. * Sparsify a guest disk. Using virt-sparsify(1), make a disk image more sparse: virt-sparsify /path/to/olddisk.img newdisk.img Is "newdisk.img" still bootable after sparsifying? Is the resulting disk image smaller (use "du" to check)? * "sysprep" a shut off Linux guest. Note that this really will mess up an existing guest, so it's better to clone the guest before trying this. virt-sysprep --hostname newhost.example.com -a /path/to/disk.img Was the sysprep successful? After booting, what changes were made and were they successful? Dump the Windows Registry from your Windows guests. Use virt-win-reg(1) to dump out the Windows Registry from any Windows guests that you have. virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLMSoftware' | less virt-win-reg --unsafe-printable-strings WindowsGuest 'HKLMSystem' | less Does the output match running "regedit" inside the guest? A recent feature is the ability to dump user registries, so try this, replacing username with the name of a local user in the guest: virt-win-reg --unsafe-printable-strings WindowsGuest 'HKEY_USERSusername' | less SEE ALSO
guestfs(3), guestfish(1), guestfs-examples(3), http://libguestfs.org/. AUTHORS
Richard W.M. Jones ("rjones at redhat dot com") COPYRIGHT
Copyright (C) 2011-2012 Red Hat Inc. LICENSE
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA BUGS
To get a list of bugs against libguestfs, use this link: https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools To report a new bug against libguestfs, use this link: https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools When reporting a bug, please supply: o The version of libguestfs. o Where you got libguestfs (eg. which Linux distro, compiled from source, etc) o Describe the bug accurately and give a way to reproduce it. o Run libguestfs-test-tool(1) and paste the complete, unedited output into the bug report. libguestfs-1.22.6 2013-08-24 guestfs-testing(1)
All times are GMT -4. The time now is 04:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy