Suggested I/O scheduler for a Video on Demand (VOD) server using Red Hat Enterprise Linux
On a VOD server, using the cfg scheduler can increase disk I/O latency when many connections arrive, leading to uneven video playback.
394 notes on Linux, tools and troubleshooting
On a VOD server, using the cfg scheduler can increase disk I/O latency when many connections arrive, leading to uneven video playback.
To reduce RAID 1 rebuild time, use: # mdadm -C /dev/md0 -l1 -n2 /dev/sda1 /dev/sda2 --bitmap=internal. --bitmap (Write-intent bitmap) reduces synchronization time…
Growing Linux software RAID is straightforward. This example adds /dev/sdd1 to a three-disk RAID 5 array at /dev/md0, then grows the array and filesystem.
The XDMCP configuration file has moved from /etc/X11/gdm/gdm.conf to /etc/gdm/custom.conf. To enable XDMCP, edit the section under xdmcp.
With multiple virtual network interfaces, bringing one interface down may also bring down others. This example uses eth0:0, eth0:1, eth0:2, and eth0:3.
Sometimes you need to find a specific line in a file, such as one identified by an error log. vi/vim can easily display or hide line numbers.
If Squid logs WARNING! Your cache is running out of filedescriptors in cache.log, it was compiled with a maximum of 1024 file descriptors.
This example reduces a 10 GB LVM volume to 8 GB, assuming it is mounted at /data, by shrinking the filesystem before reducing the logical volume.
Use grep to display configuration lines that begin with particular characters. This helps inspect comments and review configuration settings.