General :: Decompress A Tar File - Butrun Out Disk Space
Feb 7, 2011
I'm running a virtual machine of CentOS 3 and I am trying to decompress a tar file, but I run out disk space. I created the VM with 80 GB of disk space. When I look at the partititions, (du command) I have /dev/sda2 with a partition of 70GB mounted on /home with < 1% used.
Here comes the n00b question: How do I use the 70GB of space on sda2? I thought working in the /home directory, where sda2 is mounted, would give me access to that disk space, but the tar files fill up the /boot partition.
View 3 Replies
ADVERTISEMENT
Apr 8, 2011
I have tried to plan my backup plans. As I want it simple I am gonna use only tar.gz combination of some files that are important. My question then is the following:
-I have a 100GB hard disk with 20Gb free space only. I would like to backup the rest 80Gb to an external hard disk. I run my scripts which end up saving a 75Gb(due to compression) to my external hard disk.
-->Then comes the times to try to see the contents of my archive (just to make sure that I can recover what is inside the 75GB disk file). Do you know if tar.gz needs to decompress the 75Gb file in some /tmp space in my hard disk for showing me the contents inside it? In that case it will not be easy at all to ever look at what is inside it in my hard disk, as there is no 80Gb of free space in my hard disk (20gb only).
View 9 Replies
View Related
May 23, 2011
I am about to decompress a source file $$$.tar file? In what place do you decompress a tarball? I do know that I will be entering ./configure, make.
View 3 Replies
View Related
Feb 24, 2011
root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1
[code]....
View 1 Replies
View Related
Jan 3, 2011
I have recently upgraded to Bugzilla3 and I wanted to restore my bugzilla database with my backup but when I attempt to tar -xvvzf file.tgz I get the error:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
My script that creates the backup is:
#!/bin/sh
datestr=`date +%m-%d-%Y`
bakdirpart="bugzilla.backup.$datestr"
bakdir="$HOME/$bakdirpart"
mkdir "$bakdir"
(cd /etc; tar cvzf $bakdir/mysql.conf.tgz mysql)
(cd /etc; tar cvzf $bakdir/apache2.conf.tgz apache2)
(cd /usr/share; tar cvzf $bakdir/bzreport.share.tgz bzreport)
(cd /usr/share; tar cvzf $bakdir/bugzilla.share.tgz bugzilla)
(cd /var/lib; tar cvzf $bakdir/mysql.hotdb.tgz mysql)
(cd /var; tar cvzf $bakdir/www.tgz www)
(cd "$HOME"; tar cvf "${bakdir}.tar" "$bakdirpart")
Is there any way to recover my backup copy?
View 7 Replies
View Related
Nov 18, 2010
I don't understand disk sizes in Linux. I have a 500GB drive. It's ext4. I have run "tune2fs -m 0" on it to reserve the amount of space reserved for root to 0.
I'm using Ubuntu 10.04 that comes with a Disk Utility. When I run "System->Administration->Disk Utility (palimpsest)" the disk shows up as 500GB (see picture). But when I run df -h it shows up as 459GB. So, I don't understand the discrepancy.
When I run df I get the following:
Question: Why is Disk Utility showing me something different than "df"?
View 6 Replies
View Related
Apr 8, 2010
i just installed ubuntu 9.10 onto my windows vista laptop. i ran ubuntu update manager but it tells me i'm low on disk space. system monitor tells me that i still have 50.2 GB of space but the problem is that i only have 68 MB left in my / File System. how can i increase disk space in / File System?
View 3 Replies
View Related
Jan 31, 2010
Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.
Here is the output of df -h:
Code:
As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?
If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(
In case you're curious, here's my /etc/fstab:
Code:
View 14 Replies
View Related
Nov 10, 2009
My disk space has grown from 30% to 60% in the last 3 months.
I can only assume this is from log files in the form of maillogs and squid logs.
Any ideas on how to free up the space? I'm pretty sure I have logroate running.
I just ran this on the mail log files:
View 14 Replies
View Related
Aug 17, 2009
I got the Hp 2133 mini notebook not to long ago maybe back in april. But they got a linux instead of Windows. I have yet to save anything on the computer, but everytime i logged on, i was usuing up disk space. Now I cant even log on and it gives me the message GDM Could not write to your authorization. Im sure i am not the first to receive this message. I dont know what to do. Its a Suse Linux Enterprise Desktop 10. I tried entering commands that ive seen on here that helped others. But its not working for me. I havent been able to use the laptop since may.
View 14 Replies
View Related
Aug 25, 2009
OS: RHEL AS 5 64-bit
HDD:300 GB Hardware mirror (HP blade bl460c)
While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.
Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?
View 6 Replies
View Related
Feb 22, 2010
Suddenly my disk that contains everything but the home dirs and which is usually only approx 9% full is now 100 % full.Any suggestions on how to find how this has happened? How can i find the largest files minus the mounted dirs which are on other disks?
View 3 Replies
View Related
Sep 29, 2009
Had this problem in a few different instances where a process was creating a set of files in directory and using those files.
Some one just happened to go to the dir and deleted those files without stopping the process. The result being that as the process is still telling the machine that the disk usage is still what it initially was (df -h shows the old disk usage) , where as a du -h or a ls -lh on that same dir show that the files are not there.
Once this happened with mysql where the user delete the database dir in /var/database_name in the mysql home dir. The result being that the dusk usage was still showing as the old one even if the files were missing. This was resolved by restarting the mysql server.
Similar thing happened with some other processes where on restarting the problem was resolved..
My question being is there a method to solve this problem by whithout restarting the concerned process.. Some magical command like free disk or recheck dis usage :-) .. may be too much to ask but can some one help me out here.
View 1 Replies
View Related
Jun 2, 2011
I want to use awk to list all the mount points, disk size and space available. Now I have all that info but I want to round the totals, so there is no delimiters, how can I do that?
PHP Code:
#!/bin/sh
date
df=`df -Pl | grep "^/dev" | awk '{print $6, $2/1024 , $4/1024}' | sed "s/%//"`
echo "$df"
[Code]...
View 6 Replies
View Related
Sep 20, 2010
I am running Ubuntu 10.04 on one 80GiB disk partitioned as two equal. The second one is mounted as my home folder. The reasons for the partitioning are historic and I don't think they're relevant here.
My problem is that Ubuntu frequently reports 'Low Disk Space'. The initial solution was to turn off backups and that seemed to ease the problem. Now it has started happening again, but backups are still turned off. I can't see anything unusual in the tmp directory - or anywhere come to that - but I don't really know where to look.
I have searched for known leaky problems but haven't found anything that seems to fit. I don't store images, videos or music.
View 2 Replies
View Related
Jun 16, 2011
I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how much files I had deleted, it just keep showing no available space for doing so.
Result from df:
[root@LSMSVR ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
1.2G 269M 879M 24% /
/dev/hda6 4.8G 138M 4.4G 4% /tmp
/dev/hda5 19G 2.4G 16G 14% /usr
/dev/hda3 48G 12G 34G 25% /var
/dev/hda2 379G 365G 0 100% /home
/dev/hda1 99M 15M 80M 16% /boot
tmpfs 180M 0 180M 0% /dev/shm
ow to recover the lost space in /home?
View 2 Replies
View Related
May 26, 2009
The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.
View 7 Replies
View Related
Nov 10, 2010
I seem to be running low on disk space on my linux server. 'df' shows about 82% usage on a stock CentOS install with sendmail. I routinely delete old email directories, but for some reason, I stay pretty high in disk usage. Is there a fancy little bash script or something I could run that would find the biggest files and I could go get rid of them?
View 3 Replies
View Related
Feb 23, 2011
I am using Ubuntu in a laptop. The C disk has 15GB, and Windows is installed in C disk. I installed Netbook Ubuntu in D disk which only has 10GB free space. Now I am trying to install some applications in ubuntu such as emacs. But the system says it only has about 450Mb disk space. So how could I get more space? Can I install the applications under some different path? without using apt-get?
View 3 Replies
View Related
Aug 4, 2010
For a given directory, I want to know the space occupied on disk by it and all files and directories having it as an ancestor, so to speak. Is there a command for this in linux?
View 2 Replies
View Related
Sep 29, 2010
I need a script to fill up my diskspace on my Linux box. It would be best if I can leave 200 MB free. I have Nagios installed, and it should email me when something like this happens, but how do I test it?I have Perl and PHP installed so if you want to use that then sure.
View 1 Replies
View Related
Nov 3, 2010
Purchased (4) 2TiB Drives (actual disk space) and created a RAID5 array expecting to have 6TB of useable disk space, however actual useable space is 5.46TiB.
So, the question is where did the disk space go?
First off, I can say for certainty the disks actual useable is verified at 2TB each have mounted and formated on a non-linux system (OSX).
Disks - 2TB Per disk, Tested HFS, Actual 2TB Useable
root@server:/server# fdisk -l 2>/dev/null | egrep "sd[hijk]" | grep Disk
Disk /dev/sdh: 2000.4 GB, 2000398934016 bytes
Disk /dev/sdj: 2000.4 GB, 2000398934016 bytes
Disk /dev/sdk: 2000.4 GB, 2000398934016 bytes
[Code]....
View 2 Replies
View Related
Jul 18, 2011
I use Linux. I coded a screenshot program some time ago and now I have 9 GIG of screenshots, 60000 JPEGs, most of them look pretty similar, and I have 300 MB of disk space remaining.
What are some good ways to start to compress batches of them (or all of them) in the background given the limited space? The problem with compressing the folder all at once is that I wouldn't have enough disk space for that. It seems the process needs to be broken down into chunks. So maybe something like: Get a list of all the files Add a chunk of the files (say, 20) to a compressed archive. Once it is done and saved successfully, delete the chunk of files
View 2 Replies
View Related
Aug 20, 2011
I am on a windows 7 system trying to install linux fedora 15.
I am using Fedora 15 live image which I burned onto a DVD and booted. According to instructions I've found in a tutorial I go into the system tools and choose install to harddrive. I have previously shrunk the windows system drive to free up approx 200 GB of unallocated space. I did this through the
control panel >> administrative tools >> computer management >> windows disk manager.
While I try to install fedora on the harddrive I run into two problems.
1. I can't install it because it says "no free space available to create partition". it doesn't matter if I choose the auto partition option or the custom partition option.
Choosing the custom partitioning option I don't know what partitions I need to create. Terminology such as LVM and PV are all new to me.
The second problem is that I am after some random time ( it occurs in different time intervals) forced to re-login as a live user which kills the installation program and forces me to re-start the installation process
Anyone have clues to solve these problems?
View 1 Replies
View Related
May 3, 2010
My main storage partition got full, so I'm deleting files to make room. However, df -k keeps reporting no space available on that partition (/disk). Here's the output of the command several minutes apart while another process is deleting a 30G of space:What can I do to make the space available immediately?
View 4 Replies
View Related
Feb 7, 2011
I plan to install a server using LVM. I thought a partition schema where /boot would be in an ext4 partition while / /usr /var /home and /opt would be in the LVM. My question is: if I'm putting / into the LVM, is it necessary to divide /usr /var /home and /opt into different logical volumes? If I divide them, would it become harder to maintain when new disk space has to be added to the volume group?
View 7 Replies
View Related
Jun 25, 2010
We use a SLES 10 SP2 file server. This file server has all type of files. We want to know what is the amount of space used by mp3 files. What we need to know is the total space in disk of mp3 files. I've been testing du command, and find command, but with no satisfactory results. Does anybody know how to do this?
View 11 Replies
View Related
May 13, 2011
I used to be Novell admin/CNE more than nine years. Since Novell sunset, I study myself and move to Linux...... At daily work, I face a lot challenges of Linux. I really need to get help from experienced Linux people. How to clean up disk space on /var partition Red Hat 5.
View 4 Replies
View Related
Jul 10, 2010
I wanted, on my laptop, to clone a 60GB HDD into a 500GB HDD using clonezilla (Parted Magic live cd). So I used the option disk2image, create the image file to an USB Drive. Everything was fine, I get my image file on that ext HDD. After I change the HDD on my laptop for the brand new 500GB but I think I make a mistake when restoring the image file using image2disk instead of image2partition. Now my 500gb is recognised as a 60GB hdd on gparted. How can I reclaim original HDD space on my 500GB?
View 7 Replies
View Related
Sep 30, 2010
currently my disk-space is growing very-very fast and in the same time I have a very limited amount of it.Last time I had this kind of problem, I had MySql persistence replication is on and disabling the feature fix the problem. I don't know what happened between now and then, the space is shrinking rapidly (600Meg in couple of days) and I only downloaded files for less than 10Meg in the same period.
Could anybody give me a pointer to a tool that can oversee growing directories or files or maybe a script that able to do this (possibly involving Cron). I try using "Find" but I cannot find any files that are suspiciously growing. I suspect it's a directory that is growing, but I don't know.
View 5 Replies
View Related