admin 管理员组

文章数量: 887007

openwrt 挂载ntfs 及性能测速

1.首先卸载kmod-fs-ntfs,详见:.html

2.根据OpenWrt挂载U盘(NTFS)并在网上邻居共享访问 设置UUID与挂载点和配置Samba,这样的好处是以后同一个分区每次都能挂载到同一个挂载点。

.html

root@OpenWrt:~# block info
/dev/mtdblock6: UUID="829745126" VERSION="1" TYPE="ubi"
/dev/ubiblock0_0: UUID="545f147d-e38200ef-9d60e712-9c8e40db" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/ubi0_1: UUID="3aee3f8d-b3b4-4358-ae84-48af89f5b99f" VERSION="w4r0" MOUNT="/overlay" TYPE="ubifs"
/dev/sda1: UUID="f2127330-fc9b-4c32-a05a-a7ba9234ec4c" LABEL="NAS4T1.EXT4" VERSION="1.0" MOUNT="/mnt/nas4t1.ext42t" TYPE="ext4"
/dev/sda2: UUID="F004D26004D228FC" LABEL="NAS_4T" MOUNT="/mnt/nas4t1.ntfs2t" TYPE="ntfs"
/dev/sda3: UUID="7087f655-d263-4d94-a0d0-7f61e1e88937" LABEL="NAS4T1.EXT4.CRIT/" VERSION="1.0" MOUNT="/mnt/nas4t1.ext4.128M" TYPE="ext4"
/dev/sdb1: UUID="0000B87B0000EE22" LABEL="DATA" MOUNT="/mnt/Data" TYPE="ntfs"
/dev/sdb5: UUID="8A629664629654B3" LABEL="Work" MOUNT="/mnt/Work" TYPE="ntfs"
/dev/sdb6: UUID="78169B8E169B4BCE" LABEL="Backup" MOUNT="/mnt/Backup" TYPE="ntfs"
/dev/sdc1: UUID="AC5C3B385C3AFCA0" LABEL="Song's Mdisk" MOUNT="/mnt/Mdisk" TYPE="ntfs"

硬盘读取速度测速:

root@OpenWrt:/mnt/nas4t1.ntfs2t# hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 476 MB in  3.00 seconds = 158.53 MB/sec
 

ntfs测速

root@OpenWrt:/mnt/nas4t1.ntfs2t# time dd count=1024 bs=1M if=/dev/zero of=test.test
1024+0 records in
1024+0 records out
real    1m 20.75s
user    0m 0.00s
sys    0m 17.53s
 

1024/20.75=49.34MB/S

ext4测速

root@OpenWrt:/mnt/nas4t1.ext42t# time dd count=1024 bs=1M if=/dev/zero of=test.test
1024+0 records in
1024+0 records out
real    0m 8.46s
user    0m 0.00s
sys    0m 7.46s
1024/8.5=120.47M/S

本文标签: openwrt 挂载ntfs 及性能测速