RE: Best way to create RAID-6 for swap partition - existing one failed
From: Leslie Rhorer <hidden>
Date: 2011-05-20 03:32:31
-----Original Message----- From: linux-raid-owner@vger.kernel.org [mailto:linux-raid- owner@vger.kernel.org] On Behalf Of Stan Hoeppner Sent: Wednesday, May 18, 2011 9:26 PM To: Gavin Flower Cc: linux-raid@vger.kernel.org; neilb@suse.de; mb@gem.win.co.nz Subject: Re: Best way to create RAID-6 for swap partition - existing one failed On 5/18/2011 7:11 PM, Gavin Flower wrote: We're getting pretty OT here...quoted
What obvious thing have I done, or not done, here? What should I do now? (I am not panicking, because I can always revert back...) I tried to implement you suggestion, # swapoff -a # dd if=/dev/zero of=/swapfile1 bs=1K count=16M 16777216+0 records in 16777216+0 records out 17179869184 bytes (17 GB) copied, 119.642 s, 144 MB/s # mkswap /swapfile1 Setting up swapspace version 1, size = 16777212 KiB no label, UUID=9afbf206-9a79-45b8-ad4b-148f71c440d717GB is a bit ridiculous for swap, especially on a single user machine.
I once encountered an fsck that required more than 400G. I had to kill the process, slot a new 500G drive, and enable swap on the new drive.