The UNIX and Linux Forums
>
Operating Systems
>
BSD
Moving /var partition to USB stick
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Moving /var partition to USB stick
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-05-2009
otheus
Moderator ala Mode
Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,886
First, shutdown any relevant deamons (syslog, mysql), then, copy everything, preferably with rsync -av, then do a mount command like:
Code:
mount /dev/usb0 /var
Be sure to restart your daemons afterwards.
otheus
View Public Profile
Visit otheus's homepage!
Find all posts by otheus
Find otheus's past nominations received
Find otheus's present nominations given