Linux

Want to support HowtoForge? Become a subscriber!
 

How To Resize LVM Software RAID1 Partitions (Shrink & Grow)

How To Resize LVM Software RAID1 Partitions (Shrink & Grow)

This article describes how you can shrink and grow existing software RAID1 partitions with LVM on top. I have tested this with logical volumes that use ext3 as the file system. I will describe this procedure for an intact RAID array and also a degraded RAID array.

How To Configure Software RAID To Send An Email When Something's Wrong With RAID

How To Configure Software RAID To Send An Email When Something's Wrong With RAID

This short guide explains how you can configure software RAID to send you an email when something's wrong with RAID, for example if a hard drive fails. I've tested this on Debian Etch, but it should apply to all other distributions with minor adjustments to paths, etc.

Reducing Disk IO By Mounting Partitions With noatime

Reducing Disk IO By Mounting Partitions With noatime

Linux has a special mount option for file systems called noatime. If this option is set for a file system in /etc/fstab, then reading accesses will no longer cause the atime information (last access time - don't mix this up with the last modified time - if a file is changed, the modification date will still be set) that is associated with a file to be updated (in reverse this means that if noatime is not set, each read access will also result in a write operation). Therefore, using noatime can lead to significant performance gains.

How To Resize RAID Partitions (Shrink & Grow) (Software RAID)

How To Resize RAID Partitions (Shrink & Grow) (Software RAID)

This article describes how you can shrink and grow existing software RAID partitions. I have tested this with non-LVM RAID1 partitions that use ext3 as the file system. I will describe this procedure for an intact RAID array and also a degraded RAID array.

Storing Files/Directories In Memory With tmpfs

Storing Files/Directories In Memory With tmpfs

You probably know that reading from RAM is a lot of faster than reading files from the hard drive, and reduces your disk I/O. This article shows how you can store files and directories in memory instead of on the hard drive with the help of tmpfs (a file system for creating memory devices). This is ideal for file caches and other temporary data (such as PHP's session files if you are using session.save_handler = files) because the data is lost when you power down or reboot the system.

Useful Uses Of netcat

Useful Uses Of netcat

This short article shows some useful netcat commands. netcat is known as the TCP/IP swiss army knife. From the netcat man page: netcat is a simple unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities.

Installing And Configuring ntop

Installing And Configuring ntop

This is a tool to collect the network information with simple configurations. Users may use the web browser to access the current network views that include charts and statistics.

Installing Wordpress On A Server Running ISPconfig 2.x

Installing Wordpress On A Server Running ISPconfig 2.x

This tutorial describes how I install Wordpress which I have done this way on numerous different servers, including Windows and Linux setups. I absolutely agree that there are other ways to do this, but this is a tutorial on my way of doing it.

NIC Bonding On Slackware 12.1

NIC Bonding On Slackware 12.1

I was standing in front of a problem while I built a NFS Storage Server. It is necessary for me to have redundancy in every point of view. I solved all redundancy issues I had by using server hardware with redundant power supplies, a Raid 1+ 0 Raid array and two UPS’s one for each power supply. The only thing left in my mind was what about a network failure? Well just use the two Gig NIC’s and hook each of them up to its own switch. Great idea but how do I get them acting as one unit speak one single IP? NIC Bonding was my solution. After a couple of hours researching on the Internet stumbled upon the build in solution by using ifenslave.

dmidecode: Finding Out Hardware Details Without Opening The Computer Case

dmidecode: Finding Out Hardware Details Without Opening The Computer Case

dmidecode is a tool for dumping a computer's DMI (some say SMBIOS) table contents in a human-readable format. This table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware.

first page
previous page
...
23
...
next page
last page
XML feed
"Facebook" is a registered trademark of Facebook, Inc. All rights reserved.