Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP !! Scittura su nfs [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Nov 06, 2003 6:14 pm    Post subject: HELP !! Scittura su nfs [Risolto] Reply with quote

Salve... ho un problemino che non riesco a capire: ho reso disponibile dalla mia macchina due dirs settando in questo modo il mio /etc/exportfs

Code:

# /etc/exports: NFS file systems being exported.  See exports(5).
/usr/portage/distfiles  oldjoe(rw,sync)
/gillestmp      oldjoe(rw,sync)


dopo di che sull'altro pc ho settato all'interno del suo fstab le seguenti righe:

Code:

newjoe:/usr/portage/distfiles   /usr/portage/distfiles  nfs
newjoe:/gillestmp       /var/tmp                nfs


Eseguo il mount ed ottengo, come previsto,

Code:

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdc8              2995992   1783228   1212764  60% /
/dev/hdc5              2995992   2541332    454660  85% /usr
/dev/hdc6               995960    786092    209868  79% /home
/dev/hdb1             20039280  19050560    988720  96% /home/gilles/shared
/dev/hda1              9509168   9101080    408088  96% /mnt/windows
/dev/hda2             19775408   9788768   9986640  50% /var/tmp
tmpfs                    94936         0     94936   0% /dev/shm
newjoe:/usr/portage/distfiles
                      19775408   9788768   9986640  50% /usr/portage/distfiles
newjoe:/gillestmp     19775408   9788768   9986640  50% /var/tmp


a questo punto pare tutto funzionare perfetamente... sulla /var/tmp provo a scrivere cancellare modificare: funziona tutto.

Direte voi dove sta il problema allora... ehh sta qui

Code:

oldjoe root # emerge vcron
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/vcron-3.0.1-r2 to /
!!! File system problem. (ReadOnly? Out of space?)
!!! Perhaps: rm -Rf /var/tmp/portage
!!! [Errno 1] Operation not permitted: '/var/tmp/portage'
oldjoe root #


Praticamente se uso 'a mano' la dir montata funziona tutto, se lo faccio via emerge mi da quella risposta.

A dir la verita ho notato anche un altra cosa: se copio dei file da un punto qualsiasi del file sistem NELLA dir /var/tmp montata via nfs esegue la copia ma con questa dicitura:

Code:

oldjoe root # cp -a /root/ /var/tmp/
cp: failed to preserve ownership for `/var/tmp/root/.mc/ini': Operation not permitted
cp: failed to preserve ownership for `/var/tmp/root/.mc/Tree': Operation not permitted
cp: failed to preserve ownership for `/var/tmp/root/.mc/cedit/cooledit.macros': Operation not permitted


Mi pare lo stesso errore che ottenevo quando copiavo da un fs a quello vfat ... ma non ne sono sicuro...


Non so se puo' essere d'aiuto ma ho notato che i files creati in /var/tmp son di nobody.nobody

Any hints ???

Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest


Last edited by IgaRyu on Thu Nov 06, 2003 6:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Thu Nov 06, 2003 6:44 pm    Post subject: Reply with quote

allora pare risolto ... il problema era la mancanza di
no_root_squash nei parametri dell'export.

grazie Stefano :)


Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum