how to change \tmpdir directory or increase size?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to change \tmpdir directory or increase size?
# 8  
Old 06-07-2006
You provided info about /var mount point only, would you pls post the full ouput of df -v, so that I could suggest better path for symlink, i want to know the status of your hard disk usage and available free space.
# 9  
Old 06-07-2006
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/ad4s1a 507356 231688 235080 50% /
devfs 2 2 0 100% /dev
/dev/ad4s1e 507356 8464 458304 2% /tmp
/dev/ad4s1f 299159088 87655644 187570720 32% /usr
/dev/ad4s1d 507356 327368 139400 70% /var
/dev/ad0s1d 37870748 1448372 33392720 4% /backup
devfs 2 2 0 100% /var/named/dev
# 10  
Old 06-07-2006
ok, you can try this:
Code:
ln -s /usr/tmp /var/tmp

With the above command, you'll write any thing to /var/tmp, it'll be physically stored on /usr/tmp and will use space available there and should not create any problem. Make sure that /usr/tmp doesn't exist, otherwise it'll overwrite its contents.

Regards,
Tayyab
# 11  
Old 06-07-2006
Thanks a lot...will try it and get back to u

do i need to do any restart? or stopping any service before i execute the ln command ?

Thanks
# 12  
Old 06-07-2006
It didn't work
I still get the same error when i run big queries, and the same query works if i limit the number to first 2000 records

this is the error
Error writing file '/var/tmp/MYjXmzH0' (Errcode: 28)

Any idea what to do next ?
# 13  
Old 06-07-2006
Shereenmotor,

It seems that u gave me the link command in reverse.
we removed the link and dit it with usr\tmp as the second parameter and the link is created now.
even with the link created, the same error of failing to write on the tempdir is still there...
# 14  
Old 06-07-2006
I gave the right command, ok let me explain the command in detail. Remove the existing links, and do the following steps:

1)Copy all files from /var/tmp to /usr/tmp with command:
Code:
cp -R /var/tmp /usr/tmp

2) Remove directory /var/tmp to release the space:
Code:
rm -R /var/tmp

3)then Run the following symlink command:
Code:
ln -s /usr/tmp /var/tmp

Hope its helps.

Regards,
Tayyab
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Increase the filesystem size

Hi I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able. this is the output of df -h : Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies

2. Red Hat

Increase Font size

Hi friends I want increase font size in linux can anybody help me plese Example:this is my in put Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 18G 2.5G 14G 15% / /dev/sda2 ... (1 Reply)
Discussion started by: vasuibm
1 Replies

3. Shell Programming and Scripting

How to delete some of the files in the directory, if the directory size limits the specified size

To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies

4. UNIX for Dummies Questions & Answers

Increase size to sd[b-c]

hi guys I am working on my vmware workstation. I have a /dev/sdb which is 5GB. I am using LVM. Now I increase /dev/sdb 2 more GB. fdisk -l shows 7 GB but pvscan still shows 5GB. how do I make my system recognize the new 7GB added and be able to add those to my physical volumen and... (1 Reply)
Discussion started by: kopper
1 Replies

5. Solaris

increase metadevice size

Hi, I am having two metadevices d50 and d100 which are used to created soft partitions as and when required. d50 and d100 are metadevices formed on different disks. d50 -- disks 0 & 1 d100 -- disks 2 & 3 I have a soft partition d70 os 50 GB on d50. Now there is no free space on d50. ... (1 Reply)
Discussion started by: sag71155
1 Replies

6. UNIX for Dummies Questions & Answers

Increase salt size

Unix protect its password by using salt It that mean larger the salt size the more secure? if the salt size increase greatly, will the password still able to be cracked? thank you for helping (1 Reply)
Discussion started by: cryogen
1 Replies

7. Solaris

how to increase the size of the allotment

Hi all, I have a 130gb HDD of which 95b is taken up by various partitions of windows xp... I partitioned my HDD and gave solaris 10gb of space, but now owing to some development stuff i need to increase the space!!! How do i do it!! Please note that i do have ~20gb of space left still...... (2 Replies)
Discussion started by: wrapster
2 Replies

8. HP-UX

increase size

Hi All, one of the mount point in Hp ux server has reached 95% its a data base file and can not be deleted. so i want to know how to increase the size of mount point i am new to unix ,please help me (1 Reply)
Discussion started by: jyoti
1 Replies

9. UNIX for Dummies Questions & Answers

increase size of /tmp

My /tmp is full, and the oracle installation is crashing. How can I increase the size of /tmp, even though I have allocated all the available disk space to other partitions? (2 Replies)
Discussion started by: pkappaz
2 Replies

10. Programming

How to increase the size of the stack

Hi!!, could someone tell me how to increase the stack size in HP-UX? Thanx (7 Replies)
Discussion started by: jyotipg
7 Replies
Login or Register to Ask a Question