N54L fresh install on usb flash Read-only file system

  • Done a fresh install on my N54L using the internal a brand new 32GB stick in the internal usb port


    ii openmediavault 6.0.24-1 all openmediavault - The open network attached storage solution


    However after installation is complete and rebooted the filesystem mounts as read-only, is it a dodgy usb drive or something else?



    # /etc/fstab: static file system information.

    #

    # Use 'blkid' to print the universally unique identifier for a

    # device; this may be used with UUID= as a more robust way to name devices

    # that works even if disks are added and removed. See fstab(5).

    #

    # systemd generates mount units based on this file, see systemd.mount(5).

    # Please run 'systemctl daemon-reload' after making changes here.

    #

    # <file system> <mount point> <type> <options> <dump> <pass>

    # / was on /dev/sdb1 during installation

    UUID=a6e85406-6507-4691-87db-ca5c12bfe60c / ext4 errors=remount-ro 0 1

    # swap was on /dev/sdb5 during installation

    UUID=478e3acd-d4b4-49c4-b758-7e38dffea016 none swap sw 0 0


    Code
    root@openmediavault:~# mount -o remount, rw /
    mount: /: cannot remount rw read-write, is write-protected.


    root@openmediavault:~# fdisk -l

    Disk /dev/sda: 28.91 GiB, 31037849600 bytes, 60620800 sectors

    Disk model: Flash Disk

    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: 0x5b1c8ff0

    Device Boot Start End Sectors Size Id Type

    /dev/sda1 * 2048 58619903 58617856 28G 83 Linux

    /dev/sda2 58621950 60618751 1996802 975M 5 Extended

    /dev/sda5 58621952 60618751 1996800 975M 82 Linux swap / Solaris


    root@openmediavault:~# fsck.ext4 -f /dev/sda1

    e2fsck 1.46.6 (1-Feb-2023)

    /dev/sda1: recovering journal

    Pass 1: Checking inodes, blocks, and sizes

    Pass 2: Checking directory structure

    Entry 'passwd' in /etc (1048577) has deleted/unused inode 1049077. Clear<y>? yes

    Pass 3: Checking directory connectivity

    Pass 4: Checking reference counts

    Pass 5: Checking group summary information

    Free blocks count wrong for group #129 (31519, counted=31520).

    Fix<y>? yes

    Free blocks count wrong (6656927, counted=6654874).

    Fix<y>? yes

    Inode bitmap differences: -1049077

    Fix<y>? yes

    Free inodes count wrong for group #128 (6635, counted=6636).

    Fix<y>? yes

    Free inodes count wrong (1794634, counted=1794626).

    Fix<y>? yes

    Block bitmap differences: Group 129 block bitmap does not match checksum.

    FIXED.

    /dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****

    /dev/sda1: ***** REBOOT SYSTEM *****

    /dev/sda1: 40382/1835008 files (0.1% non-contiguous), 672358/7327232 blocks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!