Re: how to resize/grow an existing partition

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

 



On Fri, 2008-03-07 at 11:35 -0500, Robert P. J. Day wrote:
> On Fri, 7 Mar 2008, Patrick O'Callaghan wrote:
> 
> > On Fri, 2008-03-07 at 06:37 -0700, Kevin Kempter wrote:
> > > Hi List;
> > >
> > > My laptop running Fedora 7 had a 100G SATA drive. I went out yesterday and
> > > purchased a 320G drive.
> > >
> > > First I used dd to transfer my entire existing drive to the new drive, it
> > > worked perfectly - I'm typing this on my system via the new drive now.
> >
> > Maybe I'm missing something here, but I have to ask why did you do
> > this? It would presumably have been easier to a) format your new
> > drive and then b) copy all your files to it (using cp, tar, cpio,
> > rsync or whatever). I can't see how copying via dd makes any sense
> > in this context.
> 
> if (and i stress, *if*) dd works, i'm guessing it's going to be *much*
> faster since it's working at the raw device level rather than having
> to go through the filesystem layer.  personally, i'd probably waste
> the extra time with a filesystem-level tool but, if it worked for the
> OP, i'll bet it took a lot less time.

"Premature optimization is the root of all evil". He's only doing it
once, so dd being faster is (within reason) irrelevant. And now he has
to waste a lot of time asking the list how to expand his partition
(useful knowledge I'll admit, but still), *and* wait for some tool to
actually do it.

> on the downside, since the newer drive was much larger, i'm guessing
> he managed to make 220G of new disk space inaccessible (unless he did
> something clever he didn't tell us about).

Exactly. "An ounce of prevention is worth a pound of cure".

poc


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux