Project

General

Profile

Actions

Bug #8065

open

rmformat can't handle GPT-formatted USB devices

Added by Alexander Pyhalov over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2017-04-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

rmformat can't handle GPT-formatted USB devices

$ diskinfo 
TYPE    DISK                    VID      PID              SIZE          RMV SSD
USB     c4t0d0                  JetFlash TS4GJF160           3.91 GiB   yes no 
$ sudo rmformat
Password: 
Sorry, try again.
Password: 
Looking for devices...
     1. Logical Node: /dev/rdsk/c3t2d0p0
        Physical Node: /pci@0,0/pci1734,10fd@1f,2/cdrom@2,0
        Connected Device: Optiarc  DVD RW AD-7170S  1.82
        Device Type: DVD Reader/Writer
        Bus: <Unknown>
        Size: <Unknown>
        Label: <Unknown>
        Access permissions: <Unknown>
     2. Logical Node: /dev/rdsk/c4t0d0p0
        Physical Node: /pci@0,0/pci1734,10fd@1d,7/storage@6/disk@0,0
        Connected Device: JetFlash TS4GJF160        0.00
        Device Type: Removable
        Bus: USB
        Size: 4.0 GB
        Label: <Unknown>
        Access permissions: Medium is not write protected.
$ sudo rmformat -F force /dev/rdsk/c4t0d0p0 
Formatting disk.
Format failed : Operation not supported
$ sudo fdisk /dev/rdsk/c4t0d0p0
 Total disk size is 1999 cylinders
             Cylinder size is 4096 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 EFI               0   396     397     20

SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Edit/View extended partitions
   6. Exit (update disk configuration and exit)
   7. Cancel (exit without updating disk configuration)
Enter Selection: 

Actions #1

Updated by Nikola M. over 5 years ago

I suppose this is the same issue, just to add that:
also can't auto-mount USB drives with GPT / rmmount can't mount GPT USB drives.

Actions

Also available in: Atom PDF