On Saturday 05 February 2005 02:01 pm, Nick Rout <[EMAIL PROTECTED]> wrote:
> On Sat, 2005-02-05 at 08:38 -0700, Kumar Golap wrote:
> > Hi All,
> >
> > I am thinking of migrating my system disk (/usr   etc..) to a bigger
> > one

For future systems, you might check out LVM/EVMS.  Either would allow you 
to add a new disk to the available storage space, transparently migrate 
data off the old disk, and then remove the old disk from available storage 
space.  If both the new and old disk are hot-swappable, there's 0 
downtime.

I use LVM on everything; including my laptop.  [It was really handy when I 
was testing out mm-sources and reiser4.]

> copy the contents of /usr to /newusr, makng sure to preserve ownership
> and permissions and symlinks
cp -vga /usr/* /usr/.[^.]* /newusr

Also, I'd do all of this in single-user mode, so that /usr doesn't get 
written to after the copy but before the new /usr is up.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

--
[email protected] mailing list

Reply via email to