- PeterMoulding.com
- Author
- Trainer
- Speaker
- Business Coach
- How to write a How To book
- PHP Courses
- Speaking
- Web Architect
- Australia
- Books
- Authors
- Akkana Peck
- Alex Berenson
- Andrew Nugent
- Ben Sanders
- Brock Clarke
- Chris Simms
- David Mercer
- Dianna Mullet
- Don Winslow
- Dori Smith
- Harlan Coben
- Jack McDevitt
- James Wines
- Jerry Yudelson
- John Grisham
- Kevin Mullet
- L. E. Modesitt Jr.
- Laurell K. Hamilton
- Marshall Karp
- Martina Cole
- Michael Marshall Smith
- Michel Roux Jr
- Nadia Sawalha
- Philip Pullman
- Raymond Khoury
- Richard North Patterson
- Robert Masello
- Sally Roth
- Sarah Langan
- Stella Rimington
- Stephen Booth
- Stephen King
- Stephen Leather
- T.C. Boyle
- Tom Negrino
- Tony Hillerman
- Urban Waite
- Val McDermid
- Valerio Massimo Manfredi
- Beginning GIMP
- Beginning Visual C++
- Culturalism
- Fiction
- A Drink Before The War
- A Talent for War
- Bag of Bones
- Blood and Ice
- Burn
- Dark Lady
- Dead Line
- Eclipse
- Empress of Eternity
- Exley
- Flipping Out
- Just One Look
- Nightfall
- Pet Sematary
- Savage Moon
- Skinwalkers
- Starvation Lake
- The Fallen
- The Gardens of the Dead
- The Jump
- The Last Templar
- The Mermaids Singing
- The Midnight Mayor
- The Secret Soldier
- The Summons
- The Terror of Living
- The Testament
- The Tower
- Under the Dome
- Virus
- AJAX and PHP
- Aging with Grace
- Food books
- Green Architecture
- Life Is So Good
- SQL: The Complete Reference
- The Backyard Bird Lover's Ultimate How-to Guide
- The Garden Gurus
- Authors
- Sustainability
- -18 hours left to decide the future of Australia
- Campbells vegetable stock or Massel vegetable stock?
- Carbon Sequestration
- Carbon tax for Australia is a fraud
- Copenhagen will fail
- Cost of living in Australia
- Dick Smith jumps on the population bandwagon
- Dry Run: Preventing the Next Urban Water Crisis
- Energy Saving Lights
- Garlic
- How many people can live in Australia?
- Its obsolete, throw it out!
- Julia Gillard offers 9.9 billion dollars bribe to Rob Oakeshott
- Laundry detergent
- Petrol or Diesel?
- Reflective foil batts kill
- RoHS
- Sea level to rise 3mm due to climate change
- Solar power
- Spring again in Sydney
- Sustainable fuels
- The CRUD Tax is back
- The people who make building regulations do not own houses
- Water efficiency
- Which insulation is safer, foil or wool?
- Will Australia reduce greenhouse gas emissions?
- Technology
- Android or Blackberry or iPhone or a flip phone?
- Apple versus Google 2011
- Cameras
- Cars
- Colour
- Burgundy
- Colour Blindness
- Colour Names
- Dulux colours
- Pantone colours
- Safe Colours
- Seculine ProDisk Mini colour balance card
- What Causes Colour Blindness?
- Hardware
- Batteries for the Digital Age
- Cables
- Cases
- Computer reliability
- Computrace
- Disks
- Astone ISO Gear 481E
- Best SSD for your notebook computer
- Disk block size
- Hitachi disk HDS722020ALA330
- LaCie USB 2.0 250 GB mobile hard drive design by F.A. Porsche
- SMART disk
- Samsung 2 TB HD204UI quiet low power disk for mass storage
- Seagate and Samsung merge disk business
- Select the right disk for your RAID array
- USB disk speed
- Western Digital WD20EARX 2 GB SATA 3 disk
- How long should computer hardware last?
- Keyboards
- Mainframe
- Memory cards
- Monitors
- Netbooks, notebooks, tablets, and xPads
- Network Attached Storage
- OLED Displays
- PC's are a thing of the past
- Printers
- Quiet
- Samsung Galaxy S
- Speed
- Television
- Tools
- USB
- Worst computer movies
- Xserve is dead. What next?
- Your backup will not work
- Z68 motherboards
- iPad or Acer Aspire One?
- IQ
- LG Intello Washing Machine
- Lack of a challenge
- Networks
- 802.11n wireless networking
- D-Link DIR-655 wireless router
- D-Link DWA-160 Xtreme N dual band USB adapter
- D-Link DWA-556 Xtreme N PCI Express desktop adapter
- MIMO
- NBN spends another $12 billion of our tax money on nothing
- National Broadband Network
- Netgear wireless modem router DGND3300 with 300 Mbps 802.11n
- Refrigerator kills wireless broadband
- Small Wireless Network
- TP-LINK TL-SG10005D 5 port gigabit switch
- TP-Link TL-WR1043N wireless N gigabit router
- Telstra Pre-paid Mobile Wi-Fi
- Where are the router plus proxy server combinations?
- Open Source documentation
- Software
- 7-zip
- Accounting
- Asterisk
- Audacity
- Backup software
- Bloat only in Windows
- CAD
- CDex
- Disk imaging software for copying and backup
- Exact Audio Copy
- Filezilla
- Firefox
- Java
- LibreOffice or OpenOffice?
- Linux
- 1 in 5 servers will ship with Linux
- Android phones outsell iPhone
- Another Move to Linux
- CentOS 5.5 installation on SSD and RAID 5
- Debian
- Debian 5.0.5 AMD64 installation
- Debian 5.06 installation
- Fedora
- Fedora or Ubuntu?
- Gnome or KDE?
- K9copy
- Linux 2.6.38
- Linux Gnome login settings lost
- Linux Mint
- Linux RAID, a rant
- Linux Speed
- Linux Time
- Linux reliability as demonstrated by Ubuntu 10.10
- Linux reliability as demonstrated by Ubuntu 11.4
- Linux still a struggle in 2011
- Linux workstation disk RAID 1
- Linux, NT, Windows, and SETI
- Linux, three years of progress
- London Stock Exchange switches to Linux
- Mandrake Linux 9.2
- The partition is misaligned by 48128 bytes - warning from Linux RAID
- Ubuntu
- How to fix the scroll bars in Ubuntu 11.4 Gnome
- Kubuntu 10.10 alternate installation on desktop with RAID 1
- POWbuntu
- Ubuntu 10.10 after 6 months use
- Ubuntu 10.10 alternate installation
- Ubuntu 10.10 desktop RAID 1
- Ubuntu 10.10 desktop RAID 5
- Ubuntu 10.10 desktop install on a netbook
- Ubuntu 10.10 desktop installation
- Ubuntu 10.10 netbook install on a netbook
- Ubuntu 10.10 server AMD64
- Ubuntu 10.10 upgrade to version 11.4 beta 2
- Ubuntu 10.4
- Ubuntu 11.10
- Ubuntu 11.10 first upgrade
- Ubuntu 11.4 after one month use
- Ubuntu 12.04 beta1 desktop amd64
- Ubuntu One
- Ubuntu by Microsoft?
- Ubuntu desktop upgrade 10.4 to 10.10 failed because I did not check the media
- Ubuntu strikes again
- Upgrade Ubuntu to Linux Mint 12 LDXE for extra speed
- Yes, use Linux but not that distribution!
- Nero
- OpenOffice
- OpenOffice is now Apache Office
- Project management
- Scribus
- Software for Windows and Linux
- Text editors
- Time
- Todo applications
- Tomboy notes
- Top text editors
- Version control
- VideoLAN VLC media player
- Visio
- Webmin
- Webmin installation on CentOS for Web development
- Webmin installation on Ubuntu
- What is the most popular open source software today?
- Windows
- Another Windows person goes Linux
- BAD_POOL_CALLER
- Cygwin
- Microsoft Malicious Software Removal Tool cannot find a common virus
- One of the developers of Windows XP is criminally insane
- There are unused icons on your desktop
- W32time
- Which Windows version?
- Windows 7 Home Premium
- Windows XP Stop 0x0000007B during installation
- Windows XP is a disaster
- Windows processes
- XML
- Zip, bzip, gzip, or 7zip?
- configFree
- Technology Succession Planning
- VoIP
- Web Sites
- Drupal
- Do Drupal themes have to use the GPL?
- Drupal 7
- A better search facility for Drupal
- Drupal - performance or flexibility
- Drupal 7 Fields are hard to fix
- Drupal 7 new features
- Drupal 7 ships on January 5
- Drupal 7.14
- Drupal 7.4 hits PeterMoulding.com
- Drupal function sequence
- The evolution of a module
- Undefined index: headers in DefaultMailSystem->mail() (line 54 of /modules/system/system.mail.inc).
- Undefined index: to in DefaultMailSystem->mail() (line 83 of /modules/system/system.mail.inc).
- implode(): Invalid arguments passed in DefaultMailSystem->format() (line 23 of /modules/system/system.mail.inc).
- Drupal 8
- Drupal Code Load Cut
- Drupal How To
- Drupal Modules
- Backup and Migrate
- Browscap
- CKEditor with Drupal WYSIWYG
- Captcha
- Cel
- Colorbox
- Content Construction Kit
- Content type
- Devel module for Drupal
- Drupal Rules as an automation language
- Drupal Spam add-on module
- Form alter to node
- IMCE
- IMCE Wysiwyg bridge
- ImageAPI
- Jdog
- Lightbox2
- Module variable
- Node Gallery Access
- Node_Gallery
- Path
- Path redirect
- Pathauto
- Pet
- Search
- Service links
- Session Variable
- Statistics
- Taxonomy
- Token
- Token ex
- Transliteration
- Trigger
- Watch
- Other modules
- Drupal Training
- Drupal access controls need a major rewrite
- Drupal coding tricks
- Drupal performance
- Drupal themes for the future
- Drupal.org colours
- Import existing data into Drupal
- Multiple Web sites made easy using Drupal multisite and the right start
- drupal_lookup_path()
- Adobe PDF
- Apache
- Apache Mahout
- Audi.com
- Bleet
- CSS Strikes Again
- CSS or xCSS
- Can you believe Facebook or email?
- Content Management Systems
- Databases
- Facebook scam
- Font
- Fonts
- HTML
- Install Apache, MySQL, and PHP 5 in Ubuntu 11.4 using the Ubuntu Software Centre
- Language Codes
- Marketing
- Memcache
- Nginx
- Open source development hits another roadblock
- Oscars
- PHP
- SPDY
- Search software
- Techoni.com.au
- Theme themes
- Things to hate on Web sites
- U.S. Patent No. 6,985,875
- Virtual Private Server
- Visible Improvement
- Web 4.0
- Web browser usage
- Web browsers
- Web site development
- Bluefish
- Crying over spilt code
- Eclipse and PHP
- Getting a Git client, a story of ancient technology and pain
- HTTrack
- MVC
- Netbeans
- PHP or ..., CakePHP/Symfony/ZF versus ...
- Programming
- Superfish
- Web browser emulators for testing your Web site
- Web development frameworks
- Web site books
- Web site development on your own computer
- Webmin or phpMyAdmin or cPanel for creating databases?
- aiki framework
- jQuery
- Views development - Learn Fields first
- Views development - Learn Actions and Rules
- jQuery .each()
- jQuery .has()
- jQuery .is()
- jQuery and Firefox Firebug
- jQuery children
- jQuery for people not using Drupal - Installation and getting started
- jQuery hover
- jQuery hover de-duplication example
- jQuery or CSS?
- jQuery performance
- jQuery tests
- Web site hosting
- Westpac Web site still broken after two years and ten months
- Wordpress wins another CMS survey
- Drupal
Ubuntu 10.10 desktop RAID 5
Submitted by Peter on Thu, 2010-09-30 16:30
RAID 5 on Ubuntu desktop is a pain. The Ubuntu alternate edition makes desktop RAID easy. Build yourself a power workstation using RAID 5.
My test machine has the Ubuntu system installed in a solid state disk for speed. I will add three disks for data using a RAID 5 array.
You need Ubuntu set up on a system disk. The process is described in Ubuntu 10.10 desktop installation.
Next you need some disks. RAID needs a minimum of 3 disks for RAID 5 and I have 3 disks spare. You can use more if they will fit in your computer case. The RAID size will be set by the smallest disk and the speed by the slowest disk. Use a set of disks all the same size and speed. I am using 2 TB disks and will end up with a 4 TB partition in the RAID array. The size is always 1 disk less than the total. If I had 6 disks, the maximum that will fit the case, I would have a 10 TB partition.
Install RAID software
Ubuntu desktop does not have RAID software installed by default. I mention how to install the RAID software in the desktop installation page. Here are the instructions from that page.
After installation of Ubuntu, reboot, log in to your new Linux system using one disk.
Select Applications then Ubuntu software center. Search for mdadm. Select the Install option. A screen will pop up for Postfix configuration. Select Forward twice to fix Postfix. Mdadm is installed and ready for RAID.
Prepare the spare disks
Select System, Administration, Disk Utility to manage disk partitions.
On the spare disks, the ones other than your system disk, delete the existing partitions you do not want. The disks are really only useful if empty. Any other configuration is too difficult. Move all data off the target disks then delete all the partitions.
I have new disks so formatted them. You get the choice of MBR or GPT (GUID Partion Table). MBR is for everything up to 2 TB. GPT is for everything over 2 TB. Your computer has a standard BIOS called a PC/BIOS. Future computers will use a BIOS called EFT. GPT is designed for EFI. Linux, the better versions of Unix, and the better versions of Windows work with GPT on EFI. Some versions of Linux and Unix work with GPT on PC/BIOS. Remember to make sure your next computer has an EFI BIOS so you can use the 3 TB disks when they arrive.
2 TB is old hat
3.3 TB disks are already possible with the current technology used in some 2 TB disks and is delayed only because BIOS manufacturers, Microsoft, and major computer brands are slack moles who put profit before customers and sell you the oldest possible technology they can get away with. The give you blue LEDs in the fans but not thermostatically controlled fans. They give you stainless steel cases but not EFI. Well, they are not using stainless steel yet. That will be next. Apple copies the trends from fashion magazines and eventually they will notice the refrigerators with stainless steel glued to the front of the door.
Create the RAID partition
In Disk Utility, select File, Create, code>RAID array to create the RAID array. You select the three disks as part of the process. After the RAID starts to build, walk away from the system for a while because large disks take a long time to format.
In Create RAID Array, text-align:center select Distributed Parity (RAID-5). The array name can be anything you want. The stripe size is a contentious issue and should be smaller than the default 512 KB, perhaps as small as 8 KB in some situations. I use 64 KB because 64 KB is used by some experts. You then select all the disks you want to use, in this case 3, then Create.

After you select Create, you are presented with a screen where you choose Format Volume. The formating will ask you for a file type and the default ext4 is ok. You can also provide a partition name. This is the name used in file related pages as the name for the partition. I will place the home partition there and name the partition Home or similar.
RAID stripe size
The default RAID 5 stripe size is 512 KB despite many years of performance testing and recommendations of 64 KB. What is the best size? Nobody knows.
See Linux RAID, a rant.
Large stripe sizes might work for some hardware and might work for video files. Large stripe sizes make some reads faster while making most writes slower. Large stripe sizes are designed to reduce some types of problems that are less common when you use whole disks for your RAID partitions.
What is really need is disk administration that configures RAID partitions based on the partition size, location, and the characteristics of the file system to be used on the partition. You should be able to specify read or update oriented plus small or large file orientation. Small files benefit most from small strip sizes when the file system block allocation and RAID stripe size work together. Database updates work the same as small file sizes. If a database updates a database using 4 KB pages, a 4KB file allocation block and 4 KB strip size should work best.
RAID stripe size is further complicated by the stripe relationship to number of disks. When you write a 4 KB stripe across RAID 5, you are not writing 4KB across all the disks, you are writing 4 KB per disk. If you are writing a 4 KB file system allocation block to my 3 disk RAID 5 array, you are writing 2 KB to each of 2 data disks and 2 KB of parity to the third disk. To write 4 KB to a 5 disk array, 4 data disks plus a parity disk, you write 1 KB to each data disk. Using the example of a database writing 4 KB pages, you would use a stripe size of 2 KB on a 3 disk array and a stripe size of 1 KB on a 5 disk array.
512 KB stripes start to seem silly when you look at actual examples of use.
Go have a sleep
When you finish the formatting, mount the RAID array as a partition and think you are finished, the RAID array starts to synchronize. Synchronizing takes ages, over an hour for 2 TB. Go get some sleep.
After the disks are synchronized, you have to move your home partition or similar to the new partition. I will tackle that tomorrow after a sleep.








