Re: [slim] SD card unreadable after power cut

2020-11-28 Thread Redrum


jouteur wrote: 
> ok thanks, I guess for me LMS is the important thing, so even if the
> system is rebooted I will have to reinstall LMS, but ok
> thanks

I read through this thread, and thought I would offer a thought. I ran
lms only (no player) on pCP with a USB HHD library. I initially moved
the LMS cache and prefs to the USB HDD. We have frequent power failures.
Everytime (I thought) I had to do a rebuild, unintally/reinstall LMS,
etc, but what was really happening is the pcp would come back up and not
be able to find the HDD to properly start/run (?) LMS. I finally
streamlined my thrashing about to unmounting, then remount the HDD and
things would be fine.

I then moved the LMS Prefs and Cache back to the SD, and no more
remounting. When power comes back up I still have to do a
shutdown/restart to get the time issue resolved but...

Further Paul- suggested I use a 3rd partition for LMS data (in case of
corruption, the pcP partition is not affected), and that is what I do.

So, I guess the reason for my post (after all that) - are you sure you
have to rebuild, or do you have a situation like mine? Where is your
caches/prefs?

Jim



Redrum's Profile: http://forums.slimdevices.com/member.php?userid=33806
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread jouteur


paul- wrote: 
> When running LMS on piCorePlayer, this is one reason for putting the
> database on a separate partition.   And while the database partition
> might get corrupted, at least the system will still boot.
> 
> There is a fsck mechanism in pCP (Undocumented).   Adding forcefsck to
> the command line will cause the root file system to be checked.  I may
> end up adding this to any system running LMS, but for those using player
> features only, this just slows down the boot process.

ok thanks, I guess for me LMS is the important thing, so even if the
system is rebooted I will have to reinstall LMS, but ok
thanks



jouteur's Profile: http://forums.slimdevices.com/member.php?userid=67128
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread paul-


When running LMS on piCorePlayer, this is one reason for putting the
database on a separate partition.   And while the database partition
might get corrupted, at least the system will still boot.

There is a fsck mechanism in pCP (Undocumented).   Adding forcefsck to
the command line will cause the root file system to be checked.  I may
end up adding this to any system running LMS, but for those using player
features only, this just slows down the boot process.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread jouteur


garym wrote: 
> Many people say that they have power cuts that don't corrupt the SD
> card. It's just a matter of luck I think.  I plug my rPi into a
> Uninterruptible -Power- Supply (-UPS-), which will keep supplying power
> from battery for 30 minutes or so.  This solves the short power cuts
> (which we have here in Florida with thunderstorms, etc.).  Another thing
> you might do is make backup copies of your SD card. So you can simply
> insert new card and all is back to normal.

yes indeed, I used to be fine with power cut and that SD card, but not
anymore...bah
thanks for the tip



jouteur's Profile: http://forums.slimdevices.com/member.php?userid=67128
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread garym


jouteur wrote: 
> ok thanks, no other way then to reboot the system then with LMS on and a
> non wanted poower cut
> 
> thanks for the info
> always a great forum
> 
> take care

Many people say that they have power cuts that don't corrupt the SD
card. It's just a matter of luck I think.  I plug my rPi into a
Uninterruptible -Power- Supply (-UPS-), which will keep supplying power
from battery for 30 minutes or so.  This solves the short power cuts
(which we have here in Florida with thunderstorms, etc.).  Another thing
you might do is make backup copies of your SD card. So you can simply
insert new card and all is back to normal.



*Home:* VBA2.5 4TB -or- rPi4B/pCP6.1/4TB>LMS 8.0.x>Transporter, Touch,
Boom, Radio (all ethernet)
*Cottage:* rPi4B/pCP6.1/4TB>LMS 8.0.x>Touch>Benchmark DAC I, Boom, Radio
w/Battery (ethernet except Radio WIFI)
*Office:* Win10(64)>foobar2000
*The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS &
Squeezelite) 
*Controllers:* iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin,
or SqueezePlay 7.8 on Win10(64)
*Files:* -Ripping-: dbpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes;
-Streaming:- Spotify

garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread jouteur


ok thanks, no other way then to reboot the system then with LMS on and a
non wanted poower cut

thanks for the info
always a great forum

take care



jouteur's Profile: http://forums.slimdevices.com/member.php?userid=67128
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread garym


bpa wrote: 
> PCP started as a player only system - so that when running everying is
> in RAM, no sdcard access and so no effect if you pull power cord.
> 
> If LMS is running onPCP system then sdcard (and maybe USB disk) is being
> used and the promise of no problem if you the pull the power cord is not
> possible. If LMS is running you should shut LMS down before pulling
> power.

in piCorePlayer webGUI, on the "main" tab, it is best to use the proper
shutdown when running LMS on the rPi, which will shutdown LMS and the
rPi properly.  See picture.

32352


+---+
|Filename: Capture.PNG  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=32352|
+---+


*Home:* VBA2.5 4TB -or- rPi4B/pCP6.1/4TB>LMS 8.0.x>Transporter, Touch,
Boom, Radio (all ethernet)
*Cottage:* rPi4B/pCP6.1/4TB>LMS 8.0.x>Touch>Benchmark DAC I, Boom, Radio
w/Battery (ethernet except Radio WIFI)
*Office:* Win10(64)>foobar2000
*The Wild: *rPi3B+/pCP4.0, hifiberry Dac+Pro, 4TB USB (LMS &
Squeezelite) 
*Controllers:* iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin,
or SqueezePlay 7.8 on Win10(64)
*Files:* -Ripping-: dbpoweramp > FLAC; -Post-rip-: mp3tag, PerfectTunes;
-Streaming:- Spotify

garym's Profile: http://forums.slimdevices.com/member.php?userid=17325
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread bpa


jouteur wrote: 
> Hi long time no talk
> 
> this card is for a server, I use it for my logitech touch...
> thanks for the tip..
> 
> any ideas why the SD crash..? it used not too, maybe too old?

PCP started as a player only system - so that when running everying is
in RAM, no sdcard access and so no effect if you pull power cord.

If LMS is running onPCP system then sdcard (and maybe USB disk) is being
used and the promise of no problem if you the pull the power cord is not
possible. If LMS is running you should shut LMS down before pulling
power.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread KeBul


Hi Jouteur,

When you say you can't connect to Pi after a power fail... is that
connect to LMS on the Pi? or piCorePlayer on the Pi?

If it's piCorePlayer then I'd suspect your card, but you could try
stopping LMS and shutting down piCorePlayer and then power cycle to see
if it survives that, if not then I'd definitely be looking at trying a
different card.

If it's just LMS that stops working, then it's not unusual for LMS
database and cache to get corrupted by a power fail, my sister's setup
suffers from this because she has a whole house RCD mains protector that
trips rather too keenly. In her case we can normally get back in via ssh
and pCP web interface to delete the Db and cache files and start again
without re-flashing the card.

I can't say for sure, but I think I've seen somewhere on the forum that
having a USB thumb drive on the Pi with LMS cache and Db files moved
onto it is more reliable, perhaps because it's an external drive the
data gets written out to the usb stick rather than cached in memory.

Kev



KeBul's Profile: http://forums.slimdevices.com/member.php?userid=32883
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread jouteur


Hi long time no talk

this card is for a server, I use it for my logitech touch...
thanks for the tip..

any ideas why the SD crash..? it used not too, maybe too old?

Cheers



jouteur's Profile: http://forums.slimdevices.com/member.php?userid=67128
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] SB2/3 clearout - UK

2020-11-28 Thread gvh


Hi,

as I build more PicorePlayers I have admitted to myself that hoarding
old SB2 and SB3 players is a little pointless. They are never going to
get used again.

So, is there much interest here?

I have two of each, maybe a box or two, a couple of power supplies.
However I do use the remotes with the picoreplayers so am not looking to
let them go.

I have not run them up and am happy to do that, but would assume they
have all the usual aging problems - display issues and some issues with
the analogue outputs. Of course they don't look so good.


I do have one killer feature - all 4 are Slim Devices!

I'm in the south of the UK, so if you are interested, let's have a chat.
I thought I would offer here first before widening the net.



gvh's Profile: http://forums.slimdevices.com/member.php?userid=1879
View this thread: http://forums.slimdevices.com/showthread.php?t=113326

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


Re: [slim] SD card unreadable after power cut

2020-11-28 Thread Man in a van


Well good day to you Sir

Is this card for a player or player server ?

You can make a copy of the card:

'Mac OS use Apple PI Baker
'
(https://www.tweaking4all.com/hardware/raspberry-pi/applepi-baker-v2/)
'Windows use Win32Disk Imager' (https://win32diskimager.org/)

I offer a couple of tips for the latter:

1) Create an empty folder on the Desktop (or wherever you want to save
the file)

2) Append the .img suffix to the file name when entering it into the
appropiate box (eg pcpbackupv6.1.0.img)

3) Tick the box marked "Read Only Allocated Partitions" this will give
the smallest image possible

4) Read the "ReadMe" of the download and run it as "as Administrator"

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss


[slim] SD card unreadable after power cut

2020-11-28 Thread jouteur


Hi guys

I have noticed since I reinstalled Picorplayer (was off for some times,
but back on for 6 months  now), that almost everytime I have a shut down
of the Raspberry (like a power cut) I cannot connect to the pi anymore.
I have to reformat the SD card.
I though because picorplayer is loaded on the memory of the pi that it
should not happen (like the SD is cannot be corrupted or something).

Any ideas?

Is there a way also to save the parameter and everything else of the LMS
player like that I don't have to do it again all those times.

Thank you for your help



jouteur's Profile: http://forums.slimdevices.com/member.php?userid=67128
View this thread: http://forums.slimdevices.com/showthread.php?t=113324

___
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss