You will need to reinstall. Install the openmediavault-flashmemory plugin from the testing repo
Actually you said he should reinstall and use the fs2ram plugin. Not use a new SD for a reinstall
You will need to reinstall. Install the openmediavault-flashmemory plugin from the testing repo
Actually you said he should reinstall and use the fs2ram plugin. Not use a new SD for a reinstall
You cut out the part about the card probably failing... I guess that meant use a new card to me.
But just probably. Just kiddin´ Aaron.
OK, so I did cut out the part about SD card failing and skipped to the plugin part - SORRY!
Anyway I've did tried second card and that one didn't even boot, but there is a double facepalm picture here for a reason as I forgot to mention that I am using micro SD card with the SD adapter and after changing the micro cards I've realized that maybe, just maybe it would be a good idea to try different adapter.
Long story short - I am using 8 GB micro card that wasn't working before, but with new SD adapter and for the moment it's working (few reboots and shutdowns.
Once again thanks for the help and sorry for my embarrassment.
Turns out I was celebrating too early as the issue came back. I've bought new Sandisk class 10 micro SDHC card with Sandisk SD adapter and all for nothing as it didn't solve the problem
What is the output of the following (before and after it stops working if you can):
blkid
fdisk -l
mount
cat /etc/fstab
Bellow are the results when OMV is working:
root@bananas:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat"
/dev/mmcblk0p2: UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4"
/dev/sda1: LABEL="BanaNas" UUID="ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4" TYPE="ext4"
root@bananas:~# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 67.1 GB, 67108864000 bytes
256 heads, 63 sectors/track, 8126 cylinders, total 131072000 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 identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 131071999 65535999+ ee GPT
Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 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 identifier: 0x000b5098
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 7167999 3522560 83 Linux
root@bananas:~# mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=447576k,nr_inodes=111894,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=89540k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=179060k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sda1 on /media/ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4 type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
root@bananas:~# cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
UUID=ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4 /media/ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
Alles anzeigen
and here are the results when it's not working:
root@bananas:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat"
/dev/mmcblk0p2: UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4"
root@bananas:~# fdisk -l
Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders, total 15523840 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 identifier: 0x000b5098
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 7167999 3522560 83 Linux
root@bananas:~# mount
/dev/root on / type ext4 (rw,noatime,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=447576k,nr_inodes=111894,mode=755)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=89540k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=179060k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,errors=remount-ro)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /var/log type tmpfs (rw,relatime)
tmpfs on /var/cache type tmpfs (rw,relatime)
tmpfs on /var/tmp type tmpfs (rw,relatime)
root@bananas:~# cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
UUID=ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4 /media/ef952c55-7334-4a9c-8a0d-7ec7a41fb8a4 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]
Alles anzeigen
Those are the results without flashmemory plugin configured, as I was afraid that I've done it wrong.
Anyway regardless the plugin the issue starts up after shutdown/reboot.
This isn't an OMV (or flashmemory) issue. The drive is not even recognized by Bananian/Linux in your output where it is not working. If the drive does not show in fdisk, linux does not know it is attached. It must be a bug with driver that the usb stick uses or Bananian or maybe even the BananaPi firmware. Hard to say. I don't have one anymore so I can't test. Maybe the output of dmesg after it stops working would tell you more.
Thank you very much Aaron, you have no idea how grateful I am for your support as I am a Windows guy and even the basic Linux commands are like quantum physics to me.
I've posted this issue on BananaPi forum, so hopefully someone would reply. Meanwhile I will switch to Raspbian as it seemed to work OK before, but OMV is so much better for me ("easy" web GUI), but as a poet onces said: "You can't always get what you want"
Once again thanks for your help and time you spend on this.
You can install OMV on Raspbian That is what the OMV RPi images use.
Everything is working now - THANK YOU ONCE AGAIN. Turns out that it was usb port that didn't support the flash drive correctly (at least in my case). I've connected external HDD, but the BananaPi was switching off (I'm guessing it didn't had enough power to run the external drive). So I've connected the drive to USB hub with external power source and configured everything from the start. It's been a week now without problem, so I hope it will stay that way. And turns out I was able to use NTFS format without a problem. It's probably obvious to you, but I thought it can be only EXT3/4 - better learn later than ever :).
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!