Forum Moderators: phranque

Message Too Old, No Replies

expanding a partition

.. linux redhat

         

4eyes

11:56 am on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Got a server - linus redhat - which has been partitioned with 'undesirable' partition sizes.

Does anyone know a way of expanding one partition without losing the data, (is there anything similar to 'partion magic' for Windows)

bufferzone

12:02 pm on Oct 26, 2001 (gmt 0)

10+ Year Member



I know that you can do this using PartitionMagic. I think you can also use FIPS for linux which is free, but I don't know for sure

caine

1:01 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is the partition to small or to large ?

4eyes

1:07 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Bufferzone - will check these out

Caine:
Way too small

Basically the server was set up with the plesk control panel, configs and web sites in a 1Gig partition, and not surpisingly it is now full.

There is a 6Gig partition sat doing nothing.

We want to combine the two - or delete the 6Gig and expand the 1Gig without having to reinstall plesk and post 100+web sites.

Got to find a solution, coz its gonna be me gotta do all the reposting:(

sugarkane

2:44 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



4eyes - moving the web sites to the 6Gig will only take a couple of minutes if you have shell access. If your sites are at (say) /home/www and the 6G partition is mounted on /mnt/bigpartition then this'll sort it:

cd /mnt/bigpartition
mkdir www
cd www
tar cv /home/www/* > sites.tar
tar xvf sites.tar
cd /home
mv www www.old
ln -s /mnt/bigpartition/www www

I'm not familiar with plesk but I see no reason why that won't work...

4eyes

2:50 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Sugarkane

I suspect there my be a problem with plesk, as the configs for all the sites may be linked with the partition.

I'll pass this on to my system techie guy, and let him work it out.

Air

4:50 pm on Oct 26, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know Plesk either, but symlinks are controlled by the OS, so I can't see plesk coming into play, Sugarkane's suggestion should work.