Re: ZFS

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Thu, 17 Nov 2011 13:17:27 +0100 (CET)

Harald Neuffer wrote:
> Nun möchte die einzelne Platte als Notsystem verwenden. Wie kann ich
> mein zfs backup/home beim Booten von der einzelnen großen Platte auf
> storage/home umbenennen? Gibt es sowas wie /etc/fstab für zfs?

Aus zfs(8):

   If needed, ZFS file systems can also be managed with traditional
   tools (mount, umount, /etc/vfstab). If a file system's mount point
   is set to "legacy", ZFS makes no attempt to manage the file system,
   and the administrator is responsible for mounting and unmounting
   the file system.

(/etc/vfstab bezieht sich auf Solaris; bei FreeBSD ist das
natürlich /etc/fstab.)

Alternativ kannst Du natürlich auch einfach den Mountpoint
mit »zfs set mountpoint=/storage/home backup/home« ändern
(sofern ich Deinen Anwendungsfall richtig verstanden habe).
Evtl. ist auch "zfs rename" für Dich interessant. Details
findest Du in der Manpage.

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
"One of the main causes of the fall of the Roman Empire was that,
lacking zero, they had no way to indicate successful termination
of their C programs."
        -- Robert Firth
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Thu 17 Nov 2011 - 13:18:13 CET

search this site