Re: Re-allocate /home on a diff partition
- From: Ivan Marsh <annoyed@xxxxxxx>
- Date: Mon, 27 Mar 2006 11:59:55 -0600
On Mon, 27 Mar 2006 19:51:45 +0200, Jan Gerrit Kootstra wrote:
arun.iit@xxxxxxxxx wrote:
My present harddisk partition info is as followsArun,
[user@dreamer]# df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 86G 2.4G 79G 3% /
/dev/sda7 20G 80M 19G 1% /BACKUP
/dev/sda1 104M 16M 83M 16% /boot
/dev/shm 1.1G 0 1.1G 0% /dev/shm
/dev/sda3 26G 111M 24G 1% /home
/dev/sda5 21G 7.1G 13G 37% /usr
------------------------------------------------------------------------
I plan to have a lot of users on this machine (around 10,000)
As you can see there isnt much empty space in /home partition.
I want to shift the /home folder under ' / '.
ie I want /home also on ' sda2 ' instead of sda3.
Hw do i go about doing that.
Are there any risks involved??
Thanks in advance.
Arun
How many user do you need? You only used 111M and are still left with
24G on /home.
So why do you want to shift /home to a directory under /.
A way to go is.
mkdir /home1
cp -Rav /home/* /home1>/root/copyaction
see if all files are copied
rm -rf /home
I would prefer to umount the /home partition rather than deleting it so
you can make sure everything is working without a chance of losing data.
--
The USA Patriot Act is the most unpatriotic act in American history.
.
- Follow-Ups:
- Re: Re-allocate /home on a diff partition
- From: Jan Gerrit Kootstra
- Re: Re-allocate /home on a diff partition
- From: arun . iit
- Re: Re-allocate /home on a diff partition
- References:
- Re-allocate /home on a diff partition
- From: arun . iit
- Re: Re-allocate /home on a diff partition
- From: Jan Gerrit Kootstra
- Re-allocate /home on a diff partition
- Prev by Date: Re: Re-allocate /home on a diff partition
- Next by Date: Re: Re-allocate /home on a diff partition
- Previous by thread: Re: Re-allocate /home on a diff partition
- Next by thread: Re: Re-allocate /home on a diff partition
- Index(es):
Relevant Pages
|
|