[Ubuntu-ma] Augmenter la taille de mon TMP

Naima Bouznag bouznag.naima at gmail.com
Mar 5 Avr 16:13:31 UTC 2011


Ok, this is the result :
 [root at ns220993 home]# du --max-depth=1 -x -m
300     ./cpeasyapache
22309   ./sportqui
1       ./lost+found
576     ./.cpan
1       ./naima-scripts
1       ./MySQL-install
207     ./installd
2       ./.cpcpan
23394   .
###################################################

[root at ns220993 home]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md1              20318408   8204352  11090060  43% /
/dev/md2             1432750416  24157432 1336386600   2% /home
/dev/shm               8270904         0   8270904   0% /dev/shm
/usr/tmpDSK             495844     63826    406418  14% /tmp


Thanks

2011/4/5 ISLAM Abou El Ata <kindyroot at gmail.com>

> you can do:
> to know where your disc space is!
>
> do also a "df"
>
> you can post the result of these two commands here
>
> On Tue, Apr 5, 2011 at 4:05 PM, Naima Bouznag <bouznag.naima at gmail.com>wrote:
>
>> thanks yahya and islam for your replies,
>> @Islam: well it isn't funny but i did my best :)
>> this is a dedicated srv which i didn't install
>>
>> running df command, this is the result for tmp
>> /usr/tmpDSK             495844    165790    304454  36% /tmp
>>
>> can you plz describe me the process which i should follow?
>>
>> Thanks again;
>>
>>
>>  2011/4/5 ISLAM Abou El Ata <kindyroot at gmail.com>
>>
>>>  Hahahaaaa you MADE MY DAY with your cron job idea to clean tmp every 5
>>> minutes :D very funny!
>>>
>>> Most likely your /temp is not on a separate partition (unless you had
>>> chosen to do so at install time), .. I think you only a have a too small
>>> root partition (/) or you filled it too much ..
>>> Anyway if you want to put your /tmp elseway (where you have more space)
>>> you still can unmount it (umount /tmp), mount another filesystem there
>>> (mount /dev/sdxx /tmp) and make it permanent byupdating your /etc/fstab
>>> file.
>>>
>>>
>>> On Tue, Apr 5, 2011 at 3:40 PM, Naima Bouznag <bouznag.naima at gmail.com>wrote:
>>>
>>>> yeah it isn't big enought so i should increase it to 1Go, everytime, i
>>>> receive an email with alert (/tmp is 80% full), so i've prepared a cron with
>>>> a perl script to clean it each 5min, but it isn't a good idea because i'm
>>>> deleting my sessions every 5min causing troubles to my applications.
>>>>
>>>> i've just found a shell script i'm trying to test it, but plz if someone
>>>> else has an idea it will be welcome;
>>>>
>>>> thanks;
>>>>
>>>>
>>>> 2011/4/5 Nordin <bouchtaoui at gmail.com>
>>>>
>>>>>  Look for something about resizing partition.
>>>>> If temp is not big enough, make a seperate partition of a certain size
>>>>> and modify fstable. Don't know the details, but google for partition,
>>>>> fstable, resize and harddrive.
>>>>>
>>>>> Success.
>>>>>
>>>>>
>>>>>
>>>>> On 5-4-2011 17:21, Naima Bouznag wrote:
>>>>>
>>>>>> Bonjour tout le monde,
>>>>>> j'ai un serveur Centos5 et je veux augmenter la taille du /tmp;
>>>>>> je demande si quelqu'un peut me guider et me dire ce qu'il faut faire.
>>>>>>
>>>>>> merci par avance;
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Ubuntu-ma mailing list
>>>>> Ubuntu-ma at lists.ubuntu.com
>>>>> Modify settings or unsubscribe at:
>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Naima Bouznag;
>>>> Freelancer : Engineer in Web Development
>>>>
>>>> --
>>>>
>>>> Ubuntu-ma mailing list
>>>> Ubuntu-ma at lists.ubuntu.com
>>>> Modify settings or unsubscribe at:
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>>>
>>>>
>>>
>>> --
>>>
>>> Ubuntu-ma mailing list
>>> Ubuntu-ma at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>>
>>>
>>
>>
>> --
>> Naima Bouznag;
>> Freelancer : Engineer in Web Development
>>
>> --
>>
>> Ubuntu-ma mailing list
>> Ubuntu-ma at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>
>>
>
> --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>
>


-- 
Naima Bouznag;
Freelancer : Engineer in Web Development
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20110405/77b5736c/attachment-0001.html>


Plus d'informations sur la liste de diffusion Ubuntu-ma