zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Come Celebrate our 10 Year Anniversary!How can I determine what is taking up so much space?Mounting an attached ebs volume in EC2Settings Root Device on EC2XFS: no space left on device, (but I have 850GB available!)Attaching EBS volume to EC2 Amazon ServerDisk root error on start instance on “Amazon Web Services (AWS)” EC2EC2 Disk space not utilized fullyExtend linux filesystem space on Amazon EC2 instanceIncreasing size of a root EBS volume: stop or reboot instance?Can not start instance - No root volume attached - After migrating to encrypted volumeCentOS zsh: locking failed for /root/.zsh_history: read-only file system: reading anyway
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
When speaking, how do you change your mind mid-sentence?
How to break 信じようとしていただけかも知れない into separate parts?
2 sample t test for sample sizes - 30,000 and 150,000
Why doesn't the university give past final exams' answers?
Does GDPR cover the collection of data by websites that crawl the web and resell user data
Why not use the yoke to control yaw, as well as pitch and roll?
Import keychain to clean macOS install?
Would I be safe to drive a 23 year old truck for 7 hours / 450 miles?
Can a Knight grant Knighthood to another?
What is the evidence that custom checks in Northern Ireland are going to result in violence?
Why did Europeans not widely domesticate foxes?
Is it OK if I do not take the receipt in Germany?
Why "Go Out and Learn"
How to create a command for the "strange m" symbol in latex?
reduction from 3-SAT to Subset Sum problem
Network Switch Upgrade Planning questions
Who's this lady in the war room?
Determine the generator of an ideal of ring of integers
Can a Wizard take the Magic Initiate feat and select spells from the Wizard list?
What's the connection between Mr. Nancy and fried chicken?
Does the Pact of the Blade warlock feature allow me to customize the properties of the pact weapon I create?
Assertions In A Mock Callout Test
Magento 2 Editing phtml files in Production Mode
zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!How can I determine what is taking up so much space?Mounting an attached ebs volume in EC2Settings Root Device on EC2XFS: no space left on device, (but I have 850GB available!)Attaching EBS volume to EC2 Amazon ServerDisk root error on start instance on “Amazon Web Services (AWS)” EC2EC2 Disk space not utilized fullyExtend linux filesystem space on Amazon EC2 instanceIncreasing size of a root EBS volume: stop or reboot instance?Can not start instance - No root volume attached - After migrating to encrypted volumeCentOS zsh: locking failed for /root/.zsh_history: read-only file system: reading anyway
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am using CentOS image from AWS EC2, I have root volume attached which is 150 GB and I see below error message after I login
zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway

In, AWS EC2 I can increase the size of the root volume and run below commands into the server to increase the disk space
lsblk
sudo growpart /dev/xvda 1
sudo xfs_growfs -d /
My question is will the error message get removed if I increase the disk space as I want to be sure?
Please help
amazon-ec2 centos7 disk-space-utilization xfs
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am using CentOS image from AWS EC2, I have root volume attached which is 150 GB and I see below error message after I login
zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway

In, AWS EC2 I can increase the size of the root volume and run below commands into the server to increase the disk space
lsblk
sudo growpart /dev/xvda 1
sudo xfs_growfs -d /
My question is will the error message get removed if I increase the disk space as I want to be sure?
Please help
amazon-ec2 centos7 disk-space-utilization xfs
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40
add a comment |
I am using CentOS image from AWS EC2, I have root volume attached which is 150 GB and I see below error message after I login
zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway

In, AWS EC2 I can increase the size of the root volume and run below commands into the server to increase the disk space
lsblk
sudo growpart /dev/xvda 1
sudo xfs_growfs -d /
My question is will the error message get removed if I increase the disk space as I want to be sure?
Please help
amazon-ec2 centos7 disk-space-utilization xfs
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am using CentOS image from AWS EC2, I have root volume attached which is 150 GB and I see below error message after I login
zsh: locking failed for /home/centos/.zsh_history: no space left on device: reading anyway

In, AWS EC2 I can increase the size of the root volume and run below commands into the server to increase the disk space
lsblk
sudo growpart /dev/xvda 1
sudo xfs_growfs -d /
My question is will the error message get removed if I increase the disk space as I want to be sure?
Please help
amazon-ec2 centos7 disk-space-utilization xfs
amazon-ec2 centos7 disk-space-utilization xfs
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Apr 16 at 12:15
techGaurdiantechGaurdian
1064
1064
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
techGaurdian is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40
add a comment |
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
techGaurdian is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963288%2fzsh-locking-failed-for-home-centos-zsh-history-no-space-left-on-device-read%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
techGaurdian is a new contributor. Be nice, and check out our Code of Conduct.
techGaurdian is a new contributor. Be nice, and check out our Code of Conduct.
techGaurdian is a new contributor. Be nice, and check out our Code of Conduct.
techGaurdian is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963288%2fzsh-locking-failed-for-home-centos-zsh-history-no-space-left-on-device-read%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
If / is the only file system (and /home(/centos) is not on its own filesystem) then yes you can increase the diskspace (and root file system) to get rid of it. - Typically you would first check WHY you run out of disk space, if it is because of actual data you want to keep, or bad house keeping. If it is the latter potentially you can free a lot of space by cleaning up old data, excessive log files etc. ...
– HBruijn
Apr 16 at 12:20
@HBruijn: yes, I think that too, Do you know any command where I can list all files which is consuming the server space?
– techGaurdian
Apr 16 at 13:43
serverfault.com/q/301423/37681
– HBruijn
Apr 16 at 13:49
@HBruijn: Thanks. Just one thing / is the only filesystem I have. Also I am not able to know where the disk space is been utilized. Server is 150 GB and I'm sure that application is using 50GB only and 100 GB should be free but dont know how to find it Any Idea?
– techGaurdian
Apr 16 at 19:40