Miljac
28-02-2011, 19:06
I'm using usb flash (16GB) as disk storage.
I'm trying to optimse file system to minimize writing on the flash. So I have add commit option in fstab. So fstab looks like this:
[root@Wrouter1 root]$ cat /etc/fstab
#device Mountpoint FStype Options Dump Pass#
/dev/discs/disc0/part1 none swap sw 0 0
/dev/discs/disc0/part2 /opt ext3 rw,noatime,commit=120 1 1
/dev/discs/disc0/part3 /tmp/harddisk ext3 rw,noatime,commit=120 1 1
[root@Wrouter1 root]$
But when I look in syslog, only first mount is actually using interval of 120s. The second mount just ignores this:
Feb 27 10:12:49 kernel: Adding Swap: 500712k swap-space (priority -1)
Feb 27 10:12:49 kernel: kjournald starting. Commit interval 5 seconds
Feb 27 10:12:49 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
Feb 27 10:12:49 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 27 10:12:49 kernel: kjournald starting. Commit interval 5 seconds
Feb 27 10:12:49 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
Feb 27 10:12:49 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 27 10:12:49 USB storage: ext3 fs at /dev/discs/disc0/part3 mounted to /tmp/mnt/disc0_3
Any idea how to solve this?
Firmware is 1.9.2.7-d-r2624 on WL500gpv2.
Thanks!
I'm trying to optimse file system to minimize writing on the flash. So I have add commit option in fstab. So fstab looks like this:
[root@Wrouter1 root]$ cat /etc/fstab
#device Mountpoint FStype Options Dump Pass#
/dev/discs/disc0/part1 none swap sw 0 0
/dev/discs/disc0/part2 /opt ext3 rw,noatime,commit=120 1 1
/dev/discs/disc0/part3 /tmp/harddisk ext3 rw,noatime,commit=120 1 1
[root@Wrouter1 root]$
But when I look in syslog, only first mount is actually using interval of 120s. The second mount just ignores this:
Feb 27 10:12:49 kernel: Adding Swap: 500712k swap-space (priority -1)
Feb 27 10:12:49 kernel: kjournald starting. Commit interval 5 seconds
Feb 27 10:12:49 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
Feb 27 10:12:49 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 27 10:12:49 kernel: kjournald starting. Commit interval 5 seconds
Feb 27 10:12:49 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
Feb 27 10:12:49 kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 27 10:12:49 USB storage: ext3 fs at /dev/discs/disc0/part3 mounted to /tmp/mnt/disc0_3
Any idea how to solve this?
Firmware is 1.9.2.7-d-r2624 on WL500gpv2.
Thanks!