HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   HOWTO-Related Questions (
-   -   How to shrink HDD (

noaptus 18th January 2013 12:13

How to shrink HDD
Hi you all.

I am in need of assistan, I have an 400 GB HDD on my CentOS 6 Server
and I need to create an extra partition on that drive without loosing any data.

When I do df -l i get this.


Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1            359G  1.4G  340G  1% /
tmpfs                1.5G    0  1.5G  0% /dev/shm

And when I do this fdisk -l


Disk /dev/sda: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000da106

  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      47598  382322688  83  Linux
/dev/sda2          47598      48642    8387584  82  Linux swap / Solaris

What i'm intend to do is that I need 280GB extra and create LVM Group for that extra space.

This is my dedicated server and I have Solusvm on that server that is a slave server.

Can somone please tel me step by step how to do this.

To be really honest I am little bit scared to do this without a proper knowledge, I do have search the internet but I would rather have somone who know's this realy good.

So I really appreciate all the assistant.



falko 21st January 2013 20:23

Take a look here:

All times are GMT +2. The time now is 16:35.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.