Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Shrink RAIDZ volume non-destructively?

Joined
Dec 6, 2015
Messages
2
Thanks
0
#1
I currently have a 5x3Gb array, RAIDZ type. I had allocated (some years ago, the volumes have migrated through a couple hardware upgrades) about 650Gb in a volume on my FreeNAS server for my macbook backups from a 500gb HDD. I am in the process of upgrading my MBP and would like to go with the 1Tb drive option...but I've allocated my entire remaining space for another volume.

I've got about 7Tb of storage used in the other volume and I obviously don't want to lose that and finding a temp storage option is kind of expensive just for one process. Hence the question...is there a way to shrink the larger volume without destroying the data already on it? Obviously if there is any appreciable risk of data loss (other than what is always there) I probably won't do this but thought I would ask.

Thanks for any insight.
 
Joined
Oct 18, 2018
Messages
615
Thanks
271
#2
Hi @RJC, welcome back to the forums. I think I have an idea of what you're asking but I want to be sure; some of what you wrote was hard to follow. Would you mind clarifying my questions below?

I currently have a 5x3Gb array, RAIDZ type.
I assume you means 5x3TB (Terabyte) and not 5x3Gb (Gigabit)? Also, what exactly are you using for RAIDZ? That could refer to RAIDZ1, RAIDZ2, or RAIDZ3.

about 650Gb in a volume on my FreeNAS server for my macbook backups from a 500gb HDD.
What do you mean here exactly? Do you mean that you have allocated 650GB on your FreeNAS machine to be used as backup media for your Macbook's 500GB HDD? If so, how did you allocate it?

I imagine you created a dataset, but maybe you created a zvol? Did you assign a quota or reservation to anything?

For any datasets or zvols you have exactly how big are they and how much data is in them?

I am in the process of upgrading my MBP and would like to go with the 1Tb drive option...but I've allocated my entire remaining space for another volume.
How are you backing up your MBP? Are you using Time Machine, are you moving files over yourself manually, are you using some other backup software?

Hence the question...is there a way to shrink the larger volume without destroying the data already on it? Obviously if there is any appreciable risk of data loss (other than what is always there) I probably won't do this but thought I would ask.
Generally losing data will be fairly hard; the system is set up to try to prevent data loss. Exactly how to go about what you want to do and whether you can do it in the first place will depend on the answers above. Please try to copy exact values etc from the system where possible. Screenshots can be helpful as well but be sure to expand menus where appropriate to provide all the relevant data; I'm thinking specifically about datasets etc.

Also, what version of FreeNAS are you running?
 
Top