Public Discussions > General Discussion

How to use a multipartioned usb key ?

<< < (2/3) > >>

Remy:

--- Quote from: Dave Yeo on August 20, 2024, 04:55:54 pm ---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.

--- End quote ---

Before any format, A full volume size should be available or created.

Dave Yeo:
I found I have a 128GB USB key I was using with my phone.

--- Code: ---[I:\]dir

Volume in drive I has no label.
The Volume Serial Number is 1CEC:3E04.
Directory of I:\

12-21-21 10:57a         <DIR>      0 ----  LOST.DIR
12-21-21 10:57a         <DIR>      0 ----  .android_secure
12-21-21 11:00a         <DIR>      0 ----  Music
12-21-21 10:58a         <DIR>      0 ----  Android
12-21-21 10:58a         <DIR>      0 ----  Podcasts
12-21-21 10:58a         <DIR>      0 ----  Ringtones
12-21-21 10:58a         <DIR>      0 ----  Alarms
12-21-21 10:58a         <DIR>      0 ----  Notifications
12-21-21 10:58a         <DIR>      0 ----  Pictures
12-21-21 10:58a         <DIR>      0 ----  Movies
12-21-21 10:58a         <DIR>      0 ----  Download
12-21-21 10:58a         <DIR>      0 ----  DCIM
       12 file(s)           0 bytes used
                  118,064,087 K bytes free

[I:\]format i: /fs:jfs
The type of file system for the disk is FAT32.
Warning!  All data on hard disk i: will be lost!
Proceed with FORMAT (Y/N)? y
Enter up to 11 characters for the volume label
or press Enter for no volume label.


Format completed successfully.

120825104 kilobytes total disk space.
120773552 kilobytes are available.

[I:\]dir I:

Volume in drive I has no label.
The Volume Serial Number is 63C2:D5BE.
Directory of I:\

 8-20-24  2:56p         <DIR>      0 ----  .
 8-20-24  2:56p         <DIR>      0 ----  ..
        2 file(s)           0 bytes used
                  123,672,117 K bytes free

--- End code ---

With FC/2 reporting,

--- Code: ---117,957M total bytes on drive I:
117,942M bytes free on drive I:
  0 files use 0 bytes in
           I:\

    File System : JFS

--- End code ---

So formatting a stick as JFS works fine as long as previously it was partitioned with LVM or DFSee, I forget what I used, likely DFSee.
And of course, whether it is a USB key or hard drive doesn't matter to the operating system, they look the same.

Remy:

--- Quote from: Dave Yeo on August 20, 2024, 08:05:24 pm ---I found I have a 128GB USB key I was using with my phone.

--- Code: ---[I:\]dir

Volume in drive I has no label.
The Volume Serial Number is 1CEC:3E04.
Directory of I:\

12-21-21 10:57a         <DIR>      0 ----  LOST.DIR
12-21-21 10:57a         <DIR>      0 ----  .android_secure
12-21-21 11:00a         <DIR>      0 ----  Music
12-21-21 10:58a         <DIR>      0 ----  Android
12-21-21 10:58a         <DIR>      0 ----  Podcasts
12-21-21 10:58a         <DIR>      0 ----  Ringtones
12-21-21 10:58a         <DIR>      0 ----  Alarms
12-21-21 10:58a         <DIR>      0 ----  Notifications
12-21-21 10:58a         <DIR>      0 ----  Pictures
12-21-21 10:58a         <DIR>      0 ----  Movies
12-21-21 10:58a         <DIR>      0 ----  Download
12-21-21 10:58a         <DIR>      0 ----  DCIM
       12 file(s)           0 bytes used
                  118,064,087 K bytes free

[I:\]format i: /fs:jfs
The type of file system for the disk is FAT32.
Warning!  All data on hard disk i: will be lost!
Proceed with FORMAT (Y/N)? y
Enter up to 11 characters for the volume label
or press Enter for no volume label.


Format completed successfully.

120825104 kilobytes total disk space.
120773552 kilobytes are available.

[I:\]dir I:

Volume in drive I has no label.
The Volume Serial Number is 63C2:D5BE.
Directory of I:\

 8-20-24  2:56p         <DIR>      0 ----  .
 8-20-24  2:56p         <DIR>      0 ----  ..
        2 file(s)           0 bytes used
                  123,672,117 K bytes free

--- End code ---

With FC/2 reporting,

--- Code: ---117,957M total bytes on drive I:
117,942M bytes free on drive I:
  0 files use 0 bytes in
           I:\

    File System : JFS

--- End code ---

So formatting a stick as JFS works fine as long as previously it was partitioned with LVM or DFSee, I forget what I used, likely DFSee.
And of course, whether it is a USB key or hard drive doesn't matter to the operating system, they look the same.

--- End quote ---

Ok thanks,

I do not understand why I'm not able to see more than 56Gb !
(under LVM or DFSEE while under windows, the size is correct)
Have to investigate more

Regards

Remy:
I just tried using a new unformated usb stick and yes, I fully see its size.

I think having found a possible investigation !
The key was full fat32 formatted (128GB) before using it under OS/2

FAT32 very big partition (above maximum specification - here, 1280GB) works well under windows and if a SATA HDD partition, it is well handled under OS/2 too, using a big one currently to share files without EA's between OS/2 and windows.

Could you open a 128GB FAT32 usb stick ? (usable under OS/2 and Windows to have multi/os compatibility)   


Is it possible to create more than one partition on an usb stick and have all available ?

Lars:
1) Use DFSee to wipe the first sectors to zero.
2) Then start minilvm/lvm to create partitions
3) remove and reinsert stick and format partitions

USBMSD.ADD does not make any distinction between a USB HDD and a USB stick. They are handled in the exact same way.

Yes, you can create multiple partitions. I have done that and it worked.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version