Implementing a disk quota will prevent users or groups from using too much storage space on a Linux system. This is very useful on systems such as file servers that allow many users to connect and store data, as it ensures that no particular user can utilize an unexpected amount of storage and interrupt storage or processes on the server by making it run out of disk space. Linux administrators should always put a quota on the maximum storage usage for users, as well as other user environment limits like max number of processes and open files.
Bash script to test hard drive transfer speed
The Linux operating system gives us many ways to measure the performance of our computer, including individual components such as the hard drive. There are multiple tools for the job, and it is also possible to use built in tools and create our own test to measure real results. In this tutorial, we will see how to use a Bash script to test the transfer speed of a hard drive on a Linux system. We will also learn about some other tools which can supplement our Bash script and give us and give us additional data points when it comes to the transfer speed of our hard drive, including read and write speed.
Resolving the ‘No Space Left on Device’ Error on Linux
No Space Left on Device error on a Linux system means that the partition you are trying to write data to or save files on lacks sufficient space for the operation. There are several things that users can do to resolve the error, all of which involve either freeing up additional space on the partition or extending the total size of available space. In this tutorial, we will show you how to resolve the
No Space Left on Device, and go over some basic Linux commands that can help us to identify the problem.
How to mount partition with ntfs file system and read write access
NTFS stands for New Technology File System and is developed by Microsoft for use on their Windows operating systems. NTFS is not normally used on Linux systems, but has been the default file system on Windows for many years. Linux users are probably used to seeing drives with the ext4 file system, which is ordinarily the default and certainly the most widespread in the Linux realm.
/boot/efi Linux partition: What is, usage recommendations
/boot/efi partition is present on most Linux systems and is where the boot loaders (and sometimes kernel images and drivers) are stored for all of the installed operating systems on the disk. The system’s UEFI firmware will load these files upon system boot.
Clone partition on Linux
Making a clone of a disk partition is a great way to make a complete backup. This type of backup would preserve all your system and personal files on that particular partition. Cloning and restoring a disk partition is relatively easy, even if you are cloning the partition on to a completely different storage device.
How to format disk in Linux
Formatting a disk will get it ready for use as a storage device on your Linux system. The process involves partitioning the disk, adding a file system to the partition (this is the “formatting” part), and then mounting the partition to some path where you plan to access it from. This might sound complex or like a lot of steps, but it really only takes a few minutes.
MBR/DOS vs GPT partition scheme for Linux
When partitioning a hard disk or other storage device, you have a choice on what type of partition scheme to use. By far, the two most common partition schemes to use are MBR (Master Boot Record, sometimes also referred to as msdos) and GPT (GUID Partition Table). When preparing to partition and format your hard drive, it is important to understand the differences between these two schemes in order to choose which one is ideal for your situation.
How to add new disk to existing Linux system
When you are adding a new disk to an existing Linux system, you will need to format and partition it, add a file system to it, and then mount the disk to some path where you plan to access it from. This might sound complex or like a lot of steps, but it really only takes a few minutes. The following tutorial will make it very easy.
How to list all disks, partitions and sizes on Linux
The purpose of this tutorial is to list all disks, partitions, and their sizes on a Linux system. This will help you identify what hardware storage you have available, how the disks are partitioned, and what sizes each of them are. You will learn a command line and GUI method below.
EEPROM CH341A programmer – Read and write data to chip on Linux
In this tutorial we will use CH341A programmer to read, write and erase data/firmware on attached chip. This is your getting started guide to CH341A programmer. CH341A programmer allows users to attach variety of chips in order to read or backup firmware or overwrite the exiting firmware.
How to Extend LEDE/OpenWRT System Storage with an USB Device
LEDE/OpenWRT is a Linux-based operating system which can be used as an alternative to proprietary firmwares on a wide range of routers.
Installing it provides increased security, let us tweak our router and give us a wide range of software packages to install from the system repositories.
Installing packages is
very easy, thanks to the
opkg package manager, but often the available
space on common routers is quite limited. In this tutorial we will see how to
extend the available system space using an USB device.