Recently, my rockstor stopped loading. File rdsosreport.txt will be applied.
It seems that the root partition (/dev/sda3) on my USB flash is corrupted.
Partially I managed to restore content of this partition with the help of a btrfs restore command, so I can use it for future recovering of my rockstor instance,
Tell me, please, how can I reproduce or copy the new USB flash stick so as not to reinstall my rockstor instance from the scratch?
As you say it looks like the root filesystem has an issue. Btrfs will go read only in the event of an issue.
The simplest route back to functionality would be a re-install and pool import. Taking care to disconnect all data drives prior to re-installing: just in case. And only reconnecting them once all updates have been applied (post update channel selection); also best not to reconnect whilst machine is power up.
The following howto should help: Reinstalling Rockstor, note the Data Import section at the end.
I realise you asked for a non re-install option but they are way more complicated, plus you could always use a different system drive for the re-install, there by preserving the original install just in case it has some data on it, which is usually not the case anyway: unless you created any important shares on the system disk that is.
Hope that helps and do keep in mind that Rockstor can currently become confused is two system disks are attached simultaneously, as they usaually have the same label and so it âblendsâ (in the UI only) both rockstor_rockstor labels into the same pool. But you should be able to use the new system to attempt a repair on the old system but you would be better off using something like an openSUSE tumbleweed live boot usb for that as it will contain the latest kernel and btrfs. And in that vein Iâll link to their btrfs page which has a subsection: https://en.opensuse.org/SDB:BTRFS
âHow to repair a broken/unmountable btrfs filesystemâ
so if you fancied you could attempt a repair of this system diskâs sda3 btrfs. But make sure you disconnect all data drives prior to doing anything as you could easily damage accidentally, with a simply typo, your data pool.
So I say initially try the re-install on another system disk and see how that goes, remembering that it can take quite some time for all the updates to apply and rebooting in the middle of them has been reported to break some installs.
Many thanks for your help! I reinstalled the rockstor to different USB stick, everything seems to be working.
I have one small question, the message âblk_update_request: I/O error, dev fd0, sector 0â displayed on the screen constantly. This message displayed for old (now it is corrupted) USB stick too. Do you know what it can mean? Should I be worried about this?
The âdev fd0â in that message is with regards to a floppy disk drive. If you donât have a floppy disk drive, likely another device got labelled as a floppy drive by the kernel by mistake.
Likely if you run the following, you will see the floppy driver being loaded:
sudo lsmod | grep floppy
You can disable the floppy module by running the following:
echo âblacklist floppyâ | sudo tee /etc/modprobe.d/blacklist-floppy.conf
echo âinstall floppy /bin/falseâ | sudo tee -a /etc/modprobe.d/blacklist-floppy.conf
sudo dracut -f
Then reboot. This will prevent the floppy device driver module from being loaded.