The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to increase the size of the allotment wrapster SUN Solaris 2 02-18-2008 09:20 PM
increase size jyoti HP-UX 1 04-14-2006 08:08 AM
increase size of /tmp pkappaz UNIX for Dummies Questions & Answers 2 07-02-2003 08:49 AM
how do I increase the character size in the Unix Box subir23 UNIX Desktop for Dummies Questions & Answers 1 11-20-2002 01:46 AM
How to increase the size of the stack jyotipg High Level Programming 7 01-28-2002 08:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 06-07-2006
tayyabq8's Avatar
Moderator
 

Join Date: Nov 2004
Location: Bahrain
Posts: 555
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.
Reply With Quote
Forum Sponsor
  #9  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
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
Reply With Quote
  #10  
Old 06-07-2006
tayyabq8's Avatar
Moderator
 

Join Date: Nov 2004
Location: Bahrain
Posts: 555
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
Reply With Quote
  #11  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
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
Reply With Quote
  #12  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
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 ?
Reply With Quote
  #13  
Old 06-07-2006
ray ray is offline
Registered User
 

Join Date: Jun 2006
Posts: 8
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...
Reply With Quote
  #14  
Old 06-07-2006
tayyabq8's Avatar
Moderator
 

Join Date: Nov 2004
Location: Bahrain
Posts: 555
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0