Just a thought, but why not move stuff from /opt directly into /archive and
then remount it on /opt? Also rsync is nice for big copies.

My approach:

# rsync -av /opt/ /archive/
# umount /dev/cciss/c0d0p12

Edit /dev/cciss/c0d0p12 mount point in fstab to /opt

# mount /dev/cciss/c0d0p12

after confirming everything works, umount the partition and clear out the
old /opt

-Steve

Chris Roberts wrote:
> Finally decided to upgrade to LTSP5, but before I do, I need to sort out an 
> old problem which I have been putting off.
> 
> For reasons far too complicated to go into (AKA I screwed up) I have ended up 
> without a separate /opt partition.  In itself not a huge problem, but 
> unfortunately this has resulted in the / partition being closer to capacity 
> than I would like.
> 
> Fortunately I have a massive and unused /archive partition 
> (on /dev/cciss/c0d0p12 filesystem) which I am not using.  I therefore want to 
> unmount /dev/cciss/c0d0p12, change the mount position to /opt and remount.
> 
> Given that /opt is only used when clients first boot, and /archive is 
> currently unused, this would seem quite straightforward and safe.  My plan is 
> simply to do:
> 
> # mv /opt /home/opt
> # umount /dev/cciss/c0d0p12
> Edit /dev/cciss/c0d0p12 mount point in fstab to /opt
> # mount /dev/cciss/c0d0p12
> # mv /home/opt to /opt
> Test!
> 
> I have a HP Proliant DL380 G5 with hardware RAID1+0.  The system is backed up 
> nightly to DAT.
> 
> Can anyone advise on whether my proposed solution is sensible, or whether I 
> should do anything different - particularly given the hardware RAID?
> 
> Thanks.


-- 

Steven Cayford
McNamara Academic Center
University of Minnesota
http://gopheracademics.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to