epoch1970, fletch, th00ht:
Thanks for all your input here. Once I'm done tweaking this system,
I'll post my mount options for the SSD for anyone else interested in
this in the future. For now, I'm mounting the SSD in fstab with:
Code:
--------------------
UUID=d017202e-5a71-4480-aa57-edbfa6531ec0 /
ext4 discard,noatime,nodiratime,errors=remount-ro 0 1
--------------------
In the mean time, broadening the topic of this thread, here are a
couple of other observations and, again, please chime in with your
wisdom:
I git-ed the latest code for gptfdisk and built it and used it to
partition the Seagate ST3000DM001 3T drive. I then created the file
system with:
Code:
--------------------
mkfs.ext4 -b 4096 -O
^has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize -m 0 -i
65536 -L Media /dev/sdb1
tune2fs -i 0 -c 0 /dev/sdb1
--------------------
I'm operating a little in the dark with that one. I think what I've
accomplished with that was to:
- Disable journaling
- Set the reserved blocks to 0
- Dial down the number of inodes
- Disable automatic fsck
I'm mounting the drive in fstab via:
Code:
--------------------
UUID=877a1c84-2646-4433-8f74-7407348582e8 /mnt/media
ext4 defaults,data=writeback,noatime,nodiratime,errors=remount-ro
0 0
--------------------
Again, I'm operating a little above my level of expertise, so feel free
to amend my errant ways.
I also downloaded the latest rsync code and built the latest version
that supports the --preallocate option. I have a long term quest to
write a bash script that will allow me to never have to master rsync
syntax and instead use windows' robocopy syntax (which is indelibly
etched into my neurons). Robocopy, attempting to fight file
fragmentation, preallocates disk space when it copies files. I thought
I'd use this new version of rsync to duplicate that behavior. Oddly,
the preallocation only seemed to work with the first directory copied.
With subsequent directories, rsync seems to revert to it's default
behavior.
Copying from one ST3000DM001 to another (and with both mounted using
the same options) I'm seeing copy speeds top out at about 40 mb /
second. That's when copying 200-300mb flacs. That still seems a
little slow to me given that the mobo's SATA interface and both drives
are SATA III / 6.0 Gb/s.
This is the rsync command I'm using:
Code:
--------------------
rsync --links --perms --times --group --owner --devices --specials --stats
--progress --verbose --preallocate --recursive --include=*/ --include=*
--exclude=* /mnt/media/Music/ /mnt/medianew/Music
--------------------
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=93717
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix