Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm planning to resize one of the server partition from 40GB to 1900GB. The current partition has files on it while the space to be added is unallocated. Will my existing files be deleted?

Any help would be appreciated. Thanks.

share|improve this question

closed as off topic by mdpc, MDMarra, Brent Pabst, Bryan, Magellan Nov 19 '12 at 22:15

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Specify an OS where you want to perform disk extension. Is the unallocated space on the same physical disk? W2k8 supports disk extension of the fly. –  Volodymyr Nov 19 '12 at 9:43
3  
It doesn't matter because you have recent backups of any data you care about and you regularly make sure you can restore from them because you know a disk can fail any time with no warning anyway. Right? –  David Schwartz Nov 19 '12 at 10:04
    
please specify a an operating system, and the filesystem you're using... not all work the same –  Waleed Hamra Nov 19 '12 at 10:07
    
the server is running CentOS5. Filesystem is ext3. the unallocated space is on the same disk. You can take a look also on my related question here serverfault.com/questions/450014/extend-size-of-partition. Sorry I did not notice this comment right away. Thanks for replies. –  Jan Mark Nov 19 '12 at 10:14
1  
@HopelessN00b May I know your idea on resizing the partition? Thanks –  Jan Mark Nov 19 '12 at 11:55

3 Answers 3

Generally resizing does not delete any files. This is certainly the case for

  • Using a GParted LiveCD
  • "Live" resizing in Windows Server 2008

Those are the two most likely scenarios but if you are using some other tools then please update your question so you can receive the correct answer

share|improve this answer
    
Thanks @Phil. The server is running CentOs. So it won't have problem with deleting the files? I have my related question here serverfault.com/questions/450014/extend-size-of-partition. Thanks. –  Jan Mark Nov 19 '12 at 10:08

No data will be deleted during extension.

As it was mentioned earlier W2k8 supports disk extension on the fly for system and non-system partitions.

W2k3 doesn't support disk extension on the fly for the system partition, volume with pagefile and some other rare cases. On W2k3 machines I prefer using extpart from DELL which does support extension of the system partitions on the fly which means no downtime and it's extremely easy to use, see example below:

For example:

To extend the g: volume by 1 GB (1024 MB) use the following command:

extpart g: 1024

share|improve this answer
    
The server is running centos. will you help me with resizing command. I have the related question here serverfault.com/questions/450014/extend-size-of-partition. Thanks. –  Jan Mark Nov 19 '12 at 10:09
    
Unfortunately, I'm not so familiar with Linux though :( –  Volodymyr Nov 19 '12 at 10:15

The above discussion seem to assume that the space to be added is CONTIGIOUS to that of the space you want to increase. If this is true you don't have problems.

The system will NOT allow non-contiguous spaces to be expanded easily. It will essentially be two areas that you'll have to balance yourself. Of course, you will not lose any data unless you delete the original partition.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.