Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Allargare momentaneamente /var per UT2004
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
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Sun Nov 14, 2004 7:17 pm    Post subject: Allargare momentaneamente /var per UT2004 Reply with quote

Ciao a tutti,

Ho un problema che non riesco a risolvere in alcun modo. Nella mia Gentoo Box ho organizzato il disco fisso (che è uno solo) con diverse partizioni. E' così strutturato:

Filesystem Dimens. Usati Disp. Uso% Montato su
/dev/hda2 471M 132M 316M 30% /
/dev/hda5 4,8G 219M 4,6G 5% /var
/dev/hda6 20G 4,5G 15G 24% /usr
/dev/hda7 2,9G 373M 2,4G 14% /opt
/dev/hda8 125G 39G 87G 31% /home
none 442M 0 442M 0% /dev/shm


Il problema è che quando vado ad installare ut2004 mi si riempie completamente la /var e ovviamente si formano degli errori (perchè non può più scrivere) e non posso completare l'emerge. Questo perchè ut2004 necessita di almeno 6 o più GB di spazio libero che io sulla partizione in questione non ho. Come posso ovviare a questo problema?

Grazie mille a tutti
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sun Nov 14, 2004 7:47 pm    Post subject: Reply with quote

più che allargare /var, dovresti allargare /var/tmp/portage. Puoi fare così, crei una cartella della partizione che ha più spazio disponibile, per esempio /usr:
Code:

# mkdir /usr/tmpportage

Poi elimini o rinomini /var/tmp/portage, dipende un po' da quanta roba sorgente ti serve (vedi distfiles per esempio).
Quindi crei un link simbolico verso il nuovo direttorio:
Code:

# ln -s /usr/tmpportage /var/tmp/portage


enjoy
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Sun Nov 14, 2004 7:47 pm    Post subject: Reply with quote

maual wrote:
Nota: Portage per default si serve di /var/tmp durante la fase di compilazione dei pacchetti, usando spesso centinaia di megabyte come area di memorizzazione temporanea. Se preferite cambiare la directory in cui Portage memorizza i propri file temporanei, impostate una nuova variabile PORTAGE_TMPDIR prima di far partire il processo di bootstrap, come segue:
Code:
# export PORTAGE_TMPDIR="/altradir/tmp"


_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Sun Nov 14, 2004 7:49 pm    Post subject: Reply with quote

fedeliallalinea wrote:
maual wrote:
Nota: Portage per default si serve di /var/tmp durante la fase di compilazione dei pacchetti, usando spesso centinaia di megabyte come area di memorizzazione temporanea. Se preferite cambiare la directory in cui Portage memorizza i propri file temporanei, impostate una nuova variabile PORTAGE_TMPDIR prima di far partire il processo di bootstrap, come segue:
Code:
# export PORTAGE_TMPDIR="/altradir/tmp"



ogni tanto faccio soluzioni fai-da-te... effettivamente sul mio pc ho fatto come dice il sacro manual... me lo dico da solo: RTFM!
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Sun Nov 14, 2004 7:50 pm    Post subject: Reply with quote

comio wrote:
ogni tanto faccio soluzioni fai-da-te...

Bella pero' la tua soluzione :D
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Neomubumba
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2004
Posts: 136
Location: Milano

PostPosted: Sun Nov 14, 2004 9:06 pm    Post subject: Reply with quote

Grazie mille a tutti,

Il problema l'ho risolto con l'export della dir temporanea di portage. Solamente che il problema non è stato completamente risolto. Ovvero... riesce a scompattare tutto dove gli dico, ma quando va ad installare in /opt mi va a riempire questa. Al che pensavo di risolvere ricorrendo all'espediente di comio facendo un link. Ma, ahime!, non posso fare un link tra diverse partizioni.

Ho pure cercato in giro per la rete come fare link tra diverse partizioni ma non ho trovato nulla. Qualcuno sa come fare? Grazie mille!! Ancora!!!! Grazie
_________________
Some of those that were forces, are the sames that bore crosses,
Some of those that were crosses, are the sames that are forces
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31467
Location: here

PostPosted: Sun Nov 14, 2004 9:25 pm    Post subject: Reply with quote

Neomubumba wrote:
Ma, ahime!, non posso fare un link tra diverse partizioni.

Il link simbolico dovrebbe permetterlo
_________________
Questions are guaranteed in life; Answers aren't.
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