• pi-nas

    From MeaTLoTioN@1337:1/101 to All on Mon Jul 4 07:19:26 2022
    Hey y'all,

    Anyone using a Raspberry Pi for a NAS solution? I have a Pi 4b 8GB and a couple of USB3 HDD dual cradles so I have installed 4 1TB disks in the cradles and made a RAID10 set out of the 4 disks, shared over my network using nfs.

    I get semi decent speeds reading and writing to the disks over the network, somewhere in the region of 100MB/s which isn't too shabby.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A47 2021/12/13 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From deon@1337:2/101 to MeaTLoTioN on Mon Jul 4 17:31:45 2022
    Re: pi-nas
    By: MeaTLoTioN to All on Mon Jul 04 2022 07:19 am

    Anyone using a Raspberry Pi for a NAS solution? I have a Pi 4b 8GB and a couple of USB3 HDD dual cradles so I have installed 4
    1TB
    disks in the cradles and made a RAID10 set out of the 4 disks, shared over my network using nfs.

    I get semi decent speeds reading and writing to the disks over the network, somewhere in the region of 100MB/s which isn't too
    shabby.

    That's not bad - are you doing any software raid in there?


    ...
    --- SBBSecho 3.15-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From MeaTLoTioN@1337:1/202 to deon on Mon Jul 4 08:09:54 2022
    That's not bad - are you doing any software raid in there?

    The USB3 raid array physically just shows each disk as an individual disk, and Debian handles the software side of the raid, the raid array does have physical dip switches to choose which raid you're configuring, so the unit will show up with one UUID.

    root@pi-nas:~# blkid|grep 3e02|sort
    /dev/sdc: UUID="3e024e16-109d-a102-7b16-807741b80e0e" UUID_SUB="5b11529a-7799-9 /dev/sdd: UUID="3e024e16-109d-a102-7b16-807741b80e0e" UUID_SUB="590565cc-bef0-e /dev/sde: UUID="3e024e16-109d-a102-7b16-807741b80e0e" UUID_SUB="52ae3171-6c99-2 /dev/sdf: UUID="3e024e16-109d-a102-7b16-807741b80e0e" UUID_SUB="989c6cad-432a-e

    sdc 8:32 0 3.6T 0 disk
    md0 9:0 0 7.3T 0 raid10 /mnt/md0
    sdd 8:48 0 3.6T 0 disk
    md0 9:0 0 7.3T 0 raid10 /mnt/md0
    sde 8:64 0 3.6T 0 disk
    md0 9:0 0 7.3T 0 raid10 /mnt/md0
    sdf 8:80 0 3.6T 0 disk
    md0 9:0 0 7.3T 0 raid10 /mnt/md0

    md0 : active raid10 sdd[1] sdf[3] sde[2] sdc[0]
    7813772288 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
    [==============>......] check = 72.1% (5635494912/7813772288) finish=398.0min speed=98202K/sec
    bitmap: 1/59 pages [4KB], 65536KB chunk

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A47 2020/11/22 (OnePlus6T/arm32)
    * Origin: phOnE In mY pOckEt BBS (1337:1/202)
  • From Bucko@1337:3/102 to MeaTLoTioN on Mon Jul 4 09:02:41 2022
    On 04 Jul 2022, MeaTLoTioN said the following...

    Hey y'all,

    Anyone using a Raspberry Pi for a NAS solution? I have a Pi 4b 8GB and a couple of USB3 HDD dual cradles so I have installed 4 1TB disks in the cradles and made a RAID10 set out of the 4 disks, shared over my network using nfs.


    I have been thinking about doing this, I have a few 2TB HD's laying around from a former MS Server I had running. I have a real Synology NAS but with the addition of a new Unifi Router now have been considering taking the BBS' I run off off of my Network and to go along with it take the shared folders (File Libraries and other items) off my NAS and put them on their own so the BBS' are all off of my internal setups.. Let me know how you make out with it..
    AL


    |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... If you choose not to decide, you still have made a choice

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1337:3/102)
  • From MeaTLoTioN@1337:1/101 to Bucko on Mon Jul 4 14:53:16 2022
    On 04 Jul 2022, Bucko said the following...

    I have been thinking about doing this, I have a few 2TB HD's laying
    around from a former MS Server I had running. I have a real Synology NAS but with the addition of a new Unifi Router now have been considering taking the BBS' I run off off of my Network and to go along with it take the shared folders (File Libraries and other items) off my NAS and put them on their own so the BBS' are all off of my internal setups.. Let me know how you make out with it.. AL

    Sounds like a decent project! My pi-nas has been running quite well for me for about a month solid now, maybe longer. I had to do a little jank/hackery to get the disks to stay up otherwise they'd power down every now and then which isn't good for network storage when you need them up all the time lol.

    Was quite simple to fix though, just a cron job to periodically read the disks so that they wouldn't go into sleep mode (every 5 mins)... still haven't figured out yet if there's a "proper" way but then haven't really had the time to look in depth.

    Here's my janky script;

    #!/usr/bin/env bash
    LOG=/var/log/read_disks.log
    for DISK in /dev/disk/by-id/usb-External_USB3.0_DISK0*; do
    dd if=$DISK of=/dev/null count=1 skip=$RANDOM >/dev/null 2>&1 \
    && echo "$(date) [ OK] $DISK" >> $LOG \
    || echo "$(date) [ERR] $DISK" >> $LOG
    done

    Don't judge, it works =)

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A47 2021/12/13 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From Bucko@1337:3/102 to MeaTLoTioN on Mon Jul 4 17:36:30 2022
    On 04 Jul 2022, MeaTLoTioN said the following...


    Sounds like a decent project! My pi-nas has been running quite well for
    me for about a month solid now, maybe longer. I had to do a little jank/hackery to get the disks to stay up otherwise they'd power down
    every now and then which isn't good for network storage when you need
    them up all the time lol.

    Hmmm, I am laying out the plan now, not sure if I will use Free-NAS or Xpenology, the FreeNas would be totally separate from my Synology Setup, but the Xpenology set up would be able to be combined with my Synology and it could be used for backups etc. I am going to play with both setups to see how they run on a pi4b with 4gb as my 8gb one I don't really want to lose to a NAS, that one I have in a Argon case with a 1tb m2.ssd drive which autoboots into berryboot and I can choose the OS I want to use. Good for testing different things..

    Gotta figure things out.. LOL

    Al


    |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... It said "insert disk #3", but only two will fit...

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1337:3/102)
  • From paulie420@1337:3/129 to Bucko on Mon Jul 4 20:08:25 2022
    Hmmm, I am laying out the plan now, not sure if I will use Free-NAS or Xpenology, the FreeNas would be totally separate from my Synology Setup, but the Xpenology set up would be able to be combined with my Synology
    and it could be used for backups etc. I am going to play with both
    setups to see how they run on a pi4b with 4gb as my 8gb one I don't
    really want to lose to a NAS, that one I have in a Argon case with a 1tb m2.ssd drive which autoboots into berryboot and I can choose the OS I
    want to use. Good for testing different things..

    I also have a Pi-NAS and use openmediavault ; some people don't like it as much as other GUI solutions, but I think its great and it performs nicely on the Pi hardware.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/04/26 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From deon@1337:2/101 to MeaTLoTioN on Tue Jul 5 16:52:07 2022
    Re: Re: pi-nas
    By: MeaTLoTioN to Bucko on Mon Jul 04 2022 02:53 pm

    Was quite simple to fix though, just a cron job to periodically read the disks so that they wouldn't go into sleep mode (every 5
    mins)... still haven't figured out yet if there's a "proper" way but then haven't really had the time to look in depth.


    hdparm should be your friend here - "hdparm -s .."


    ...
    --- SBBSecho 3.15-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101)
  • From Bucko@1337:3/102 to paulie420 on Tue Jul 5 18:15:36 2022

    On 04 Jul 2022, paulie420 said the following...

    I also have a Pi-NAS and use openmediavault ; some people don't like it
    as much as other GUI solutions, but I think its great and it performs nicely on the Pi hardware.

    I'm gonna check out all of my options with it, as I want to get the BBS' completely off my main network now that I have options to do this. Once I have the network setup complete I will move forward with the pi-NAS.. Thanks for all the tips folks...

    AL


    |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Reward for a job well done: More work

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (1337:3/102)
  • From SoDa7@1337:1/101 to MeaTLoTioN on Mon Nov 14 14:38:30 2022
    Anyone using a Raspberry Pi for a NAS solution? I have a Pi 4b 8GB and a couple of USB3 HDD dual cradles so I have installed 4 1TB disks in the cradles and made a RAID10 set out of the 4 disks, shared over my network using nfs.

    Hey Meatlotion! Actually I got a few Raspberry Pi computers in my hands, so, I would even considering one of these as a NAS solution, as I think the archive space never gets enough. Plus I would like to use it as a kind of storage for movies, music and various media stuff when I want to watch some movies that I own.

    I'll see if this can be done also on previous Raspberry models, such as the Pi2 Model B

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From paulie420@1337:3/129 to SoDa7 on Mon Nov 14 15:48:06 2022
    Hey Meatlotion! Actually I got a few Raspberry Pi computers in my hands, so, I would even considering one of these as a NAS solution, as I think the archive space never gets enough. Plus I would like to use it as a
    kind of storage for movies, music and various media stuff when I want to watch some movies that I own.

    So, yes, a Pi is fully capable as a NAS - but with some caveats. At *BEST* I get 50MBs transfer speeds, but it idles around 10MBs most times...

    Theres a couple bottlenecks, tho - it does have gigabit ethernet, but the drives are connected via USB-3 - there are many SBCs these days that have SATA connections, and IMO they are more apt to be a killer SBC NAS.

    I like the Odroid brand, and some of their newer SBCs use the Rock 35xx chipsets, which give the Pi 4 a run for its money...

    Just a thought - if I were to run an SBC NAS again, I'd go for a model with gigabit ethernet AND SATA drive connections.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From Warpslide@1337:3/126.1 to paulie420 on Tue Nov 15 08:31:02 2022
    *** Quoting paulie420 from a message to SoDa7 ***

    there are many SBCs these days that have SATA connections, and IMO they are more apt to be a killer SBC NAS.

    Just a thought - if I were to run an SBC NAS again, I'd go for a
    model with gigabit ethernet AND SATA drive connections.

    The Zimaboard has caught my attention, though I'm not totally sure what I'd use it for, I just think it's neat:

    - CPU: Intel Celeron N3350 or N3450
    - RAM: 2G/4G/8G LPDDR4
    - Onboard Storage: 16GB/32GB eMMC
    - 2x SATA 6.0 Gb/s Ports
    - 2x GbE LAN Ports
    - 2x USB 3.0
    - 1x PCle 2.0 4x

    - Other Features: Passive Cooling, Intel VT-d, VT-x, AES-NI, Support 4K video
    transcoding, H.264 (AVC), H.265 (HEVC), MPEG-2, VC-1

    - Compatible OS: Linux / Windows / OpenWrt / pfSense / Andorid / Libreelec


    https://www.zimaboard.com/zimaboard/product


    Jay

    ... Success usually comes to those too busy to look for it

    --- Telegard v3.09.g2-sp4/mL
    * Origin: Northern Realms | tg.nrbbs.net | 289-424-5180 (1337:3/126.1)
  • From paulie420@1337:3/129 to Warpslide on Tue Nov 15 15:32:31 2022
    The Zimaboard has caught my attention, though I'm not totally sure what I'd use it for, I just think it's neat:

    - CPU: Intel Celeron N3350 or N3450
    - RAM: 2G/4G/8G LPDDR4
    - Onboard Storage: 16GB/32GB eMMC
    - 2x SATA 6.0 Gb/s Ports
    - 2x GbE LAN Ports
    - 2x USB 3.0
    - 1x PCle 2.0 4x

    Yea, I've seen this one too - its a contender for a router, or NAS even... but the newest SBCs are starting to implement 2.5gb LAN ports, so...

    I think its gonna be a good 2023 for SBCs.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From MeaTLoTioN@1337:1/101 to paulie420 on Wed Nov 16 19:14:20 2022
    So, yes, a Pi is fully capable as a NAS - but with some caveats. At
    *BEST* I get 50MBs transfer speeds, but it idles around 10MBs most times...

    Interesting, I get an average or 76MB/s with a 1gb file via scp from my pc over a 1Gbps network to the rpi-nas direct to a usb-3 raid array

    $ scp test.1gb root@pi-nas:/mnt/md0/shared/test/
    test.1gb 100% 1024MB 75.9MB/s 00:13

    What disks are you copying to? Are they in a raid10 config (like mine) or a raid1 mirror or a raid0 stripe? or are they just singular disks? I think I might be able to squeeze a little more write speed due to the raid10.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From paulie420@1337:3/129 to MeaTLoTioN on Wed Nov 16 16:51:46 2022
    So, yes, a Pi is fully capable as a NAS - but with some caveats. At *BEST* I get 50MBs transfer speeds, but it idles around 10MBs most times...

    Interesting, I get an average or 76MB/s with a 1gb file via scp from my
    pc over a 1Gbps network to the rpi-nas direct to a usb-3 raid array

    $ scp test.1gb root@pi-nas:/mnt/md0/shared/test/
    test.1gb 100% 1024MB 75.9MB/s 00:13

    What disks are you copying to? Are they in a raid10 config (like mine)
    or a raid1 mirror or a raid0 stripe? or are they just singular disks? I think I might be able to squeeze a little more write speed due to the raid10.

    USB-3 external drives.

    I get much better speeds from my PBS-Backup machine whilst I shucked those HDDs and have them connected via SATA.

    And yer right; I am able to get 50MB+ when I write to the main[small] drive of the Pi-NAS.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/07/15 (Linux/64)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)