LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need to add more space, no idea how (https://www.linuxquestions.org/questions/linux-newbie-8/need-to-add-more-space-no-idea-how-4175596160/)

ball125 12-26-2016 10:51 AM

Need to add more space, no idea how
 
I ran out of space and i have no idea how to add just a few gigs more. please help thanks

sundialsvcs 12-26-2016 11:22 AM

If this is a matter of "disk space," a-n-d i-f you configured Linux with "LVM = Logical Volume Management" support, then the matter is easy: you install a new drive, add it to a physical storage pool, then allocate all or part of its space to a logical volume. Resize the filesystem upward and you're done.

But unfortunately, if you aren't using LVM . . .

johnmeehan 12-26-2016 11:22 AM

If you are talking about storage you might try a second hard drive or a larger primary drive. A cheaper solution might be a USB stick.

michaelk 12-26-2016 11:47 AM

Welcome to LinuxQuestions.

Without knowing how your drive(s) are currently configured and what you mean by a few gigs it is a bit difficult to help. As indicated there are many ways to add space. Please post the output of the commands:

df -h

lsblk

frankbell 12-26-2016 06:30 PM

What is the output of these two commands:

Code:

fdisk -l
df -H

Also, what is the output of

Code:

cat /etc/*release*
Post the results here, being sure to enclose them in "code" tags, which become available when you click the "Go Advanced" button at the bottom of the compose post windows.

fatmac 12-27-2016 09:27 AM

Likely a USB drive of some sort. :)

bbuske 12-27-2016 09:31 AM

If it is a working machine, you could try to get some more diskspace, by deleting tmp files or snapshots. I am using Snapper, which creates automatic snapshots of the system. By default it maintains about 10 images of the system. Each one taking several GBs. Hence deleting like 5 of them and change settings so that only 5 are kept (or even less), did free up large amounts of space for me at times.

BW-userx 12-27-2016 12:34 PM

delete old files you really do not need, or move them on to another medium for safe keeping.

pierre2 01-03-2017 06:55 AM

depending on the Linux System being used,
- it may have Disk Useage Analyer ( Baobab ) installed,
which will tell you what directory / folder(s) have the most stored in them.

then use that information, to either:
- delete some files.
- move some files, to a USB stick / HDD


All times are GMT -5. The time now is 01:57 PM.