[SunHELP] Moving Volumes/Filesystems

Bill Bradford mrbill at mrbill.net
Tue May 20 11:06:54 CDT 2003


On Mon, May 19, 2003 at 08:40:25PM -0400, robert brooke gravitt wrote:
> What is the best way to move around filesystems? I am running Solaris 9 
> on my Ultra 2 and have a puny internal drive. I'd like to relocate /var 
> , /usr, and /export/home to the new 18.3 GB external unipack now 
> attached. I formatted the unipack, and need to know what to do next. 
> Can someone get me started?

You can ufsdump/restore between partitions and use stdin/stdout.                

example# ufsdump 0f - /dev/rdsk/c0t0d0s7 | (cd /home;ufsrestore xf -)           

I've done this many times; works fine.  As long as you "installboot" on
the / partition (if you're moving that) it works great.  Be sure to
modify /etc/vfstab after you move the data!

Bill

-- 
bill bradford
mrbill at mrbill.net
austin, texas



More information about the SunHELP mailing list