bin/181847: zpool sets wrong mountpoint when using altroot

Anton Sayetsky vsjcfm at gmail.com
Fri Sep 6 06:40:01 UTC 2013


The following reply was made to PR bin/181847; it has been noted by GNATS.

From: Anton Sayetsky <vsjcfm at gmail.com>
To: ShelLuser <pl at catslair.org>, bug-followup at freebsd.org
Cc:  
Subject: Re: bin/181847: zpool sets wrong mountpoint when using altroot
Date: Fri, 6 Sep 2013 09:33:56 +0300

 Hi,
 You're wrong. Mountpoint for newly created ZFS pool is
 ${ROOTDIR}/${POOLNAME}. So if you set the altroot to /mnt, mountpoint
 will be /mnt/${POOLNAME}.
 If you want to set exact mountpoint, you should use -m switch rather
 than -R. It is an _expected_ behavior.


More information about the freebsd-bugs mailing list