too small linux partition?
Ben Duncan
bns
Mon May 17 11:44:22 PDT 2004
Which means his fstab MOUNTED /dev/hda7 OVER the existing /home
directory .. so ...
he NOW has occupied space, but cannot get to it ....
You a re going to have to get into SINGle user mode (init 1 or init s)
then do the unmount ...... when that is done, then cd into /home. There
you will find the files/dir's you need to remove ....
DO NOT remove the directory /home ...
OR
Boot into single user mode, unmount /dev/dha7.
mv /home /<whatever>
mkdir /home
chmod 777 (or your choice of poison here) /home
then you will have OLD home called <whatever> and the new home ...
Net Llama! wrote:
> I'm very confused here. I thought that hda7 was where you wanted your new
> /home, so why are you trying to umount it?
>
> On Tue, 11 Feb 2003, Dr. Jones wrote:
>
>>I accomplished the goal of moving my /home directory to /dev/hda7. A reboot
>>and subsequent writes to subdirectories in /home demonstrate that the files
>>are winding up on /dev/hda7. Here's my dilemma now: Since my /home directory
>>made the transition over to /dev/hda7, how do I now purge /home on
>>/dev/hda1?
>>
>>'mout' shows /home mounted on /dev/hda7, and reports that it is busy if I
>>attempt to 'umount' this point. I want to umount it so that I can then go in
>>and remove /dev/hda1/home and thus clear the space it now occupies.
>>
>>Any suggestions?
>>
>>Scott
>>
>>----- Original Message -----
>>From: "stayler" <stayler at xmtservices.net>
>>To: <linux-users at linux-sxs.org>
>>Sent: Monday, February 10, 2003 7:17 AM
>>Subject: Re: too small linux partition?
>>
>>
>>
>>>On 09 Feb 2003 22:58:02 -0700, Scott S. Jones D.C. wrote:
>>>
>>>
>>>>I am trying to find some way to either 1) expand the size of my linux
>>>>partition dynamically, without destroying the data it contains, or 2)
>>>>move some of my folders to an alternate partition on my system, where I
>>>>have room, by creatively using mount and /etc/fstab entries, to point my
>>>>system to alternate locations.
>>>
>>>In the past I have added partitons that I mounted in places like /usr
>>>and /opt and /home. That usually cleared alot of space. Its a simple
>>>way to go for now. Just mount the new partition for say /usr under say
>>>/extra. mv /usr/* /extra. umount /extra and mount the new partition
>>>as /usr. Really quite simple...
>>>
>>>The other option is to get a bigger HD and just move everything
>>>over....
>>
>
--
Ben Duncan Phone (601)-355-2574 Fax (601)-355-2573 Cell
(601)-946-1220
Business Network Solutions
336 Elton Road Jackson MS, 39212
"Software is like Sex, it is better when it's free" - Linus Torvalds
More information about the Linux-users
mailing list