XMEN BLOGGER: NAS
Showing posts with label NAS. Show all posts
Showing posts with label NAS. Show all posts

Wednesday, March 01, 2017

NAS DNS-320L w/ Alt-F - Check RAID status



[root@DNS-320L]# cat /proc/mdstat

[root@DNS-320L]# mdadm --detail /dev/md1

[root@DNS-320L]# mdadm --examine /dev/sda2

[root@DNS-320L]# mdadm --examine /dev/sdb2

[root@DNS-320L]# cat /etc/mdadm.conf



- Examples:

[root@DNS-320L]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid6] [raid5] [raid4]
md1 : active raid1 sda2[2] sdb2[0]
      2929550672 blocks super 1.0 [2/1] [U_]
      [>....................] recovery = 1.6% (49317824/2929550672) finish=349.9min speed=137164K/sec
      bitmap: 22/22 pages [88KB], 65536KB chunk

unused devices: <none>
[root@DNS-320L]#

[root@DNS-320L]# mdadm --detail /dev/md1
/dev/md1:
        Version : 1.0
  Creation Time : Wed Mar 1 04:25:39 2017
     Raid Level : raid1
     Array Size : 2929550672 (2793.84 GiB 2999.86 GB)
  Used Dev Size : 2929550672 (2793.84 GiB 2999.86 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Wed Mar 1 22:11:06 2017
          State : clean, degraded, recovering
 Active Devices : 1
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 1

 Rebuild Status : 6% complete

           Name : DNS-320L:1 (local to host DNS-320L)
           UUID : 564d0424:9767531a:a3506da0:25799038
         Events : 49999

  Number Major Minor RaidDevice State
     0     8     18      0      active sync   /dev/sdb2
     2     8      2      1      spare rebuilding   /dev/sda2
[root@DNS-320L]#

Monday, February 27, 2017

Alt-F - How to convert a "standard" filesystem to RAID1 keeping all your data


From: Alt-F Wiki

Apply to DLink DNS-320/320L/321/323/325/327L with Alt-F firmware (free alternative firmware)



If you have a one disk "standard" filesystem and you which to convert it to RAID1, you can use one of the following procedures:

A - safest, no risk of data loss:
-Create a new degraded RAID1 with your new disk using Disk->Wizard (1)
-Copy all data from the old "standard" partition to the new RAID1 using Setup->Folders
-Verify that the data in the RAID1 is fine
-Change the old disk "standard" partition type to RAID using Disk->Partitioner (2)
-Add the old disk RAID partition to the new RAID as a new component using Disk->RAID

B - only works on disks smaller than 2TB, there is a data loss risk (3)
-Shrink your current "standard" filesystem using Disk->Filesystem
-Change the "standard" partition type to RAID using Disk->Partitioner (2)
-Unmount the filesystem using Disk->Filesystem
-Create a degraded RAID1 using the now RAID partition using Disk->RAID
-Enlarge the filesystem contained in the RAID using Disk->Filesystem
-Add a new disk and follow the How to fix a degraded RAID1 wiki

NOTES:
(1)-Make sure that the new disk in the only disk checked in the Disk Wizard upper section!
(2)-Make sure to only uncheck the "Keep" check-box for the "standard" partition, and then only change its type from "linux" to "RAID" -- don't change anything else!
(3) Bigger than 2.2TB disks requires a RAID metadata version 1.x. If using metadata version 1.1 or 1.2 your data will be lost. Metadata version 0.9 and 1.0 are safe.

Saturday, January 21, 2017

DLink DNS-320L - Replacing fan


From: DLINK Forum
http://forums.dlink.com/index.php?topic=53051.30



I also decided to replace the noisy fan yesterday. This is what I did:

 1. Cut a hole on the top cover.
 2. Remove original fan.
 3. Attach new fan on the top...
    http://noctua.at/en/products/product-line-redux/nf-r8-redux-1200
 4. Switch polarity on the fan's connector.

The new fan has ultra low noise. Auto fan control works too. However, I set it to run "High" constantly. The new fan sucks air out of the chassis, so cold air flows in at the bottom/back (where the original fan was). When it is in idle, it is around 33/34 C degrees.



Gelid Silent 8 (fn-sx08-16)



If I put ramsinks:
http://forum.dsmg600.info/viewtopic.php?id=6574

--> The main board with ramsinks = no temp change!!