NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/53306: Need to resize Raidframe partition to fill a new drive



The following reply was made to PR install/53306; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: install/53306: Need to resize Raidframe partition to fill a new
 drive
Date: Wed, 23 May 2018 06:52:59 +0200

 On Wed, May 23, 2018 at 02:40:00AM +0000, ccatrian%eml.cc@localhost wrote:
 
 > Just got a new drive bigger for my Raidframe RAID-1 setup.
 
 I assume you mean two new bigger drives (or more, if you have spare
 components in the RAID).
 
 > It is reconstructed but I couldn't find the right procedure to extend the RAID partition, to fill the rest of the new drive.
 
 > Or I can do the reverse to this:
 > 
 > http://mail-index.netbsd.org/netbsd-users/2010/03/30/msg005938.html
 
 Yes, that is one option. But you can also go via a temporary second
 raid set.
 
 Most easy way: if you have enough SATA ports to connect all drives at
 the same time:
 
  - configure a new raid on the new drives, with the desired partition layout
  - newfs all partitions on it
  - mount both old and new partitions, copy over all the data
  - remove the old raid
 
 If the number of SATA ports is restricted, you can do it with RAID-1 halfes
 instead:
 
  - fail one of the drives in the old set, remove the drive
  - install the new (bigger) drive
  - create a new raid-1 set with one missing component and the new drive
  - continue as above (desired partition layout, newfs, mount, copy)
  - remove the old drive, add the other new drive
  - add the other new drive to the new raid set and reconstruct
 
 Usual warnings apply (create backups, ...)
 
 Martin
 


Home | Main Index | Thread Index | Old Index