zap (destroy) GPT and MBR data structures
sgdisk --zap-all /dev/sdb
create largest possible new partition
sgdisk --largest-new=1 /dev/sdb
check partition table integrity
sgdisk --verify /dev/sdb
print partition table
sgdisk --print /dev/sdb
I've done a pretty major overhaul to the article over the past week. Please check it for accuracy. One of my goals to was add a thread of continuity to the article so it reads as complete work rather than as a hodgepodge of advice. I feel that mixing formatting types and utils for example is confusing to newbies. I recommend sticking with GTP as you can see in the text.Graysky (talk) 23:22, 5 October 2013 (UTC)
RAID 1 and Stride/Stripe
The section "Build the Array" mentions "In a RAID1 the chunk switch is actually not needed." and mdadm outputs "chunk size ignored for this level". cat /proc/mdstat outputs "65536KB chunk" regardless of what chunk size was chosen during creating.
Yet the section "Calculating the Stride and Stripe-width" has an example for RAID1 and uses a 64KB chunk size for calculating it. What is this math based on if it is impossible to choose a chunk size for RAID1 —This unsigned comment is by Malstrond (talk) 13 January 2014. Please sign your posts with ~~~~!
Subsituting one identical disk from another
It's useful to use sfdisk -d /dev/sda | sfdisk /dev/sdb for copy the partition from one of the disks of the raid to the replacing disk. External references: http://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array. If you don't use sfdisk, then you could receive the error: mdadm: /dev/sdb1 not large enough to join array —This unsigned comment is by Xan (talk) 8 November 2014. Please sign your posts with ~~~~!
Formatting Root Filesystem
If my root filesystem are not going to be in the array, shouldn't the instructions tell me to format it before starting with RAID? —This unsigned comment is by Kete (talk) 6 March 2016. Please sign your posts with ~~~~!
- I think it is self-speaking. RAID#Setup steps are written like they are performed from an installed system. RAID#Installing Arch Linux on RAID is a separate top level section. A separate case would be to install a secondary mount (e.g. /home) to a raid from the ISO when the system is installed. This is when I'd agree to your comment about the root filesystem. But adding such a special case into RAID#Setup would make it less clear. If you have an idea how to easily integrate it, please go ahead. --Indigo (talk) 06:59, 8 March 2016 (UTC)
- No objections, closing. --Indigo (talk) 09:36, 1 May 2016 (UTC)