[lug] adding a new disk to a system

Hugh Brown hugh at vecna.com
Sun Sep 2 21:13:26 MDT 2001


I have a partition on /home that is about 7gig.  I have an empty 8 gig
disk.  I was hoping to move /home/samba (3gigs) onto the new 8 gig disk.
I'm not sure how I would use dd in that case.

Hugh

"Dhruva B. Reddy"
> 
> I haven't been following this thread that closely, but has anyone suggested
> using dd to copy from one raw device to another?
> 
> On Sun, Sep 02, 2001 at 12:05:05AM -0600, quoth Rob Riggs:
> > How is tar or cpio any better with links than 'cp -a'? You have the same 
> > problems with hard links with tar and cpio (AFAIK) and 'cp -a' handles 
> > symlinks just fine. And the average Linux system has few, if any, hard 
> > linked files these days so it's generally not an issue.
> > 
> > Hugh Brown wrote:
> > 
> > >cp doesn't deal well with links and it is not as effecient as some of the
> > >other methods.
> > >
> > >It has failed me, which is why I opted for the tar method first.
> > >
> > >Hugh
> > >
> > >"Rob Riggs"
> > >
> > >>I've always used 'cp -a <src> <dest>'. It's short, sweet and easy to 
> > >>remember. And it has never failed me.
> > >>



More information about the LUG mailing list