#1  
Old 18th January 2013, 11:13
noaptus noaptus is offline
Junior Member
 
Join Date: Dec 2008
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 21st January 2013, 19:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Take a look here:

http://www.howtoforge.com/partitioning_with_gparted
http://www.howtoforge.com/linux_resi...xt3_partitions
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad blocks on HDD Captain Installation/Configuration 9 26th October 2011 18:37
corrupted Hdd issue demonized HOWTO-Related Questions 2 4th June 2011 21:21
Adding another HDD to uBuntu sellotape Installation/Configuration 0 4th June 2011 21:07
Installing linux on usb hdd anuvrat_parashar Installation/Configuration 1 20th April 2009 12:00
Help adding second HDD for storage only Unflux Installation/Configuration 3 28th December 2008 13:02


All times are GMT +2. The time now is 05:03.


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