View previous topic :: View next topic |
Author |
Message |
fxg n00b
Joined: 05 Jan 2005 Posts: 29 Location: France
|
Posted: Tue Jan 18, 2005 10:24 am Post subject: mounting a partition which is full |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Tue Jan 18, 2005 10:42 am Post subject: |
|
|
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 |
|
|
fxg n00b
Joined: 05 Jan 2005 Posts: 29 Location: France
|
Posted: Tue Jan 18, 2005 5:48 pm Post subject: |
|
|
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?????
|
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Tue Jan 18, 2005 6:21 pm Post subject: |
|
|
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 |
|
|
fxg n00b
Joined: 05 Jan 2005 Posts: 29 Location: France
|
Posted: Tue Jan 18, 2005 6:29 pm Post subject: |
|
|
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 |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Tue Jan 18, 2005 11:39 pm Post subject: |
|
|
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 |
|
|
|