由买买提看人间百态

topics

全部话题 - 话题: noatime
(共0页)
N**********d
发帖数: 9292
1
df -h显示了很多分区
Filesystem Size Used Avail Use% Mounted on
rootfs 837M 620M 217M 75% /
/dev/root 837M 620M 217M 75% /
devtmpfs 948M 540K 947M 1% /dev
/tmp 948M 124K 948M 1% /tmp
shmfs 948M 6.9M 941M 1% /dev/shm
/dev/sda1 5.7G 568M 4.9G 11% /mnt/stateful_partition
/dev/sda1 5.7G 568M 4.9G 11% /var
/dev/sda1 5.7G 568M 4.9G 11% /home
/dev/sda1 ... 阅读全帖
w*m
发帖数: 1806
2
来自主题: _voip版 - How to mount in debian?
usb->/dev/sda1/2/3,
how to mount /dev/sda3? always failed in debian@dockstar
root@debian:~# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1.9G 257M 1.5G 15% /
none 60M 40K 60M 1% /dev
/dev/sda1 1.9G 257M 1.5G 15% /
tmpfs 62M 0 62M 0% /lib/init/rw
tmpfs 62M 0 62M 0% /dev/shm
root@debian:~# more /etc/fstab
# /etc/fstab: static file system information.
#
# <... 阅读全帖
h*w
发帖数: 1182
3
抛砖引玉,pogoplug上面可以装很多东西。
本人新手,这个安装说明算是一个备份吧,如果要重新安装可以看看,也可以给新新手
参考。也请高手指点。
为什么没有装arch或者debian是因为看到有人说pogoplug自带的ntfs驱动比ntfs-3g性
能好,就想用原系统加装optware来安装samba共享。而且如果还想用my.pogoplug.com
也可以直接用。还没有实验过到底是自带的ntfs驱动快还是ntfs-3g快,就当瞎折腾了
,呵呵。
本说明基于POGO-E02,不保证在其他版本的pogoplug上也工作。对于使用本安装说明引
起的任何损失概不负责。
------------------------------
1. Find your Pogoplug ip address in your router.
2. Log into your Pogoplug online account that you created during the initial
setup of the POGO. Go into the advanced tab / Security.... 阅读全帖
h*w
发帖数: 1182
4
抛砖引玉,pogoplug上面可以装很多东西。
本人新手,这个安装说明算是一个备份吧,如果要重新安装可以看看,也可以给新新手
参考。也请高手指点。
为什么没有装arch或者debian是因为看到有人说pogoplug自带的ntfs驱动比ntfs-3g性
能好,就想用原系统加装optware来安装samba共享。而且如果还想用my.pogoplug.com
也可以直接用。还没有实验过到底是自带的ntfs驱动快还是ntfs-3g快,就当瞎折腾了
,呵呵。这个主要是给家里只有windowns电脑的用,要是有linux的机器,还是用ext3或
ext4最快。
本说明基于POGO-E02,不保证在其他版本的pogoplug上也工作。对于使用本安装说明引
起的任何损失概不负责。
------------------------------
1. Find your Pogoplug ip address in your router.
2. Log into your Pogoplug online account that you created during the initial
setup... 阅读全帖
a*s
发帖数: 425
5
来自主题: Hardware版 - ubuntu trim support
I just got a kingston v100 ssd (sv100s2n/64g), and I have tried to
enable TRIM on ubuntu 11.10 by adding tag "discard,noatime" to fstab file.
However I could not pass the check based on some online instruction.
Does someone have the same experience ?
Any suggestion?
a****t
发帖数: 720
6
来自主题: Hardware版 - help: m4 64gb ssd linux problem
newest firmware 000f,linux kernel 3.3.1 64bit, ext4 without journal,
add noatime,nodiratime,discard mount flags
i/o scheduler change to be noop.
mbr parition
trim not work automatically, i have to use fstrim manually.
also the speed is only about 140mb/s for reading.
no idea why it is so slow. thanks
t****t
发帖数: 6806
7
来自主题: Hardware版 - pogoplug可靠性如何?
U盘的noatime设了没有? 没设的话显然会很不爽...
t****t
发帖数: 6806
8
来自主题: Hardware版 - pogoplug可靠性如何?
linux缺省会记录每个文件被access的时间, 比如说你打开一个文件读一下, 它就去介
质上写你某年月日读了这个文件. 正常对硬盘其实是没什么关系的, 但是对于U盘, 读
和写的速度差很多, 而且你也不关心U盘上的系统啥时候被读过, 所以在mount的时候需
要设一个option叫noatime (no access time).
N**********d
发帖数: 9292
9
来自主题: Linux版 - git真是耗内存啊。。。
以前分过swap,后来不知道咋不work了
sudo mount -a
没有什么输出,下面是/etc/fstab
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
#
/dev/root / ext2 noatime,errors=remount-ro 0 1
/dev/sda2 none swap sw 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/sda5 /mnt/usb0 ext3 defaults 0 0
top 以后看到
Swap: 0k total, 0k used, 0k fre... 阅读全帖
N**********d
发帖数: 9292
10
来自主题: Linux版 - git真是耗内存啊。。。
fdisk /dev/sdb
然后n,p,2, 分区大小默认,然后t改成swap
不过现在分区表里面有sdb2了,还是不让我开swap。。。真是郁闷嘞
~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb1935407
Device Boot Start End Blocks Id System
/dev/sda2 * 2 19457 156280320 5 Extended
/dev/sda5... 阅读全帖
a*s
发帖数: 425
11
来自主题: Linux版 - ubuntu trim support
【 以下文字转载自 Hardware 讨论区 】
发信人: aos (aos), 信区: Hardware
标 题: ubuntu trim support
发信站: BBS 未名空间站 (Thu Feb 16 12:28:12 2012, 美东)
I just got a kingston v100 ssd (sv100s2n/64g), and I have tried to
enable TRIM on ubuntu 11.10 by adding tag "discard,noatime" to fstab file.
However I could not pass the check based on some online instruction.
Does someone have the same experience ?
Any suggestion?
n******7
发帖数: 12463
12
还是装了debian
轻松搞定,noatime在分区的时候就可以设好,不用之后再改
看来mint还是偏向傻瓜化的,稍微要点个性化就要折腾死
m********5
发帖数: 17667
13
应该就是tmpfs
对我来说意义不大,除非是 sync mount的,这么用太亏了,况且本来就有system
cache,所以意义不大, 放HDD应该就可以了.
compile大项目的时候tmpfs比较有用,能快个20%左右
如果有hibernation,可以把hibernation file放在SSD上,如果是用swap做
hibernation这时候swap放在SSD上,现代linux除了hibernation基本不用swap,因此可
以放心放在SSD上。
/挂SSD,/home挂HDD是对的,但我觉得不是绝对的,比如一般syslog会sync到disk,这
个对SSD还是伤的,这种东西link到HDD上去 (不建议-/var). 而如果home中有不怎么修
改又常用的大文件,比如一些iso之类的,完全可以放到SSD上去。
noatime比较重要不然每读一次就一个write.
不过嘛,以上都是理论上的,现在的SSD没啥问题,每天写50GB也能毫无压力用上五六
年,所以我都是直接裸挂/,然后每天rsync一次到HDD就好。
m*d
发帖数: 7658
14
先安装archlinux
instruction在这里
http://archlinuxarm.org/platforms/armv6/pogoplug-provideov3
如果不想写用arch的uImage覆盖nand
可以这样
Following steps 7 and 8 above, partition and format the drive (using the
correct /dev device, highly likely NOT sda). Download and extract the root
filesystem tarball onto the new ext3 partition as the root user, not just
sudo. Create a file at /usr/local/mac_addr and place in it your Pro's MAC
address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX.
Safely umount ... 阅读全帖
m*d
发帖数: 7658
15
先安装archlinux
instruction在这里
http://archlinuxarm.org/platforms/armv6/pogoplug-provideov3
如果不想写用arch的uImage覆盖nand
可以这样
Following steps 7 and 8 above, partition and format the drive (using the
correct /dev device, highly likely NOT sda). Download and extract the root
filesystem tarball onto the new ext3 partition as the root user, not just
sudo. Create a file at /usr/local/mac_addr and place in it your Pro's MAC
address (its on the bottom of the unit) in the format XX:XX:XX:XX:XX:XX.
Safely umount ... 阅读全帖
(共0页)