Project

General

Profile

Actions

Bug #561

closed

Strange characters when executing "format"

Added by Hernán Saltiel over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2010-12-19
Due date:
% Done:

0%

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

Description

Hi!
When executing the "format" command as the root user, and having 2 x 250 GB + 1 x 1 TB disks, this is the output I receive:

root@dshecsa01-oi:/opt/pkgs# format
Searching for disks...
Failed to inquiry this logical diskFailed to inquiry this logical diskdone

AVAILABLE DISK SELECTIONS:
0. c2d0
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c2d1
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@1,0
2. c3d0 <drive type unknown>
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
Specify disk (enter its number):

...and if I select disk #2, which is the 1 TB one, I get this message:

AVAILABLE DRIVE TYPES:
0. ?????p(oH?8q???????????pHo0"???Z
1. ?????p(oH?8q???????????pHo0"???Z
2. other
Specify disk type (enter its number):

If in format I select the first disk, this is what I get (it's wrong, it's a 250 GB HD):
root@dshecsa01-oi:/opt/pkgs# format
Searching for disks...
Failed to inquiry this logical diskFailed to inquiry this logical diskdone

AVAILABLE DISK SELECTIONS:
0. c2d0
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@0,0
1. c2d1
/pci@0,0/pci-ide@1f,2/ide@0/cmdk@1,0
2. c3d0 <drive type unknown>
/pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0
Specify disk (enter its number): 0
selecting c2d0
NO Alt slice
No defect list found
[disk formatted, no defect list found]

FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
fdisk - run the fdisk program
repair - repair a defective sector
show - translate a disk address
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
volname - set 8-character volume name
!<cmd> - execute <cmd>, then return
quit
format> p

PARTITION MENU:
0 - change `0' partition
1 - change `1' partition
2 - change `2' partition
3 - change `3' partition
4 - change `4' partition
5 - change `5' partition
6 - change `6' partition
7 - change `7' partition
select - select a predefined table
modify - modify a predefined partition table
name - name the current table
print - display the current table
label - write partition map and label to the disk
!<cmd> - execute <cmd>, then return
quit
partition> p
Current partition table (original):
Total disk cylinders available: 4814 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks
0 root wm 3 - 4813 36.85GB (4811/0/0) 77288715
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 4813 36.88GB (4814/0/0) 77336910
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 7.84MB (1/0/0) 16065
9 unassigned wm 0 0 (0/0/0) 0

partition>

Both 250 GB disks have at least one Solaris2 partition, the first has these partitions:

root@dshecsa01-oi:/opt/pkgs# prtpart /dev/rdsk/c2d0p0 -ldevs

Fdisk information for device /dev/rdsk/c2d0p0

  • NOTE **
    /dev/dsk/c2d0p0 - Physical device referring to entire physical disk
    /dev/dsk/c2d0p1 - p4 - Physical devices referring to the 4 primary partitions
    /dev/dsk/c2d0p5 ... - Virtual devices referring to logical partitions

Virtual device names can be used to access EXT2 and NTFS on logical partitions

/dev/dsk/c2d0p1 IFS: NTFS
/dev/dsk/c2d0p2 Linux swap
/dev/dsk/c2d0p3 Linux native
/dev/dsk/c2d0p4 Solaris x86

...and the second has these:
root@dshecsa01-oi:/opt/pkgs# prtpart /dev/rdsk/c2d1p0 -ldevs

Fdisk information for device /dev/rdsk/c2d1p0

  • NOTE **
    /dev/dsk/c2d1p0 - Physical device referring to entire physical disk
    /dev/dsk/c2d1p1 - p4 - Physical devices referring to the 4 primary partitions
    /dev/dsk/c2d1p5 ... - Virtual devices referring to logical partitions

Virtual device names can be used to access EXT2 and NTFS on logical partitions

/dev/dsk/c2d1p1 Solaris x86

What can be making the disks look that strange in OpenIndiana?
Thanks, and best regards,

HeCSa.


Files

bcheck.log (7.9 KB) bcheck.log bcheck output Albert Lee, 2010-12-27 08:08 AM
Actions

Also available in: Atom PDF