Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-21, 06:12:08

Author Topic: KVM Partition Size Help please  (Read 2753 times)

0 Members and 1 Guest are viewing this topic.

Offline iflove

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
KVM Partition Size Help please
« on: 2016-08-10, 18:26:59 »
Dear Sir,

Could you please kindly give some detailed SSH code or guide on KVM Partition Size? What codes should I use to fdisk for partition size?  kvm disk information shown at the end of this thread.

I could not install Kloxo-Mr on my KVM Linux Centos 6.5 X86 64 Min Gen2 V1, for some errors in the last step "sh /script/upcp". Error shown on putty:

Error Downloading Packages:
  kloxomr-webmail-squirrelmail-1.4.22-6.mr.noarch: Insufficient space in downloa                                                                                                 d directory /var/cache/yum/x86_64/6/mratwork-release-neutral-noarch/packages
    * free   3.3 M
    * needed 5.9 M
Error Summary
-------------
Disk Requirements:
  At least 1MB more space needed on the / filesystem.
At least 1MB more space needed on the / filesystem.

Error Downloading Packages:
  fetchmail-6.3.17-1.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages
    * free   0
    * needed 507 k

cp: cannot stat `../file/ssl/program.pem': No such file or directory
cp: cannot stat `/etc/pureftpd.passwd': No such file or directory
sh: pure-pw: command not found


```````````````````````````````````````````````````
```````````````````````````````````````````````````````
`````````````````````````````````````````````````````
hi, could you please kindly tell how to properly the best use my disk, to accomplish Kloxo MR?


My KVM with putty:
 [root@www ~]# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes
16 heads, 63 sectors/track, 83220 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00065368

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           3        4147     2088960   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2            4147        4162        7168   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.

``````````````````````````````````````````
hi, could you please kindly tell how to properly the best use my disk, to accomplish Kloxo MR? Could you please give some command code of SSH, I am a freshman.

Appreciate it/
« Last Edit: 2016-08-10, 18:46:04 by iflove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: KVM Partition Size Help please
« Reply #1 on: 2016-08-10, 18:47:41 »
Use 'df -h /' to know free partition space.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: KVM Partition Size Help please
« Reply #2 on: 2016-08-10, 18:55:31 »
To know 25 biggest files/dirs use 'du -a / | sort -n -r | head -n 25'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline iflove

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: KVM Partition Size Help please
« Reply #3 on: 2016-08-10, 19:11:05 »
Thank you for your code, sir.

Could you please tell me What I should do next?
Shall I rebuilt the KVM for fresh install Kloxo?

[root@www ~]# df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1       2.0G  1.8G   86M  96% /

[root@www ~]# du -a / | sort -n -r | head -n 25
du: cannot access `/proc/22935/task/22935/fd/4': No such file or directory
du: cannot access `/proc/22935/task/22935/fdinfo/4': No such file or directory
du: cannot access `/proc/22935/fd/4': No such file or directory
du: cannot access `/proc/22935/fdinfo/4': No such file or directory
1825232 /
812440  /usr
400112  /var
391548  /lib
328152  /lib/modules
291972  /usr/lib64
210252  /usr/share
208984  /var/cache
208956  /var/cache/yum
208952  /var/cache/yum/x86_64
208948  /var/cache/yum/x86_64/6
163140  /var/lib
143212  /usr/bin
119256  /var/lib/mysql
116504  /lib/modules/2.6.32-642.3.1.el6.x86_64
112628  /lib/modules/2.6.32-642.3.1.el6.x86_64/kernel
105828  /lib/modules/2.6.32-431.1.2.0.1.el6.x86_64
105816  /lib/modules/2.6.32-431.el6.x86_64


[root@www ~]# fdisk -l

Disk /dev/vda: 42.9 GB, 42949672960 bytes
16 heads, 63 sectors/track, 83220 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00065368

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           3        4147     2088960   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/vda2            4147        4162        7168   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.

Could you please tell me What I should do next?
« Last Edit: 2016-08-10, 19:18:00 by iflove »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: KVM Partition Size Help please
« Reply #4 on: 2016-08-10, 19:21:34 »
There are something wrong with your partitions.

All partition (/dev/vda) is 42.9 GB but root parition is  2.0G. So, it's missing around 40 GB.

Try resize root partition with 'resize2fs /dev/vda1'. If not work, ask to your provider about this issue.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline iflove

  • Junior Member
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: KVM Partition Size Help please
« Reply #5 on: 2016-08-10, 19:30:19 »
Thank you sir. But when I use ssh "resize2fs /dev/vda1", it shows:

[root@www ~]# resize2fs /dev/vda1
resize2fs 1.41.12 (17-May-2010)
The filesystem is already 522240 blocks long.  Nothing to do!

Could you please tell me what should I do now/

Thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: KVM Partition Size Help please
« Reply #6 on: 2016-08-11, 02:17:01 »
So, ask to your provider.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.056 seconds with 22 queries.

web stats analysis