Public Discussions > General Discussion

How to use a multipartioned usb key ?

(1/3) > >>

Remy:
Hi,

I big usb key can have more than one partition.
Linux is able to show all of them but is it possible under OS/2 ?
How to make them visible ?
As well, the maximum USB key size is too low, how to increase usb key max size to satify above 64GB keys ? (e.g. 1TB)

Note: I could format a 128GB usb key to FAT32 (windows) and assign LVM information (dfsee) to have the usb key usable under any OS. 
          trying to format it under OS/2 with JFS or HPFS isn't possible for the full usb key size too.     

Regards 

Lars:
Have you actually tried ?

The only thing that I can say is that I had changed USBMSD.ADD to (always) use the SCSI-10 "read (10)" and "write (10)" commands to read/write sectors (even if the caller asks for use of "read(6)" and "write(6)" command).
That allows for 32-bit LBA numbers, with a sector size of 512 bytes you get the typical total of 2 TB, that's also the max OS/2 partition size.

If you say that does not work with the AN USBMSD.ADD then I suppose, they have not moved away from the SCSI-6 "read (6)" and "write (6)" commands. These are limited to 21-bit LBA numbers. In that case, 1 GB would be the limit. But I very much doubt that.

I had formatted to JFS a WD EBook with I think 512 GB and that worked just fine.

You won't have much fun with HPFS. I think the partition limit for HPFS is 64 GB. It is a practical limit, not the theoretical one (which would be 2 TB).

Dave Yeo:

--- Quote from: Remy on August 20, 2024, 12:30:04 pm ---Hi,

I big usb key can have more than one partition.
Linux is able to show all of them but is it possible under OS/2 ?
How to make them visible ?

--- End quote ---

Of course it is possible, just partition with LVM and give each partition a drive letter.


--- Quote ---As well, the maximum USB key size is too low, how to increase usb key max size to satify above 64GB keys ? (e.g. 1TB)

--- End quote ---

I have a 2TB and a 1TB USB drives, the 2 TB is partitioned with 2 JFS volumes and a EXT4 partition for use under Linux and the 1TB drive is one JFS partition, the JFS drives work fine with ArcaOS and the default USB drivers. I've also formatted 64GB sticks JFS, no reason bigger wouldn't work as a stick and a HD look the same to the OS.


--- Quote ---Note: I could format a 128GB usb key to FAT32 (windows) and assign LVM information (dfsee) to have the usb key usable under any OS. 
          trying to format it under OS/2 with JFS or HPFS isn't possible for the full usb key size too.     

--- End quote ---

Of course it is, well you might lose a few MB's due to the CHS addressing that OS/2 expects but if that 128GB FAT32 usb key is visible to OS/2, eg partitioned correctly, formatting JFS should just work.

Note that the ArcaOS USB drivers aren't the fastest and the ArcaOS Fat32 driver is as slow as frozen maple syrup.

Dave Yeo:
Actually, it seems IIRC, I discovered what doesn't work on USB is a long format, so "format I: /fs:jfs /long" would fail, remove the /long and it works.

Remy:
I'm not speaking about USB disk but USB key
LVM doesn't see full size not allowing to create full size partition

Nor does DFSEE see big USB keys !
Have tried all options


Note: Of course USB disk (drive) works (not the question)
          Try using above 64GB usb key (not drive) like 128GB or more

Navigation

[0] Message Index

[#] Next page

Go to full version