Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Re: trick the server.

    On Tue, 22 Jul 2003, Alan Coopersmith wrote:
    > [email]tru64dog@yahoo.com[/email] (Doggy) writes in comp.unix.solaris:
    > |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?
    >
    > Sounds way too complicated - why not just move everything currently in
    > /export to /space, then umount /space and remount it as /export ?
    An alternative would be to set up the automounter (as intended out
    of the box). That way, it doesn't matter where users' directories
    really are, they all appear to be under /home.

    To the OP: the automounter is Good; use it.

    --
    Rich Teer, SCNA, SCSA

    President,
    Rite Online Inc.

    Voice: +1 (250) 979-1638
    URL: [url]http://www.rite-online.net[/url]

    Rich Teer Guest

  2. Similar Questions and Discussions

    1. Cell Phone Trick -
      Cell Phone Trick - m4w - 42 -------------------------------------------------------------------------------- Reply to:...
    2. What's the trick to getting a checkbox value
      The results of checkbox.checked always returns false even when it's true. What am I missing or doing wrong or what's the secret??? ...
    3. trick help
      Hi. Can anyone help me with the problem: I would like that the document colour changes from one to another in one swf. How? Thanx, Benjamin
    4. Photoshop trick
      Filter>Artistic>Cutout try playing with that. -ninja
    5. Perhaps an XML file might do this trick?
      I've got an application that many supervisors are going to use. However, each one needs to see a different part of the information. Some...
  3. #2

    Default Re: trick the server.

    [email]tru64dog@yahoo.com[/email] (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
    sharona Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139