LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What the hell! HD problem under SUSE (https://www.linuxquestions.org/questions/linux-newbie-8/what-the-hell-hd-problem-under-suse-332553/)

wcopenhaver 06-11-2005 04:52 PM

What the hell! HD problem under SUSE
 
Hello,

I been using SUSE for a while now (for about 4 months). Everything was going perfect untill I decided to make another partition in my HD. I used the YAST partitioner application to make the new partition. Before the new partition my hard drive look like this

hda1 10gig Linux native /
hda2 1gig linux swap

Everything was in hda1. So I started to run out of space. The HD is 160gig drive so I decided to go into YAST and make a 50gig partition. I notice that I could select what part of the file system tree was to be mount in the new partition. So I selected /home. I clicked away to create the partition, everything seem to be find.

now my HD table looks like this

hda1 10gig Linux native /
hda2 1gig linux swap
hda3 50gig linux native /home

not untill I rebooted my computer the problems started.

first, the user account that i normally had used was gone.
(i really didnt care about this i just log in as root added a new user and deleted the old one)
second, my hda1 partition is still full from the old files in the /home directory,
but i cannot find a way to delete this junk.

Does anyone know how to get rid of the old junk?
I cannot seem to find it anywere.

my partitions are primary and i used ext3 for the format.

btmiller 06-11-2005 05:28 PM

When you mount a partition, it replaces the content of the directory you mount it over with the mounted partition. In this case, when you mounted your new /home partition, it was mounted over your old /home directory, which is why your user's home directory disappeared. Just mount the new partition somewhere else (/mnt/newhome for instance), move all the stuff from /home over to it, and then remount it as /home.

wcopenhaver 06-11-2005 05:58 PM

My hat goes off for you sir.

I have my files back and the junk is gone.
Thank you.

I appreciate your time


All times are GMT -5. The time now is 01:36 AM.