Re: trick the server.
From: sharona (sallan1055_at_aol.com)
Date: 07/26/03
- Next message: sharona: "Re: NFS mount timeout problems"
- Previous message: sharona: "Re: Help required with Solaris 8 secure RPC and NIS+ authentication"
- In reply to: Doggy: "trick the server."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Jul 2003 04:39:41 -0700
tru64dog@yahoo.com (Doggy) wrote in message news:<18239c3a.0307211143.7ddb5fe7@posting.google.com>...
> Solaris 8, sparc
>
> In my /export directory I have user directories but that partition is
> filling up. I added some space to the server and mounted it on /space
> directory. My objective is to move the contents of the export
> directory to the /space directory but I want my users to continue to
> deposit their files in /export directory but trick it into going to
> the /space/export directory. So in reality, when they cd into /export
> and insert files in it, its really going to /space/export where the
> extra space is. How should I do such a task? Can someone help me out,
> please?
> /dev/dsk/c0t0d0s0 2058567 1711758 285052 86% /
> /proc 0 0 0 0% /proc
> fd 0 0 0 0% /dev/fd
> mnttab 0 0 0 0% /etc/mnttab
> swap 2790768 24 2790744 1% /var/run
> swap 2791072 328 2790744 1% /tmp
> /dev/dsk/c0t0d0s7 13253887 11862914 1258435 91% /local
> /vol/dev/dsk/c0t6d0/solaris_64050
> 36420 36420 0 100%
> /cdrom/solaris_64050
> /dev/dsk/c2t0d0s6 309532344 270528 306166493 1% /space
Here's what I would do; cd to /export then run this command
tar cvf - * | (cd /space ; tar xvf - ) & when it's done check the
sizes of both filesystems to make sure everything was tarred over.
then umount /export and /space change the /etc/vfstab entries for
/space to now be /export call the old /export something else and mount
/export. done.
Sharona
- Next message: sharona: "Re: NFS mount timeout problems"
- Previous message: sharona: "Re: Help required with Solaris 8 secure RPC and NIS+ authentication"
- In reply to: Doggy: "trick the server."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|