Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
zordaz wrote: > I am afraid I don't know. no worries, it was easy to do using the GUI. audiomike's Profile: http://forums.slimdevices.com/member.php?userid=67968 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
audiomike wrote: > > > I suspect this was the cause of my corruption. If you happen to recall > how to turn this logging off (ideally via the command line), you'll save > me some time. I've tried searching a bit. > > Best I am afraid I don't know. *Living Room:* RPI2+HifiBerry DAC+ Pro & piCorePlayer *Attic:* RPI2+HifiBerry DAC+ RCA & piCorePlayer *Other rooms:* 6x SB Radio *LMS*: Version 8.2.0 on Xubuntu 21.10 zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
zordaz wrote: > > Btw: pCP runs completely into memory if you do playback only, so no > wear-out of your SD-card. That was my understanding. Looking at my RPi, I realized I had activated logging sometime in the past because I find the following in /var/log Code: tc@kitchen:/var/log$ ls -l total 3260 -rw-r--r--1 root root 0 Dec 31 1969 autologin -rw-r--r--1 root root 2940 Jan 11 08:05 pcp_boot.log -rw-r--r--1 root root 3331603 Jan 12 12:08 pcp_squeezelite.log drwxr-xr-x2 tc staff 100 Jan 12 11:09 slimserver/ tc@kitchen:/var/log/slimserver$ ls -l total 24 -rw-r--r--1 tc staff0 Jan 11 08:04 perfmon.log -rw-r--r--1 tc staff 906 Jan 12 12:09 scanner.log -rw-r--r--1 tc staff16744 Jan 11 17:45 server.log I suspect this was the cause of my corruption. If you happen to recall how to turn this logging off (ideally via the command line), you'll save me some time. I've tried searching a bit. Best audiomike's Profile: http://forums.slimdevices.com/member.php?userid=67968 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
audiomike wrote: > I was able to successfully copy the files over to a new SD card and it > seems to be working. The main challenge was getting confused with some > permission issues for the PCP_BOOT partition until I remembered it was > VFAT rather than ext4. I look forward to trying the upgrade from 7.0 to > 8.0 and then 8.1 to utilize the new backup abilities. If you are not using LMS of piCorePlayer the easiest and quickest way after a crash is to just do a full/clean reinstall and reconfig your pCP config manually, assuming that you don't have adjusted the config too much in the past. pCP runs completely into memory if you do playback only. *Living Room:* RPI2+HifiBerry DAC+ Pro & piCorePlayer *Attic:* RPI2+HifiBerry DAC+ RCA & piCorePlayer *Other rooms:* 6x SB Radio *LMS*: Version 8.2.0 on Xubuntu 21.10 zordaz's Profile: http://forums.slimdevices.com/member.php?userid=61726 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
I was able to successfully copy the files over to a new SD card and it seems to be working. The main challenge was getting confused with some permission issues for the PCP_BOOT partition until I remembered it was VFAT rather than ext4. I look forward to trying the upgrade from 7.0 to 8.0 and then 8.1 to utilize the new backup abilities. audiomike's Profile: http://forums.slimdevices.com/member.php?userid=67968 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
hi audiomike, Sorry to hear about your bad luck. My recommendation is to do what you don't want to do, so I can't help. :( regards Greg Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Restoring from SD Corruption of piCorePlayer
I'm looking for some input from those with more experience with this system. We had a power outage and my SD card got corrupted. I believe I was running piCorePlayer 6 or 7 (the file /boot/config.txt says things like `[PI0] initramfs rootfs-pCP-12.0.gz,modules-5.4.83-pcpCore.gz...` ). I've been able to copy most, if not all, of the files to my local linux laptop. (I view this as quite an accomplishment given that I couldn't actually mount the PCP_ROOT partition and had to copy it and then 'mount it using the -noload flag' (https://unix.stackexchange.com/a/554039/114944)). I am now wondering what's the best way to proceed. I'm reasonably linux savvy, but it's been over a year since I set up piCP and I remember it took me a while to understand all of the terminology related to the player, so I'd like to avoid starting from scratch again. I have a '/PCP_ROOT/tce/mydata.tgz' file from Apr 2021. I'm using a HiFi Berry Digi optical output to my receiver and wondering what's the best way to proceed. Any suggestions? I'd also love some suggestions on how to avoid a similar corruption event the next time there's a power outage. I was streaming from spotify at the time, so I guess it was writing and reading from the disk, but otherwise, I was surprised that the SD card got corrupted since my understanding is that the player and OS are loaded into memory rather than continually read from the SD card. Thanks, Mike audiomike's Profile: http://forums.slimdevices.com/member.php?userid=67968 View this thread: http://forums.slimdevices.com/showthread.php?t=115728 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix