[maemo-users] Missing space on MMC2
From: Torsten Hoefler maemo-users at unixer.deDate: Fri Jun 6 11:06:06 EEST 2008
- Previous message: Missing space on MMC2
- Next message: Missing space on MMC2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
> >I was trying to unmount mmc2 (to fscheck or reformat) but it seems to be
> >busy ...
>
> You can run dosfsck so that it doesn't modify the volume
> with the "-n" option. Then you don't need to unmount it
> to see whether there are issues.
hah, there it is:
------
Nokia-N810-51-3:~# dosfsck -n /dev/mmcblk0p1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
alleged total clusters: 490555
4906
9812
14718
19624
24530
29436
34342
39248
44154
49060
Reclaimed 188077 unused clusters (770363392 bytes).
Free cluster summary wrong (250798 vs. really 438875)
Auto-correcting.
checked clusters: 51680
Leaving file system unchanged.
/dev/mmcblk0p1: 257 files, 51680/490555 clusters
-------
thanks! Ok, but I still can't unmount it :-/.
> >lsof shows no open files. Same thing after a reboot:
> >-------
> >Nokia-N810-51-3:/media# umount mmc2
> >umount: cannot umount /media/mmc2: Device or resource busy
> >Nokia-N810-51-3:/media# lsof|grep mmc2
> >Nokia-N810-51-3:/media#
> >-------
>
> Check also that no process is in disk sleep state: "ps|grep D"
no, there isn't:
Nokia-N810-51-3:~# ps|grep D
PID Uid VSZ Stat Command
1637 root 1892 RW grep D
> AFAIK it's possible that this happens internally to kernel,
> but I don't remember whether that was a bug or feature...
hmm, I just rebooted with "init 6" (doing reboots with the UI is
sometimes weirdly fast and doesn't seem to do a full reboot).
Hmm, any more ideas? I heard people reporting that they reformatted the
internal SD card ... how does this work if you can't unmount it? Can you
disable mounting it completely? /etc/fstab only lists /media/mmc1 (weird
because this is the external card).
Thanks,
Torsten
--
bash$ :(){ :|:&};: --------------------- http://www.unixer.de/ -----
Indiana University | http://www.indiana.edu
Open Systems Lab | http://osl.iu.edu/
150 S. Woodlawn Ave. | Bloomington, IN, 474045-7104 | USA
Lindley Hall Room 135 | +01 (812) 855-3608
- Previous message: Missing space on MMC2
- Next message: Missing space on MMC2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
