The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [var]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
37 views

How can I move /var to spacious partition or increase size of the partition (/dev/sda3 in this case) to say 30G?

I am working on a Debian 9 system. When I try to install a package, dpkg fails with following error: Selecting previously unselected package mariadb-server-10.1. Preparing to unpack .../3-mariadb-...
3
votes
2answers
916 views

Accidentally deleted /var folder

I accidentally moved my /var folder to trash and now unable to login to Mac. The only solution I found until now is to recover OS X. I have tried to move /var back to /private folder in single user ...
0
votes
2answers
321 views

How to make /var/log persistent through reboots on an embedded linux device

Scenario I am on an embedded linux system. As usual /var/log/ is the directory when all the logs are stored. I have a directory called /safepath which is created during image creation and it is on ...
0
votes
2answers
44 views

Bind mounted /var to /raid5/var and CentOS fails to boot

System Background: I am running CentOS 7 in a VM (in VirtualBox) on a host computer running Windows 10. My /dev/sda is on an SSD and then I have three 1TB HDDs /dev/sdb, /dev/sdc, and /dev/sdd ...
0
votes
1answer
2k views

can i safely remove /var/log/jenkins/jenkins.log (/var: 100% used) [duplicate]

I am running out of disk space with /var system file and noticed /var/log/jenkins/jenkins.log file is occupied 7 GB. Can i safely remove this log file ?
1
vote
1answer
194 views

mount /var as tmpfs && backup to disk @ shutdown && restore from disk @ boot

I run a fedora 27 server mainly for an email service, that is mainly used for temporary email communications by a software. Almost nothing permanent need to be stored on the /var, maybe except it's ...
1
vote
1answer
51 views

To Symlink or not to Symlink?

Prefacing this by saying I'm pretty new to Linux/Computers. I'm working on doing a yum update on an outdated RHEL (7.2) system. I'm currently not able to install anything new or change the disk ...
1
vote
2answers
55 views

Want to increase partition sizes - how to do so safely?

I'm looking to resize a number of partitions, but I'm unsure how to go about doing this. I want to increase the partition size of the /var partition, that is in the middle of all the other partitions....
0
votes
1answer
938 views

Search by file extension using grep command in /var/run

I want to search files by using grep command in the directory /var/run /var/run stores the processes running in the system and it has files with pid extension. I want to get a list of all the files ...
5
votes
3answers
2k views

What would likely cause directories in /var/run to disappear / not be created on startup? (CentOS 7.3)

Ran into an issue today where Apache would not load because /var/run/httpd was missing. After much hunting to find that cause of the error I was getting ([Tue Jul 25 00:06:31.574386 2017] [auth_digest:...
5
votes
1answer
9k views

Why do I get the error “failed unmounting /var” during shutdown?

I have a fresh install of Debian 9.0.0. It has a separate 1 GB partition for /var formatted at ext4. When I shutdown from the terminal, using shutdown -h now, there is a bright-red error message ...
1
vote
1answer
436 views

var directory showing its full via command 'df-h' [duplicate]

df -h shows: df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 1.9G 256M 1.5G 14% / devfs 1.0K 1.0K 0B 100% /dev /dev/ada0p4 804G ...
3
votes
2answers
984 views

Does /var keep growing in size?

tldp.org quotes /var as: Files in /var/log can often grow indefinitely, and may require cleaning at regular intervals. So without cleaning, using a system for a long enough period will fill up ...