Reclaim deleted disk space


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Reclaim deleted disk space
# 1  
Old 02-02-2010
Reclaim deleted disk space

I have a disk space issue on one of my unix servers.

it is showing 98% full.. i found the offending folder and removed it. but i have not reclaimed the disk space.

is there another command that i need ?

thank you in advance for any assistance.
# 2  
Old 02-02-2010
Does it mean something was filling this directory with data?
Can it be that process responsible for this task is still running?

Regards,
-Artur.
# 3  
Old 02-02-2010
What is the O/S?
Which filesystem is nearly full?
What did you delete?
# 4  
Old 02-02-2010
SunOS 5.9

Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 55G 53G 1.6G 98% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mntta
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d3 7.9G 382M 7.4G 5% /var
swap 6.8G 40K 6.8G 1% /var/run
swap 6.8G 24K 6.8G 1% /tmp

i had found a folder that was called test under /var/adm

Supervisor said that it was old (over a year) contained copies of the message files
# 5  
Old 02-02-2010
/var is a separate mountpoint according to your post. Deleting files in /var/adm will not affect free space in the root filesystem.
Try looking under the root filesystem bearing in mind that yours is 50 Gb larger than a normal system and no doubt contains something more than just unix ! Be careful and take local advice before deleting anything.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies

2. UNIX for Beginners Questions & Answers

CentOS 6 ran out of space, need to reclaim it

Hello everyone, I am having an issue here with CentOS release 6.6 (Final) that shows all of the space used up, but I can't tell where the space went. Seemingly I am using up 100%, according to df -h Filesystem Size Used Avail Use% Mounted on... (27 Replies)
Discussion started by: DannyBoyCentOS
27 Replies

3. Red Hat

Files not getting deleted with rm & occupying space in filesystem

Hello, OS version is Red Hat Enterprise Linux Server release 6.5 (Santiago). In one of the filesystem some old files post clone are not getting removed even with 'rm' # ls -ltr | grep meagpd_62.dbf -rw-rw---- 1 oracle oinstall 34358697984 Sep 1 08:46 meagpd_62.dbf # rm... (7 Replies)
Discussion started by: saharookiedba
7 Replies

4. Shell Programming and Scripting

How to reallocate the deleted logfile space?

Hi All, I know this is a simple question but i am not sure the exact answer it. Here is the question: There is a huge log file , if we delete the log file ,how the corresponding occupied file memory relocate to Hard Disk. Thanks Srinivas (3 Replies)
Discussion started by: Srinivas Gadi
3 Replies

5. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

6. Red Hat

disk space

when i check /export directory of my machine gets filled up (85%) i removed some old logs. but after cleaning df -k command still shows that /export is still 85% full. Is there a way to force df to reflect actual free space without rebooting? My machine is a production one and can't... (8 Replies)
Discussion started by: aboorkuma
8 Replies

7. Shell Programming and Scripting

Disk Space

Hi This is my script for disk space monitoring clear if then echo "You must be root user to execute the script" fi ALERT_LEVEL=10 CONSUMPTION_LEVEL= `df -k | awk {'print $5'} | cut -d '%' -f1 | sed "1 d"` for i in $CONSUMPTION_LEVEL do FILE_SYSTEM=`df -k | awk {'print $1'} |... (3 Replies)
Discussion started by: chrs0302
3 Replies

8. Filesystems, Disks and Memory

disk space

Hello All- Am new member to this forum. Have some unix experience. But true believer in it compared to windows. Have a question regarding the disk space. I know a command to check the total disk space utilization using: df -k . but what is the command to check the same disk space by... (6 Replies)
Discussion started by: milkyway
6 Replies

9. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

10. Shell Programming and Scripting

How to keep white space is being deleted using read

I am using Posix shell to write a script. The problem I am having is that when I use the read command to go through a file I lose the tabs. How can I keep this from happening? (1 Reply)
Discussion started by: keelba
1 Replies
Login or Register to Ask a Question