[mdlug] Moving /usr
Mat Enders
mat.enders at gmail.com
Wed Sep 21 11:40:20 EDT 2011
I do not think the problem is the rsync as after it boots all works perfectly.
And the -a switch includes all of the switches you recommend and more.
Mat Enders from my BlackBerry®
-----Original Message-----
From: "Robert Adkins II" <radkins at impelind.com>
Sender: mdlug-bounces at mdlug.org
Date: Wed, 21 Sep 2011 11:25:06
To: 'MDLUG's Main discussion list'<mdlug at mdlug.org>
Reply-To: MDLUG's Main discussion list <mdlug at mdlug.org>
Subject: Re: [mdlug] Moving /usr
I think you should have used more options on the command line, instead of
just -a and maybe just leave the -a out of the equation.
Instead use rsync -rlpt
Perhaps someone with more knowledge on this can provide better information.
--
Regards,
Robert Adkins II
> -----Original Message-----
> From: mdlug-bounces at mdlug.org
> [mailto:mdlug-bounces at mdlug.org] On Behalf Of Mat Enders
> Sent: Tuesday, September 20, 2011 10:19 PM
> To: MDLUG's Main discussion list
> Subject: Re: [mdlug] Moving /usr
>
> The -a option means to archive so it copies them as symlinks
>
> The original entries in fstab did not use uuids
>
> On Tue, Sep 20, 2011 at 9:57 PM, Jeff Hanson
> <jhansonxi at gmail.com> wrote:
> > I haven't used rsync much. How does it handle symlinks? There are
> > many in the lib directories.
> >
> > The only other thing I can think of is a problem with UUIDs
> (if your
> > distro uses them to identify drive partitions).
> >
> > On 9/20/11, Mat Enders <mat.enders at gmail.com> wrote:
> >> All,
> >>
> >> I recently had to move /usr on a machine. Since moving
> >> /usr when i boot the machine I get this message
> immediately after the
> >> bios prompts are finished and before the boot process
> starts "error:
> >> file not found". After the machine comes up all appears
> to work normally.
> >> I will now explain what i did to move /usr.
> >>
> >> 1) log in as root unmount /home
> >> 2) resize /home
> >> 3) create new partition in newly created free space
> >> 4) edit fstab to mount new partition as /usr2
> >> 5) reboot
> >> 6) run rsync -a /usr/ /usr2
> >> 7) run diff /usr /usr2 to ensure they are the same
> >> 8) edit fstab to mount new partition as /usr instead of /usr2
> >> 9) run mv /usr /usr3
> >> 10) reboot
> >> 11) get error but all appears to work correctly
> >>
> >> --
> >> Mathew E. Enders
> >>_______________________________________________
> >> mdlug mailing list
> >> mdlug at mdlug.org
> >> http://mdlug.org/mailman/listinfo/mdlug
> >>
> >_______________________________________________
> > mdlug mailing list
> > mdlug at mdlug.org
> > http://mdlug.org/mailman/listinfo/mdlug
> >
>
>
>
> --
> Mathew E. Enders
>_______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list