NetBSD-Users archive

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

Re: Resizing raidframe



manu%netbsd.org@localhost (Emmanuel Dreyfus) writes:

>resize_ffs(8) is helpful when comes the need to increase a filesystem.
>But if that filesystem is RAIDframe-based, the RAID should be resized
>first. 

>How can that be done with a RAID 1? Can I just increase the RAID
>partitions size, unconfigure/reconfigure the RAID,and force parity
>rewrite? Or are there pitfalls I missed there?

raidframe stores its size in the raid label which is not affected
by the change to the partition information. But it should be possible
to just initialize the RAID labels again using 'raidctl -I' and force
a reconstruction with 'raidctl -R'.

N.B. nowadays it shouldn't be necessary anymore to have RAID partitions
smaller than the disk, so resizing becomes a bit theoretical.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index