• February 24, 2025, 11:05:53 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Several miscellaneous questions I have about my DNS 323  (Read 3166 times)

random404

  • Level 1 Member
  • *
  • Posts: 23
Several miscellaneous questions I have about my DNS 323
« on: June 12, 2011, 06:17:59 AM »

1) After doing an rsync of one drive to the other, why is du -s /dev/sda2 && du -s /dev/sdb2 off by a couple hundred bytes when rsync executes successfully, and the results of fsck of both drives don't show any errors? (When I do an ls -lR comparison of both drives, a few directory sizes are different - how is that even possible - but size differences combined are larger than total bytes difference from du -s. What could be going on here?

2) What would be faster, doing a cp or rsync from Vol1 to Vol2, or from Vol1 or Vol2 to the attached usb? (Also what speed is the usb, is it 2.0 or 3.0?)

3) I'm a little confused as to the different ways of representing the two drives in the device. For example, there's Volume_1 and Volume_2, /dev/sda and /dev/sdb, and /mnt/HD_a2 and /mnt/HD_b2. Which refers to which drive (left or right, when looking at the DNS 323 from the front straight-on. If i were to switch physical drives with each other's slots, what would all the identifiers from above refer to?

4) When looking at the fsck documentation for the device, I noticed there's documentation for fsck as well as for fsck2007 - what's the difference, and which should I use?

Thanks a lot for your help with these questions.
Logged

dosborne

  • Level 5 Member
  • *****
  • Posts: 598
Re: Several miscellaneous questions I have about my DNS 323
« Reply #1 on: June 12, 2011, 07:09:24 AM »

1) Are the drive models identical? They could have different configurations which could end up with different cluster sizes. Did you format them the same either EXT2 or EXT3?

2) 'cp' is definitely faster than 'rsync' for an initial copy but obviously doesn't provide the 'differential' information for subsequent updates. USB access is definitely slower than SATA.

3) You can check /etc/samba/smb.conf to see what maps where. The right slot (viewed from the front) is the primary and defaults to /dev/sda which mounts to /mnt/HD_a2. I believe if you swap the drives, then the mounting stay the same essentailly swapping the data.
« Last Edit: June 12, 2011, 07:11:44 AM by dosborne »
Logged
3 x DNS-323 with 2 x 2TB WD Drives each for a total of 12 TB Storage and Backup. Running DLink Firmware v1.08 and Fonz Fun Plug (FFP) v0.5 for improved software support.

random404

  • Level 1 Member
  • *
  • Posts: 23
Re: Several miscellaneous questions I have about my DNS 323
« Reply #2 on: June 12, 2011, 07:49:16 AM »

1) Yes the drives are identical, and they're both formatted as ext3. Not sure what's causing this difference. Any way for me to look more into this cluster size thing you mentioned?

2) So transferring between the first drive and second drive goes at SATA speed? (Or does it somehow 'pass through' the DNS323 itself?)
Logged