Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2014 08:53:26 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-fs@freebsd.org
Subject:   Re: zfs - moving filesystem from one zpool to another
Message-ID:  <5342ADD6.9000502@denninger.net>
In-Reply-To: <20140407134306.GA67619@potato.growveg.org>
References:  <20140407134306.GA67619@potato.growveg.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

On 4/7/2014 8:43 AM, John wrote:
> Hello list,
>
> For other reasons I had to install pc-bsd 10 rather than the regular
> freebsd on my new desktop. Unfortunately it insisted on installing to
> the first device which is a ssd (110GB). It makes its own zpool called
> "tank" and everything gets installed there.
>
> Now, while it's great that some stuff is there on the ssd like / /boot
> and /root /var and /tmp, I'm rather less enamoured that /usr/ports /usr/src
> and /home are there too.
>
> With the hdds in the machine (ada1 ada2 and ada3) I made a raidz array
> that made 7.2TB usable space. This zpool is called "storage". I'd like
> to put the not-so-active filesystems on the zpool called "storage". A
> couple of issues though:
>
> 1. /usr/local is not it's own filesystem. Is it a case of just doing a
> recursive copy on the existing /usr/local into a newly created
> /storage/usr/local and setting the mountpoint as /usr/local (after
> deleting the old /usr/local) ?
>
> 2. /usr/ports IS it's own filesystem on tank:
> tank/usr/ports on /usr/ports (zfs, local, nfsv4acls)
>
> Can I zfs export this from tank and then zfs import it into storage ? If
> so, do I need to set a mountpoint?
>
> thanks,
Use "zfs send ..... | zfs recv" to do this; you zfs send the filesystem 
into a newly-created one on the other pool.

-- 
-- Karl
karl@denninger.net



[-- Attachment #2 --]
0	*H
010	+0	*H
O0K030
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0
130824190344Z
180823190344Z0[10	UUS10UFlorida10UKarl Denninger1!0	*H
	karl@denninger.net0"0
	*H
0
bi՞]MNԿawx?`)'ҴcWgR@BlWh+	u}ApdCFJVй~FOL}EW^bچYp3K&ׂ(R
lxڝ.xz?6&nsJ+1v9v/(kqĪp[vjcK%fϻe?iq]z
lyzFO'ppdX//Lw(3JIA*S#՟H[f|CGqJKooy.oEuOw$/섀$삻J9b|AP~8]D1YI<"""Y^T2iQ2b	yH)]	Ƶ0y$_N6XqMC 9՘	XgώjGTP"#nˋ"Bk100	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U|8˴d[20U#0]Af4U3x&^"408	`HB+)https://cudasystems.net:11443/revoked.crl0
	*H
gBwH]j\x`(&gW32"Uf^.^Iϱ
k!DQAg{(w/)\N'[oRW@CHO>)XrTNɘ!u`xt5(=f\-l3<@C6mnhv##1ŃbH͍_Nq
aʷ?rk$^9TIa!kh,D-ct1
00010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0	+;0	*H
	1	*H
0	*H
	1
140407135326Z0#	*H
	1XPX;50l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1/0-	*H
	 customer-service@cudasystems.net0
	*H
zc!뉳ovM|cxp}M؇e0tWQ2+ݙ^jG4"KKd'Ni-:?p.eQgK&vu'^/q$u#R?}"Pe3}I-E.5_N	*o ~[P' ީy7ukq1S+gjjz!LK?LQ[G8*1Pa=mg5oc
(EK-/n.XJb|ݿÉ Oȟl%!("ߣRd <8N!ܧft%G;&?.%]R*`716`6K0O{;B?\t4Λ]l``RTIOmP\>QYSA"D2pU$I{v}tbxl`d*(F

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5342ADD6.9000502>