Changing ZFS mountpoint?

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
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

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
to answer my own question yes you can move it just be using the mount point command, and you don't loose anything :)
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
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
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
Did you ever loose data moving disks to other mount points before? :p
 

Dark Atheist

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
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
 

LordOfLA

Godlike!
Joined
2 Feb 2004
Messages
7,026
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

OSNN Veteran Addict
Political Access
Joined
8 Apr 2003
Messages
6,376
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

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,426
Members
5,593
Latest member
moussa021