![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Moving a Logical Volume from one Volume Group to Another | krisw | AIX | 2 | 07-14-2008 04:48 AM |
| How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE | nageswarb | SUN Solaris | 0 | 03-14-2008 01:46 PM |
| LVM - Extending Logical Volume within Volume Group | ghimanshu | UNIX for Advanced & Expert Users | 3 | 07-26-2007 04:39 AM |
| volume managment | csaunders | AIX | 1 | 06-10-2004 03:07 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
VOlume full
Hello,
I'm using SOlaris 8 and I have a little bug. I have deleted a big files to free space on a volume (succesfully), but when I'm using the command "df -k", the volume is always displaying 100 % full. Sun recommends a server reboot. Did you see an other solution ? Thanks, Fabien |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
It matters what file(s) you deleted. Some files could still be allocated by a process (it still has it opened) so you don't get the space back until the process is done. A reboot would certainly fix that - but I'm surprised SUN recommended that.
You can use lsof to see what files are open by what processes (if it's loaded on your server). Fuser may also show you. |
|
#3
|
|||
|
|||
|
In fact It's not really Sun recommendation , but a Unix Expert here
Unfortunately "lsof" is not installed. My file deleted was a log file from Oracle. Maybe by stopping and restarting Oracle ... |
|
#4
|
||||
|
||||
|
That (starting/stopping Oracle) might work but I'm not a DBA.
Seems you should be talking to your DBA before deleting Oracle files. |
|
#5
|
|||
|
|||
|
The DBA tells me to do it
|
|
#6
|
|||
|
|||
|
Encounter smiliar issue like you. Certain stupid application keeps a log file open to write too. Like VCS. If it gets too big for your filesystem and you delete it. You will realize the space consumed is not returned to the filesystem.
I use cp /dev/null > $Logfile, also face the same issue. I decided to increase the file system instead. To all experts, any good solutions here? |
|
#7
|
||||
|
||||
|
Quote:
Also; izzy - cp /dev/null > $Logfile is not a valid command. The redirect won't work. Sure you don't mean "cat /dev/null > $Logfile"? I'd agree that stopping whatever service is using the file, then catting/deleting/whatever, the starting again is the best way to go. You could always write a script to do this out-of-hours via cron on a production server. Cheers ZB |
||||
| Google The UNIX and Linux Forums |