Jump to content

Using iSCSI to trick Backblaze into thinking my NAS is a local drive?

I'm in the process of moving from a direct-attached array to a 10Gbe Asustor NAS. All was going well until I realized that my cloud backup provider (Backblaze) doesn't support backups from network drives unless you upgrade your subscription to a metered one that would be 10X the cost for my current amount of data (~14TB).

 

After reading about iSCSI and SANs, it seams to me like I could create a local logical drive in Windows using the NAS's volume as an iSCSI LUN and trick the Backblaze uploader into thinking it's a local drive. I'm a little worried about reliability though - does anyone know if there are things I should look out for? The Asustor AS4004T NAS is connected peer-to-peer via an 10GbE NIC on my editing machine.

Am I crazy or would this work and potentially save me $50USD/mo on a B2 Cloud subscription?

Link to comment
Share on other sites

Link to post
Share on other sites

26 minutes ago, Delgado said:

Am I crazy or would this work and potentially save me $50USD/mo on a B2 Cloud subscription?

My hesitation would be that iSCSI creates a block device, so unless your host computer can (at best) recognize the NAS's underlying filesystem, it probably won't work.

 

Alternate theory: mounting a SMB share to an NTFS mount point inside of an existing drive? (I don't know to what lengths BB goes to prevent work-arounds)

 

All that said, breaking terms and conditions can lead to termination of accounts, so... tread lightly?

Main System (Byarlant): Ryzen 7 5800X | Asus B550-Creator ProArt | EK 240mm Basic AIO | 16GB G.Skill DDR4 3200MT/s CAS-14 | XFX Speedster SWFT 210 RX 6600 | Samsung 990 PRO 2TB / Samsung 960 PRO 512GB / 4× Crucial MX500 2TB (RAID-0) | Corsair RM750X | a 10G NIC (pending) | Inateck USB 3.0 Card | Hyte Y60 Case | Dell U3415W Monitor | Keychron K4 Brown (white backlight)

 

Laptop (Narrative): Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB RAM (soldered) | Vega 6 Graphics | SKHynix P31 1TB NVMe SSD | Intel AX200 Wifi (all-around awesome machine)

 

Proxmox Server (Veda): Ryzen 7 3800XT | AsRock Rack X470D4U | Corsair H80i v2 | 64GB Micron DDR4 ECC 3200MT/s | 4x 10TB WD Whites / 4x 14TB Seagate Exos / 2× Samsung PM963a 960GB SSD | Seasonic Prime Fanless 500W | Intel X540-T2 10G NIC | LSI 9207-8i HBA | Fractal Design Node 804 Case (side panels swapped to show off drives) | VMs: TrueNAS Scale; Ubuntu Server (PiHole/PiVPN/NGINX?); Windows 10 Pro; Ubuntu Server (Apache/MySQL)


Media Center/Video Capture (Jesta Cannon): Ryzen 5 1600X | ASRock B450M Pro4 R2.0 | Noctua NH-L12S | 16GB Crucial DDR4 3200MT/s CAS-22 | EVGA GTX750Ti SC | UMIS NVMe SSD 256GB / TEAMGROUP MS30 1TB | Corsair CX450M | Viewcast Osprey 260e Video Capture | Mellanox ConnectX-2 10G NIC | LG UH12NS30 BD-ROM | Silverstone Sugo SG-11 Case | Sony XR65A80K

 

Camera: Sony ɑ7II w/ Meike Grip | Sony SEL24240 | Samyang 35mm ƒ/2.8 | Sony SEL50F18F | Sony SEL2870 (kit lens) | PNY Elite Perfomance 512GB SDXC card

 

Network:

Spoiler
                           ┌─────────────── Office/Rack ────────────────────────────────────────────────────────────────────────────┐
Google Fiber Webpass ────── UniFi Security Gateway ─── UniFi Switch 8-60W ─┬─ UniFi Switch Flex XG ═╦═ Veda (Proxmox Virtual Switch)
(500Mbps↑/500Mbps↓)                             UniFi CloudKey Gen2 (PoE) ─┴─ Veda (IPMI)           ╠═ Veda-NAS (HW Passthrough NIC)
╔═══════════════════════════════════════════════════════════════════════════════════════════════════╩═ Narrative (Asus USB 2.5G NIC)
║ ┌────── Closet ──────┐   ┌─────────────── Bedroom ──────────────────────────────────────────────────────┐
╚═ UniFi Switch Flex XG ═╤═ UniFi Switch Flex XG ═╦═ Byarlant
   (PoE)                 │                        ╠═ Narrative (Cable Matters USB-PD 2.5G Ethernet Dongle)
                         │                        ╚═ Jesta Cannon*
                         │ ┌─────────────── Media Center ──────────────────────────────────┐
Notes:                   └─ UniFi Switch 8 ─────────┬─ UniFi Access Point nanoHD (PoE)
═══ is Multi-Gigabit                                ├─ Sony Playstation 4 
─── is Gigabit                                      ├─ Pioneer VSX-S520
* = cable passed to Bedroom from Media Center       ├─ Sony XR65A80K (Google TV)
** = cable passed from Media Center to Bedroom      └─ Work Laptop** (Startech USB-PD Dock)

Retired/Other:

Spoiler

Laptop (Rozen-Zulu): Sony VAIO VPCF13WFX | Core i7-740QM | 8GB Patriot DDR3 | GT 425M | Samsung 850EVO 250GB SSD | Blu-ray Drive | Intel 7260 Wifi (lived a good life, retired with honor)

Testbed/Old Desktop (Kshatriya): Xeon X5470 @ 4.0GHz | ZALMAN CNPS9500 | Gigabyte EP45-UD3L | 8GB Nanya DDR2 400MHz | XFX HD6870 DD | OCZ Vertex 3 Max-IOPS 120GB | Corsair CX430M | HooToo USB 3.0 PCIe Card | Osprey 230 Video Capture | NZXT H230 Case

TrueNAS Server (La Vie en Rose): Xeon E3-1241v3 | Supermicro X10SLL-F | Corsair H60 | 32GB Micron DDR3L ECC 1600MHz | 1x Kingston 16GB SSD / Crucial MX500 500GB

Link to comment
Share on other sites

Link to post
Share on other sites

31 minutes ago, Delgado said:

I'm in the process of moving from a direct-attached array to a 10Gbe Asustor NAS. All was going well until I realized that my cloud backup provider (Backblaze) doesn't support backups from network drives unless you upgrade your subscription to a metered one that would be 10X the cost for my current amount of data (~14TB).

 

After reading about iSCSI and SANs, it seams to me like I could create a local logical drive in Windows using the NAS's volume as an iSCSI LUN and trick the Backblaze uploader into thinking it's a local drive. I'm a little worried about reliability though - does anyone know if there are things I should look out for? The Asustor AS4004T NAS is connected peer-to-peer via an 10GbE NIC on my editing machine.

Am I crazy or would this work and potentially save me $50USD/mo on a B2 Cloud subscription?

if it does work, my guess is they'll work to remove that loophole fairly quickly once they see it. I wouldn't recommend it as a long term solution. 

Fine you want the PSU tier list? Have the PSU tier list: https://linustechtips.com/main/topic/1116640-psu-tier-list-40-rev-103/

 

Stille (Desktop)

Ryzen 9 3900XT@4.5Ghz - Cryorig H7 Ultimate - 16GB Vengeance LPX 3000Mhz- MSI RTX 3080 Ti Ventus 3x OC - SanDisk Plus 480GB - Crucial MX500 500GB - Intel 660P 1TB SSD - (2x) WD Red 2TB - EVGA G3 650w - Corsair 760T

Evoo Gaming 15"
i7-9750H - 16GB DDR4 - GTX 1660Ti - 480GB SSD M.2 - 1TB 2.5" BX500 SSD 

VM + NAS Server (ProxMox 6.3)

1x Xeon E5-2690 v2  - 92GB ECC DDR3 - Quadro 4000 - Dell H310 HBA (Flashed with IT firmware) -500GB Crucial MX500 (Proxmox Host) Kingston 128GB SSD (FreeNAS dev/ID passthrough) - 8x4TB Toshiba N300 HDD

Toys: Ender 3 Pro, Oculus Rift CV1, Oculus Quest 2, about half a dozen raspberry Pis (2b to 4), Arduino Uno, Arduino Mega, Arduino nano (x3), Arduino nano pro, Atomic Pi. 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, AbydosOne said:

My hesitation would be that iSCSI creates a block device, so unless your host computer can (at best) recognize the NAS's underlying filesystem, it probably won't work.

 

Alternate theory: mounting a SMB share to an NTFS mount point inside of an existing drive? (I don't know to what lengths BB goes to prevent work-arounds)

 

All that said, breaking terms and conditions can lead to termination of accounts, so... tread lightly?

I can enable NFS in Windows and the NAS to allow it to read EXT4 natively, but my understanding is that i can format the logical drive to NTFS and share it back to the NAS using SMB. I might have that messed up though... I just started researching this last night.

 

Re terms and conditions, they do allow the backup of external USB and thunderbolt devices like Drobos and other DAS devices. I don't see why a CAT7 cable would be any different than a USB cable when the filesystem is managed locally?

1 hour ago, BrinkGG said:

if it does work, my guess is they'll work to remove that loophole fairly quickly once they see it. I wouldn't recommend it as a long term solution. 

It's quite possible - I'm just hoping to avoid an enterprise class solution for my home needs. I know other cloud backup solutions have native NAS apps!

Link to comment
Share on other sites

Link to post
Share on other sites

So I set up a temporary iSCSI LUN to see if Backblaze worked and to compare performance against just using a standard mapped network drive. Good news on both fronts! The uploader sees the drive as a local drive, and so does CrystalDiskMark:
 

Asustor-iSCSI.png.6b86f2be6a57d8eff656037ec9e7529c.png

 

Are there any disk benchmark apps that can use for an apples-to-apples comparison with a network share? 


[EDIT] Enabling jumbo frames seemed to help a bit, with the sequential stuff anyway:

Asustor-iSCSI-Jumbo.png

Link to comment
Share on other sites

Link to post
Share on other sites

From what I found, there should be no problems with the backups. Some users had this for a while
https://misdirectedrequest.wordpress.com/2017/12/25/synology-iscsi-pc-backblaze/

And the performance is quite well. Hopefully, Backblaze does not throttle the upload speed
https://www.reddit.com/r/backblaze/comments/7yhnlm/large_files_upload_very_slowly/

Link to comment
Share on other sites

Link to post
Share on other sites

17 hours ago, doommood said:

From what I found, there should be no problems with the backups. Some users had this for a while
https://misdirectedrequest.wordpress.com/2017/12/25/synology-iscsi-pc-backblaze/

And the performance is quite well. Hopefully, Backblaze does not throttle the upload speed
https://www.reddit.com/r/backblaze/comments/7yhnlm/large_files_upload_very_slowly/

My upload speed with Shaw Cable is pretty abysmal, but all of the data already exists on Backblaze anyway so I don't have to re-upload the new array. Pretty happy with it so far!

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 year later...
On 6/22/2020 at 12:29 AM, Delgado said:

My upload speed with Shaw Cable is pretty abysmal, but all of the data already exists on Backblaze anyway so I don't have to re-upload the new array. Pretty happy with it so far!

Ik this is an old thread, but does this still work?

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, Zakk8 said:

Ik this is an old thread, but does this still work?

Yes, with no issues whatsoever. I still edit photos and videos off of this setup with all of my spinning drives in another room. Its so much better than having loud, vibrating 7200rpm datacenter drives in my tower beside me.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...
On 11/22/2021 at 9:18 PM, Delgado said:

Yes, with no issues whatsoever. I still edit photos and videos off of this setup with all of my spinning drives in another room. Its so much better than having loud, vibrating 7200rpm datacenter drives in my tower beside me.

I love this idea.  I've done some Googling but don't know how to start with it.  I'm on Mac, does anyone know how I would do this?  Was previously backing up all computers to backblaze with target disk mode, which mounted as a local drive, but has been replaced on new M1 chip macs.  Now I can only see them as network drives so I need to figure out how do this.  Any suggestions?

Thanks!

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, corecore said:

I love this idea.  I've done some Googling but don't know how to start with it.  I'm on Mac, does anyone know how I would do this?  Was previously backing up all computers to backblaze with target disk mode, which mounted as a local drive, but has been replaced on new M1 chip macs.  Now I can only see them as network drives so I need to figure out how do this.  Any suggestions?

Thanks!

Not sure as I'm not a Mac guy - on Windows its an OS-level thing, but a quick Google search for "iSCSI on OSX" shows u need to download an "iSCSI Initiator" and you should be good to go.

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...
On 6/18/2020 at 12:27 PM, Delgado said:

So I set up a temporary iSCSI LUN to see if Backblaze worked and to compare performance against just using a standard mapped network drive. Good news on both fronts! The uploader sees the drive as a local drive, and so does CrystalDiskMark:
 

Asustor-iSCSI.png.6b86f2be6a57d8eff656037ec9e7529c.png

 

Are there any disk benchmark apps that can use for an apples-to-apples comparison with a network share? 


[EDIT] Enabling jumbo frames seemed to help a bit, with the sequential stuff anyway:

Asustor-iSCSI-Jumbo.png

How did you set up the ISCSI to your drobo?

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, gambit2552 said:

How did you set up the ISCSI to your drobo?

I didn't - I got rid of the drobo 5C because it was horrendously slow and corrupting itself regularly, and replaced it with a 10GbE enabled Asustor AS4004T NAS device. I don't think a drobo would let you have access to the filesystem like this.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×