How to recover when a volume fills up

Status
Not open for further replies.

Gordon Thagard

Dabbler
Joined
Jan 25, 2016
Messages
33
I have three volumes on this system. Volume 1 has filled up and is non-responsive. I would like to confirm that if I backup and destroy Volume 2 can I then simply import those disks into Volume 1 and solve my problem? Are there any gotchas I should be aware of?
mojovols.jpg
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Step 1: remove some data with this command echo "" > removefile.txt this will truncate the file you want to remove. Once you are down to 90% full you can start messing with your pool.

As for moving your disks you will want to detach that volume and mark the disks as new. Then extend vol1 using the volume manager. What is the output of zpool status, freenas version and hardware specs?

Sent from my Nexus 5X using Tapatalk
 

Gordon Thagard

Dabbler
Joined
Jan 25, 2016
Messages
33
Build FreeNAS-9.10.2-U3 (e1497f269)
Dell Poweredge R510, 12x2tb HDD

# zpool status
pool: freenas-boot
state: ONLINE
scan: scrub repaired 0 in 0h1m with 0 errors on Fri May 5 03:46:40 2017
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
ada0p2 ONLINE 0 0 0

errors: No known data errors

pool: vol1
state: ONLINE
scan: scrub repaired 0 in 14h58m with 0 errors on Sun Apr 30 14:59:01 2017
config:

NAME STATE READ WRITE CKSUM
vol1 ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gptid/3bd26119-5d4b-11e5-aa55-d4ae526931b1 ONLINE 0 0 0
gptid/3c255957-5d4b-11e5-aa55-d4ae526931b1 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/3c7610da-5d4b-11e5-aa55-d4ae526931b1 ONLINE 0 0 0
gptid/3cc70d3e-5d4b-11e5-aa55-d4ae526931b1 ONLINE 0 0 0

errors: No known data errors

pool: vol2
state: ONLINE
scan: scrub repaired 0 in 0h26m with 0 errors on Sun Apr 30 00:26:43 2017
config:

NAME STATE READ WRITE CKSUM
vol2 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/477f0945-5e3d-11e5-aa55-d4ae526931b1 ONLINE 0 0 0
gptid/47e48d4b-5e3d-11e5-aa55-d4ae526931b1 ONLINE 0 0 0
gptid/4840c408-5e3d-11e5-aa55-d4ae526931b1 ONLINE 0 0 0

errors: No known data errors

pool: vol3
state: ONLINE
scan: scrub repaired 0 in 2h37m with 0 errors on Sun May 7 02:37:40 2017
config:

NAME STATE READ WRITE CKSUM
vol3 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/5b5d8e38-615b-11e5-811f-d4ae526931b1 ONLINE 0 0 0
gptid/5bb95e07-615b-11e5-811f-d4ae526931b1 ONLINE 0 0 0
gptid/5c0dabbc-615b-11e5-811f-d4ae526931b1 ONLINE 0 0 0
gptid/5c61cbb5-615b-11e5-811f-d4ae526931b1 ONLINE 0 0 0
gptid/5cb6d16a-615b-11e5-811f-d4ae526931b1 ONLINE 0 0 0

errors: No known data errors
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
So you will only get 3 extra drives by removing vol2 and since you have mirrors for vol1 you should probably only add a mirror to that pool. So you will get an extra 2TB of space in vol1. And you will have 1 extra disk sitting on the shelf to do with as you please.
 

Gordon Thagard

Dabbler
Joined
Jan 25, 2016
Messages
33
Yep, that's what I did. I extended the volume as a two disk mirror and now have one disk left over. Thank you for your assistance.
mojovols2.jpg
 
Status
Not open for further replies.
Top