Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting a partition which is full
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fxg
n00b
n00b


Joined: 05 Jan 2005
Posts: 29
Location: France

PostPosted: Tue Jan 18, 2005 10:24 am    Post subject: mounting a partition which is full Reply with quote

hello everybody
i ve a problem with a filesystem which seem to be full
the filesystem is an ext3 partition.
In fact it is my /dev/hda3
so
i would like to boot using the cd, then mount /dev/hda3 in order to delete some files in it. /(usr/portage/distfiles....etc....)
but the command :
mount /dev/hda3 /mnt/gentoo failed because of not enough space for mounting the device.

is it a way to use /dev/hda1 for mounting /dev/hda3
that's to say mounting /dev/hda3 using space in /dev/hda1???
this filesystem is the result of a lot of hours of compilation
thanks a lot,
fx
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Tue Jan 18, 2005 10:42 am    Post subject: Reply with quote

Mount /dev/hda1 first
Code:
mount /dev/hda1 /mnt/gentoo
Then make a temporary directory for mounting /dev/hda3, and mount it in that temp directory.
Code:
mkdir /mnt/gentoo/mnt/hda3
mount /dev/hda3 /mnt/gentoo/mnt/hda3
Back to top
View user's profile Send private message
fxg
n00b
n00b


Joined: 05 Jan 2005
Posts: 29
Location: France

PostPosted: Tue Jan 18, 2005 5:48 pm    Post subject: Reply with quote

hello
thanks for your post!!
i can mount /dev/hda1 on /mnt/gentoo
but anyway to get /dev/hda3 mounted on /mnt/gentoo/tmp

the disk stopped when i was emerging kde... in the last state... because the filesystem was full

So now i can't mount it in order to delete some files. the filesystem seem to be corrupted. and I can't do anything (fsck don't work)

nothing to do?????
:( :oops:
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue Jan 18, 2005 6:21 pm    Post subject: Reply with quote

Mmm. By default a small portion of every ext2/ext3 filesystem (~5% or so of the inodes) is set aside for the superuser (root). So unless you changed something (by passing the appropriate values to mke2fs ot tune2fs) you theoretically should be able to mount it as read/write as root. That's very strange...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
fxg
n00b
n00b


Joined: 05 Jan 2005
Posts: 29
Location: France

PostPosted: Tue Jan 18, 2005 6:29 pm    Post subject: Reply with quote

I got it...

For those who have the same issue....
In my case fsck /dev/hda3 do not work because fsck need some free disk in order to recover the jornal...

So I have made :
mount /dev/hda1 /mnt/gentoo
then mkdir /mnt/gentoo/tmp
fsck -j /dev/hda1/tmp /dev/hda3 so that fsck use /dev/hda1 to write some needed info...
fsck works now
and mount /dev/hda3 /mnt/gentoo/tmp works!!!


thanks for youtr help
fx
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Tue Jan 18, 2005 11:39 pm    Post subject: Reply with quote

fxg wrote:
I got it... thanks for youtr help
fx

Please edit the title of this topic, and insert [SOLVED] into the title.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum