# 7.8beta2 adds new package ROSE-storage

**URL:** <https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810>\
**Category:** RouterOS beta\
**Created:** [January 23, 2023, 2:06pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810 "2023-01-23T14:06:04Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![zandhaas](https://forum.mikrotik.com/letter_avatar/zandhaas/32/6_449c533f586939b6e5f246632a46421f.png) [@zandhaas](https://forum.mikrotik.com/u/zandhaas)\
**Post date:** [January 25, 2023, 11:25am UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/21 "2023-01-25T11:25:18Z")

</div>

Did someone already try to mount an iscsci disk from his NAS (Synology) on a Mikrotik device (CHR) or is this not possible?

When I try to do this the add command hangs.  
And when I try to reboot the CHR I see below message in the console:

> Rebooting  
> Failed to stop diskd: std failure: timeout (13)  
> could not umount system: Resource busy

---

<div class="post-metadata">

**Author:** ![Rox169](https://forum.mikrotik.com/letter_avatar/rox169/32/6_449c533f586939b6e5f246632a46421f.png) [@Rox169](https://forum.mikrotik.com/u/Rox169)\
**Post date:** [January 25, 2023, 11:45am UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/22 "2023-01-25T11:45:02Z")

</div>

Hello,

ho do I remove or edit existing nfs?

---

<div class="post-metadata">

**Author:** ![pe1chl](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/pe1chl/32/55588_2.png) [@pe1chl](https://forum.mikrotik.com/u/pe1chl)\
**Post date:** [January 25, 2023, 2:21pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/23 "2023-01-25T14:21:43Z")

</div>

[https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface](https://help.mikrotik.com/docs/display/ROS/Command+Line+Interface)

---

<div class="post-metadata">

**Author:** ![sirbryan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sirbryan/32/2586_2.png) [@sirbryan](https://forum.mikrotik.com/u/sirbryan)\
**Post date:** [January 25, 2023, 3:39pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/24 "2023-01-25T15:39:43Z")

</div>

@zandhaas I figured out how to get my hAP AX3 to mount a share off my TrueNAS. This assumes an iSCSI share on the NAS has been created/exported.

```plaintext
/disk add iscsi-address=192.168.x.x iscsi-iqn=iqn.2005-10.org.freenas.ctl:rose-iscsi slot=rose-iscsi type=iscsi

```

The first part of the IQN is configured on/provided by the NAS itself; the name of the share you created comes after the colon. The **slot** is the name you want the router to assign that particular disk.

Once it’s connected, it looks like this (mine was 128GB):

```plaintext
[admin@lab-hap-ax3] /disk> print
Flags: B - BLOCK-DEVICE; M, F - FORMATTING
Columns: SLOT, MODEL, SERIAL, INTERFACE, SIZE, FREE, FS, RAID-MASTER, ISCSI-STATE
# SLOT MODEL SERIAL INTERFA SIZE FREE FS RAID ISCSI-STA
0 M nfs1 nfs://192.168.xx.xx/pcie1-sata1-part1 network 235 152 605 184 235 006 853 120 nfs none           
1 BM rose-iscsi iSCSI Disk 0050569aa261004 network 137 438 969 856 134 145 351 680 ext4 none connected

```

This router now has an NFS share from the CCR2116 and the iSCSI share from the TrueNAS box.

Since it’s block level, unless it’s already been formatted, you’ll have to format it once connected.

---

<div class="post-metadata">

**Author:** ![sirbryan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sirbryan/32/2586_2.png) [@sirbryan](https://forum.mikrotik.com/u/sirbryan)\
**Post date:** [January 25, 2023, 3:41pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/25 "2023-01-25T15:41:06Z")

</div>

> [@](#):
>
> Hello,
> 
> ho do I remove or edit existing nfs?

At **/disk** , you’ll type **print** , which will show you the disks, then you’ll type **remove** and the number to the left of the bad NFS share.

---

<div class="post-metadata">

**Author:** ![Rox169](https://forum.mikrotik.com/letter_avatar/rox169/32/6_449c533f586939b6e5f246632a46421f.png) [@Rox169](https://forum.mikrotik.com/u/Rox169)\
**Post date:** [January 25, 2023, 4:36pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/26 "2023-01-25T16:36:03Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > Hello,
> > 
> > ho do I remove or edit existing nfs?
> 
> At **/disk** , you’ll type **print** , which will show you the disks, then you’ll type **remove** and the number to the left of the bad NFS share.

thank you very much…worked

---

<div class="post-metadata">

**Author:** ![antonsb](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/antonsb/32/1687_2.png) [@antonsb](https://forum.mikrotik.com/u/antonsb)\
**Post date:** [January 25, 2023, 4:49pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/27 "2023-01-25T16:49:38Z")

</div>

Feel free to suggest other protocols and features that should be supported.

---

<div class="post-metadata">

**Author:** ![Rox169](https://forum.mikrotik.com/letter_avatar/rox169/32/6_449c533f586939b6e5f246632a46421f.png) [@Rox169](https://forum.mikrotik.com/u/Rox169)\
**Post date:** [January 25, 2023, 4:58pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/28 "2023-01-25T16:58:48Z")

</div>

> [@](#):
>
> Feel free to suggest other protocols and features that should be supported.

please make ROS compatible with Hikvision cameras, NOTHING is working…not ROS 7.7 with old SAMBA v1 not even ROS 7.8 with rose is not working NFS either,I just tried,milions peple are using Hikvision cameras…

[![](https://i.ibb.co/k0pjLrY/nfs.png)](https://ibb.co/mtmknYQ)

---

<div class="post-metadata">

**Author:** ![Amm0](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/amm0/32/1630_2.png) [@Amm0](https://forum.mikrotik.com/u/Amm0)\
**Post date:** [January 25, 2023, 5:37pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/29 "2023-01-25T17:37:29Z")

</div>

> [@antonsb](#):
>
> Feel free to suggest other protocols and features that should be supported.

None – great work here. You’ve given a whole new life to the RB1100s we have. Just the RAID options alone is super useful. And y’all have multiple protocol for containers to use a remote disk…

So perhaps better docs on what you have help more 😉. e.g. “F1” at CLI on ROSE doesn’t have command descriptions:

```plaintext
[user@mt] /disk> /console/inspect request=syntax path=disk
Columns: TYPE, SYMBOL, SYMBOL-TYPE, NESTED, NONORM, TEXT
TYPE SYMBOL SYMBOL-TYPE NESTED NONORM TEXT                                                                    
syntax collection 0 yes                                                                             
syntax .. explanation 1 no go up to root                                                           
syntax add explanation 1 no Create a new item                                                       
syntax comment explanation 1 no Set comment for items                                                   
syntax copy explanation 1 no                                                                              
syntax disable explanation 1 no Disable items                                                           
syntax edit explanation 1 no                                                                              
syntax eject-drive explanation 1 no                                                                              
syntax enable explanation 1 no Enable items                                                            
syntax export explanation 1 no Print or save an export script that can be used to restore configuration
syntax find explanation 1 no Find items by value                                                     
syntax format-drive explanation 1 no                                                                              
syntax get explanation 1 no Gets value of item's property                                           
syntax monitor-traffic explanation 1 no                                                                              
syntax nvme-discover explanation 1 no                                                                              
syntax print explanation 1 no Print values of item properties                                         
syntax raid-scrub explanation 1 no                                                                              
syntax remove explanation 1 no Remove item                                                             
syntax reset explanation 1 no                                                                              
syntax reset-counters explanation 1 no                                                                              
syntax set explanation 1 no Change item properties                                                  
syntax unset explanation 1 no                                                                              

[user@mt] /disk> /console/inspect request=syntax path=disk,set
Columns: TYPE, SYMBOL, SYMBOL-TYPE, NESTED, NONORM, TEXT
TYPE SYMBOL SYMBOL-TYPE NESTED NONORM TEXT                                   
syntax collection 0 yes                                            
syntax <numbers> explanation 1 no List of item numbers                   
syntax comment explanation 1 no Short description of the item          
syntax crypted-backend explanation 1 no                                             
syntax disabled explanation 1 no Defines whether item is ignored or used
syntax encryption-key explanation 1 no                                             
syntax iscsi-address explanation 1 no                                             
syntax iscsi-export explanation 1 no                                             
syntax iscsi-iqn explanation 1 no                                             
syntax iscsi-port explanation 1 no                                             
syntax nfs-address explanation 1 no                                             
syntax nfs-export explanation 1 no                                             
syntax nfs-share explanation 1 no                                             
syntax nvme-tcp-address explanation 1 no                                             
syntax nvme-tcp-export explanation 1 no                                             
syntax nvme-tcp-name explanation 1 no                                             
syntax nvme-tcp-port explanation 1 no                                             
syntax parent explanation 1 no                                             
syntax partition-offset explanation 1 no                                             
syntax partition-size explanation 1 no                                             
syntax raid-chunk-size explanation 1 no                                             
syntax raid-device-count explanation 1 no                                             
syntax raid-master explanation 1 no                                             
syntax raid-max-component-size explanation 1 no                                             
syntax raid-member-failed explanation 1 no                                             
syntax raid-role explanation 1 no                                             
syntax raid-type explanation 1 no                                             
syntax ramdisk-size explanation 1 no                                             
syntax self-encryption-password explanation 1 no                                             
syntax slot explanation 1 no                                             
syntax smb-address explanation 1 no                                             
syntax smb-export explanation 1 no                                             
syntax smb-password explanation 1 no                                             
syntax smb-share explanation 1 no                                             
syntax smb-user explanation 1 no                                             
syntax tmpfs-max-size explanation 1 no                                             
syntax type explanation 1 no

```

---

<div class="post-metadata">

**Author:** ![pe1chl](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/pe1chl/32/55588_2.png) [@pe1chl](https://forum.mikrotik.com/u/pe1chl)\
**Post date:** [January 25, 2023, 5:42pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/30 "2023-01-25T17:42:02Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > The rose-storage module also has command additions in /file/sync.  
> > However that is completely undocumented and not so easy to figure out…
> 
> this is rsync, i will add documentation tomorrow for this

Can it only sync between path and network? Real rsync can also sync between two pathnames, so I tried:  
/file/sync/add local-path=/ramdisk remote-path=/nfs  
(I have a ramdisk and nfs mount configured)  
hoping that it would sync everything I put in ramdisk to the nfs-mounted filesystem, but it does not work.  
Also, what can I expect when mountpoints are crossed? When I sync / will it also sync the ramdisk and nfs mounts? (it should not)

---

<div class="post-metadata">

**Author:** ![issme](https://forum.mikrotik.com/letter_avatar/issme/32/6_449c533f586939b6e5f246632a46421f.png) [@issme](https://forum.mikrotik.com/u/issme)\
**Post date:** [January 25, 2023, 7:17pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/31 "2023-01-25T19:17:44Z")

</div>

> [@](#):
>
> Feel free to suggest other protocols and features that should be supported.

Bit of a long shot, but how about RDMA protocols such as RoCE or iWARP?

---

<div class="post-metadata">

**Author:** ![sirbryan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sirbryan/32/2586_2.png) [@sirbryan](https://forum.mikrotik.com/u/sirbryan)\
**Post date:** [January 25, 2023, 8:50pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/32 "2023-01-25T20:50:04Z")

</div>

> [@](#):
>
> Feel free to suggest other protocols and features that should be supported.

One use case I’m picturing is a router with a large NVMe/MSATA store serving small partitions to end-user routers for containers like Pi Hole and Uptime Kuma, to avoid tons of USB sticks out in the field.

To make that happen, the following would be useful (in order of priority):

- The ability to create multiple partitions (and subsequently unique shares for individual remote devices)
- Basic NFS “/etc/exports” support (i.e. define shares and restrict per-share access by IP address, subnet, etc.)
- Authentication for outgoing SMB shares (tied to on-router users or RADIUS would be nice) [does this eventually replace stock SMB server?]
- CHAP authentication for iSCSI (not very resilient over a WAN, but less susceptible to permissions problems, unlike NFS & SMB)

I do recognize that some of this could easily be done from within a container (specifically a custom SMB server with a GUI).

---

<div class="post-metadata">

**Author:** ![Rox169](https://forum.mikrotik.com/letter_avatar/rox169/32/6_449c533f586939b6e5f246632a46421f.png) [@Rox169](https://forum.mikrotik.com/u/Rox169)\
**Post date:** [January 30, 2023, 1:08pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/33 "2023-01-30T13:08:06Z")

</div>

Hello,

do you know any SAMBA server which has web UI and is working in ROS container? I have bought hap AX3 but Hikvision cameras are not able to connect anything from Mirotik. With the cameras is not working SAMBA v1 in ROS 7.7 not even NFS from ROS 7.8 - rose storage is not working.

---

<div class="post-metadata">

**Author:** ![sirbryan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sirbryan/32/2586_2.png) [@sirbryan](https://forum.mikrotik.com/u/sirbryan)\
**Post date:** [January 30, 2023, 3:52pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/34 "2023-01-30T15:52:52Z")

</div>

> [@](#):
>
> Hello,
> 
> do you know any SAMBA server which has web UI and is working in ROS container? I have bought hap AX3 but Hikvision cameras are not able to connect anything from Mirotik. With the cameras is not working SAMBA v1 in ROS 7.7 not even NFS from ROS 7.8 - rose storage is not working.

I haven’t found (or really looked for) any pre-built Samba servers. I built my own using alpine linux and adding the samba package, then created a custom config file. That would be a quick way to do it. But if you have more granular or detailed authentication requirements, you’d have to keep looking or build your own.

---

<div class="post-metadata">

**Author:** ![sirbryan](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/sirbryan/32/2586_2.png) [@sirbryan](https://forum.mikrotik.com/u/sirbryan)\
**Post date:** [January 30, 2023, 4:45pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/35 "2023-01-30T16:45:37Z")

</div>

While we’re making feature requests…

It would be nice to have one massive underlying volume to take advantage of RAID benefits, then carve it out for sharing via the different technologies, i.e. one or two larger volumes for file shares (NFS/SMB), and a number of smaller volumes for block shares (iSCSI, nVMEof). You could do this with partitions, but then the partition sizes are fixed. With dynamic volume sizing, we could make better use of the backing store.

Two ways I can see implementing this:

- LVM - probably easiest
- ZFS - probably more complicated

With LVM, LV’s could be formatted locally and shared (NFS/SMB), or LV’s could become target LUNs for iSCSI/NVMEof.  
With ZFS, datasets would be used for shared volumes, and ZVOLs for remote LUNs.

---

<div class="post-metadata">

**Author:** ![Amm0](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/amm0/32/1630_2.png) [@Amm0](https://forum.mikrotik.com/u/Amm0)\
**Post date:** [January 30, 2023, 5:01pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/36 "2023-01-30T17:01:53Z")

</div>

> [@](#):
>
> While we’re making feature requests…

Or anything with journalling so you can do back-in-time restore of a file…

---

<div class="post-metadata">

**Author:** ![Larsa](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/larsa/32/1542_2.png) [@Larsa](https://forum.mikrotik.com/u/Larsa)\
**Post date:** [January 30, 2023, 5:25pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/37 "2023-01-30T17:25:22Z")

</div>

> [@](#):
>
> ZFS - probably more complicated

Yeah, both BTRFS and ZFS are great choices but as the latter is a third party add-on (originated from Sun Microsystems) it would likely be harder to maintain.

---

<div class="post-metadata">

**Author:** ![jvanhambelgium](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/jvanhambelgium/32/1676_2.png) [@jvanhambelgium](https://forum.mikrotik.com/u/jvanhambelgium)\
**Post date:** [January 30, 2023, 6:26pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/38 "2023-01-30T18:26:27Z")

</div>

> [@](#):
>
> > [@](#):
> >
> > ZFS - probably more complicated
> 
> Yeah, both BTRFS and ZFS are great choices but as the latter is a third party add-on (originated from Sun Microsystems) **it would likely be harder to maintain.**

likely ? Look at for example the ZeroTier package ; MT released it at version 1.6.6 and it was never updated since then … ZT is already at 1.10.x  
Same with Wireguard.  
If you cannot commit to maintain it, leave it!

---

<div class="post-metadata">

**Author:** ![Larsa](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/larsa/32/1542_2.png) [@Larsa](https://forum.mikrotik.com/u/Larsa)\
**Post date:** [January 30, 2023, 6:45pm UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/39 "2023-01-30T18:45:02Z")

</div>

> [@](#):
>
> likely ? Look at for example the ZeroTier package ; MT released it at version 1.6.6 and it was never updated since then … ZT is already at 1.10.xSame with Wireguard. If you cannot commit to maintain it, leave it!

I do understand what you mean. However, I tried to emphasize that a standard built-in kernel module like Wireguard is for obvious reasons much easier to maintain than a third party add-on like ZeroTier that requires much more work as part of the porting process. The same goes for ZFS.

---

<div class="post-metadata">

**Author:** ![Babujnik](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/babujnik/32/62942_2.png) [@Babujnik](https://forum.mikrotik.com/u/Babujnik)\
**Post date:** [January 31, 2023, 10:17am UTC](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810/40 "2023-01-31T10:17:39Z")

</div>

not sure if this is purely to CHR related, but I can’t properly list iSCSI on x86 machine:

```plaintext
[admin@lab] /disk> add iscsi-address=192.168.0.100 iscsi-iqn=iqn.2004-04.com.qnap:ts-251:iscsi.lab.f84517 slot=nas type=iscsi 
[admin@lab] /disk> pr

action timed out - try again, if error continues contact MikroTik support and send a supout file (13)

```

doesn’t look like target issue, as can easily connect from linux box:

```plaintext
root@ubuntu:~# iscsiadm --mode discovery --type sendtargets --portal 192.168.0.100
192.168.0.100:3260,1 iqn.2004-04.com.qnap:ts-251:iscsi.lab.f84517
root@ubuntu:~# iscsiadm --mode node --targetname iqn.2004-04.com.qnap:ts-251:iscsi.lab.f84517 --portal 192.168.0.100 --login
Logging in to [iface: default, target: iqn.2004-04.com.qnap:ts-251:iscsi.lab.f84517, portal: 192.168.0.100,3260]
Login to [iface: default, target: iqn.2004-04.com.qnap:ts-251:iscsi.lab.f84517, portal: 192.168.0.100,3260] successful.
root@ubuntu:~# dmesg |tail
[1146.271269] scsi host1: iSCSI Initiator over TCP/IP
[1146.304530] scsi 1:0:0:0: Direct-Access QNAP iSCSI Storage 4.0 PQ: 0 ANSI: 5
[1146.310141] sd 1:0:0:0: Attached scsi generic sg1 type 0
[1146.311223] sd 1:0:0:0: [sdb] 10485760 512-byte logical blocks: (5.37 GB/5.00 GiB)
[1146.312015] sd 1:0:0:0: [sdb] Write Protect is off
[1146.312040] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 08
[1146.313021] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[1146.324904] sd 1:0:0:0: [sdb] Preferred minimum I/O size 512 bytes
[1146.324929] sd 1:0:0:0: [sdb] Optimal transfer size 8388608 bytes
[1146.365988] sd 1:0:0:0: [sdb] Attached SCSI disk

```

[Previous page](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810.md?page=1)

[Next page](https://forum.mikrotik.com/t/7-8beta2-adds-new-package-rose-storage/163810.md?page=3)
