11.Nas_1




● 나의 synoinfo.conf 설정 값 확인하여 설정값 변경 작업 준비

♨ 카랜더 일정 : 2021년12월18일
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    ● 나의 synoinfo.conf 설정 값 확인하여 설정값 변경 작업 준비

    현재 변경 없이 나의 구성

    어렵네요

    변경내용 grub.cfg 변경만으로  무엇이 잘못 하는것으로 변동이 없네요

    3232235521_1639816668.7712.png

    참조 작업 

    https://blog.dateno1.com/?p=1733

    에서 정보 확인 작업 설정 확인 합니다.

    putty 로  root 유저로 synoinfo.conf 확인하기

     find / -name "synoinfo.*"

     찾아서
     cat /etc/synoinfo.conf | grep cfg
    확인 하면

    root@https11qkr:/# cat /etc/synoinfo.conf | grep cfg
    buzzeroffcfg="0x0"
    esataportcfg="0x0"
    internalportcfg="0x78FF"
    usbportcfg="0x8700"


    
    root@https11qkr:/# find / -name "synoinfo.*"
    /volume1/web/phpini/synoinfo.conf
    /volume1/web/phpini/e/synoinfo.conf
    /var/log/synoinfo.conf.bad
    /etc.defaults/synoinfo.conf
    /etc/synoinfo.conf
    /.old_patch_info/synoinfo.conf
    root@https11qkr:/# cat /etc/synoinfo.conf
    AppleTalk="eth0"
    BS_Thr_Enable="yes"
    BS_Thr_Value="50"
    addport="no"
    allowanonymous="yes"
    arp_ignore="yes"
    audio_support_eq="yes"
    auto_poweroff_timer="0"
    autoblock_attempt_min="5"
    autoblock_attempts="10"
    autoblock_expriedday="0"
    btrfs_default_compression="zstd"
    buzzeroffcfg="0x0"
    buzzeroffen="0xffff"
    cache_advisor_default_size_gb="4096"
    cache_max_total_size_gb="0"
    cache_skip_seq_io_min_num_disk="1"
    cache_support_pin="yes"
    cache_support_skip_seq_io="yes"
    codepage="krn"
    company="synology"
    company_title="Synology"
    configured="yes"
    ddns_reclaim_interval_mins="3"
    ddns_select=""
    ddns_update="no"
    defaultfs="btrfs"
    defgroup="users"
    defquota="5"
    defright="writeable"
    defshare="public"
    disk_inode_warning_percent="0.05"
    disk_swap="static"
    diskcache="on"
    dsmtimeout="15"
    enableRCPower="yes"
    enable_etron_ssc="yes"
    enable_fan_debug="0x0"
    enable_syno_token="yes"
    enable_zram="yes"
    enableguest="no"
    esata_disk_warning_percent="0.1"
    esata_partition_warning_percent="0.1"
    esataportcfg="0x0"
    eth0_mtu="1500"
    eth0_wol_options="g"
    eth1_mtu="1500"
    eth1_wol_options="d"
    eth2_mtu="1500"
    eth2_wol_options="d"
    eth3_mtu="1500"
    eth3_wol_options="d"
    eth4_mtu="1500"
    eth5_mtu="1500"
    eth6_mtu="1500"
    eth7_mtu="1500"
    eunitseq="sdm,sdq"
    frame_options_built_in_allow_url="gofile.me/,find.synology.com/"
    frame_options_deny_url=""
    hostname="DiskStation"
    hostname_alias="SynologyNAS"
    internal_disk_without_led_mask="no"
    internalportcfg="0x78FF"
    iscsi_target_type="lio4x"
    language="def"
    mailfrom="Synology DiskStation"
    maillang="krn"
    manager="Synology DiskStation"
    max_btrfs_snapshots="65536"
    max_c2fs_num="8"
    max_dr_replica="64"
    max_ha_spacecount="64"
    max_iscsiluns="512"
    max_iscsitrgs="256"
    max_snapshot_per_lun="256"
    max_snapshots_per_share="1024"
    max_volumes="1024"
    maxaccounts="16000"
    maxdisks="15"
    maxgroups="512"
    maxlanport="8"
    maxlogsize="64"
    maxprinters="2"
    maxshares="512"
    mem_max_mb="32768"
    mem_min_mb="4096"
    mfp_autotimer="60"
    mfp_manualtimer="300"
    myds_region_api_base_url="https://example.com"
    netbkp="yes"
    ntpdate_period="daily"
    ntpdate_run_client="yes"
    ntpdate_run_server="yes"
    ntpdate_server="time.google.com"
    ntpdate_server_backup=""
    online_help_base_url="http://help.synology.com/"
    package_update_channel="beta"
    pgsql_sys_max_connections="256"
    php_openbasedir_customize="no"
    pkg_source_trust_level="0"
    pkg_term_version="0003"
    pkgupdate_server="https://pkgupdate7.synology.com"
    portmap_admin="no"
    portmap_ftp="no"
    portmap_http="no"
    portmap_http_add="no"
    portmap_netbkp="no"
    portmap_netbkp_encrypt="no"
    printer_driver_host="https://global.download.synology.com/airprint/DSM7.0/latest"
    product="DiskStation"
    pswdprotect="no"
    pushbrowser_server="https://notification.synology.com/web/"
    pushservice_server="https://sns.synology.com/api/"
    redirect_server="https://gofile.me/"
    remain_life_mail_notify_thr_value="5"
    remain_life_show_thr_value="20"
    remain_life_thr_enable="yes"
    remain_life_thr_value="10"
    retain_admin_pwd="no"
    rss_server="http://example.com/null.xml"
    rss_server_ssl="https://example.com/null.xml"
    rss_server_v2="https://update7.synology.com/autoupdate/v2/getList"
    runupnp="no"
    s2s_task_max="16"
    sb_month_left_thres_value="6"
    sb_month_left_warn_enable="yes"
    sdcard_partition_warning_percent="0.05"
    sdcard_warning_percent="0.05"
    sdkversion="no"
    security_version_server="https://update7.synology.com/securityVersion"
    showdisktemperature="yes"
    small_info_path="https://example.com/null"
    smsinterval="1"
    smsneedinterval="no"
    smspass=""
    smsphone1=""
    smsphone2=""
    smsport="80"
    smssepchar="+"
    smsserver="clickatell"
    smsssl="yes"
    smstemplate="https://api.clickatell.com/http/sendmsg?user=@@USER@@&password=@@PASS@@&api_id=3148203&to=@@PHONE@@&text=@@TEXT@@"
    smstest="no"
    smsuser=""
    standby_force="yes"
    standbytimer="0"
    strong_password_enable="yes"
    supplang="enu,cht,chs,krn,tha,ger,fre,ita,spn,jpn,dan,nor,sve,nld,rus,plk,ptb,ptg,hun,trk,csy"
    supportMFP="yes"
    supportMTU="yes"
    supportNFS="yes"
    supportNFSKerberos="yes"
    supportTc="yes"
    supportVLAN="yes"
    support_aesni_intel="yes"
    support_app_privilege="yes"
    support_apparmor="yes"
    support_audio="yes"
    support_auto_poweron="yes"
    support_auto_repair="yes"
    support_btrfs="yes"
    support_buzzer="yes"
    support_c2fs="yes"
    support_cable_overview="no"
    support_chassis_sn="no"
    support_config_swap="yes"
    support_console_port="yes"
    support_diffraid="yes"
    support_directory_service="yes"
    support_disk_compatibility="yes"
    support_disk_hibernation="yes"
    support_disk_latency_monitor="yes"
    support_disk_msgr="yes"
    support_disk_performance_test="yes"
    support_disk_report="yes"
    support_dr_replica="yes"
    support_dr_snap="yes"
    support_dsl_cmd="yes"
    support_ez_internet="yes"
    support_fan="yes"
    support_fan_adjust_dual_mode="yes"
    support_fast_repair="yes"
    support_fw_security="yes"
    support_group="yes"
    support_ha="yes"
    support_hfsplus_rw="yes"
    support_hotspare="yes"
    support_ihm="yes"
    support_img_backupd="yes"
    support_ipsec="yes"
    support_iscsi_btrfs_lun="yes"
    support_iscsi_lunbkp="yes"
    support_iscsi_plugin="yes"
    support_iscsi_target="yes"
    support_iscsi_target_block="no"
    support_led_behavior_v2="yes"
    support_mib="yes"
    support_mib_adv_mode="yes"
    support_mtd_serial="yes"
    support_online_compr_switch="yes"
    support_oob_ctl="no"
    support_ovs="yes"
    support_performance_event="yes"
    support_postgresql_data_checksums="yes"
    support_power_recovery="yes"
    support_power_schedule="yes"
    support_poweroff="yes"
    support_raid_disk_replacement="yes"
    support_raid_dummy_read="yes"
    support_s2s="yes"
    support_s2s_server="yes"
    support_sct_cmd="yes"
    support_share_encryption="yes"
    support_share_quota="yes"
    support_share_snapshot="yes"
    support_share_user_quota="yes"
    support_skip_copy="yes"
    support_spectre_meltdown_mitigation="yes"
    support_ssd_cache="yes"
    support_ssd_related_ui="yes"
    support_ssd_trim="yes"
    support_stgmgmt_task_queue="yes"
    support_storage_mgr="yes"
    support_synoacl="yes"
    support_synodrive_ability="no"
    support_synopkg="yes"
    support_sys_time="yes"
    support_task_scheduler="yes"
    support_timebkp_server="yes"
    support_trim="yes"
    support_vaai="yes"
    support_wdda="yes"
    support_webinstall="yes"
    support_wimax="yes"
    support_wireless="yes"
    support_wireless_number="2"
    support_wol="yes"
    support_wol_but_not_enable_ui="no"
    support_write_cache="yes"
    support_xa="no"
    support_zram="yes"
    supportadt7490="yes"
    supportdcacheui="yes"
    supportddns="yes"
    supportdomain="yes"
    supportext4="yes"
    supportfileindex="yes"
    supportfilestation="yes"
    supporthfsplus="yes"
    supportitunes="yes"
    supportldap="yes"
    supportmediaservice="yes"
    supportmemtest="yes"
    supportmount="yes"
    supportntfswrite="yes"
    supportphoto="yes"
    supportphotopersonal="yes"
    supportquota="yes"
    supportraid="yes"
    supportraidcross="yes"
    supportraidgroup="yes"
    supportrcpower="yes"
    supportrsrcmon="yes"
    supportsmart="yes"
    supportsnapshot="yes"
    supportssh="yes"
    supportstartupd="yes"
    supportsystemperature="yes"
    supportsystempwarning="yes"
    supporttrustdomain="yes"
    supportuart2="yes"
    supportups="yes"
    supportvideostation="yes"
    surveillance_camera_max="75"
    synobios="bromolow"
    sysctl_kernel.sem="250 32000 32 256"
    syslogport="514"
    systemfs="ext4"
    timebkp_max_task="16"
    timezone="Seoul"
    token_invalid_referer="fbsharing,fbdownload"
    token_valid_user_agent=""
    unique="synology_bromolow_3615xs"
    update_server="http://update7.synology.com/"
    update_server_ssl="https://update7.synology.com/"
    updateurl="http://example.com/"
    upgrade_pkg_dsm_notification="yes"
    upnpdevicetype="DiskStation"
    upnpfriendlyname="DiskStation Device"
    upnpmanufacturerurl="http://www.synology.com/"
    upnpmodeldescription="DiskStation UPnP Device"
    upnpmodelname="DS3615xs"
    upnpmodelurl=""
    usb_disk_warning_percent="0.05"
    usb_partition_warning_percent="0.05"
    usbbkp="yes"
    usbcopy="no"
    usbportcfg="0x8700"
    use_reserved_more_gdt="no"
    vender="Synology Inc."
    vpn_conn_max="60"
    vs_version="1.1"
    win98autodisconnect="yes"
    wins="none"
    wol_enabled_options="g"
    dsm_installation_id="77368dfe-3766-4e70-896f-3f68ba4b8f0f"
    rolling_group_id="5875"
    disable_volumes=""
    userpreference_realpath="/volume1/@userpreference"
    smbxferlog="yes"
    install_agent="webinstall"
    ip_country="KR"
    admin_configured="yes"
    usb_standbytimer="0"
    dsm6_upgrade_to_dsm7_done="yes"
    last_admin_login_build="422180"
    upgrade_pkg_email_notification="no"
    enable_pkg_autoupdate_all="no"
    enable_data_collect="no"
    udc_check_state="7.0.1"
    confautobkp_check_state="done"
    mib_check_state="7.0.1GM"
    welcome_hide="yes"
    promotion_hide="yes"
    showpooltab="yes"
    first_admin_login_done="yes"
    user_saw_new_upgrade_setting_toast="1"
    portcheck="yes"
    forget_password_enable="no"
    enable_homeshare_recyclebin="yes"
    userHomeEnable="yes"
    sftpPort="22"
    rsync_sshd_port="22"
    afpxferlog="yes"
    ssh_port="22"
    pkg_def_intall_vol=""
    pushservice_ds_info_updated="no"
    rsync_account="no"
    # Fixed items
    runmediaservice="no"
    # Fixed items
    support_spectre_meltdown_mitigation_full="yes"
    HddEnableDynamicPower="yes"
    group_thread_cnt="auto"
    is_business_model="no"
    support_tutorial="yes"
    support_syno_hybrid_raid="yes"
    supportnvme="yes"
    sdcopy="no"
    autoblock_size_notified="1"
    thumb_conv_quality="high"
    thumb_conv_paused="no"
    thumb_conv_resume_time="0"
    webfm_use_unix_perm="yes"
    enable_list_usergrp="yes"
    enable_view_google="no"
    enable_view_microsoft="no"
    enable_send_email_attachment="no"
    filebrowserxferlog="yes"
    sharing_default_limit="1000"
    FB_SHARING_HTML_SETTING="true"
    FB_SHARING_GOFILE_PROTOCOL="http"
    FB_SHARING_CUSTOM_SETTING="false"
    FB_SHARING_SETTING="all_user"
    FILE_REQUEST_SETTING="all_user"
    smtp_mail_enabled="yes"
    sendnewusermail="yes"
    multi_gateway="yes"
    webdavxferlog="yes"
    # Fixed items
    # Fixed items
    ss_cms="yes"
    supportsurveillance="yes"
    ss_vs="yes"
    ss_sync_event_player="yes"
    # Fixed items
    support_download="yes"
    afp_umask="yes"
    maxdisk="12"
    external_device_support_exfat="yes"
    root@https11qkr:/# cat /etc/synoinfo.conf | grep cfg
    buzzeroffcfg="0x0"
    esataportcfg="0x0"
    internalportcfg="0x78FF"
    usbportcfg="0x8700"
    root@https11qkr:/# history
    

    ▶ /etc/synoinfo.conf 정보확인 입력

    root@https11qkr:/# cat /etc/synoinfo.conf | grep cfg

    buzzeroffcfg="0x0"
    esataportcfg="0x0"
    internalportcfg="0x78FF"
    usbportcfg="0x8700"


    http://zective.com/code/xpenology/

    으로  구성설정을 접속 입력  확인 합니다


    1. /etc/synoinfo.conf
    2. /etc.defaults/synoinfo.conf

    위 2가지 파일 중 하나를 에디터(vi, vim, nano 등)로 열어 다음의 헥사 값을 입력하세요.

    usbportcfg      = "0x"
    esataportcfg    = "0x"
    internalportcfg = "0x"
    확인하기

    16151413121110987654321
    usbportcfg
    esataportcfg
    internalportcfg

    <주의> 제작자는 헥사값을 수정하여 발생되는 모든 결과에 대해 책임이 없습니다.

    원본 헥사값은 항상 백업해 두세요.

    3232235521_1639811125.9184.png

    제공하신 소스를 상기 html 소스를 저의웹사이트에 적용 해 봅니다

    https://11q.kr/Xpenology_SynoInfo/Xpenology_SynoInfo.htm

    3232235521_1639811846.5214.png

    c:\Users\shimss\Downloads\Xpenology_SynoInfo.zip

    파일을 저장 향후 연결 안될시 적용을 위하여  소장 저장 합니다 (파일 이름 변경)

    3232235521_1639811985.6318.png

    링크 내용에서 확인 하니

    ...중략....

    이제 구성 확인 작업은 사이트에  적용하고 값을 확인 할수 있습니다

    확인해보니 설정파일을 수정하면 된다고 해서 수정해봤습니다

    먼저 수정해야하는 파일은

    /etc/synoinfo.conf

    /etc.defaults/synoinfo.conf

    2개입니다

    수정해야할곳은 각각 두곳입니다

    먼저 telnet/ssh로 접속후 sudo -i를 통해 root권한을 얻은후 vi로 해당 파일을 엽니다

    수정해야하는 값은

    esataportcfg

    internalportcfg

    2개입니다 (만일 현제 장착된 디스크의 개수가 maxdisks값으로 지정된걸 다 쓰고 있어서 그걸 초과해야 하는 경우 해당 값을 포함하여 3군데 수정하셔야 합니다)

    먼저 기본값을 메모해둡니다 (DS918+ 기준으로 internal이 0xffff이고, esata가 0x0입니다)

    hex를 수동으로 계산해도 되지만, 간단하게 계산하게 해주는

    ...중략

    상기 정보 입니다

    수정부분)

    내용중에

    다음과 같이 되어야 합니다 (maxdisks가 16인 918+의 기본값 기준으로 다음과 같이 됩니다 /저는 ds3615)
    만일 부트로더용 usb의 grub.cfg의 SataPortMap값이 maxdisks보다 작다면 해당 부분도 수정해주세요

    > SataPortMap값 16 인지 12인지 결정 필요
    k:\1__redpill_synology_bootloader\20211119\lock\grub_3615\grub.cfg 파일 구성에서
    > 기존 SataPortMap=66  를  SataPortMap=>>

    > fdisk -l  내용 구성 확인

    
    root@https11qkr:/# fdisk -l
    Disk /dev/synoboot: 128 MiB, 134217728 bytes, 262144 sectors
    Disk model: TYPE D 3SE
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xf110ee87
    Device         Boot  Start    End Sectors Size Id Type
    /dev/synoboot1        2048 100351   98304  48M 83 Linux
    /dev/synoboot2      100352 253951  153600  75M 83 Linux
    /dev/synoboot3      253952 262143    8192   4M 83 Linux
    
    Disk /dev/sdc: 900 GiB, 966367641600 bytes, 1887436800 sectors
    Disk model: Virtual SATA Hard Drive
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x7f9c6a76
    Device     Boot   Start        End    Sectors   Size Id Type
    /dev/sdc1          2048    4982527    4980480   2.4G fd Linux raid autodetect
    /dev/sdc2       4982528    9176831    4194304     2G fd Linux raid autodetect
    /dev/sdc3       9437184 1887231999 1877794816 895.4G fd Linux raid autodetect
    
    Disk /dev/sdd: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Disk model: Virtual SATA Hard Drive
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xd0b63f86
    Device     Boot   Start        End    Sectors  Size Id Type
    /dev/sdd1          2048    4982527    4980480  2.4G fd Linux raid autodetect
    /dev/sdd2       4982528    9176831    4194304    2G fd Linux raid autodetect
    /dev/sdd3       9437184 3906824351 3897387168  1.8T fd Linux raid autodetect
    
    Disk /dev/sde: 594 GiB, 637802643456 bytes, 1245708288 sectors
    Disk model: Virtual SATA Hard Drive
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x457e19ea
    Device     Boot   Start        End    Sectors   Size Id Type
    /dev/sde1          2048    4982527    4980480   2.4G fd Linux raid autodetect
    /dev/sde2       4982528    9176831    4194304     2G fd Linux raid autodetect
    /dev/sde3       9437184 1245503487 1236066304 589.4G fd Linux raid autodetect
    
    Disk /dev/md0: 2.4 GiB, 2549940224 bytes, 4980352 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/sdu: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
    Disk model: P3 Portable
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: gpt
    Disk identifier: 13B0A4D5-7E9A-4FF3-84F7-B426910FD709
    Device      Start        End    Sectors  Size Type
    /dev/sdu1    2048     616447     614400  300M EFI System
    /dev/sdu2  616448     649215      32768   16M Microsoft reserved
    /dev/sdu3  649216 3907028991 3906379776  1.8T Microsoft basic data
    
    Disk /dev/zram0: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram1: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram2: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram3: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram4: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram5: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram6: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/zram7: 900 MiB, 943718400 bytes, 230400 sectors
    Units: sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    
    Disk /dev/md1: 2 GiB, 2147418112 bytes, 4194176 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/md5: 1.8 TiB, 1995461165056 bytes, 3897385088 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/md2: 895.4 GiB, 961429897216 bytes, 1877792768 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/md4: 589.4 GiB, 632864899072 bytes, 1236064256 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg1-syno_vg_reserved_area: 12 MiB, 12582912 bytes, 24576 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg1-volume_1: 895 GiB, 960998932480 bytes, 1876951040 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg4-syno_vg_reserved_area: 12 MiB, 12582912 bytes, 24576 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg4-volume_2: 1.8 TiB, 1995012308992 bytes, 3896508416 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg3-syno_vg_reserved_area: 12 MiB, 12582912 bytes, 24576 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/vg3-volume_3: 589 GiB, 632433934336 bytes, 1235222528 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/cachedev_0: 1.8 TiB, 1995012308992 bytes, 3896508416 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/cachedev_1: 589 GiB, 632433934336 bytes, 1235222528 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    
    Disk /dev/mapper/cachedev_2: 895 GiB, 960998932480 bytes, 1876951040 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    root@https11qkr:/#
    

    ===============

    기타 참조 사이트 링크 정보 ....> hex를 계산는 참조만

    먼저 https://www.binaryhexconverter.com/hex-to-binary-converter등을 써서 지금 현제의 usb값을 2진수로 변환합니다

    다음 해당 2진수값을 다시 https://www.binaryhexconverter.com/binary-to-hex-converter에 붙여넣고 변환해서 hex로 바꿉니다

    =============
    저는 내부 구성만 정리 해봅니다
    기존
    3232235521_1639811846.5214.png

    3232235521_1639814117.4945.png

    새로운 헥사 값입니다.

    1. /etc/synoinfo.conf
    2. /etc.defaults/synoinfo.conf

    위 2가지 파일 모두 다음 값으로 수정하세요.

    usbportcfg="0xf000"
    esataportcfg="0x0"
    internalportcfg="0xfff"

    수정이 모두 완료됐으면 Xpenology 재시작하세요.

    ================

    수정1 테스트 작업 수정

    /etc/synoinfo.conf

    /etc.defaults/synoinfo.conf

    수정2 테스트 작업 수정

    greb.cfg 변경 은 ????

    기존

    DiskIdxMap=00

     SataPortMap=66

    SasIdxMap=0

    조건

    DiskIdxMap=0
    SataPortMap=6
    SasIdxMap=0xffffffff3

    ...변경 없이  관찰.....


    =================

    부팅된 나의 grub.cfg 값

    root@https11qkr:/# cat /proc/cmdline

    BOOT_IMAGE=/zImage DiskIdxMap=00 mac1=XXYYXXYYXXYY netif_num=1 earlycon=uart8250 ,io,0x3f8,115200n8 syno_hdd_powerup_seq=0 synoboot_satadom=1 syno_hdd_detect=0 console=ttyS0,115200n8 sn=1510LWN009000 root=/dev/md0 SataPortMap=66 HddHotplug=0  withefi SasIdxMap=0 syno_hw_version=DS3615xs vender_format_version=2

    root@https11qkr:/#

    --------- 변경전 설정값 ----

    DiskIdxMap=00
    SataPortMap=66
    SasIdxMap=0
    --- 확인작업 ----------

    cat /etc/synoinfo.conf | grep "cfg"


    root@https11qkr:/# cat /etc/synoinfo.conf | grep "cfg"

    buzzeroffcfg="0x0"

    esataportcfg="0x0"

    internalportcfg="0x78FF"

    usbportcfg="0x8700"

    root@https11qkr:/#

    에서 구성 확인
    3232235521_1639825945.8823.png

    3232235521_1639825640.471.png
    ----test1 ---------------
    DiskIdxMap=0
    SataPortMap=6
    SasIdxMap=0xffffffff3
    변경내용 grub.cfg 변경만으로  무엇이 잘못 하는것으로 변동이 없네요

    DiskIdxMap=XXYYZZ(16진수: XX는 첫 번째 컨트롤러의 첫 번째 디스크 위치, YY는 두 번째 컨트롤러의 첫 번째 디스크 위치, ZZ는 세 번째 컨트롤러의 첫 번째 디스크 위치)
    SataPortMap=ABC(십진수: A는 최대값 첫 번째 컨트롤러의 디스크, B는 두 번째 컨트롤러의 최대 디스크, C는 세 번째 컨트롤러의 최대 디스크 수)
    08 이외의 XX 또는 YY 또는 ZZ를 설정  하려면 인터넷에서 Decimal to HEX 변환기 를 사용할 수 있습니다 . 간단한 0-15 변환은 다음과 같습니다.
    https://www.binaryhexconverter.com/decimal-to-hex-converter

    참고 URL: 펌자료 정보

    http://zective.com/code/xpenology/

    https://blog.dateno1.com/?p=1733

    https://menya.tistory.com/24

    https://www.2cpu.co.kr/nas/35777?&sfl=wr_subject%7C%7Cwr_content&stx=DiskIdxMap&sop=and

    [3]: https://gugucomputing.wordpress.com/2018/11/11/experiment-on-sata_args-in-grub-cfg/

    [4]: https://www.2cpu.co.kr/nas/14902?&sfl=wr_content&stx=diskidx&sop=and



     https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠1.png

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    DiskIdxMap=0
    SataPortMap=6
    SasIdxMap=0xffffffff3
    DiskIdxMap=XXYYZZ(16진수: XX는 첫 번째 컨트롤러의 첫 번째 디스크 위치, YY는 두 번째 컨트롤러의 첫 번째 디스크 위치, ZZ는 세 번째 컨트롤러의 첫 번째 디스크 위치)
    SataPortMap=ABC(십진수: A는 최대값 첫 번째 컨트롤러의 디스크, B는 두 번째 컨트롤러의 최대 디스크, C는 세 번째 컨트롤러의 최대 디스크 수)
    08 이외의 XX 또는 YY 또는 ZZ를 설정  하려면 인터넷에서 Decimal to HEX 변환기 를 사용할 수 있습니다 . 간단한 0-15 변환은 다음과 같습니다.
    https://www.binaryhexconverter.com/decimal-to-hex-converter

    DiskIdxMap=XXYYZZ (HEXadecimal number: XX is the location of first disk of 1st controller, YY  is the location of first disk of 2nd controller, ZZ is the location of first disk of 3rd controller)
    SataPortMap=ABC (Decimal number: A is max disks of 1st controller, B is max disks of 2nd controller, C is max disks of 3rd controller)

    if you would like to set XX or YY or ZZ other than 08, you may use Decimal to HEX converter from the internet. The simple 0-15 conversion is listed below:

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    root@https11qkr:/# cat /proc/cmdline
    BOOT_IMAGE=/zImage DiskIdxMap=00 mac1=XXYYXXYYXXYY netif_num=1 earlycon=uart8250                                                  ,io,0x3f8,115200n8 syno_hdd_powerup_seq=0 synoboot_satadom=1 syno_hdd_detect=0 c                                                  onsole=ttyS0,115200n8 sn=1510LWN009000 root=/dev/md0 SataPortMap=66 HddHotplug=0                                                  withefi SasIdxMap=0 syno_hw_version=DS3615xs vender_format_version=2
    root@https11qkr:/#

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    만일 부트로더용 usb의 grub.cfg의 SataPortMap값이 maxdisks보다 작다면 해당 부분도 수정해주세요

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    통통9 2019-05
    https://menya.tistory.com/24
    18베이 헤놀로지(xpenology) 구축기
    천천히 보시면서 따라해 보세요. 제가 헤놀로지 14베이 만들 때 참고한 곳입니다.

    본문 글과 댓글로 하드웨어 구성을 상상하면
    ---------------------------------------------------------------------------
    eslim 내장 레이드 + 9280-24i4e + SSD 2개 + HDD 20개 이상 으로 생각됩니다.
    내장 레이드에 SSD 2개 연결
    추가 레이드(9280-24i4e)에 HDD 20개 연결
    ---------------------------------------------------------------------------

    모두 이렇게 연결되었다 치고, 제가 설치한다치면
    내장 레이드 + 외장 레이드 인식 위해 확장드라이버(extra.lzma) 가 적용된 부트로더 이미지를 사용하고
    부트로더 이미지의 grub.cfg 의 sataportmap=22 (SSD=2개+HDD=20개. 총 22개)로 변경,
    주의 :  헤놀로지 6.x 버전 기준으로 sataportmap 에 달린 HDD, SSD 숫자의 총합만 넣어도 되는 경우 또는
    내부sata+레이드카드 순으로 각각 기입해줘야 하는 경우가 있었습니다. 모두 다 해보고 되는 설정을
    사용하면 됩니다.

    위와 같이 설정 후 만들어진 부팅 USB로
    헤놀로지 설치를 마친 후,
    ssh 를 켜고 접속해 아래 2 파일안에 아래 내용을 적고 재부팅 하면 안 보였던 것들이 모두 보이게 될 겁니다.
    --------------------
    maxdisks="24"    <-----  실제 달린 저장장치들 갯수 보다 더 높은 숫자를 입력. 되도록 달 수 있는 최대 수를 입력
    usbportcfg="0xc00000"    <--- 그냥 따라 적으면 무리 없었음
    esataportcfg="0x0"          <--- 그냥 따라 적으면 무리 없었음
    internalportcfg="0x3fffff"    <--- 그냥 따라 적으면 무리 없었음
    ------------------------

    /etc/synoinfo.conf
    /etc.defaults/synoinfo.conf

    헤놀로지 설치하다 크고 작은 이유로 설치가 되지 않을 수 있습니다.

    잘 해결 되시길 바라며 이만 줄입니다.

    profile_image

    Duynguyen님의 댓글

    no_profile Duynguyen 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (27.♡.48.249) 작성일



    • 일간 조회수
        • 게시물이 없습니다.
    • 주간 조회수
        • 게시물이 없습니다.
    • 월간 조회수
        • 게시물이 없습니다.


    Total 1,746 / 3 Page
    [ ● ubuntu rebooting시 자동화 설정 crontab start 하기 ]

    ● ubuntu rebooting시 자동화 설정 crontab start 하기하기와 같이 설치 설정시 재시작이 자동으로 되지 않는다apt ins…

    [ ● ubuntu 설치된 패키지 apt-clone 저장 백업 복원하기 ]

    ● ubuntu 설치된 패키지apt-clone 저장 백업 복원하기Apt-clone, Ubuntu에 설치된 패키지 복제https://github.…

    [ ● DSM 7.1.1-42962 Update 3 (릴리스 노트) ]

    ●DSM 7.1.1-42962 Update 3 (릴리스 노트)버전: 7.1.1-42962 업데이트 3(2022-12-08)중요 사항Synolo…

    [ ● 작업) 헤놀로지(시놀로지)에 Hass.io 설치하기 ]

    ● 작업)헤놀로지(시놀로지)에 Hass.io 설치하기 패키지 소스 확인 > 추가 하기https://synocommunity.com/쉬운 설…

    [ ● synology dsm7 Home Assistant설치하기 ] 댓글 3

    ● synology dsm7Home Assistant설치하기 초기설치후 동작▶ 설치 진행- 파일 다운 볼륨생성 환경변수 추가저장 메뉴방식으로 설…

    [ ● MobaXterm terminal 로 사용 포트 확인하기 ]

    ● MobaXterm terminal 로 ip별 사용 포트 확인하기내부및 외부 모두 사용중인 ip별 port scan 가능합니다예) 내부로컬은 …

    [ ● Synology NAS의 Let 's Encrypt에서 인증서를 어떻게 얻습니까? ]

    ●Synology NAS의 Let 's Encrypt에서 인증서를 어떻게 얻습니까? 이 문서에서는 Synology NAS의 Let 's Encr…

    [ ● 안드로이드 스마트폰에서 x-plore로 간단한 시놀로지 로컬ip로 시놀로지 서버접속 하기 ]

    ● 안드로이드 스마트폰에서 x-plore로간단한 시놀로지 로컬ip로 시놀로지 서버접속 하기 ▶안드로이드 스마트폰에서 x-plore로 접속 하기 …

    [ ● 로컬 시놀로지서버 WebDAV Server 구성 웹브라우즈로 접속하기 ]

    ● 로컬 시놀로지서버WebDAV Server 구성 웹브라우즈로 접속하기구성1) WebDAV ServerWebDAV는 사용자가 원격 서버에 저장된…

    [ ● 시놀로지 ipcamera / 카메라 동작 감지 녹화 설정 / 동작감지 이메일 알림 활성화로 카카오 문자 … ] 댓글 2

    ● 시놀로지 ipcamera / 카메라 동작 감지 녹화 설정 / 동작감지 이메일 알림 활성화로 카카오 문자 받기시놀로지 카메라를 가정내 활용하는…

    [ ● 헤놀로지 패키지 설치가 안될때 수정 방법 ]

    ●헤놀로지패키지 설치가 안될때 수정 방법https://www.clien.net/service/board/cm_nas/17487216?od=T31…

    [ ● 현관문카메라설치)amazon/아마존직구 Amcrest camera구입 설정작업 )시놀로지 ipcamer… ] 댓글 10

    빅스비 루틴으로 카메라 이밴트 gmail 수신시 스마트폰에서 자동으로 카메라뷰 실행하기https://11q.kr/www/bbs/board.php…

    [ ● 패키지 센터 연결하지 못했습니다 문제 해결 ]

    ●패키지센터 연결하지 못했습니다 문제해결 sudo -i mv /etc/ssl/certs/ca-certificates.crt /etc/ssl/ce…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-04-23 18:03:59

    오늘의 홈 현황


    • 현재 접속자♨ 93 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 8 명
    • 주간 가입자※ 21 명
    • 오늘 방문자 1,064 명
    • 어제 방문자 1,283 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,285,022 명
    • 전체 게시물※ 8,531 개
    • 전체 댓글수※ 24,500 개
    • 전체 회원수 10,925 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑