Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have problem in installing oracle DB since /tmp has no required freespace. How to increase the space of /tmp folder from terminal?
hope you have some free space in the disk. Its possible to make free space to a particular partition here its /tmp
Open the terminal and run
df -h
this will show the disk space currently you have in the system
to increase the space for the partition
type
`sudo umount /tmp`
sudo mount -t tmpfs -o size=1048576,mode=1777 overflow /tmp
this will increase the size by 1MB if you add and extra zero that is 10485760 will increase the size by 10MB. Add space upon how much you needed.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
How to mount below fstab line with command?in case of I can't restart the server.
none /var/tmpfs tmpfs defaults,size=16g 1 2
Open up your editor and edit the /etc/fstab file
This seems to be your line to mount the partition
none /var/tmpfs tmpfs defaults,size=16g 1 2
You would normally have to reboot your Linux system, after editing this file.
There is a simple way which will remount all the partitions from your /etc/fstab file without restarting the system.
Run the following command as root
sudo mount -a
After you've done that, do a
df -lh
you should see your drives listed.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to find out which folder in my VPS take the most of disk usge, the result of df -h command show that my disk storage has 40GB and I used 38 Gb.
But when I calculate the size of root folder using ncdu (using command: ncdu /), it show that I only used 8.9 Gb:
Can anyone help me to figure out which files/folders take nearly 30 Gb of my disk
Try using this command:
du -cks *|sort -rn|head
This will list the 10 largest subdirectories of the current directory you're in. Then you can cd into the largest subdirectory and run the command again to see the sizes of the sub-subdirectories, and so on.
Source: https://serverfault.com/a/25045/297452
This sounds like an openfile issue.
try
lsof +L1 <path to dir>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I type df -h on linux terminal, and it shows
Filesystem Size Used Avail Use% Mounted on
/dev/sr0 3.0G 3.0G 0 100% /media/SLE-11-SP1-SDK-DVD-x86_64.02.001
How can I find the source ISO image which is mounting on /media/SLE-11-SP1-SDK-DVD-x86_64.02.001?
/dev/sr0 should correspond to a CD/DVD drive. So I assume that you want to create an iso image out of this DVD? If that is the case, you should umount the DVD:
sudo umount /media/SLE-11-SP1-SDK-DVD-x86_64.02.001
and then create your iso image like this
dd if=/dev/sr0 of=~/<whatever_name_u_want>.iso
If you actually think an iso image (and not a real DVD) is mounted on your system, try using the mount command. (And if you need more help paste its output)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Recently i installed Ubuntu 13.04 and allocated 20 GB for it. The system got installed space less than 10 GB. Now, can i shrink it to 10 GB without formatting it?
Thats to say, i don't want to have large empty space in the partition.
You could use the resize2fs command.
However, I would suggest to backup the most important files (on e.g. an USB key) before doing that (e.g. /etc/ and some of /home/ )
See also this question...
BTW, 20GB for the system partition is not that much.....
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm puzzled. My harddisk is full and most of the space is used by .eryptfs/$MYUSERNAME (810.4 GB). Strangly, my home directory /home/MYUSERNAME (22.2GB) consumes significantly less diskspace. Any idea what is wrong or where to look for the "missing" free space?
eCryptfs slightly pads files, and the overhead of encryption will slightly increase your over all disk usage, but certainly not to the degree you describe, 37x!
The only disk usage that really matters is that of your /home/.ecryptfs/$USER directory, which is really where the encrypted files are stored on disk. What you're seeing in terms of the usage of $HOME is really phantom -- the cleartext decryption of those files only appears in memory, and not on disk.
To see your true usage, use:
df -h /home
du -sh /home