How to detach volume if it's being used by freenas

Status
Not open for further replies.

lohmag

Dabbler
Joined
Dec 2, 2013
Messages
38
Hello!
I want to detach volume VOL1 and recreate RaidZ. But Freenas shows that it is using it for system files:
<code>df -h
Filesystem Size Used Avail Capacity Mounted on
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201510290351 6.7G 532M 6.1G 8% /
devfs 1.0k 1.0k 0B 100% /dev
tmpfs 32M 5.3M 26M 17% /etc
tmpfs 4.0M 8.0k 4M 0% /mnt
tmpfs 10G 191M 10G 2% /var
freenas-boot/grub 6.2G 6.8M 6.1G 0% /boot/grub
VOL1 2.6T 724M 2.6T 0% /mnt/VOL1
VOL2 4.9T 153k 4.9T 0% /mnt/VOL2
VOL2/VOL2 12T 7.7T 4.9T 61% /mnt/VOL2/VOL2
VOL1/.system 2.6T 83M 2.6T 0% /var/db/system
VOL1/.system/cores 2.6T 6.1M 2.6T 0% /var/db/system/cores
VOL1/.system/samba4 2.6T 9.5M 2.6T 0% /var/db/system/samba4
VOL1/.system/syslog-b633c2c7df1f4d6cadfcdcfb916e584f 2.6T 2.9M 2.6T 0% /var/db/system/syslog-b633c2c7df1f4d6cadfcdcfb916e584f
VOL1/.system/rrd-b633c2c7df1f4d6cadfcdcfb916e584f 2.6T 329k 2.6T 0% /var/db/system/rrd-b633c2c7df1f4d6cadfcdcfb916e584f
VOL1/.system/configs-b633c2c7df1f4d6cadfcdcfb916e584f 2.6T 22M 2.6T 0% /var/db/system/configs-b633c2c7df1f4d6cadfcdcfb916e584f</code>

I want to destroy VOL1 volume is it safe becouse VOL2 have essential data?
 

Bidule0hm

Server Electronics Sorcerer
Joined
Aug 5, 2013
Messages
3,710
Move the system dataset to somewhere else (System tab in the web GUI, then I don't remember the sub-tab but you'll find it, there's not 36000 tabs) ;)
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
"System Tab -> System Dataset sub-tab -> Dataset dropdown"
Pick Vol2 and freenas will move the system dataset and files to vol2.
 

lohmag

Dabbler
Joined
Dec 2, 2013
Messages
38
Thank you! It is working.
There is another problem - I have now 10 empty disks and want to create raidz3 from it but how much would be perfomance issues with that? Or should i go with 9 disks raidz2? But there be one wasted disk.. How much perfomance issues with no propriete disk layout in raidz?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
You likely won't notice a difference between 9xRAIDZ2 and 10xRAIDZ3 (or 10xRAIDZ2). The big difference is between RAIDZ and striped mirrors.
 
Status
Not open for further replies.
Top