Jeff Abrahamson on 31 Aug 2004 19:53:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Adding a new HD


On Tue, Aug 31, 2004 at 01:46:11PM -0400, Stephen Gran wrote:
>   [38 lines, 216 words, 1371 characters]  Top characters: -etnioas
> 
> On Tue, Aug 31, 2004 at 12:53:00PM -0400, Art Alexion said:
> > I am adding a new (additional) hard drive.  My current HD has a simple 
> > ext3 partitioning: (/, /boot, & /swap).  I want to move /home to the new 
> > drive as well as installing a new distro.
> > 
> > Can I just do a
> > 
> >    mkdir /newhome
> 
> Better might be:
> mount /dev/hdc1 /mnt
> mv /home/* /mnt
> umount /mnt
> mount /dev/hdc1 /home
> 
> (for whatever partition)
> [...]
> 
> > I feel like I am missing something critical.

Remember to stop anything that might write to your home directory
while this is going on.  For example, you'll miss mail if you have
procmail deliver to $HOME/Mail/foo and mail arrives after you copy or
move foo but before the copy of $HOME is done.

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:
 http://www.amazon.com/exec/obidos/ASIN/1931686963/purple-20

Attachment: signature.asc
Description: Digital signature