• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Changing ZFS mountpoint?

Dark Atheist

Moderator
Staff member
Political User
#1
Is it just a simple case of reissuing the mount part, for example this is what i did to make the ZFS tank

zpool create tank ad6 ad8 ad10
zfs create tank/store
zfs set mountpoint=/store tank/store

im guessing is just a case of me doing

zfs set mountpoint=/path/to/new/mount/point tank/store

i dont want to lose what is on there but i need to move the dir
 

Dark Atheist

Moderator
Staff member
Political User
#4
is when you have 750gb on there, i suppose to those who know everything there is to know about freebsd is not a great deal
 

Dark Atheist

Moderator
Staff member
Political User
#6
yes i did - that's why i asked, but they were ufs fs not zfs, and i wanted to make really really sure, last time i moved mount points the whole fs went missing, also don't change the tank or you will lose stuff
 
#7
if you lost data moving mountpoints you must have done something wrong.

You can't loose an entire disk just by editing /etc/fstab...
 

Dark Atheist

Moderator
Staff member
Political User
#8
i know i did something wrong, that's why i made zfs and have left it till now :) if mem serves think i did something with lable but thought i canceled the changes - more then likely i never and thats what caused it, either whay i learnt a lesson there.

That is all :p
 

Members online

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,013
Latest member
Pdawgintown