zfs-discuss@opensolaris.org
[Top] [All Lists]

Re: [zfs-discuss] Not sure how to do this in zfs

Subject: Re: [zfs-discuss] Not sure how to do this in zfs
From: "Andrey V. Elsukov"
Date: Fri, 21 Aug 2009 22:55:05 +0400
Gregory Skelton wrote:
I've tried changing all kinds of attributes for the zfs's, but I can't seem to find the right configuration.

So I'm trying to move some zfs's under another, it looks like this:

/pool/joe_user move to /pool/homes/joe_user

You can do it in several ways:
1. Create a new FS and copy data from old FS :)
2. Change mountpoint:
# zfs set mountpoint=/pool/homes/joe_user pool/joe_user
3. Use clone and promote:
# zfs snapshot pool/joe_user@copy
# zfs clone pool/joe_user@copy pool/homes/joe_user
# zfs promote pool/homes/joe_user
verify that all is ok, then destroy old FS

It's IMHO...
--
WBR, Andrey V. Elsukov
_______________________________________________
zfs-discuss mailing list
zfs-discuss@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

<Prev in Thread] Current Thread [Next in Thread>