Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to create FS in new HDD in X86

2670859May 26 2014 — edited Jun 2 2014

Dear All,

I had installed Solaris 10 in X86 Machine. I had installed OS in 1 HDD and kept other HDD for data purposes.But i m neither able to format the disk nor able to create a partition on it. I had enclosed you the putty logs of those steps. Request you to kindly help me.

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2014.05.26 15:44:39 =~=~=~=~=~=~=~=~=~=~=~=

bash-3.2#
bash-3.2# formatcat /etc/iscsi/catformat
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DELL   -PERC 6/i       -1.11 cyl 30315 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,25e3@3/pci1028,1f0c@0/sd@0,0
       1. c0t1d0 <DELL   -PERC 6/i       -1.11 cyl 30315 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,25e3@3/pci1028,1f0c@0/sd@1,0
Specify disk (enter its number): 1
selecting c0t1d0
[disk formatted]


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
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> format
Ready to format.  Formatting cannot be interrupted.
Continue? y
Beginning format. The current time is Mon May 26 15:45:32 2014

Formatting...
Format failed

Retry of formatting operation without any of the standard
mode selects and ignoring disk's Grown Defects list.  The
disk may be able to be reformatted this way if an earlier
formatting operation was interrupted by a power failure or
SCSI bus reset.  The Grown Defects list will be recreated
by format verification and surface analysis.

Retry format without mode selects and Grown Defects list? y
Formatting...
Illegal request during format
ASC: 0x20   ASCQ: 0x0
Illegal request during format
ASC: 0x20   ASCQ: 0x0
failed
format> fdisk
             Total disk size is 30318 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  30317    30317    100


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. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection: 1
Select the partition type to create:
   1=SOLARIS2  2=UNIX        3=PCIXOS     4=Other
   5=DOS12     6=DOS16       7=DOSEXT     8=DOSBIG
   9=DOS16LBA  A=x86 Boot    B=Diagnostic C=FAT32
   D=FAT32LBA  E=DOSEXTLBA   F=EFI        0=Exit? 1
Specify the percentage of disk to use for this partition
(or type "c" to specify the size in cylinders). c
Enter starting cylinder number: 5
Enter partition size in cylinders: 10
Cylinder 5 is already allocated
retry the operation.             Total disk size is 30318 cylinders
             Cylinder size is 16065 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Solaris2          1  30317    30317    100


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. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection: 6
format> quit
bash-3.2# df -kh
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0t0d0s0      952M   453M   442M    51%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   6.5G   960K   6.5G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/dev/dsk/c0t0d0s6      6.2G   4.4G   1.8G    71%    /usr
/usr/lib/libc/libc_hwcap1.so.1
                       6.2G   4.4G   1.8G    71%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
/dev/dsk/c0t0d0s1      272M   124M   121M    51%    /var
swap                   6.5G    36K   6.5G     1%    /tmp
swap                   6.5G    28K   6.5G     1%    /var/run
/dev/dsk/c0t0d0s5      220M   128M    70M    65%    /opt
/dev/dsk/c0t0d0s7      219G   222M   217G     1%    /export/home
/export/home/unixadmin1
                       219G   222M   217G     1%    /home/unixadmin1
bash-3.2# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DELL   -PERC 6/i       -1.11 cyl 30315 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,25e3@3/pci1028,1f0c@0/sd@0,0
       1. c0t1d0 <DELL   -PERC 6/i       -1.11 cyl 30315 alt 2 hd 255 sec 63>
          /pci@0,0/pci8086,25e3@3/pci1028,1f0c@0/sd@1,0
Specify disk (enter its number): 0
selecting c0t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c0t0d0s1 is currently mounted on /var. Please see umount(1M).
/dev/dsk/c0t0d0s3 is currently used by swap. Please see swap(1M).
/dev/dsk/c0t0d0s5 is currently mounted on /opt. Please see umount(1M).
/dev/dsk/c0t0d0s6 is currently mounted on /usr. Please see umount(1M).
/dev/dsk/c0t0d0s7 is currently mounted on /export/home. Please see umount(1M).


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
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> partition


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> print
Current partition table (original):
Total disk cylinders available: 30315 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm     263 -   391     1011.91MB    (129/0/0)     2072385
  1        var    wm     392 -   428      290.24MB    (37/0/0)       594405
  2     backup    wm       0 - 30314      232.22GB    (30315/0/0) 487010475
  3       swap    wu       1 -   262        2.01GB    (262/0/0)     4209030
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm     429 -   458      235.33MB    (30/0/0)       481950
  6        usr    wm     459 -  1285        6.34GB    (827/0/0)    13285755
  7       home    wm    1286 - 30314      222.37GB    (29029/0/0) 466350885
  8       boot    wu       0 -     0        7.84MB    (1/0/0)         16065
  9 unassigned    wm       0                0         (0/0/0)             0

partition> quit


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
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> quit
bash-3.2# ftp
ftp> bye
bash-3.2# exit
exit
# exit
bash-3.2$ exit
exit
$ exit

Sathish

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2014
Added on May 26 2014
2 comments
1,797 views