Source string Read only

(itstool) path: sect1/para
207/2070
Context English State
Create the <filename>/etc/rc.conf</filename>, <filename>/etc/resolv.conf</filename> and <filename>/etc/fstab</filename> files. Do not forget to properly set the network information and to enable <application>sshd</application> in <filename>/etc/rc.conf</filename>. The contents of <filename>/etc/fstab</filename> will be similar to the following:
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/swap none swap sw 0 0
/dev/mirror/root / ufs rw 1 1
/dev/mirror/usr /usr ufs rw 2 2
/dev/mirror/var /var ufs rw 2 2
/dev/cd0 /cdrom cd9660 ro,noauto 0 0
Create <filename>/boot/loader.conf</filename> with the following contents:
geom_mirror_load="YES"
zfs_load="YES"
Perform the following command, which will make <application>ZFS</application> available on the next boot:
<prompt>#</prompt> <userinput>echo 'zfs_enable="YES"' &gt;&gt; /etc/rc.conf </userinput>
Add additional users to the system using the <citerefentry><refentrytitle>adduser</refentrytitle><manvolnum>8</manvolnum></citerefentry> tool. Do not forget to add a user to the <systemitem class="groupname">wheel</systemitem> group so you may obtain root access after the reboot.
Double-check all your settings.
The system should now be ready for the next boot. Use the <citerefentry><refentrytitle>reboot</refentrytitle><manvolnum>8</manvolnum></citerefentry> command to reboot your system.
ZFS
If your system survived the reboot, it should now be possible to log in. Welcome to the fresh FreeBSD installation, performed remotely without the use of a remote console!
The only remaining step is to configure <citerefentry><refentrytitle>zpool</refentrytitle><manvolnum>8</manvolnum></citerefentry> and create some <citerefentry><refentrytitle>zfs</refentrytitle><manvolnum>8</manvolnum></citerefentry> file systems. Creating and administering <application>ZFS</application> is very straightforward. First, create a mirrored pool:
<prompt>#</prompt> <userinput>zpool create tank mirror /dev/ad[01]s1f</userinput>
Next, create some file systems:
<prompt>#</prompt> <userinput>zfs create tank/ports</userinput>
<prompt>#</prompt> <userinput>zfs create tank/src</userinput>
<prompt>#</prompt> <userinput>zfs set compression=gzip tank/ports</userinput>
<prompt>#</prompt> <userinput>zfs set compression=on tank/src</userinput>
<prompt>#</prompt> <userinput>zfs set mountpoint=/usr/ports tank/ports</userinput>
<prompt>#</prompt> <userinput>zfs set mountpoint=/usr/src tank/src</userinput>
That is all. If you are interested in more details about <application>ZFS</application> on FreeBSD, please refer to the <link xlink:href="https://wiki.freebsd.org/ZFS">ZFS</link> section of the FreeBSD Wiki.

Loading…

No matching activity found.

Browse all component changes

Glossary

English English
No related strings found in the glossary.

Source information

Source string comment
(itstool) path: sect1/para
Flags
read-only
Source string location
article.translate.xml:573
String age
a year ago
Source string age
a year ago
Translation file
articles/remote-install.pot, string 105