Re: hda1 problem
> Hello:
>
> I had a nicely working system with
> hda1 1 gig /
> hda2 48M swap
> hda3 1 gig formatted space as /extra
> hda4 extended
> hda5 2 gigs formatted space unmounted
>
> The root partition was getting used up so
> I tried to put /usr on hda3 using
> 'cp -dpRv * /extra' and it appears it went
> successfully.
Note that that command also copyies everything that used
to be in /extra to /extra/extra -- so your new /extra may
be fuller than your original / (hda1).
> I changed the original /usr
> to /usr1 and then /extra to /usr. Now I have
> two problems:
>
> 1. xdm won't let me log in as anything but root
> 2. hda1 partition now shows 0 MB available and
> 100 percent usage. du shows the same amount
> of space being used in /usr and the copied
> partition.
Every ext2 partition has some extra space reserved for root.
So, if nobody but root can login, that usually meens the partition
really _is_ full, except for that little (5% usually, configurable)
bit of space reserved for root.
> Changing back to the original /usr doesn't solve
> either problem.
>
You didn't tell us how much space was used on the original / partition.
The way I guess now, is that both partitions were just about to be
completely full anyway, and by some coincidence the moment when both
(or rather the original /, and thus also /extra, due to the copy command)
filled up coincided with the moment when you decided to start doing
something about those space-problems, i.e. all the actions you describe
above.
> Sure could use a pointer or two while I look for
> my own solution that could make the problem much
> worse.
Well, you could try to free up some space :).
--
Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
Reply to: