Re: formatted USB to ext4

2023-01-21 Thread Michael via PLUG-discuss
Please explain how you mean 'the data last longer'?

On Sat, Jan 21, 2023 at 9:28 AM Michael  wrote:

> sorry. last longer was the wrong verbage.  Mister Litt must have been the
> gentleman who said it. But do you do anything special when you format it
> ext4?
>
> On Fri, Jan 20, 2023 at 11:43 PM Steve Litt via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> Harold Hartley via PLUG-discuss said on Fri, 20 Jan 2023 20:55:17 -0700
>>
>> >I don’t see how any type of format can make any usb stick last any
>> >longer than another type of format.
>>
>> Just speaking for myself, subjectively after quite a bit of experience,
>> formatting Ext4 makes the *data* last longer than the windows format. I
>> have no data or even suspicions regarding Ext4 extending the life of
>> the *hardware*.
>>
>> SteveT
>>
>> Steve Litt
>> Autumn 2022 featured book: Thriving in Tough Times
>> http://www.troubleshooters.com/bookstore/thrive.htm
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-21 Thread Michael via PLUG-discuss
sorry. last longer was the wrong verbage.  Mister Litt must have been the
gentleman who said it. But do you do anything special when you format it
ext4?

On Fri, Jan 20, 2023 at 11:43 PM Steve Litt via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Harold Hartley via PLUG-discuss said on Fri, 20 Jan 2023 20:55:17 -0700
>
> >I don’t see how any type of format can make any usb stick last any
> >longer than another type of format.
>
> Just speaking for myself, subjectively after quite a bit of experience,
> formatting Ext4 makes the *data* last longer than the windows format. I
> have no data or even suspicions regarding Ext4 extending the life of
> the *hardware*.
>
> SteveT
>
> Steve Litt
> Autumn 2022 featured book: Thriving in Tough Times
> http://www.troubleshooters.com/bookstore/thrive.htm
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-20 Thread Steve Litt via PLUG-discuss
Harold Hartley via PLUG-discuss said on Fri, 20 Jan 2023 20:55:17 -0700

>I don’t see how any type of format can make any usb stick last any
>longer than another type of format. 

Just speaking for myself, subjectively after quite a bit of experience,
formatting Ext4 makes the *data* last longer than the windows format. I
have no data or even suspicions regarding Ext4 extending the life of
the *hardware*.

SteveT

Steve Litt 
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-20 Thread Harold Hartley via PLUG-discuss
I don’t see how any type of format can make any usb stick last any longer than 
another type of format. It’s the hardware that eventually breaks down and 
causes anyone problems. How good the hardware is built that will help it last, 
not really the format.
I have a couple of San disk usb sticks and I’ve had them for about 6 years and 
another one of a different brand for 8 years. They were formatted with fat32. 
But I have also another stick which is started to have problems of reading or 
writing to it. I have had to format it several times over the years.
But remember that when applying power to electronics it can cause break down 
after a while.

On Fri, Jan 20, 2023, at 19:16, Michael via PLUG-discuss wrote:
> well, the sticks are san disk...
> In any case someone said that to get long life out of them to format as 
> ext4 and I was wondering how he did it. I was directing that question 
> into the either not at you in particular.
>
> On Fri, Jan 20, 2023 at 9:10 PM Eric Oyen via PLUG-discuss 
>  wrote:
>> In my case, I didn’t format as EXT4.
>> 
>> Btw, this issue sounds unique to a specific brand of Chinese made USB 
>> sticks. There was one 64GB stick I had in inventory that would malfunction 
>> in this manner whenever I tried to format in anything other than a standard 
>> MBR/NTFS/FAT32 arrangement. I gave up on it and strictly use it on the 
>> windows laptop.. btw,  I also discovered, much to my disappointment that 
>> some brands of SD card will not, under any circumstances, support a GPT 
>> based boot loader. Tried on windows last night with Diskpart and it barfed 
>> stating that the operation was not supported. Tried it on my OS X machine 
>> and it worked just fine. Haven’t tried it on the other linux laptop as yet.
>> 
>> -Eric
>> From the Central Offices of the Technomage Guild, Hardware Research and 
>> Development Dept.
>> 
>> 
>>> On Jan 19, 2023, at 6:29 AM, Michael via PLUG-discuss 
>>>  wrote:
>>> 
>>> But it seems that when I formatted my devices to ext4 it made them read 
>>> only. How did you format them? I think that because after I set partition 
>>> type to msdos and format to ntfs the device acted as normal.
>>> 
>>> On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss 
>>>  wrote:
 GPT is definitely preferred for anything over 32GB as that will allow for 
 greater filesystem size. I routinely set that flag on any device I have 
 that requires access above the 32GB 32 bit limitation. Since that covered 
 virtually all devices in my inventory now, it’s just prudent to set it 
 this way. I also format EXFaT so that I can use said devices across the 
 broadest possible OS platforms.
 
 -Eric
 From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
 
 
> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss 
>  wrote:
> 
> I was kinda oopy last night (I didn't google a solution to how to fix it 
> ) but I just did and found out how to set the partition table. But which 
> should I choose? I've heard gpt mentioned but am unsure. Could I hear 
> some opinions from the learnED here?
> 
> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>> in my other thread I looked at a gparted report. Well it had something 
>> related to this thread. In the report it is mentioned that file system 
>> type is ext4 but that the partition table  is msdos. Does that 
>> matter.How should it be fixed if it does?
>> 
>> 
>> Device:  /dev/sdb
>> Model:   SanDisk Ultra
>> Serial:  
>> Sector size: 512
>> Total sectors:   240353280
>>  
>> Heads:   255
>> Sectors/track:   2
>> Cylinders:   471280
>>  
>> Partition table: msdos
>>  
>> PartitionTypeStart   End Flags   Partition Name  File 
>> System Label   Mount Point
>> /dev/sdb1Primary 2048240353279   ext4
>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>> 
>> 
>> 
>> 
>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>> Okay,  I spent the last thirty minutes copying all the files from the 
>>> fat fomatted drive to a folder on the desktop. Then I formatted the 
>>> drive to ext4. Now I can't drag the files back on to the USB drive. I 
>>> suppose I could chmod -r 777 the drive but what is the right way to do 
>>> it?
>>> --
>>> :-)~MIKE~(-:
>> 
>> 
>> -- 
>> :-)~MIKE~(-:
> 
> 
> -- 
> :-)~MIKE~(-:
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
 
 ---
 PLUG-discuss 

Re: formatted USB to ext4

2023-01-20 Thread Michael via PLUG-discuss
well, the sticks are san disk...
In any case someone said that to get long life out of them to format as
ext4 and I was wondering how he did it. I was directing that question
into the either not at you in particular.

On Fri, Jan 20, 2023 at 9:10 PM Eric Oyen via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> In my case, I didn’t format as EXT4.
>
> Btw, this issue sounds unique to a specific brand of Chinese made USB
> sticks. There was one 64GB stick I had in inventory that would malfunction
> in this manner whenever I tried to format in anything other than a standard
> MBR/NTFS/FAT32 arrangement. I gave up on it and strictly use it on the
> windows laptop.. btw,  I also discovered, much to my disappointment that
> some brands of SD card will not, under any circumstances, support a GPT
> based boot loader. Tried on windows last night with Diskpart and it barfed
> stating that the operation was not supported. Tried it on my OS X machine
> and it worked just fine. Haven’t tried it on the other linux laptop as yet.
>
> -Eric
> From the Central Offices of the Technomage Guild, Hardware Research and
> Development Dept.
>
>
> On Jan 19, 2023, at 6:29 AM, Michael via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
> But it seems that when I formatted my devices to ext4 it made them read
> only. How did you format them? I think that because after I set partition
> type to msdos and format to ntfs the device acted as normal.
>
> On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> GPT is definitely preferred for anything over 32GB as that will allow for
>> greater filesystem size. I routinely set that flag on any device I have
>> that requires access above the 32GB 32 bit limitation. Since that covered
>> virtually all devices in my inventory now, it’s just prudent to set it this
>> way. I also format EXFaT so that I can use said devices across the broadest
>> possible OS platforms.
>>
>> -Eric
>> From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
>>
>>
>> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss <
>> plug-discuss@lists.phxlinux.org> wrote:
>>
>> I was kinda oopy last night (I didn't google a solution to how to fix it
>> ) but I just did and found out how to set the partition table. But which
>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
>> opinions from the learnED here?
>>
>> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>>
>>> in my other thread I looked at a gparted report. Well it had something
>>> related to this thread. In the report it is mentioned that file system
>>> type is ext4 but that the partition table  is msdos. Does that matter.How
>>> should it be fixed if it does?
>>>
>>> 
>>> Device: /dev/sdb
>>> Model: SanDisk Ultra
>>> Serial:
>>> Sector size: 512
>>> Total sectors: 240353280
>>>
>>> Heads: 255
>>> Sectors/track: 2
>>> Cylinders: 471280
>>>
>>> Partition table: msdos
>>>
>>> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
>>> /dev/sdb1 Primary 2048 240353279 ext4
>>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>>>
>>> 
>>>
>>>
>>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>>
 Okay,  I spent the last thirty minutes copying all the files from the
 fat fomatted drive to a folder on the desktop. Then I formatted the drive
 to ext4. Now I can't drag the files back on to the USB drive. I suppose I
 could chmod -r 777 the drive but what is the right way to do it?
 --
 :-)~MIKE~(-:

>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> --
> :-)~MIKE~(-:
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-20 Thread Eric Oyen via PLUG-discuss
In my case, I didn’t format as EXT4.

Btw, this issue sounds unique to a specific brand of Chinese made USB sticks. 
There was one 64GB stick I had in inventory that would malfunction in this 
manner whenever I tried to format in anything other than a standard 
MBR/NTFS/FAT32 arrangement. I gave up on it and strictly use it on the windows 
laptop.. btw,  I also discovered, much to my disappointment that some brands of 
SD card will not, under any circumstances, support a GPT based boot loader. 
Tried on windows last night with Diskpart and it barfed stating that the 
operation was not supported. Tried it on my OS X machine and it worked just 
fine. Haven’t tried it on the other linux laptop as yet.

-Eric
From the Central Offices of the Technomage Guild, Hardware Research and 
Development Dept.


> On Jan 19, 2023, at 6:29 AM, Michael via PLUG-discuss 
>  wrote:
> 
> But it seems that when I formatted my devices to ext4 it made them read only. 
> How did you format them? I think that because after I set partition type to 
> msdos and format to ntfs the device acted as normal.
> 
> On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss 
> mailto:plug-discuss@lists.phxlinux.org>> 
> wrote:
> GPT is definitely preferred for anything over 32GB as that will allow for 
> greater filesystem size. I routinely set that flag on any device I have that 
> requires access above the 32GB 32 bit limitation. Since that covered 
> virtually all devices in my inventory now, it’s just prudent to set it this 
> way. I also format EXFaT so that I can use said devices across the broadest 
> possible OS platforms.
> 
> -Eric
> From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
> 
> 
>> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss 
>> mailto:plug-discuss@lists.phxlinux.org>> 
>> wrote:
>> 
>> I was kinda oopy last night (I didn't google a solution to how to fix it ) 
>> but I just did and found out how to set the partition table. But which 
>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some 
>> opinions from the learnED here?
>> 
>> On Mon, Jan 16, 2023 at 9:29 PM Michael > > wrote:
>> in my other thread I looked at a gparted report. Well it had something 
>> related to this thread. In the report it is mentioned that file system type 
>> is ext4 but that the partition table  is msdos. Does that matter.How should 
>> it be fixed if it does?
>> 
>> 
>> Device:  /dev/sdb
>> Model:   SanDisk Ultra
>> Serial:  
>> Sector size: 512
>> Total sectors:   240353280
>>  
>> Heads:   255
>> Sectors/track:   2
>> Cylinders:   471280
>>  
>> Partition table: msdos
>>  
>> PartitionTypeStart   End Flags   Partition Name  File System 
>> Label   Mount Point
>> /dev/sdb1Primary 2048240353279   ext4
>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>> 
>> 
>> 
>> 
>> On Mon, Jan 16, 2023 at 8:41 PM Michael > > wrote:
>> Okay,  I spent the last thirty minutes copying all the files from the fat 
>> fomatted drive to a folder on the desktop. Then I formatted the drive to 
>> ext4. Now I can't drag the files back on to the USB drive. I suppose I could 
>> chmod -r 777 the drive but what is the right way to do it?
>> --
>> :-)~MIKE~(-:
>> 
>> 
>> -- 
>> :-)~MIKE~(-:
>> 
>> 
>> -- 
>> :-)~MIKE~(-:
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org 
>> 
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss 
>> 
> 
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org 
> 
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss 
> 
> 
> 
> -- 
> :-)~MIKE~(-:
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-19 Thread Michael via PLUG-discuss
On Thu, Jan 19, 2023 at 8:29 AM Michael  wrote:

> But it seems that when I formatted my devices to ext4 it made them read
> only. How did you format them? I think that because after I set partition
> type to msdos and format to ntfs the device acted as normal.
>

. again. It acted normal again. except I created a link (with the GUI)
to a file and had to move it with sudo.




> On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> GPT is definitely preferred for anything over 32GB as that will allow for
>> greater filesystem size. I routinely set that flag on any device I have
>> that requires access above the 32GB 32 bit limitation. Since that covered
>> virtually all devices in my inventory now, it’s just prudent to set it this
>> way. I also format EXFaT so that I can use said devices across the broadest
>> possible OS platforms.
>>
>> -Eric
>> From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
>>
>>
>> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss <
>> plug-discuss@lists.phxlinux.org> wrote:
>>
>> I was kinda oopy last night (I didn't google a solution to how to fix it
>> ) but I just did and found out how to set the partition table. But which
>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
>> opinions from the learnED here?
>>
>> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>>
>>> in my other thread I looked at a gparted report. Well it had something
>>> related to this thread. In the report it is mentioned that file system
>>> type is ext4 but that the partition table  is msdos. Does that matter.How
>>> should it be fixed if it does?
>>>
>>> 
>>> Device: /dev/sdb
>>> Model: SanDisk Ultra
>>> Serial:
>>> Sector size: 512
>>> Total sectors: 240353280
>>>
>>> Heads: 255
>>> Sectors/track: 2
>>> Cylinders: 471280
>>>
>>> Partition table: msdos
>>>
>>> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
>>> /dev/sdb1 Primary 2048 240353279 ext4
>>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>>>
>>> 
>>>
>>>
>>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>>
 Okay,  I spent the last thirty minutes copying all the files from the
 fat fomatted drive to a folder on the desktop. Then I formatted the drive
 to ext4. Now I can't drag the files back on to the USB drive. I suppose I
 could chmod -r 777 the drive but what is the right way to do it?
 --
 :-)~MIKE~(-:

>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>>
>> ---
>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-19 Thread Ryan Petris via PLUG-discuss
A couple of observations from me:

1. When formatting a disk with parted, all it does is format, it doesn't set 
permissions on anything. On filesystems that have permissions like ext4, you'll 
still have to set the appropriate permissions. After you mount the disk for the 
first time, you can set your user as the owner by running `sudo chmod 
 `. `chmod 777` is generally bad practice as it opens up 
that directory to all users, which is probably not what you want (i.e. service 
and whatnot on your machine could also access it). Based on what I see in your 
gparted output, the appropriate command would be:

sudo chmod michael /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2

... then you should be able to write to it without sudo.

2. GPT is only "needed" for > 2TB drives as that's where MBR maxes out, though 
given that everything has supported GPT for a long time there's really no 
reason to not use it. I just wanted to correct the information. The 32GB limit 
that Eric is thinking of is Windows refusing to format disks as FAT32 above 
that. The only reason today to prefer MBR over GPT is if you're formatting a 
boot drive for a non-EFI machine, and even then you can use a hybrid MBR/GPT 
table where only the boot partition is in the MBR and the rest of the 
partitions are "hidden" and only available when reading the GPT.

3. Instead of using dd to clear a disk, you can just use `wipefs`, assuming 
you're not trying to overwrite/clean any data that used to be on the disk. 
wipefs looks for any know file system, partition table, or other known 
headers/identifiers and will zero them out so you can start "fresh". Since it 
only clears the headers/identifiers, it is much faster than overwriting the 
entire disk. Man page: https://man.archlinux.org/man/wipefs.8.en

4. Lastly, remember that ext4 by default reserves 5% of the disk for root, so 
that root can still write to disk after the disk is "full". You likely don't 
need this in an external drive, so you can remove this reservation by running 
this command:

sudo tune2fs -m 0 /dev/

I hope this helps

On Thu, Jan 19, 2023, at 6:29 AM, Michael via PLUG-discuss wrote:
> But it seems that when I formatted my devices to ext4 it made them read only. 
> How did you format them? I think that because after I set partition type to 
> msdos and format to ntfs the device acted as normal.
> 
> On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss 
>  wrote:
>> GPT is definitely preferred for anything over 32GB as that will allow for 
>> greater filesystem size. I routinely set that flag on any device I have that 
>> requires access above the 32GB 32 bit limitation. Since that covered 
>> virtually all devices in my inventory now, it’s just prudent to set it this 
>> way. I also format EXFaT so that I can use said devices across the broadest 
>> possible OS platforms.
>> 
>> -Eric
>> From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
>> 
>> 
>>> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss 
>>>  wrote:
>>> 
>>> I was kinda oopy last night (I didn't google a solution to how to fix it ) 
>>> but I just did and found out how to set the partition table. But which 
>>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some 
>>> opinions from the learnED here?
>>> 
>>> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
 in my other thread I looked at a gparted report. Well it had something 
 related to this thread. In the report it is mentioned that file system 
 type is ext4 but that the partition table  is msdos. Does that matter.How 
 should it be fixed if it does?
 
 
 Device:
 /dev/sdb
 Model:
 SanDisk Ultra
 Serial:
 
 Sector size:
 512
 Total sectors:
 240353280
  
 Heads:
 255
 Sectors/track:
 2
 Cylinders:
 471280
  
 Partition table:
 msdos
  
 Partition
 Type
 Start
 End
 Flags
 Partition Name
 File System
 Label
 Mount Point
 /dev/sdb1
 Primary
 2048
 240353279
 
 
 ext4
 
 /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
 
 
 
 
 
 On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
> Okay,  I spent the last thirty minutes copying all the files from the fat 
> fomatted drive to a folder on the desktop. Then I formatted the drive to 
> ext4. Now I can't drag the files back on to the USB drive. I suppose I 
> could chmod -r 777 the drive but what is the right way to do it?
> --
> :-)~MIKE~(-:
 
 
 -- 
 :-)~MIKE~(-:
>>> 
>>> 
>>> -- 
>>> :-)~MIKE~(-:
>>> ---
>>> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: formatted USB to ext4

2023-01-19 Thread Michael via PLUG-discuss
But it seems that when I formatted my devices to ext4 it made them read
only. How did you format them? I think that because after I set partition
type to msdos and format to ntfs the device acted as normal.

On Thu, Jan 19, 2023 at 7:21 AM Eric Oyen via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> GPT is definitely preferred for anything over 32GB as that will allow for
> greater filesystem size. I routinely set that flag on any device I have
> that requires access above the 32GB 32 bit limitation. Since that covered
> virtually all devices in my inventory now, it’s just prudent to set it this
> way. I also format EXFaT so that I can use said devices across the broadest
> possible OS platforms.
>
> -Eric
> From the Central Offices of the Technomage Guild, HDD refurbishment Dept.
>
>
> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
> I was kinda oopy last night (I didn't google a solution to how to fix it )
> but I just did and found out how to set the partition table. But which
> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
> opinions from the learnED here?
>
> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>
>> in my other thread I looked at a gparted report. Well it had something
>> related to this thread. In the report it is mentioned that file system
>> type is ext4 but that the partition table  is msdos. Does that matter.How
>> should it be fixed if it does?
>>
>> 
>> Device: /dev/sdb
>> Model: SanDisk Ultra
>> Serial:
>> Sector size: 512
>> Total sectors: 240353280
>>
>> Heads: 255
>> Sectors/track: 2
>> Cylinders: 471280
>>
>> Partition table: msdos
>>
>> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
>> /dev/sdb1 Primary 2048 240353279 ext4
>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>>
>> 
>>
>>
>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>
>>> Okay,  I spent the last thirty minutes copying all the files from the
>>> fat fomatted drive to a folder on the desktop. Then I formatted the drive
>>> to ext4. Now I can't drag the files back on to the USB drive. I suppose I
>>> could chmod -r 777 the drive but what is the right way to do it?
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-19 Thread Eric Oyen via PLUG-discuss
GPT is definitely preferred for anything over 32GB as that will allow for 
greater filesystem size. I routinely set that flag on any device I have that 
requires access above the 32GB 32 bit limitation. Since that covered virtually 
all devices in my inventory now, it’s just prudent to set it this way. I also 
format EXFaT so that I can use said devices across the broadest possible OS 
platforms.

-Eric
From the Central Offices of the Technomage Guild, HDD refurbishment Dept.


> On Jan 17, 2023, at 6:31 AM, Michael via PLUG-discuss 
>  wrote:
> 
> I was kinda oopy last night (I didn't google a solution to how to fix it ) 
> but I just did and found out how to set the partition table. But which should 
> I choose? I've heard gpt mentioned but am unsure. Could I hear some opinions 
> from the learnED here?
> 
> On Mon, Jan 16, 2023 at 9:29 PM Michael  > wrote:
> in my other thread I looked at a gparted report. Well it had something 
> related to this thread. In the report it is mentioned that file system type 
> is ext4 but that the partition table  is msdos. Does that matter.How should 
> it be fixed if it does?
> 
> 
> Device:   /dev/sdb
> Model:SanDisk Ultra
> Serial:   
> Sector size:  512
> Total sectors:240353280
>  
> Heads:255
> Sectors/track:2
> Cylinders:471280
>  
> Partition table:  msdos
>  
> Partition TypeStart   End Flags   Partition Name  File System 
> Label   Mount Point
> /dev/sdb1 Primary 2048240353279   ext4
> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
> 
> 
> 
> 
> On Mon, Jan 16, 2023 at 8:41 PM Michael  > wrote:
> Okay,  I spent the last thirty minutes copying all the files from the fat 
> fomatted drive to a folder on the desktop. Then I formatted the drive to 
> ext4. Now I can't drag the files back on to the USB drive. I suppose I could 
> chmod -r 777 the drive but what is the right way to do it?
> --
> :-)~MIKE~(-:
> 
> 
> -- 
> :-)~MIKE~(-:
> 
> 
> -- 
> :-)~MIKE~(-:
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-17 Thread Michael via PLUG-discuss
why does the transfer rate of dd slow? When I starte paying attention to it
it was about 15MB/s but now (about 2 minutes later) it is 7MB/s (and it is
still slowing).

On Tue, Jan 17, 2023 at 8:57 AM Michael  wrote:

> I'lll try 'sudo dd if=/dev/zero of=/dev/{device}' to see if I can rescue
> this drive.
>
> On Tue, Jan 17, 2023 at 8:46 AM Michael  wrote:
>
>> I thought creating a gpt partition table would fix it but I was wrong.
>> This time I clicked on the offending drive in the file manager and a
>> 'permission denied' message appeared. So I suppose I will have to chmod it.
>> The proper command would be 'chmod -r 777 {device}'?
>>
>> Wait a second I seem to remember that this is a sign of a disk going
>> bad. Is this so? Two devices going bad at the same time? Talk about bad
>> luck!
>>
>> On Tue, Jan 17, 2023 at 8:31 AM Michael  wrote:
>>
>>> I was kinda oopy last night (I didn't google a solution to how to fix it
>>> ) but I just did and found out how to set the partition table. But which
>>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
>>> opinions from the learnED here?
>>>
>>> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>>>
 in my other thread I looked at a gparted report. Well it had something
 related to this thread. In the report it is mentioned that file system
 type is ext4 but that the partition table  is msdos. Does that matter.How
 should it be fixed if it does?

 
 Device: /dev/sdb
 Model: SanDisk Ultra
 Serial:
 Sector size: 512
 Total sectors: 240353280

 Heads: 255
 Sectors/track: 2
 Cylinders: 471280

 Partition table: msdos

 PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
 /dev/sdb1 Primary 2048 240353279 ext4
 /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2

 


 On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:

> Okay,  I spent the last thirty minutes copying all the files from the
> fat fomatted drive to a folder on the desktop. Then I formatted the drive
> to ext4. Now I can't drag the files back on to the USB drive. I suppose I
> could chmod -r 777 the drive but what is the right way to do it?
> --
> :-)~MIKE~(-:
>


 --
 :-)~MIKE~(-:

>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-17 Thread Michael via PLUG-discuss
I'lll try 'sudo dd if=/dev/zero of=/dev/{device}' to see if I can rescue
this drive.

On Tue, Jan 17, 2023 at 8:46 AM Michael  wrote:

> I thought creating a gpt partition table would fix it but I was wrong.
> This time I clicked on the offending drive in the file manager and a
> 'permission denied' message appeared. So I suppose I will have to chmod it.
> The proper command would be 'chmod -r 777 {device}'?
>
> Wait a second I seem to remember that this is a sign of a disk going
> bad. Is this so? Two devices going bad at the same time? Talk about bad
> luck!
>
> On Tue, Jan 17, 2023 at 8:31 AM Michael  wrote:
>
>> I was kinda oopy last night (I didn't google a solution to how to fix it
>> ) but I just did and found out how to set the partition table. But which
>> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
>> opinions from the learnED here?
>>
>> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>>
>>> in my other thread I looked at a gparted report. Well it had something
>>> related to this thread. In the report it is mentioned that file system
>>> type is ext4 but that the partition table  is msdos. Does that matter.How
>>> should it be fixed if it does?
>>>
>>> 
>>> Device: /dev/sdb
>>> Model: SanDisk Ultra
>>> Serial:
>>> Sector size: 512
>>> Total sectors: 240353280
>>>
>>> Heads: 255
>>> Sectors/track: 2
>>> Cylinders: 471280
>>>
>>> Partition table: msdos
>>>
>>> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
>>> /dev/sdb1 Primary 2048 240353279 ext4
>>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>>>
>>> 
>>>
>>>
>>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>>
 Okay,  I spent the last thirty minutes copying all the files from the
 fat fomatted drive to a folder on the desktop. Then I formatted the drive
 to ext4. Now I can't drag the files back on to the USB drive. I suppose I
 could chmod -r 777 the drive but what is the right way to do it?
 --
 :-)~MIKE~(-:

>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-17 Thread Michael via PLUG-discuss
I thought creating a gpt partition table would fix it but I was wrong. This
time I clicked on the offending drive in the file manager and a
'permission denied' message appeared. So I suppose I will have to chmod it.
The proper command would be 'chmod -r 777 {device}'?

Wait a second I seem to remember that this is a sign of a disk going
bad. Is this so? Two devices going bad at the same time? Talk about bad
luck!

On Tue, Jan 17, 2023 at 8:31 AM Michael  wrote:

> I was kinda oopy last night (I didn't google a solution to how to fix it )
> but I just did and found out how to set the partition table. But which
> should I choose? I've heard gpt mentioned but am unsure. Could I hear some
> opinions from the learnED here?
>
> On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:
>
>> in my other thread I looked at a gparted report. Well it had something
>> related to this thread. In the report it is mentioned that file system
>> type is ext4 but that the partition table  is msdos. Does that matter.How
>> should it be fixed if it does?
>>
>> 
>> Device: /dev/sdb
>> Model: SanDisk Ultra
>> Serial:
>> Sector size: 512
>> Total sectors: 240353280
>>
>> Heads: 255
>> Sectors/track: 2
>> Cylinders: 471280
>>
>> Partition table: msdos
>>
>> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
>> /dev/sdb1 Primary 2048 240353279 ext4
>> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>>
>> 
>>
>>
>> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>>
>>> Okay,  I spent the last thirty minutes copying all the files from the
>>> fat fomatted drive to a folder on the desktop. Then I formatted the drive
>>> to ext4. Now I can't drag the files back on to the USB drive. I suppose I
>>> could chmod -r 777 the drive but what is the right way to do it?
>>> --
>>> :-)~MIKE~(-:
>>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-17 Thread Michael via PLUG-discuss
I was kinda oopy last night (I didn't google a solution to how to fix it )
but I just did and found out how to set the partition table. But which
should I choose? I've heard gpt mentioned but am unsure. Could I hear some
opinions from the learnED here?

On Mon, Jan 16, 2023 at 9:29 PM Michael  wrote:

> in my other thread I looked at a gparted report. Well it had something
> related to this thread. In the report it is mentioned that file system
> type is ext4 but that the partition table  is msdos. Does that matter.How
> should it be fixed if it does?
>
> 
> Device: /dev/sdb
> Model: SanDisk Ultra
> Serial:
> Sector size: 512
> Total sectors: 240353280
>
> Heads: 255
> Sectors/track: 2
> Cylinders: 471280
>
> Partition table: msdos
>
> PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
> /dev/sdb1 Primary 2048 240353279 ext4
> /media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2
>
> 
>
>
> On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:
>
>> Okay,  I spent the last thirty minutes copying all the files from the fat
>> fomatted drive to a folder on the desktop. Then I formatted the drive to
>> ext4. Now I can't drag the files back on to the USB drive. I suppose I
>> could chmod -r 777 the drive but what is the right way to do it?
>> --
>> :-)~MIKE~(-:
>>
>
>
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: formatted USB to ext4

2023-01-16 Thread Michael via PLUG-discuss
in my other thread I looked at a gparted report. Well it had something
related to this thread. In the report it is mentioned that file system
type is ext4 but that the partition table  is msdos. Does that matter.How
should it be fixed if it does?


Device: /dev/sdb
Model: SanDisk Ultra
Serial:
Sector size: 512
Total sectors: 240353280

Heads: 255
Sectors/track: 2
Cylinders: 471280

Partition table: msdos

PartitionTypeStartEndFlagsPartition NameFile SystemLabelMount Point
/dev/sdb1 Primary 2048 240353279 ext4
/media/michael/5d19820a-dfe9-4a0f-8593-9339e9b4ecd2




On Mon, Jan 16, 2023 at 8:41 PM Michael  wrote:

> Okay,  I spent the last thirty minutes copying all the files from the fat
> fomatted drive to a folder on the desktop. Then I formatted the drive to
> ext4. Now I can't drag the files back on to the USB drive. I suppose I
> could chmod -r 777 the drive but what is the right way to do it?
> --
> :-)~MIKE~(-:
>


-- 
:-)~MIKE~(-:
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss