-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2010/09/14 17:56, Peter Jeremy wrote: > I am looking at backing up my fileserver by replicating the > filesystems onto an external disk using send/recv with something > similar to: > zfs send ... myp...@snapshot | zfs recv -d backup > but have run into a bit of a gotcha with the mountpoint property: > - If I use "zfs send -R ..." then the mountpoint gets replicated and > the backup gets mounted over the top of my real filesystems. > - If I skip the '-R' then none of the properties get backed up. > > Is there some way to have zfs recv not automatically mount filesystems > when it creates them?
zfs receive have a '-u' option to specify that no mount should be done. By the way it might be a good idea not to specify mountpoint at the sending site, which makes replication easier (one way is to have the topmost layer mountpoint=/ but canmount=off). Cheers, - -- Xin LI <delp...@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQEcBAEBCAAGBQJMkB5AAAoJEATO+BI/yjfB1QkIAIJ8IsZYkdUAH5ciqzVN/JPM Kvoc4Thk2YyVixBlh7ev3q40+EHOKRxr3GtNXNBjN6K3YqcKlVXVWK4ntU08RnwL f5bm2JQJoDjA/z2J+mDVmtsbI4kG9TavaOou9f7Bek9ql/UFowH48dMFTf0klR/3 /S1GtLoLma3eCOwxKPjy1gEj+EcxXB2C6Ip116y1MnNxlGXe80i+tGVFfAAwO416 1EGDJcvs3wDvU9s1/F9VZS4LSadEVOUkWfSLKa8toaB8GKhwWNIP0ZK2jSxPFRyN PryJOgE+N8tBGEce4TtMtouZ8wM/dPL0dB86YFk4OjAkkx4uNoY7PhWLMMveCdY= =TvJl -----END PGP SIGNATURE----- _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss