<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2655.72">
<TITLE>RE: Add a new HardDisk</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>This assumes you have formated the filesystem and it is ready to mount.  Have you done that?  If not look at the newfs or mkfs commands.  Pick your filesystem type, ie ext3, reiserfs, etc and format the drive.  Then you can mount it.  If your home directory is a separate mount point already I would just edit the fstab and modify the /home line to use the new hdd that you just mounted.  I usually mount it to a temp spot, copy everything over unmount it from the temp spot, unmount the current home directory, assuming no one is using it, then just mount the new to the current spot.</FONT></P>

<P><FONT SIZE=2>Regards,</FONT>
</P>

<P><FONT SIZE=2>Drew</FONT>
</P>

<P><FONT SIZE=2>On Tue, 2004-03-23 at 10:50, truejack@indiainfo.com wrote:</FONT>
<BR><FONT SIZE=2>> Folks,</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I am new to the LINUX thing. Mostly been a Microsoft guy so far.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I need a add a new HardDisk to my RH8.0 box.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> How do I go about doing it and configuring the new Hardrive.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I am pasting mt df -h output here</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Filesystem            Size        Used    Avail      Use% Mounted on</FONT>
<BR><FONT SIZE=2>> /dev/hda3              14G      12G       2.0G     86%         /</FONT>
<BR><FONT SIZE=2>> /dev/hda1              99M     17M      76M      18%        /boot</FONT>
<BR><FONT SIZE=2>> /dev/hda2              20G      16G       4.1G      79%       /home</FONT>
<BR><FONT SIZE=2>> none       & nbsp;          503M          0         502M      0%      </FONT>
<BR><FONT SIZE=2>> /dev/shm</FONT>
<BR><FONT SIZE=2>> /dev/hdc1              57G      19G       35G        34%     </FONT>
<BR><FONT SIZE=2>> /software</FONT>
<BR><FONT SIZE=2>> /dev/hdc2              57G      40G       14G        73%      /space</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> And, I would like move /home to the new HDD I create, how do get that</FONT>
<BR><FONT SIZE=2>> done. </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Thanks in advance</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>Someone correct me if I'm wrong...</FONT>
</P>

<P><FONT SIZE=2>Assuming /dev/hdd1 /var/home</FONT>
</P>

<P><FONT SIZE=2>modify /etc/fstab to mount hdd1</FONT>
</P>

<P><FONT SIZE=2>#mv /home/* /var/home/</FONT>
<BR><FONT SIZE=2>#rm -rf /home</FONT>
<BR><FONT SIZE=2>#ln -s /var/home /home</FONT>
</P>

<P><FONT SIZE=2>Verify permission on new home directory</FONT>
</P>

<P><FONT SIZE=2>Modify paths as necessary. </FONT>
</P>
<BR>

<P><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>>  </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
</P>
<BR>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>redhat-list mailing list</FONT>
<BR><FONT SIZE=2>unsubscribe <A HREF="mailto:redhat-list-request@redhat.com?subject=unsubscribe">mailto:redhat-list-request@redhat.com?subject=unsubscribe</A></FONT>
<BR><FONT SIZE=2><A HREF="https://www.redhat.com/mailman/listinfo/redhat-list" TARGET="_blank">https://www.redhat.com/mailman/listinfo/redhat-list</A></FONT>
</P>

</BODY>
</HTML>