磁盘空间已慢, 分区3个 为什么其他两个找不到
<div class="blockcode"><blockquote>root@raspberrypi:/home/pi# dfFilesystem 1K-blocks Used Available Use% Mounted on
rootfs 1804128 1601004 11147694% /
/dev/root 1804128 1601004 11147694% /
devtmpfs 94488 0 94488 0% /dev
tmpfs 18912 200 18712 2% /run
tmpfs 5120 0 5120 0% /run/lock
tmpfs 37820 0 37820 0% /run/shm
/dev/mmcblk0p1 57288 35880 2140863% /boot
root@raspberrypi:/home/pi# fdisk -l
Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dbfc6
Device Boot Start End Blocks IdSystem
/dev/mmcblk0p1 8192 122879 57344 cW95 FAT32 (LBA)
/dev/mmcblk0p2 122880 3788799 1832960 83Linux
root@raspberrypi:/home/pi# mount -o nolock /dev/mmcblk0p
mmcblk0p1mmcblk0p2
root@raspberrypi:/home/pi# mount -o nolock /dev/mmcblk0p
mmcblk0p1mmcblk0p2
root@raspberrypi:/home/pi# mount -o nolock /dev/mmcblk0p2 /dev/root
mount: mount point /dev/root is not a directory
root@raspberrypi:/home/pi# mount -o nolock /dev/mmcblk0p2 /home/pi/
.aptitude/ .cache/ .dillo/ .gvfs/ .profile source/
.bash_history .config/ Documents/ .idlerc/ python_games/ .vnc/
.bash_logout .dbus/ .fltk/ .local/ .scratch/ .Xauthority
.bashrc Desktop/ .gconf/ .netsurf/ Scratch/ .xsession-errors
root@raspberrypi:/home/pi# mount -o nolock /dev/mmcblk0p2 /home/pi/
root@raspberrypi:/home/pi# ls
DesktopDocumentspython_gamesScratchsource
root@raspberrypi:/home/pi# df -lh
Filesystem SizeUsed Avail Use% Mounted on
rootfs 1.8G1.6G109M94% /
/dev/root 1.8G1.6G109M94% /
devtmpfs 93M 0 93M 0% /dev
tmpfs 19M200K 19M 2% /run
tmpfs 5.0M 05.0M 0% /run/lock
tmpfs 37M 0 37M 0% /run/shm
/dev/mmcblk0p1 56M 36M 21M63% /boot
/dev/mmcblk0p21.8G1.6G109M94% /home/pi我按照菜鸟教程一部部来的。。。SD卡被分成3区,为啥进系统其他两个找不到呢?在哪里 ?
后来通过fdisk 查到了个未挂载的 我挂载上看还是没有空间,是不是弄错了,如何解决?
看你的fdisk -l显示出来,你没有到分到3个区啊,就2个。用什么工具分的?! geekr 发表于 2013-3-13 16:04 static/image/common/back.gif
看你的fdisk -l显示出来,你没有到分到3个区啊,就2个。用什么工具分的?!
已解决.... 自己用parted分区并格式化成ext2, 再用tune2fs转成 ext4 并挂载 hanzhenlll 发表于 2013-3-13 16:51 static/image/common/back.gif
已解决.... 自己用parted分区并格式化成ext2, 再用tune2fs转成 ext4 并挂载
那么复杂,好真能捣!:lol
页:
[1]