Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

记升级Chromebook外置存储卡 #65

Open
cyio opened this issue Jun 10, 2016 · 0 comments
Open

记升级Chromebook外置存储卡 #65

cyio opened this issue Jun 10, 2016 · 0 comments

Comments

@cyio
Copy link
Owner

cyio commented Jun 10, 2016

Chromebook自带存储很小,外置存储卡就当硬盘来用了,当然是越大越好。新买的Sandisk存储卡大小是64G,号称80Mb/s读取速度

替换旧内存卡时,遇到问题,如何正确的卸载旧卡?警告有写入,尝试卸载报错。
如果关机直接换卡,开机会就入紧急模式,不能正常进入系统。
没搞清楚,最后用Gparted对卡格式化,格式化完就是未挂载状态,拔掉换新。
新卡默认格式是exfat,格式化时选择了ext4,以后不想再用ntfs了(编码问题很烦人)。
新卡挂载成功,但提示权限不够

sudo chown -R chrx /media/d 

新卡读写测试,因为旧卡没做测试,所以没有对比,先用着吧。

$sudo hdparm -t /dev/mmcblk1

/dev/mmcblk1:
 Timing buffered disk reads:  64 MB in  3.07 seconds =  20.83 MB/sec

$sudo hdparm -T /dev/mmcblk1

/dev/mmcblk1:
 Timing cached reads:   2248 MB in  2.00 seconds = 1123.82 MB/sec

$sudo dd if=/dev/mmcblk1 of=/tmp/output bs=8k count=10k; sudo rm -f /tmp/output
记录了10240+0 的读入
记录了10240+0 的写出
83886080字节(84 MB)已复制,3.86676 秒,21.7 MB/秒

测试方法参考:Test performance of a variety of microSD cards on Raspberry Pi - sequential and random read/write · Issue #7 · geerlingguy/raspberry-pi-dramble

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant