[geeks] Sun file system problem

Gary Nichols gary at linuxforce.org
Wed Jun 12 10:21:05 CDT 2002


If I had a dollar for every time I've had to do this...  :-)

Good advice Jonathan.

On Wed, 12 Jun 2002, Jonathan C. Patschke wrote:
> 
> What I would do is:
>   1) Bring the system down to single-user.
>   2) Perform level 0 ufsdumps of /cache and /var/opt/Mail-Gear into
>      archives in / (since / has oodles of free space).
>   3) Unmount /cache and /var/opt/Mail-Gear.
>   4) Switch the /etc/vfstab entries for /cache and /var/opt/Mail-Gear
>   5) newfs /dev/dsk/c0t3d0s6 and /dev/dsk/c0t3d0s7.
>   6) Mount the new /cache and /var/opt/Mail-Gear.
>   7) ufsrestore the archives into their respective directories.
>   8) Bring the system up to multiuser
>   9) Verify operation and delete the two archive files in / AFTER you're
>      sure that everything's working.
> 
> This will effectively swap the two slices, giving you 1.4GB for
> /var/opt/Mail-Gear and 356.5MB for /cache.



More information about the geeks mailing list