Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-29 Thread Andrei POPESCU
On Sb, 29 ian 22, 16:39:31, Martin McCormick wrote: > > Many of the raspbian distributions have a #1 partition > that is a small fat32 lba partition for Windows users to be able > to activate debian from Windows. Is this even necessary once one > is using unix tools on the disk? At least f

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-29 Thread Martin McCormick
There's always one more question that nobody mentions and none of the articles one finds on the topic don't touch. When looking at the man page for resize2fs in debian, it talks about the -b option to turn on "the 64 bit feature." __ When shrinking the size of the partition, make

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-29 Thread Gareth Evans
> On 28 Jan 2022, at 20:40, David Wright wrote: > > On Fri 28 Jan 2022 at 18:22:37 (+), Gareth Evans wrote: >>> On 28 Jan 2022, at 18:16, Gareth Evans wrote: > On 28 Jan 2022, at 16:52, David Wright wrote: > On Fri 28 Jan 2022 at 07:30:25 (-0600), Martin McCormick wrote: >

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread tomas
On Fri, Jan 28, 2022 at 03:44:13PM -0500, Michael Stone wrote: [...] > The failure mode for these cards is typically that the whole thing goes > away, not that a single sector goes bad. As soon as one starts acting flaky, > just toss it. FWIW, I've an USB stick here (128GB) with an EXT4 file sys

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Michael Stone
On Fri, Jan 28, 2022 at 12:42:35PM -0600, Martin McCormick wrote: My thanks to everybody who has responded here. I think the prudent thing to do is use a new SSD card and I have one that is supposed to be a full 32 gb. The card I was able to finally clear the partitions on is several years old

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread David Wright
On Fri 28 Jan 2022 at 18:22:37 (+), Gareth Evans wrote: > > On 28 Jan 2022, at 18:16, Gareth Evans wrote: > >>> On 28 Jan 2022, at 16:52, David Wright wrote: > >>> On Fri 28 Jan 2022 at 07:30:25 (-0600), Martin McCormick wrote: > >>> David Wright writes: > I've not heard of that proble

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Martin McCormick
My thanks to everybody who has responded here. I think the prudent thing to do is use a new SSD card and I have one that is supposed to be a full 32 gb. The card I was able to finally clear the partitions on is several years old but I think it is still good but the suggestion to use it in a less

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Gareth Evans
> On 28 Jan 2022, at 18:16, Gareth Evans wrote: > >  > >>> On 28 Jan 2022, at 16:52, David Wright wrote: >>> >>> On Fri 28 Jan 2022 at 07:30:25 (-0600), Martin McCormick wrote: >>> David Wright writes: I've not heard of that problem. You were prevented from zeroing the entire d

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Gareth Evans
> On 28 Jan 2022, at 16:52, David Wright wrote: > > On Fri 28 Jan 2022 at 07:30:25 (-0600), Martin McCormick wrote: >> David Wright writes: >>> I've not heard of that problem. You were prevented from zeroing the >>> entire device, which would have wiped the partition table anyway. >>> >>> W

Re: SD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread David Wright
On Fri 28 Jan 2022 at 07:30:25 (-0600), Martin McCormick wrote: > David Wright writes: > > I've not heard of that problem. You were prevented from zeroing the > > entire device, which would have wiped the partition table anyway. > > > > What I would want to check is that the OS isn't doing someth

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Andrew M.A. Cater
On Fri, Jan 28, 2022 at 07:30:25AM -0600, Martin McCormick wrote: > David Wright writes: > > I've not heard of that problem. You were prevented from zeroing the > > entire device, which would have wiped the partition table anyway. > > > > What I would want to check is that the OS isn't doing some

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Michael Stone
On Fri, Jan 28, 2022 at 07:30:25AM -0600, Martin McCormick wrote: I suspect this is the crux of the problem. the adapter I connected is a card reader. You put the SSD in a little plastic jacket that holds the SSD in such a way that the card reader can access the edge connector but the h

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Martin McCormick
David Wright writes: > I've not heard of that problem. You were prevented from zeroing the > entire device, which would have wiped the partition table anyway. > > What I would want to check is that the OS isn't doing something > stupid, like trying to automount it, failing, and consequently > set

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-28 Thread Andrew M.A. Cater
On Fri, Jan 28, 2022 at 07:39:12AM +0100, to...@tuxteam.de wrote: > On Wed, Jan 26, 2022 at 09:07:31PM -0600, Martin McCormick wrote: > > Command (m for help): p > > Disk /dev/sdh: 28.8 GiB, 30908350464 bytes, 60367872 sectors > > Disk model: USB HS-SD Card > > Units: sectors of 1 * 512 = 512 byt

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread tomas
On Wed, Jan 26, 2022 at 09:07:31PM -0600, Martin McCormick wrote: > Command (m for help): p > Disk /dev/sdh: 28.8 GiB, 30908350464 bytes, 60367872 sectors > Disk model: USB HS-SD Card > Units: sectors of 1 * 512 = 512 bytes > Sector size (logical/physical): 512 bytes / 512 bytes > I/O size (minim

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Bijan Soleymani
On 2022-01-27 8:54 p.m., Martin McCormick wrote: Great suggestions but I can't. Part of the typescript output I included was me doing just that and I was root when I did it but the squawk is that I don't have permission as if I wasn't root. Oops! Sorry I missed the operation not permitted mess

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Jeremy Ardley
On 28/1/22 9:54 am, Martin McCormick wrote: Great suggestions but I can't. Part of the typescript output I included was me doing just that and I was root when I did it but the squawk is that I don't have permission as if I wasn't root. If writing to the SSD card was possible, I could

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Martin McCormick
Bijan Soleymani writes: > Can you delete both partitions, create a new single linux partition, > reboot > then run mkfs.ext4 to create a single new partition and then just install > linux onto it or try dd again? Great suggestions but I can't. Part of the typescript output I included was me doi

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread David Wright
On Thu 27 Jan 2022 at 16:58:01 (-0600), Martin McCormick wrote: > Charles Curley writes: > > I'm no expert on RPis, but that sounds to me like the SD card is > > protected against writes. Check for any physical write protection > > switches on the card itself and the holder. > > Thanks for the su

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Bijan Soleymani
On 2022-01-26 10:07 p.m., Martin McCormick wrote: The SSD passed a fsck test earlier in the day before I blew it up so the chip should be salvageable. I don't care for recovering either of the two partitions which will be overwritten anyway if the SSD can be made writable again. Can yo

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Martin McCormick
Charles Curley writes: > I'm no expert on RPis, but that sounds to me like the SD card is > protected against writes. Check for any physical write protection > switches on the card itself and the holder. Thanks for the suggestion, but this is one of those SSD cards that often is found in a camera

Re: SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Charles Curley
On Wed, 26 Jan 2022 21:07:31 -0600 "Martin McCormick" wrote: > 1wb5agz martin tmp $ sudo dd if=~/rpi/rpi2_good.img of=/dev/sdh > [sudo] password for martin: > dd: writing to '/dev/sdh': Operation not permitted > 1+0 records in > 0+0 records out > 0 bytes copied, 0.021666 s, 0.0 kB/s > 2wb5agz ma

SSD Memory Card (was The Raspberry Pi that Took a Day Off.)

2022-01-27 Thread Martin McCormick
I thanked the person who responded to my post and reported that there were no unusual log entries in syslog on the failing system so not much to go on. I decided to upgrade the Raspberry Pi which was suddenly having this mysterious problem as I have backups of the failing system so I figured I'd j

Re: The Raspberry Pi that Took a Day Off.

2022-01-26 Thread Gareth Evans
> On 25 Jan 2022, at 14:17, Martin McCormick wrote: > > This Pi is running Debian Stretch. I believe that's what version > 9 is called. I have it capturing audio from a radio receiver and > it's been doing that for several years now and it was doing that > yesterday morning. Later in the d

The Raspberry Pi that Took a Day Off.

2022-01-25 Thread Martin McCormick
This Pi is running Debian Stretch. I believe that's what version 9 is called. I have it capturing audio from a radio receiver and it's been doing that for several years now and it was doing that yesterday morning. Later in the day, I downloaded more audio and, after a long pause, I got the messa