Differences

This shows you the differences between two versions of the page.

Link to this comparison view

saisp:labs:06:contents:03 [2013/11/11 00:46]
127.0.0.1 external edit
saisp:labs:06:contents:03 [2014/03/30 16:02] (current)
alexandru.carp
Line 1: Line 1:
-==== 03. Lorem ipsum ====+==== 03. [10p] Montarea automată a sistemului de fișiere NFS ====
  
-...+Dorim ca montarea sistemul de fișiere NFS să fie realizată automat după un restart al mașinii virtualeAcest lucru se poate realiza după același principiu al sistemelor de fișiere obișnuite, folosind fișierul ''/​etc/​fstab'':<​code bash> 
 +root@storage1:​~#​ cat /​etc/​fstab|grep storage3 
 +storage3:/​nfs-storage3 ​ /​nfs-storage3 ​  ​nfs ​    ​auto ​   0       0 
 +</​code>​
  
 +Realizați configurația necesară pentru a monta automat sistemele de fișiere NFS pe stația ''​storage2'',​ exportate de stațiile ''​storage1''​ și ''​storage3''​.
 +<​solution -hidden>
 +<code bash>
 +root@storage2:​~#​ cat /​etc/​fstab|grep storage
 +storage3:/​nfs-storage3 ​ /​nfs-storage3 ​  ​nfs ​    ​auto ​   0       0
 +storage1:/​nfs ​ /nfs   ​nfs ​    ​auto ​   0       0
  
 +root@storage2:​~#​ mount -a
 +root@storage2:​~#​ ls  /nfs
 +test-nfs ​ test-nfs2
 +root@storage2:​~#​ ls /​nfs-storage3/​
 +lost+found ​ test
 +
 +</​code>​
 +</​solution>​
saisp/labs/06/contents/03.1384123598.txt.gz · Last modified: 2014/03/29 17:43 (external edit)
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0