[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Homebuilt NAS Advice



I run a pair of Debian servers. One is essentially a NAS, and the other is a backup system. Both have 30TB (soon to be 48TB) arrays. I am running XFS, rather than ZFS on the RAID arrays. ZFS is definitely nice, but is not supported directly under Debian. I don't find the comparative deficencies of XFS vs. ZFS to be an issue. If these were enterprise systems, I probably would go with ZFS, directly supported or not. As it is, these systems work just fine for me, and have for well over a decade. Here is my layout for my main system:

/dev/md1:
           Version : 0.90
     Creation Time : Thu Jan 30 20:51:21 2020
        Raid Level : raid1
        Array Size : 204736 (199.94 MiB 209.65 MB)
     Used Dev Size : 204736 (199.94 MiB 209.65 MB)
      Raid Devices : 2
     Total Devices : 2
   Preferred Minor : 1
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Wed Jul 22 16:32:48 2020
             State : clean
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

UUID : 5a6b8565:1c89ed91:fa72b0ce:3d8e1057 (local to host RAID-Server)
            Events : 0.78

    Number   Major   Minor   RaidDevice State
       0       8        1        0      active sync   /dev/sda1
       1       8       17        1      active sync   /dev/sdb1

/dev/md2:
           Version : 1.2
     Creation Time : Thu Jan 30 20:52:18 2020
        Raid Level : raid1
        Array Size : 104791040 (99.94 GiB 107.31 GB)
     Used Dev Size : 104791040 (99.94 GiB 107.31 GB)
      Raid Devices : 2
     Total Devices : 2
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Wed Jul 29 18:31:46 2020
             State : active
    Active Devices : 2
   Working Devices : 2
    Failed Devices : 0
     Spare Devices : 0

Consistency Policy : bitmap

              Name : RAID-Server:2  (local to host RAID-Server)
              UUID : 30344eb6:91b2c63b:c7db2e28:80c2d6fe
            Events : 1013

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2

/dev/md0:
           Version : 1.2
     Creation Time : Fri Oct  3 20:06:55 2014
        Raid Level : raid6
        Array Size : 29301835776 (27944.41 GiB 30005.08 GB)
     Used Dev Size : 4883639296 (4657.40 GiB 5000.85 GB)
      Raid Devices : 8
     Total Devices : 9
       Persistence : Superblock is persistent

     Intent Bitmap : Internal

       Update Time : Wed Jul 29 18:31:43 2020
             State : clean
    Active Devices : 8
   Working Devices : 9
    Failed Devices : 0
     Spare Devices : 1

            Layout : left-symmetric
        Chunk Size : 1024K

Consistency Policy : bitmap

              Name : RAID-Server:0  (local to host RAID-Server)
              UUID : d26e92db:8bd207bb:db9bec69:4117ed57
            Events : 7426903

    Number   Major   Minor   RaidDevice State
      10       8       32        0      active sync   /dev/sdc
      12       8       48        1      active sync   /dev/sdd
       8       8       64        2      active sync   /dev/sde
      11       8       80        3      active sync   /dev/sdf
       9       8       96        4      active sync   /dev/sdg
      15       8      112        5      active sync   /dev/sdh
      16       8      128        6      active sync   /dev/sdi
      14       8      144        7      active sync   /dev/sdj

      13       8      160        -      spare   /dev/sdk
Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G   42M  1.6G   3% /run
/dev/md2         98G  6.7G   87G   8% /
tmpfs           7.8G     0  7.8G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/md1        194M   57M  128M  31% /boot
/dev/md0         28T   22T  6.0T  79% /RAID
Backup:/Backup   44T   44T  512K 100% /Backup
tmpfs           1.6G   16K  1.6G   1% /run/user/0

The boot drives are a pair of 128G SSDs with three partitions on each. Two of the partitions are employed in RAID 1 arrays formatted as ext2 (/boot) and ext4 (/), with the rest employed as swap space. The data arrays consist of nine 8T unpartitioned hard drives, 8 as members of a RAID 6 array formatted as XFS and 1 as a hot spare.


On 7/29/2020 2:40 PM, Patrick Bartek wrote:
Hi! all,

Thought putting an old, retired system to good use would be better than
letting it gather dust in a closet.  And by old, I mean OOOOOLD! I
built it 13 years ago.  However, it's been upgraded many times since,
and was still my main box running Stretch until last year. Its current
specs: ASRock A770DE+ AM3 MB, AMD Phenom II x4 @ 3.0 GHZ, 8GB DDR2 RAM
(max 16GB), 6 - SATA II & 1 - IDE connections, USB2.0.

The problem I've run into is finding a NAS OS to run on it.  They all
seem to require UEFI. which this MB does not support.  (I said it was
old.)  However, in my search I did come across OpenMediaVault which is
a simple, lightweight NAS OS based on Debian Jessie that will work with
either MBR or UEFI.  One nice feature OMV has is it can be installed as
a service on top of any Debian OS.  So, I can use something more
contemporary and still supported.

Anyone currently using OpenMediaVault, or have recommendations for
another package, or advice, in general, on homebuilt NAS?

My plan is to use it for backups, Dropbox-like storage, and possibly
home media server.

Thanks

B



Reply to: