Thank you very much for your advice.
I have one more quesition.
I have two hds, but becase my /home is very large, can I have /home in
both hds. say hd2 is /home and some of hd1 is /home too.
if i can, how can i do it?
and can you give me some more suggestion how to modify the fstab.

Thank you very much again.


On Thu, 23 May 2002, Anand Buddhdev wrote:

> On Thu, May 23, 2002 at 11:49:20AM -0400, Jianping Zhu wrote:
> 
> > I have a linux sever with redhat7.1 on it.
> > I have bought a new hard disk, I want to move the /home diretoy to the new
> > hard disk, and extend /usr in the old hard disk. but I am not sure how to
> > do it. 
> > Any suggestion will be greatly appreicated.
> 
> After you install the disk, you need to create a partition on it,
> format that partition, and create a filesystem on it. That's easy to
> do with fdisk, and mkfs. Then, bring your system to single-user mode,
> mount this new partition, use rsync, tar or cpio to copy everything
> under /home to the new partition, unmount /home, and then remount the
> new partition under /home.  Don't forget to edit /etc/fstab to make sure
> that the new partition is mounted correctly at the next boot.
> 
> Now you can free up the space used by the old /home parititon on the
> first disk. I know there is a tool called resize2fs, but I have never
> used it, so read the man page, and proceed carefully.
> 
> -- 
> Anand Buddhdev
> Personal site: http://anand.org
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 


--------------------------------
Jianping Zhu
Department of Computer Science
Univerity of Georgia 
Athens, GA 30602
Tel 706 5423900
--------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to