Sponsored Content
Top Forums UNIX for Beginners Questions & Answers CentOS 6 ran out of space, need to reclaim it Post 303038145 by Neo on Monday 26th of August 2019 10:47:23 PM
Old 08-26-2019
Please note, from your output attachment:

Code:
51162 931363 51164 -rw-r--r--   1 root     root     52389946 Jan 29  2014 /root/sugarcrm_full-2014-01-29T01-30-01.sql
77012 931389 77020 -rw-r--r--   1 root     root     78860965 Jul  8  2014 /root/sugarcrm_sqldump_2014_07_08.sql

Why do you have huge 5 year old database dump files on your server?

These are from 2014, but this is 2019 brother.

Based on this observation, it is logical to conclude that your system is not properly administered if your server is having disk space problems and you have huge database dumps and other backup file on the same server / disks.

If you want to "reclaim disk space" find all these huge database dump files and backup files and move them off this server; or to a "data archive disk" with space for these types of files.

Cheers and Regards,

Neo
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Ran out of space on /dev/root partition

hi, I have a SCO unix server which has a 36gb hard drive, but the IT company who supplied it assigned 1gb to /dev/root, 15mb to /dev/boot and 33gb to /dev/u. The /dev/root partition is now full, is there a way I can use the 33gb assigned to /dev/u without loosing any data, preferably... (2 Replies)
Discussion started by: Martyn
2 Replies

2. Shell Programming and Scripting

which user ran which command

can we come to know all the command ran bya user for last 1 day (1 Reply)
Discussion started by: narang.mohit
1 Replies

3. UNIX for Dummies Questions & Answers

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. (4 Replies)
Discussion started by: JanSP
4 Replies

4. Shell Programming and Scripting

Identify if ran by su or sudo?

Recently I was on an operational call and heard the people running my code placing the code in the /tmp directory and running as root. I had not planned on that. So I want to add some checks to my code (using ksh93): # ---------- ---------- ---------- # root not allowed to run this #... (3 Replies)
Discussion started by: ericdp63
3 Replies

5. Shell Programming and Scripting

how to find whether a script ran or not

Hi, I have written a script and placed in an application and the script can be executed manually only. But somehow one of the method in the script is being called and bringing the application down. But we are not able to find any instance of script running. Is there a way to findout whether the... (1 Reply)
Discussion started by: Satyak
1 Replies

6. 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

7. Red Hat

On CentOS, moving space from large free directory to another

Hi. My "/usr" folder is running out of space. My "/home" folder is quite large and has a lot of free space. As follows: Filesystem Type Size Used Avail Use% Mounted on ... /dev/sda5 ext3 9.7G 2.6G 6.7G 28% / /dev/sda7 ext3 152G 16G 128G 11% /home /dev/sda3 ... (7 Replies)
Discussion started by: pkiula
7 Replies

8. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

9. AIX

How to reclaim hard disks and IP's in AIX?

Hello I recently received a request to reclaim hard disks and IP addresses within an AIX system(s). THe file systems are no longer in use and the client has indicated that it is OK to remove them and reclaim the disks and release the IP's. Now, since the file systems belong to a Volume group I... (8 Replies)
Discussion started by: Joseph Sabo
8 Replies

10. 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
rdump(8c)																 rdump(8c)

Name
       rdump - file system dump across the network

Syntax
       /etc/rdump [ -key [ argument ... ] filesystem ]

Description
       The command copies to magnetic tapes, disks, or a dump image file all files changed after a certain date in the filesystem.  The command is
       identical in operation to except the f key must be specified and the file supplied should be of the following form:

       remote-system-name:device-or-file

       The command initiates a remote server, on the remote system to access the remote device or file.

Options
       With the command, you specify a string of one or more of the options described below.  If no options are specified, the key 9u is assumed.

       0-9     This number is the ``dump level.''  All files that were modified since the last date stored in  the  file  for  the  filesystem	at
	       lesser  levels  will be dumped.	If no date is determined by the level, the beginning of time is assumed.  Thus, the level 0 causes
	       the entire filesystem to be dumped, a level 5 is used for a weekly backup and a level 9 for a daily backup.

       B       The next argument is a number that specifies the size, in 1024-byte blocks, of a storage medium, such as a diskette or a  removable
	       disk.  See the first example.

       d       The  density  of  the  tape,  expressed in bits per inch, is taken from the next argument.  This density is used in calculating the
	       amount of tape used per reel.  The default density is 1600 bpi.

       f       Place the dump on the file or device specified by the next argument.  This file is specified as remote-system-name:device-or-file.

       n       Notify, by means similar to a command, all users in the group ``operator'' when needs operator attention.

       o       Provides compatibility with non-ULTRIX or pre-ULTRIX Version 2.0 remote systems.

       S       Displays amount of space used by without performing the dump operation.	This is used for presizing either for  file  preallocation
	       or to ensure the correct number of tapes or disks are on hand.

       s       The  next  argument  specifies  the  size of the dump tape (in feet).  When the specified size is reached, waits for the reel to be
	       changed.  The default tape size is 2300 feet.

       u       If the dump completes successfully, writes the date of the beginning of the dump to file This file records a separate date for each
	       filesystem  and	each  dump level.  The format of consists of one free format record per line: filesystem name, increment level and
	       format dump date.  The superuser can carefully edit to change any of the fields.

       W       The utility tells the operator what file systems need to be dumped.  This information is taken from the files and The option causes
	       to print out, for each file system in the most recent dump date and level, and highlights those file systems that should be dumped.
	       If the option is used, all other options are ignored, and exits immediately.

       w       Unlike lists only those filesystems that need to be dumped.

Examples
       This example reports number of bytes to be output for a level 0 dump of the root file system.  Please note: the file is not created.
       rdump OSf system:test /
       This example dumps the root(/) file system from the local system to a remote system named ``nihil''.  A level 0 dump to tape  is  performed
       and the file is updated.
       rdump 0uf nihil:/dev/rmt0h /

       This  example  dumps the user (/usr) file system from the local system to a remote system named ``dickens'' using the RX50 device named for
       output.	A level 0 dump is performed, but the file is not updated.
       rdump 0f dickens:/dev/rra1a /usr

       This example dumps the root file system to a non-ULTRIX or ULTRIX before Version 2.0 remote system.  A level 0 dump to a tape drive is per-
       formed and the file is updated.
       rdump 0ouf system:/dev/rmt0h /

       This  example  dumps the root file system to a non-ULTRIX or ULTRIX before Version 2.0 remote system.  A level 0 dump to the rx50 device is
       performed and the file is updated.  Note the specification of 400 as the device size in 1,024 byte blocks.
       rdump 0ouBf 400 system:/dev/rra1a /

       If you want to use / and you must have these entries in the file.

Diagnostics
       Same as with a few extra related to the network.

Files
       Required for user interface

See Also
       dump(8), rmt(8c)

																	 rdump(8c)
All times are GMT -4. The time now is 07:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy