1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

AC68U+Merlin firmware(384.9)+Entware

Discussion in 'Asuswrt-Merlin' started by bigAboo, Mar 18, 2019.

  1. bigAboo

    bigAboo New Around Here

    Joined:
    Mar 18, 2019
    Messages:
    6
    Hi. :)
    My router after reboot changes disk names from sda to sdb & back, if I reboot another time. o_O
    I give labels to both disks - NET & NET2 ,but it happens again! :eek:
    WTF! :mad:
    What should I do to stop this?:(
     
  2. EmeraldDeer

    EmeraldDeer Senior Member

    Joined:
    Dec 22, 2017
    Messages:
    415
    Location:
    Massachusetts
    I do not know.

    Hypothetically you could use UUID instead of device in fstab, but the firmware does not use fstab on boot.
     
  3. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    8,103
    Location:
    UK
    The swapping of sda and sdb is well known, but if you have given each device different labels then in theory there is no way they can be swapped around.

    Next time it happens log onto the router and type "mount" to try and see what is happening.

    What filesystems are you using? ext2/3/4, FAT32, etc.?
     
  4. bigAboo

    bigAboo New Around Here

    Joined:
    Mar 18, 2019
    Messages:
    6
    NET - NTFS -/dev/sda
    NET2 -ext4 fdisk /dev/sdb2
    SWAP - /dev/sdb1
     
  5. bigAboo

    bigAboo New Around Here

    Joined:
    Mar 18, 2019
    Messages:
    6
    [email protected]:/tmp/home/root# mount
    rootfs on / type rootfs (rw)
    /dev/root on / type squashfs (ro,relatime)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=127744k,nr_inodes=31936,mode=755)
    proc on /proc type proc (rw,relatime)
    tmpfs on /tmp type tmpfs (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    devpts on /dev/pts type devpts (rw,relatime,mode=600)
    /dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
    usbfs on /proc/bus/usb type usbfs (rw,relatime)
    /dev/sdb2 on /tmp/mnt/NET2 type ext4 (rw,nodev,relatime,barrier=1,data=ordered)
    devtmpfs on /tmp/mnt/NET2/entware/debian/dev type devtmpfs (rw,relatime,size=127744k,nr_inodes=31936,mode=755)
    proc on /tmp/mnt/NET2/entware/debian/proc type proc (rw,relatime)
    sysfs on /tmp/mnt/NET2/entware/debian/sys type sysfs (rw,relatime)
    /dev/root on /usr/sbin/tc type squashfs (ro,relatime)
    /dev/sda1 on /tmp/mnt/NET type tntfs (rw,nodev,relatime,uid=0,gid=0,umask=00,allow_utime=0022,nls=utf8,min_prealloc_size=64k,max_prealloc_size=128M,readahead=1M,user_xattr,case_sensitive,nocache,fail_safe,hidden=show,dotfile=show,protected_system=show,errors=continue,mft_zone_multiplier=1)
    nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

    This is after reboot-all disks were mounted normally