OESF Portables Forum
General Forums => General Discussion => Topic started by: bam on July 26, 2005, 04:27:54 pm
-
Is there a way to run this from command line, tried Meanies instruction, didnt work for the 3100, kept "bouncing me out" so I just reset.
-
Yes.
fsck /dev/whatever-device-you-want-to-check
Si
-
but its not safe to run fsck on a mounted file system, right?
-
That's right, in fact it's actually not possible afaik.
Do 'umount /dev/whatever-device-you-want-to-check' first
(you may be able to get away with 'umount /mnt/whatever-mountpoint' actually)
Si
-
That's right, in fact it's actually not possible afaik.
Do 'umount /dev/whatever-device-you-want-to-check' first
(you may be able to get away with 'umount /mnt/whatever-mountpoint' actually)
Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=89876\"][{POST_SNAPBACK}][/a][/div]
How about a filesystem that doesn't want to be unmounted,
my large /dev/hda2 on pdaXrom needs fsck gravely,
but the full check is not done from the maintenance menu and
when I try after booting, there are services running which prevent unmounting,
how do I enter a lower runlevel on the zaurus?
-
That's right, in fact it's actually not possible afaik.
Do 'umount /dev/whatever-device-you-want-to-check' first
(you may be able to get away with 'umount /mnt/whatever-mountpoint' actually)
Si
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=89876\")
How about a filesystem that doesn't want to be unmounted,
my large /dev/hda2 on pdaXrom needs fsck gravely,
but the full check is not done from the maintenance menu and
when I try after booting, there are services running which prevent unmounting,
how do I enter a lower runlevel on the zaurus?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153199\"][{POST_SNAPBACK}][/a][/div]
OK, found a solution, from [a href=\"http://www.eleves.ens.fr/home/leurent/zaurus.html]http://www.eleves.ens.fr/home/leurent/zaurus.html[/url],
thanks Gaëtan:
"You will need to kill the apps using this partition first, you can find them fuser -m /dev/hdc3 and kill them with kill -9 $PID where $PID is one the numbers returned by fuser."
This is getting a little off topic... but how do I know what processes the returned numbers are... can I pipe the command to show me what those processes are?
-
That's right, in fact it's actually not possible afaik.
Do 'umount /dev/whatever-device-you-want-to-check' first
(you may be able to get away with 'umount /mnt/whatever-mountpoint' actually)
Si
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=89876\")
How about a filesystem that doesn't want to be unmounted,
my large /dev/hda2 on pdaXrom needs fsck gravely,
but the full check is not done from the maintenance menu and
when I try after booting, there are services running which prevent unmounting,
how do I enter a lower runlevel on the zaurus?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153199\"][{POST_SNAPBACK}][/a][/div]
OK, found a solution, from [a href=\"http://www.eleves.ens.fr/home/leurent/zaurus.html]http://www.eleves.ens.fr/home/leurent/zaurus.html[/url],
thanks Gaëtan:
"You will need to kill the apps using this partition first, you can find them fuser -m /dev/hdc3 and kill them with kill -9 $PID where $PID is one the numbers returned by fuser."
This is getting a little off topic... but how do I know what processes the returned numbers are... can I pipe the command to show me what those processes are?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=153203\"][{POST_SNAPBACK}][/a][/div]
even after you kill all the processes, there still may be some inodes being locked which you can unlock using losetup -d /dev/...
-
Thanks Meanie,
Added the summary of this discussion to:
http://greenant.net/portal/greenant/wiki/MaintenenceWithFsck (http://greenant.net/portal/greenant/wiki/MaintenenceWithFsck)