MDADM: Full usefull ‘Cheat Sheet’

Mdadm is the modern tool most Linux distributions use these days to manage software RAID arrays; in the past raidtools was the tool we have used for this. This cheat sheet will show the most common usages of mdadm to manage software raid arrays; it assumes you have a good understanding of software RAID...

Align partitions for best performance using parted

There are two common problems when creating partitions in Linux on big storage arrays. The first is easy, and the warning message from fdisk is a bit of a giveaway: WARNING: The size of this disk is 8.0 TB (7970004230144 bytes). DOS partition table format can not be used on drives for volumes larger...

Forcing a hard disk to reallocate bad sectors

Sometimes a hard disk is hinting on an upcoming failure. Some disks start to make unexpected sounds, others are silent and only cause some noise in your syslog. In most cases the disk will automatically reallocate one or two damaged sectors and you should start planning on buying a new disk while your data...

Copy Master Boot Record (MBR)

How do I copy MBR from one hard disk to another hard disk? To copy MBR simply use the dd command. dd command works under all Linux distros and other UNIX like operating systems too. A master boot record (MBR) is the 512-byte boot sector that is the first sector of a partitioned data...

Scroll to top