c3d2-wiki/Server%2Fstorage.mw

65 lines
1.1 KiB
Plaintext
Raw Normal View History

[[Kategorie:Infrastruktur]]
== Hardware Info ==
2014-04-10 23:20:15 +02:00
Virtualisiert durch [[intern:Freebert]]
== Software Info ==
FreeBSD Jail Container
2014-04-10 23:20:50 +02:00
* minidlna
* nfs
* samba (in arbeit)
* ftp (in arbeit)
== Verwendungszweck ==
* DLNA Sharing
* File Sharing
== HOST: FreeBSD NFS Export / ZFS sharenfs ==
<source lang=bash>
vi /etc/rc.conf
rpcbind_enable="YES"
nfs_server_enable="YES"
mountd_flags="-r"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
</source>
dirkter ZFS Export
<source lang=bash>
zfs set sharenfs="-maproot=root -network=172.22.99.0 -mask=255.255.255.0" zroot/ezjail/storage.hq.c3d2.de/rpool
</source>
== NFS Import unter Linux ==
<source lang=bash>
apt-get install nfs-common portmap
</source>
2014-04-10 23:22:02 +02:00
mount:
<source lang=bash>
mkdir /freebert-nfs
showmount -e 172.22.99.10
mount 172.22.99.10:/usr/jails/storage.hq.c3d2.de/rpool /freebert-nfs
</source>
== NFS Import unter FreeBSD ==
<source lang=bash>
vi /etc/rc.conf
nfs_client_enable="YES"
</source>
<source lang=bash>
mount 172.22.99.10:/usr/jails/storage.hq.c3d2.de/rpool /freebert-nfs
</source>
== Log ==
* NFSv3 Export