Format and fdisk does not report partition table information for devices under VxVM that or formated cdsdisk.

book

Article ID: 100000656

calendar_today

Updated On:

Resolution

Environment:
-- StorageFoundation 5.1 is newly installed and configured.
-- Deviceshave been initialized under VxVM control with default cdsdisk format.
-- Commandformat or fdisk is used to report device partition information for devices thatare under VxVM control that are using the cdsdisk format.
 
Example,
# vxdisk -e list|grep c2t4849544143484920373330363132343730323035d0s2
ams_wms0_205auto:cdsdisk - - online c2t4849544143484920373330363132343730323035d0s2 stdfc
 
# format -e /dev/rdsk/c2t4849544143484920373330363132343730323035d0s2
selecting/dev/rdsk/c2t4849544143484920373330363132343730323035d0s2
[diskformatted]
FORMATMENU:
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 - runthe 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 - savenew disk/partition definitions
inquiry -show vendor, product and revision
scsi -independent SCSI mode selects
cache -enable, disable or query SCSI disk cache
volname -set 8-character volume name
!- execute , then return
quit
 
format>p
WARNING -This disk may be in use by an application that has
modifiedthe fdisk table. Ensure that this disk is
notcurrently in use before proceeding to use fdisk.
 
 
# fdisk/dev/rdsk/c2t4849544143484920373330363132343730323035d0s2
No fdisktable exists. The default partition for the disk is:
a 100%"SOLARIS System" partition
Type "y" toaccept the default partition, otherwise type "n" to edit the partitiontable.
n
 
Solution:
Starting Storage Foundation 5.1 any device initialized with cdsdisk format will not support format or fdisk. If partition table information needs to be viewed the administrator can use the command prtvtoc.
 
# prtvtoc/dev/rdsk/c2t4849544143484920373330363132343730323035d0s2
*/dev/rdsk/c2t4849544143484920373330363132343730323035d0s2 partitionmap
*
*Dimensions:
* 512bytes/sector
* 768sectors/track
* 50tracks/cylinder
* 38400sectors/cylinder
* 983cylinders
* 981accessible cylinders
*
*Flags:
* 1:unmountable
* 10:read-only
*
* FirstSector Last
* PartitionTag Flags Sector Count Sector Mount Directory
2 5 01 037670400 37670399
7 15 01 037670400 37670399
8 1 01 038400 38399
 
 

 

Issue/Introduction

Format and fdisk does not report partition table information for devices under VxVM that or formated cdsdisk.