Welcome to the most active Linux Forum on the web.
Go Back > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name


Hi. I'm a Unix Administrator, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: Unix.
Rate this Entry

Adventures in OpenBSD softraid

Posted 12-09-2018 at 08:55 AM by rocket357

Hosted at one of the small-ish cloud providers I have a small VM that I recently resized. Along with a small bump in RAM (for the same price), I was able to secure a bit more storage space. Win-win, right?

I have an OpenBSD RAID volume on the server. Built within this RAID volume is a softraid crypto virtual disk. I decided to resize this crypto volume, so I've booted the server up with the ramdisk kernel. First, I resized the physical volume's layout, so a quick "fdisk -iy sd0" and disklabel of sd0 gives me the expected larger size for the RAID partition on the "physical" disk. Now I just need to resize the crypto volume so I can adjust the partition table on the crypto volume. fdisk -iy sd1 and...hrmmm. That didn't change the size of the volume. It is managed by softraid, though, so perhaps that's the issue...

The man pages don't say much past *creation* of the crypto volume. Resizing a crypto volume isn't mentioned in the softraid man page, nor the bioctl man page, etc...

I guess this is intended to be a "wipe and restore" type of operation, and an in-place expansion of a crypto volume just isn't possible at this time.

Posted in Uncategorized
Views 1805 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 10:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration