Huge disk usage on development virtual machine running Centos 7
I'm using Centos7 virtual machine as development enviroment, actually, to host my local server and project files. All development is done on windows 10 with virtual machine attached as network storage.
Now, the problem is that it reports huge disk usage on it, when inspecting one file (any file) that is <1MB, it says space on disk to be 1.00 MB, making project that are around 70 or 80MB use sometimes more than 2GB of disk space.
Any idea what could be causing this and how can I fix it?
EDIT
More details: filesystem: NTFS, mixed projects including PHP, HTML, javascript (web and mobile apps using cordova) but I don't think how could programming languages affect this. Using apache2 as a web server. Protocol I don't have any idea. Virtualisation software is Oracle VirtualBox (latest).
linux centos storage
|
show 4 more comments
I'm using Centos7 virtual machine as development enviroment, actually, to host my local server and project files. All development is done on windows 10 with virtual machine attached as network storage.
Now, the problem is that it reports huge disk usage on it, when inspecting one file (any file) that is <1MB, it says space on disk to be 1.00 MB, making project that are around 70 or 80MB use sometimes more than 2GB of disk space.
Any idea what could be causing this and how can I fix it?
EDIT
More details: filesystem: NTFS, mixed projects including PHP, HTML, javascript (web and mobile apps using cordova) but I don't think how could programming languages affect this. Using apache2 as a web server. Protocol I don't have any idea. Virtualisation software is Oracle VirtualBox (latest).
linux centos storage
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
1
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
1
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
1
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08
|
show 4 more comments
I'm using Centos7 virtual machine as development enviroment, actually, to host my local server and project files. All development is done on windows 10 with virtual machine attached as network storage.
Now, the problem is that it reports huge disk usage on it, when inspecting one file (any file) that is <1MB, it says space on disk to be 1.00 MB, making project that are around 70 or 80MB use sometimes more than 2GB of disk space.
Any idea what could be causing this and how can I fix it?
EDIT
More details: filesystem: NTFS, mixed projects including PHP, HTML, javascript (web and mobile apps using cordova) but I don't think how could programming languages affect this. Using apache2 as a web server. Protocol I don't have any idea. Virtualisation software is Oracle VirtualBox (latest).
linux centos storage
I'm using Centos7 virtual machine as development enviroment, actually, to host my local server and project files. All development is done on windows 10 with virtual machine attached as network storage.
Now, the problem is that it reports huge disk usage on it, when inspecting one file (any file) that is <1MB, it says space on disk to be 1.00 MB, making project that are around 70 or 80MB use sometimes more than 2GB of disk space.
Any idea what could be causing this and how can I fix it?
EDIT
More details: filesystem: NTFS, mixed projects including PHP, HTML, javascript (web and mobile apps using cordova) but I don't think how could programming languages affect this. Using apache2 as a web server. Protocol I don't have any idea. Virtualisation software is Oracle VirtualBox (latest).
linux centos storage
linux centos storage
edited Dec 20 '18 at 0:00
Rui F Ribeiro
39k1479130
39k1479130
asked Oct 6 '17 at 12:49
Imaginaroom
1114
1114
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
1
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
1
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
1
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08
|
show 4 more comments
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
1
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
1
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
1
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
1
1
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
1
1
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
1
1
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08
|
show 4 more comments
2 Answers
2
active
oldest
votes
Looks like you're using an NTFS
volume under Linux. If that's the case, please don't do that. Format the volume either with ext4
or xfs
on the CentOS side, and mount the driva via NFS
or Samba
to the Windows. NTFS is not well-supported under CentOS.
NTFS
is not a primary filesystem for Linux in general, and it's supported via reverse-engineering in general.
add a comment |
Do not use dynamically allocated virtual disks that may couse of unexpected disk performance issues.
Use fixed size virtual disks to best performance.
Try to convert your disks.
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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
});
}
});
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%2funix.stackexchange.com%2fquestions%2f396493%2fhuge-disk-usage-on-development-virtual-machine-running-centos-7%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like you're using an NTFS
volume under Linux. If that's the case, please don't do that. Format the volume either with ext4
or xfs
on the CentOS side, and mount the driva via NFS
or Samba
to the Windows. NTFS is not well-supported under CentOS.
NTFS
is not a primary filesystem for Linux in general, and it's supported via reverse-engineering in general.
add a comment |
Looks like you're using an NTFS
volume under Linux. If that's the case, please don't do that. Format the volume either with ext4
or xfs
on the CentOS side, and mount the driva via NFS
or Samba
to the Windows. NTFS is not well-supported under CentOS.
NTFS
is not a primary filesystem for Linux in general, and it's supported via reverse-engineering in general.
add a comment |
Looks like you're using an NTFS
volume under Linux. If that's the case, please don't do that. Format the volume either with ext4
or xfs
on the CentOS side, and mount the driva via NFS
or Samba
to the Windows. NTFS is not well-supported under CentOS.
NTFS
is not a primary filesystem for Linux in general, and it's supported via reverse-engineering in general.
Looks like you're using an NTFS
volume under Linux. If that's the case, please don't do that. Format the volume either with ext4
or xfs
on the CentOS side, and mount the driva via NFS
or Samba
to the Windows. NTFS is not well-supported under CentOS.
NTFS
is not a primary filesystem for Linux in general, and it's supported via reverse-engineering in general.
answered Oct 6 '17 at 13:11
bayindirh
689418
689418
add a comment |
add a comment |
Do not use dynamically allocated virtual disks that may couse of unexpected disk performance issues.
Use fixed size virtual disks to best performance.
Try to convert your disks.
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
add a comment |
Do not use dynamically allocated virtual disks that may couse of unexpected disk performance issues.
Use fixed size virtual disks to best performance.
Try to convert your disks.
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
add a comment |
Do not use dynamically allocated virtual disks that may couse of unexpected disk performance issues.
Use fixed size virtual disks to best performance.
Try to convert your disks.
Do not use dynamically allocated virtual disks that may couse of unexpected disk performance issues.
Use fixed size virtual disks to best performance.
Try to convert your disks.
answered Oct 6 '17 at 13:23
Egor Vasilyev
1,822129
1,822129
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
add a comment |
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
They are fixed size.
– Imaginaroom
Oct 6 '17 at 13:42
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2funix.stackexchange.com%2fquestions%2f396493%2fhuge-disk-usage-on-development-virtual-machine-running-centos-7%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
Which filesystem do you use as network storage and what's the protocol? Also what are the virtual disk format and the virtualization software are you using?
– bayindirh
Oct 6 '17 at 12:52
1
So the development is done via a Windows client and the code is then built and run in the Centos environment? What stack is running n the Centos machine and what language are you developing in?
– Raman Sailopal
Oct 6 '17 at 12:52
@RamanSailopal I have added more details to the question itself.
– Imaginaroom
Oct 6 '17 at 13:01
1
@Imaginaroom, so you're using an NTFS volume under Linux? If that's the case, please don't do that. Format the volume either with ext4 or xfs on the CentOS side, and mount the driva via NFS or Samba to the Windows. NTFS is not well-supported under CentOS
– bayindirh
Oct 6 '17 at 13:05
1
@Imaginaroom To keep the question tidy, I'll write my comment is an answer, if that solves your problem, please accept it.
– bayindirh
Oct 6 '17 at 13:08