HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How to shrink HDD (http://www.howtoforge.com/forums/showthread.php?t=60259)

noaptus 18th January 2013 11: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.

Code:

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

Code:

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.

Regards

Noaptus

falko 21st January 2013 19:23

Take a look here:

http://www.howtoforge.com/partitioning_with_gparted
http://www.howtoforge.com/linux_resi...xt3_partitions


All times are GMT +2. The time now is 02:37.

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