ZFS- how to "move" mountpoints?


bdstester - I’m going to put this gently but clearly. I have, in my career, been both tech-support (for tech folks and civilians) and hiring management (as well as other positions in the IT field) all with reasonable success. If you were in the candidate pool applying for a tech support position under me, you would not make the cut. Your attitude is all wrong. All details are transferable, but sometimes methods must flex. The fact that we humans can (usually) flex that way is one of the biggies that make us superior to the machines. Your script needs fixing. Thanks.

Also - I read that first. I’ve worked with Oracle stuff before. They write their docs so that you need to take their training. Why? Because they charge for it.


By now, the same is my opinion about You. Either Your professional experience is, like You say: Then what are You doing here? Or You can’t understand the documentation, and were replaced by another, more competent person, or Your information is a lie, and You want to make Yourself more important than You are.

You asked for help, and You behave like a brat. How old are You?

Is it my fault, when You already read Oracle’s documentation, then didn’t understand it, and now blame others?

Is this the way, You treated Your underlings, while You still were the supervisor of Your “CallCenter”?


bsdtester - Look, Go away. I’m trying to get some help here and you have contributed nothing but arrogance, condescension and obfuscation here. Find another hobby.


That’s a nice idea.

To all whom it my concern. please delete my account and all my postings I ever made here.

Best wishes to all, except one.

I’ll never talk badly about this forum and its members and owners. It was a nice time. Thank You. Farewell.


Cool it both of you. I’m speaking for myself, not the forum, not TrueOS, not ixSystems, not FreeBSD. It makes it difficult to provide help.

I found the information I was looking for, in emails at home. I was helping @rehcla do this; I thought it wound up as a howto here, but maybe not. I looked at my posts, couldn’t find it, so maybe searching for posts by rehcla it’ll show up. That’ll give me time to clean up the email so I can isolate what we did and redact anything that may be personal. @Nate.Lee if you’d like to move this offboard until we get it done, PM an email address and I’ll send the cleanedup thread to you and we can go from there. Then once we’ve gotten it down to a sequence of commands that work and accomplish what you want we can make sure it’s posted again in the Tips/Tricks/Howtos. It’ll take me a little bit to get it cleaned up (a day or so, probably for Friday), I had a few commands wrong but they served as examples of “oh if this happens, here’s what it means and what we should have done” Error and Correction.

Let me now what you want to do.

Found it. @rehcla (big thank you for doing that) did post a howto of what we did. @Nate.Lee he used a single disk as the “move to”, but it’s easy enough to create the destination as a mirror and then do the moving. Or you can do the destination as a single, turn the single into a mirror, then add 2 more to mirror the mirror.
Why don’t you start with this, then we can work through any of your specific modifications you want.


We think mer is on the right track. And for those who want to read up on commands, we suggest: TrueOS Community Guides, specifically [Walkthrough] Move ZFS datasets between pools.


Awesome walk-through.


@Nate.Lee and I had a bit of back and forth through PMs; he was running into some unique stuff.
We learned:
If using recycled disks, make sure you gpart destroy -F and dd if=/dev/zero for at least 1 or 4 MB before doing the new partitioning.
Single user mode: don’t. There a probably some things that get mounted read only in single user mode and some cache files and mountpoints can’t get updated. Just make sure you have all your device names squared away and you can do pretty much everything in normal multiuser mode. Of course, don’t move mountpoints out from under yourself.

A lot of credit goes to @rehcla and @Nate.Lee for being remote hands and eyes. I mostly just put together a sequence of steps, some from memory, some from online, some from books (yes, another plug for Michael W Lucas and his FreeBSD filesystems books. Trust me, they are worth every penny and no I’m even getting a gelato from him or Allen Jude). Once you walk through the sequence, and do a bit of reading, you realize how easy it is to extend things by creating mirrors and other structures. The links that @TRON-DELTA added above are also worth the time (more official source than me).


Just got thru it. Sorry for the delay, big thanks to mer!!! So far things look fine, a month will tell. :smiley:


Glad to hear that so far things are working for you.