Hi, Liz. Looks like your consultant set things up a bit differently from the
way I had suggested. This is no problem from your end -- there are many ways
to accomplish what you needed -- but from my end, it makes it hard to give
you definite advice without knowing EXACTLY what solution you actually used.
See below for what I can say.
At 07:38 PM 3/21/00 -0500, Liz Dunbar wrote:
>The current state of affairs (and everything works!) is:
>/dev/hda3 84% /
>/dev/hda1 80% /dos
>/dev/hdb2 1% /mnt
I assume this is edited output from df and that you have omitted no actual
filesystems.
>The current state of confusion/short-term memory loss is:
>/dev/hdb2 1% /mnt is fine; this is the new 20GB disk to which we
>copied /home/user/webmaster with all its subdirectories and the website
>still works - with its new name as well as the old. (Thank you all!)
In this case, instead of using directory /home/user/webmaster as a mount
point for a new fliesystem, you must be using it as a symlink to a directory
/mnt/something_or_other . Either that or you are still using the "old"
version of the Web directories. Check this with the command
ls -l /home/user/webmaster
and see where it points. NOTE: if it does not show as a symlink, STOP NOW
and figure out what's going on. That is, where is your Web DocumentRoot
really located?
>/dev/hda3 84% / is the point of confusion.
>This is still so full because we did not delete the /home/user/webmaster
>and subdirectories after we copied them to /dev/hdb2 because we were
>nervous. Now we're less nervous and want to remove from hda3 all the stuff
>that we now have working on hdb2 (and have it continue working on hdb2.)
>First confusion: Exactly how do we do that? And how do we be sure we're
>deleting the old one from hda3 and not the new one on hdb2?
That depends on where it really is. To answer this, I (or anyone else)
really need to know HOW you switched the Web site to hdb2. Apparently not by
mount, and anything else is just a guess on my part. A wrong guess could
cause problems for you, so I won't make one (and I recommend you NOT follow
any other advice you get, at least not any that involves the "rm" command,
until it comes from someone who understands how you now have things set up
-- at this point, nobody on this list can be such a person).
For example, if /home/user/webmaster is a symlink to, say, /mnt/webmaster,
then the real directory /home/user/webmaster had to have been removed or
renamed before the symlink could be created. In this case, the "old" copy of
the Web site is now in /home/user/some_name_we_don't_know . If the symlink
is working, you can delete the contents of this renamed directory with impunity.
But a small mistake in the transfer may have gone unnoticed at the time,
only to cause you a problem now, when you try to delete the "old" website.
That's why I suggest you not do anything until someone knowledgeable
understands your setup and gives you good, specific advice. That someone can
be on this list -- if you describe the setup more completely -- or be
someone local you pay to look at it and do the work.
>Second confusion: all the email accounts are still on hda3, which is okay,
>they work; except that (here comes the confusion) several teachers have
>websites in public_html directories under those email accounts, e.g.
>http://BaltimoreCityCollege/~edunbar/ , as far as I can tell is still on
>hda3 but it comes up in the web browser just like the parts that are on hdb2.
Right. We used to call stuff in these directories Personal Home Pages
(PHPs), but neither this term nor any other seems to have caught on. They
can stay put with no problems (as long as you don't have a space problem on
the drive).
>How do I find out where these things are?
Look in your Apache config files. Usually, http://some_FQDN/~username
translates to the directory /home/username/public_html, but that is a
settable Apache option.
>Is it okay to continue having
>pieces of the website on two different disks?
Yes, unless disk-space considerations say different.
>Should I move all the email
>accounts to hdb2? (How, without messing them up?)
Probably not (again, only if space considerations warrant). If you want to
do it, you do it the same way you did the Web site move. Unfortunately, I
don't know what that is.
>Should I just clear space
>on hda3 by removing the old version of the website that's now on hdb2 and
>leave the rest along to grow into that space?
Depends on the relative sizes of things, but probably yes. Unless most of
the Web content is in these PHP directories, removing the redundant copy of
the main Web stuff will give you enough space to get through the school
year. With the way this site is growing, I hope you are insisting that the
administration provide proper support for it in next year's budget.
>Thanks for your patience; Spring will come.
Even better -- so will summer. Alas, summer goeth before the fall ....
------------------------------------"Never tell me the odds!"---
Ray Olszewski -- Han Solo
Palo Alto, CA [EMAIL PROTECTED]
----------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs