• 0
kiwimonk

Btrfs Status?

Question

Any word on the status of Btrfs? I know synology now supports it on RC18015xs+, RS18016xs+, so it should be possibly to get working with XPEnology with a few tweaks I'm hoping!

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0

I would be interested in this too, but I suspect it might require emulating a different Synology device than the one they're using now as the code is probably in the PAT file for those systems.

Share this post


Link to post
Share on other sites
  • 0

doesn't work, you can choose BTRFS to format but it will give you an error and say the volume crashed (ext4)

Share this post


Link to post
Share on other sites
  • 0

also tested bare-metal, doesn't work either, it shows the option but will say that the volume crashed.

Share this post


Link to post
Share on other sites
  • 0

I still think it will require the PAT file (+bootloader) from the models that actually support BTRFS. It appears that the current bootloader/Synology model PAT doesn't, so we're probably stuck until they roll it out to the rest of the models OR until we get a bootloader that supports the models that do have BTRFS.

Share this post


Link to post
Share on other sites
  • 0

BTRFS is installed, i can use it over the Shell to format stuff. So i don't think its nesessarily a .pat Problem.

Share this post


Link to post
Share on other sites
  • 0

But the .PAT file installs the right version of DSM for the hardware, so despite BTRFS being installed, the DSM in use may not support it as the current model XPenology is based on doesn't have support. If we used a DSM version from a model that supports BTRFS then I suspect we would get BTRFS as an option that would work... Saying that though, I'd be interested to see if someone with a proper synology system could try the config changes above and see what it does... If it works then it will be an Xpenology problem, if it doesn't then it will likely be a hardcoded DSM issue relating to the model.

Share this post


Link to post
Share on other sites
  • 0

I added the:

support_btrfs="yes"

to

/etc.defaults/synoinfo.conf

 

And restarted my DS1813+.

I was able to create a raid5 volume with a BTRFS filesystem. I can define shares and copy data in them.

I rebooted the system and everything works OK.

Apparently the BTRFS functionality is in the .PAT file.

 

However I am not able to manage snapshots and other functionality of BTRFS from the DSM-GUI. (all CLI items seem to be present and working)

Share this post


Link to post
Share on other sites
  • 0

I created the new volume from the GUI. After selecting the RAID type it offered me the choice between ext4 or "new" btrfs filesystem.

 

Unfortunately I don't know how or where to enable the snapshot timeline as shown in the Synology DS18016+ specifications

From the screen capture on the DS18016+ specs page it is not a 100% clear whether the Data Protection Manager is a separate downloadable package or an integrated package in the DSM .PAT file.

 

 

Anyone a hint where I could find anything in the .PAT file?

Share this post


Link to post
Share on other sites
  • 0

Sounds like this is looking somewhat promising. I may have some time this weekend to play with my DS1812+, XPEnology VM, and do some comparisons on the .PAT files to get a better idea of what the differences might be.

 

Do you guys know if Raid 6 is an option with BTRFS in the GUI, or is only Raid 5 available? Also, do they offer the ability to convert from EXT4 to BTRFS or grow a BTRFS formatted array?

Share this post


Link to post
Share on other sites
  • 0

I could be totally off base on this, so everyone feel free to correct me. But if I remember correctly the main difference between PAT files for different models is simply the drivers that get included. A DS214Play will need different drivers than a DS3615xs. I think that all the models run the same DSM, so any features in one model SHOULD be available in any other model as well, so long as the hardware can support it. Although I haven't explored this too deeply, I think that transcoding is a good example of this. Some models don't have enough CPU power to handle transcoding, but that doesn't prevent you from installing Plex and using it for streaming without transcoding. If you try to use transcoding on a machine that can't handle it Plex will tell you that the machine isn't powerful enough (I have actually run into this when trying to playback HEVC (high efficiency video coding) encoded videos).

Share this post


Link to post
Share on other sites
  • 0

having BTRFS on xpenology would really make a difference and move alot of people away from ZFS. If it was more affordable/better hardware for the money i'd even buy a real synology.

Share this post


Link to post
Share on other sites
  • 0

Here's the synoinfo.conf from RS18016xs+

 

It does seem that most if not all of the files are the same. Except for this config.

I borked my install playing with it.. I'll try again when I have more time..

 

It does seem like this might allow unlocking of the snapshot interface

support_dr_snap="yes"

 

synoinfo.conf>>

unique="synology_bromolow_rs18016xs+"

company_title="Synology"

 

# system options

timezone="Pacific"

language="def"

maillang="enu"

codepage="enu"

defquota="5"

defshare="public"

defgroup="users"

defright="writeable"

configured="no"

admin_port="5000"

secure_admin_port="5001"

pswdprotect="no"

autoblock_expriedday="0"

autoblock_attempts="0"

autoblock_attempt_min="0"

supportweb="yes"

supportphoto="yes"

support_download="yes"

supportmysql="yes"

supportquota="yes"

supportitunes="yes"

supportddns="yes"

supportfilestation="yes"

supportssl="yes"

supportssh="yes"

supportHTTPS="yes"

supportNFS="yes"

supportrsrcmon="yes"

supportmemtest="yes"

supportmount="yes"

support_fw_security="yes"

support_directory_service="yes"

support_power_schedule="yes"

support_buzzer="yes"

support_poweroff="yes"

supporttrustdomain="yes"

support_ipsec="yes"

support_spdy="yes"

supportMFP="yes"

support_synoacl="yes"

support_wireless="yes"

support_wireless_number="2"

supportMTU="yes"

supportrcpower="yes"

supportext4="yes"

supporthfsplus="yes"

support_wimax="yes"

showdisktemperature="yes"

support_mtd_serial="yes"

support_auto_poweron="yes"

support_synopkg="yes"

supportsmart="yes"

supportntfswrite="yes"

support_share_encryption="yes"

mfp_manualtimer="300"

mfp_autotimer="60"

buzzeroffcfg="0x00"

supportfileindex="yes"

disk_warning_percent="0.01"

disk_inode_warning_percent="0.01"

esata_disk_warning_percent="0.01"

esata_partition_warning_percent="0.01"

usb_disk_warning_percent="0.01"

usb_partition_warning_percent="0.01"

sdcard_warning_percent="0.01"

sdcard_partition_warning_percent="0.01"

supportTc="yes"

supportVLAN="yes"

support_iscsi_target_block="yes"

support_iscsi_target="yes"

support_iscsi_lunbkp="yes"

support_postgresql_data_checksums="yes"

support_apparmor="yes"

support_power_recovery="yes"

 

# service options

ftpport="21"

syslogport="514"

ftp_trans_ext_ip="no"

ftpflowcontrol="no"

ftpmaxuploadrate="0"

ftpmaxdownloadrate="0"

ftpanonymouslogin="no"

ftpsupportutf8="yes"

ftp_use_utf8="no"

diskcache="on"

standbytimer="0"

standby_force="yes"

auto_poweroff_timer="0"

enableguest="no"

usbbkp="yes"

usbcopy="no"

netbkp="yes"

runmysql="no"

runsysspdy="yes"

runuserspdy="yes"

supportmediaservice="yes"

runmediaservice="no"

supportups="yes"

ddns_update="no"

ddns_select=""

ddns_reclaim_interval_mins="3"

portmap_admin="no"

portmap_ftp="no"

portmap_http="no"

portmap_http_add="no"

portmap_netbkp="no"

portmap_netbkp_encrypt="no"

php_openbasedir_customize="no"

ss_sync_event_player="yes"

ss_cms="yes"

ss_vs="yes"

#run_bonjour_printer_service="yes"

printer_driver_host="http://download.synology.com/airprint/DSM5.2"

supportstartupd="yes"

supportdomain="yes"

supportldap="yes"

supportsnapshot="yes"

supportvideostation="yes"

support_audio="yes"

supportphotopersonal="yes"

supportsurveillance="yes"

support_s2s="yes"

support_timebkp_server="yes"

support_img_backupd="yes"

enableRCPower="no"

 

# service limitations

maxaccounts="16000"

maxgroups="512"

maxshares="512"

maxdisks="12"

maxprinters="2"

maxlogsize="64"

maxvhost="30"

 

# UI options (limitations)

company="synology"

supplang="enu,cht,chs,krn,ger,fre,ita,spn,jpn,dan,nor,sve,nld,rus,plk,ptb,ptg,hun,trk,csy"

product="RackStation"

manager="Synology RackStation"

vender="Synology Inc."

mailfrom="Synology RackStation"

updateurl="http://www.synology.com/"

win98autodisconnect="yes"

supportdcacheui="yes"

 

wins="none"

AppleTalk="eth0"

 

hostname="RackStation"

ntpdate_period="daily"

ntpdate_server="time.google.com"

ntpdate_server_backup=""

 

sdkversion="no"

allowanonymous="yes"

 

httpport="80"

httpsport="0"

defaultfs="btrfs"

systemfs="ext4"

addport="no"

supportuart2="yes"

 

 

# SMS options

smsserver="clickatell"

smsport="80"

smstemplate="https://api.clickatell.com/http/sendmsg?user=@@USER@@&password=@@PASS@@&api_id=3148203&to=@@PHONE@@&text=@@TEXT@@"

smssepchar="+"

smsuser=""

smspass=""

smsphone1=""

smsphone2=""

smsssl="yes"

smstest="no"

smsneedinterval="no"

smsinterval="1"

 

# VS60 options

vs_version="1.1"

 

# DSM auto update default server

rss_server="http://update.synology.com/autoupdate/genRSS.php"

rss_server_ssl="https://update.synology.com/autoupdate/genRSS.php"

 

# Push Service Server address

pushservice_server="https://sns.synology.com/api/"

pushbrowser_server="https://notification.synology.com/web/"

 

# Redirect Server address

redirect_server="https://gofile.me/"

 

package_update_channel="stable"

 

pkg_source_trust_level="0"

 

update_server="http://update.synology.com/"

 

#allowed urls for iframe embed, separate by ','

frame_options_built_in_allow_url="gofile.me/,find.synology.com/"

frame_options_deny_url=""

 

#prevent csrf attack

enable_syno_token="yes"

token_invalid_referer="fbsharing,fbdownload"

token_valid_user_agent=""

 

#DSM Update type

upgradetype="all"

 

#DSM Small Update URL

small_info_path="https://update.synology.com/smallupdate"

 

#Help Online URL

online_help_base_url="http://help.synology.com/"

 

# password rules turn on by default

strong_password_enable="yes"

 

# default dsm timeout

dsmtimeout="15"

 

# open arp_ignore and interface policy routing by default

arp_ignore="yes"

upnpmodelurl=""

upnpmodelname="RS18016xs+"

upnpmanufacturerurl="http://www.synology.com/"

runupnp="no"

upnpfriendlyname="RackStation Device"

upnpdevicetype="RackStation"

upnpmodeldescription="RackStation UPnP Device"

sas_enclosure_max="14"

supportraidcross="yes"

mem_default_mb="8192"

support_ha="yes"

timebkp_max_task="16"

support_vaai="yes"

supportsystemperature="yes"

pgsql_sys_max_connections="256"

support_btrfs="yes"

support_fan_adjust_dual_mode="yes"

supportsas="yes"

support_enc_powerctrl_onoff="yes"

php_cache_size="64"

support_aesni_intel="yes"

enable_zram="yes"

support_share_user_quota="yes"

max_snapshot_per_lun="256"

use_reserved_more_gdt="no"

iscsi_target_type="lio"

mem_max_mb="32768"

synobios="bromolow"

support_share_quota="yes"

usbportnum="4"

supportadt7490="yes"

support_hotspare="yes"

vpn_conn_max="30"

buzzeroffen="0xdf"

support_generic_ssd="yes"

support_dr_snap="yes"

support_zram="yes"

supportraid="yes"

supportraidgroup="yes"

support_ssd_cache="yes"

eth3_wol_options="d"

eth2_wol_options="d"

support_write_cache="yes"

eth1_wol_options="d"

wol_enabled_options="g"

max_iscsiluns="512"

support_webinstall="yes"

max_iscsitrgs="128"

eth0_wol_options="d"

surveillance_camera_max="90"

support_fan_adjust_by_ext_nic="yes"

s2s_task_max="32"

support_iscsi_plugin="yes"

support_share_snapshot="yes"

supportsystempwarning="yes"

support_trim="yes"

max_volumes="1024"

display_ssd_compatibility="yes"

max_ha_spacecount="64"

cache_support_skip_seq_io="yes"

support_wol="yes"

max_lunbkp_srv="32"

fan_config_type_internal="low"

sysctl_kernel.sem="250 32000 32 256"

eth7_mtu="1500"

eth6_mtu="1500"

eth5_mtu="1500"

eth4_mtu="1500"

cache_skip_seq_io_min_num_disk="4"

eth3_mtu="1500"

eth2_mtu="1500"

eth1_mtu="1500"

eth0_mtu="1500"

maxlanport="12"

s2s_watches_max="1024000"

Share this post


Link to post
Share on other sites
  • 0

I tested it with adding support_dr_snap="yes", i get the new snapshot management.

 

Only problem i got is that my volume with btrfs is crashing, can`t make an raid configuration. (this is with hyper-v)

Share this post


Link to post
Share on other sites
  • 0

Oh any News on this?

 

benji30 did the btrfs volume crash at your installation, too?

 

will test this on my vm tomorrow.

Share this post


Link to post
Share on other sites
  • 0

I borked my installation by replacing the cemd in my 1813+ with the one from the 18016+ (the file was bigger so I supposed it contains the snapshot GUI) In fact the DSM panicked and disabled all access to the system. After a reboot I was only able to reinstall the DSM for the 1813+. After that, I did not lose any data or configuration. Even the BTRFS filesystem mounted without errors. (lucky me!) and still runs fine.

 

I have the support_dr_snap="yes" in the synoinfo,conf and also the support_share_snapshot="yes".

When I take a snapshot (via the cli) the snapshot is shown as a share and can be accessed.

 

Where am I supposed to find the snapshot gui?

Share this post


Link to post
Share on other sites
  • 0

Where can i find cemd? I want to replace it in my virtualbox installation.

 

You can find Snapshots in Menu --> Data Protection Manager

Share this post


Link to post
Share on other sites
  • 0

i tinkered around further and still wasnt able to create a BTRFS volume on xpenology. There must be something not obviously missing.

Share this post


Link to post
Share on other sites
  • 0
Where can i find cemd? I want to replace it in my virtualbox installation.

 

You can find Snapshots in Menu --> Data Protection Manager

 

Replacing the /usr/syno/bin/cemd executable in my 1813+ with the one from the 18016 made my 1813+ instantly panic. I don't recommend replacing this.

 

No Data Protection Manager in the menu of my DS1813+ despite the mods in synoinfo.conf

 

When I created my first BTFRS filesystem the volume crashed too.

I solved this at first by recreating the BTRFS volume (remove / create)

from the cli find the mountpoint of the BTRFS volume (which was /mnt/md3 in my system) your's could be different.

After reboot I was able to manual mount the BTRFS disk

Share this post


Link to post
Share on other sites
  • 0

I just tested it in Hyper-v so no problems for me if the installation doesn`t work anymore. But i can`t find cemd, it is not in the path you`ve given me.

 

Also i attach a screen of the snapshot menu.

 

Naamloos.jpg

Share this post


Link to post
Share on other sites
  • 0

The executable is in /usr/syno/bin/scemd (my fault)

 

I added the support_dr_snap="yes" to the /etc.defaults/synoinfo.conf

I get the Data Protection Manager now. It is a GUI for managing iscsi LUN snapshots. That was not what I was looking for: a GUI for managing BTRFS snapshots.

Share this post


Link to post
Share on other sites
  • 0
The executable is in /usr/syno/bin/scemd (my fault)

 

I added the support_dr_snap="yes" to the /etc.defaults/synoinfo.conf

I get the Data Protection Manager now. It is a GUI for managing iscsi LUN snapshots. That was not what I was looking for: a GUI for managing BTRFS snapshots.

 

When i look at the snapshot menu from a youtube movie there has to be a shared folder next to ISCSI LUN snapshot. Maybe when you make an btrfs raid partition you can see the extra at the data protection manager.

 

Well i give up, i hope the next XPenology version is the bootloader from an RC18015xs, then btrfs will work i`m sure of that :smile:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.