partition
Hi people , it's my first post !
So i have a problem with this configuration Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1 480559348 1265004 455075556 1% / tmpfs 2071596 0 2071596 0% /lib/init/rw udev 10240 60 10180 1% /dev tmpfs 2071596 0 2071596 0% /dev/shm i want to create a new partition with 200 GB and mount it to /home. and annother 100 GB to /var and the rest to / How to do it ? Thanks ! |
Hello and Welcome to LinuxQuestions,
It looks like you put everything under / when you installed your Linux. In future posts please put the output of your commands between the 'code' tags (# in the icon bar) so that it's easier to read. You'll have to manually set up partitioning to get to where you want. Either by reinstalling (the easiest way) or by using a Gparted LiveCD, boot from that, free up the free space you need, create the partitions, reboot into your Linux and adjust the fstab file. Also please post at least what distro and version you are using. Kind regards, Eric |
Quote:
I have debian5.0.1 and it's a web server in a hosting company. Only what i have is a shell access ( ssh ). Do you know a command or a software to do a partition easyly ? |
As far as I know partitioning and/or repartitioning is best done in single user mode and I'm afraid that will not work well with ssh since you will loose your connection. You can look into the following commands:
Code:
cfdisk Is there a possibility that you can ask the hosting provider to re-install but with your partitioning schema? I imagine that they set it up for you? Kind regards, Eric |
Quote:
With #cfdisk When i try with a partition got : This partition is already in use So the solution is to contact my hoster. Thanks for your help. Regards. |
I think that's about all you can do. And just tell them how you want partitioning set up. A small advice; if they reinstall accordingly to your partitioning scheme, ask them to set it up using LVM (Logical Volume Manager). That way you can always resize partitions after installation.
Kind regards, Eric |
Quote:
|
Alright , thank you guys !
|
All times are GMT -5. The time now is 09:35 PM. |