Next Previous Contents

9. Kanontas export se filesystems

Fysika, o tropos toy na kanoyme export se filesytems me to NFS, den einai plhrws symbatos stis diafores platformes ergasias. S' ayth thn periptwsh, ayta poy jefeugoyn ap' ton kanona, einai ta Linux kai Solaris 2. Ayth edw h enothta 8etei proxeira se seira toys tropoys toy export gia ta perissotera LS. An to diko sas den kaluptetai, prepei na cajete thn tekmhriwsh toy. Lejeis-kleidia mporoun na einai : nfsd, system administration tool ( = ergaleio dieu8ynshs systhmatos), rc scripts, boot scripts, boot sequence ( = diadikasia ekkinhshs), /etc/exports, exportfs. 8a dwsw ena paradeigma s' aythn thn enothta : Pws na kanoyme export to /mn/eris/local ston H/Y apollon, me epilogh read/write.

9.1 IRIX, HP-UX, Digital-UNIX, Ultrix, SunOS 4 (Solaris 1), AIX

Ayta ta LS xrhsimopoioun to paradosiako format ths Sun gia export. Sto /etc/exports, gracte :


/mn/eris/local -rw=apollon

H plhrhs tekmhriwsh brisketai sth selida man gia to arxeio exports. Afou dior8wsete to arxeio, trejte exportfs -av, gia na ginei export sta filesystems.

To poso aysthrh einai h suntajh ths entolhs exportfs, syzhtietai. Se merika LS 8a breite oti h prohgoumenh grammh diatypwnetai ws :


/mn/eris/local apollon

h kati entelws ekfylismeno, san ayto edw :


/mn/eris/local rw=apollon

Synistw na eisaste typikoi. Me to na kobete dromo, riskarete to na deite thn epomenh ekdosh toy exportfs na ginetai polu aysthroterh sth diatupwsh, kai jafnika o,ti jerate na mh doyleuei pleon.

9.2 Solaris 2

H Sun janaefeure ap' thn arxh ton troxo, otan eftiaje to Solaris 2. Epomenws, ayto diaferei entelws ap' ola ta alla LS. Ayto poy kanete edw, einai na dior8wsete to arxeio /etc/dfs/dfstab. Mesa s' ayto, topo8ethste entoles koinhs xrhshs (share), opws aytes anagrafontai sth selida man toy share(1M). Opws parakatw :


share -o rw=apollon -d "Eris Local" /mn/eris/local

Meta tis dior8wseis, trejte to programma shareall, gia na kanete export sta filesystems.


Next Previous Contents