IT dragons tamed since 2006 (with 750 solutions and growing)

[login]
[join]

your IP[54.162.164.247]




If you thought this solution was helpfull, please login and vote. Not a member? click here

ID764
TitleSolaris 10 command "format" appears hang
Byjohn
Keywordsformat
CategorySolaris 10
Votes0
Views8
Score8
Date2017-06-29
Body

Solaris 10 command "format" appears hang


"format" command appears hang.

Unable to do anything with format, for example, printing the partition table, modifying the
partition table of the device, la belling the disk, etc. Any time the 'format' utility is run on the disk, it performs many verification/checks on the disk
itself (does it contain a slice that is mounted, is it part of SVM metadevice, is it being used by
ZFS filesystem, is it being used by swap etc...) So, if there are lots of devices, or if there were some kind of issue on the device itself (for
example, differences on what the label says and what the actual device stated), 'format' command may
appears hang as it does all sort of checking in the background. So, to avoid this kind of situation, there is an environment variable 'NOINUSE_CHECK' which can be
set / turned on, prior of running the 'format' command: # NOINUSE_CHECK=1 # export NOINUSE_CHECK # format Once that is set, the 'format' command will proceed with no time by passing all of the verifications
and checking.
drackogz02:~# format Searching for disks...^C ^C^C^C^C^C^C drackogz02:~# drackogz02:~# format -e Searching for disks...^C ^C^C^C^C^C^C drackogz02:~# NOINUSE_CHECK=1 drackogz02:~# export NOINUSE_CHECK drackogz02:~# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 /pci@0,0/pci1028,601@11,4/disk@0,0 1. c0t1d0 /pci@0,0/pci1028,601@11,4/disk@1,0 2. c0t2d0 /pci@0,0/pci1028,601@11,4/disk@2,0 3. c0t3d0 /pci@0,0/pci1028,601@11,4/disk@3,0 4. c8t600A0B80005AC61B00001D5B5020ED50d0 /scsi_vhci/disk@g600a0b80005ac61b00001d5b5020ed50 5. c8t600A0B80005AC61B0000082A4D014ED7d0 /scsi_vhci/disk@g600a0b80005ac61b0000082a4d014ed7 6. c8t600A0B80005AC61B000008264D01248Cd0 /scsi_vhci/disk@g600a0b80005ac61b000008264d01248c 7. c8t600A0B80005AC61B000008284D014B7Fd0 /scsi_vhci/disk@g600a0b80005ac61b000008284d014b7f 8. c8t600A0B80005AD9680000083B4D014753d0 /scsi_vhci/disk@g600a0b80005ad9680000083b4d014753 9. c8t600A0B80005AD9680000083D4D014AAFd0 /scsi_vhci/disk@g600a0b80005ad9680000083d4d014aaf 10. c8t600A0B800011BF600000B0584D01350Fd0 /scsi_vhci/disk@g600a0b800011bf600000b0584d01350f 11. c8t600A0B800011BF600000D5705020D4C5d0 63> /scsi_vhci/disk@g600a0b800011bf600000d5705020d4c5 12. c8t600A0B800011BF6000006BC75460B083d0 /scsi_vhci/disk@g600a0b800011bf6000006bc75460b083 13. c8t600A0B800011BF600000118F5600A261d0 63> /scsi_vhci/disk@g600a0b800011bf600000118f5600a261 14. c8t600A0B800011BF6000004417546088F2d0 /scsi_vhci/disk@g600a0b800011bf6000004417546088f2 15. c8t600A0B800011F9D20000A8D75460BF05d0 /scsi_vhci/disk@g600a0b800011f9d20000a8d75460bf05 16. c8t600A0B800011F9D20000A8D5546097A9d0 /scsi_vhci/disk@g600a0b800011f9d20000a8d5546097a9 17. c8t600A0B800011F9D20000ACDC5600B52Fd0 63> /scsi_vhci/disk@g600a0b800011f9d20000acdc5600b52f 18. c8t600A0B800011F9D200000F03533A9C02d0 63> /scsi_vhci/disk@g600a0b800011f9d200000f03533a9c02 19. c8t600A0B800011F9D20000116D54195601d0 /scsi_vhci/disk@g600a0b800011f9d20000116d54195601 Specify disk (enter its number): ^C drackogz02:~#
SharediggDigg this solutiondel.icio.usPost to del.icio.usSlashdotSlashdot it!email to a friend
PrintPrint This Solution Print
If you thought this solution was helpfull, please login and vote. Not a member? click here


Latest News

Thanks to Dave for hosting this site!

Registered User Area

[login]
[new user]


Paying the Rent



Advanced Search:

Choose body, keywords, title, or all to include in search 
words to include in search 
and(+)

Choose body, keywords, title, or all to include in search 
additional words to include in search 
not(-)

Choose body, keywords, title, or all to exclude in search 
words to exclude from search 


catagory
order by






diggDigg Dracko
del.icio.usPost to del.icio.us
SlashdotSlashdot us!




Don't forget to vote!
Powered by John Core
Bye!

Dracko by John Core

me

View John Core's profile on LinkedIn


Certifications
security logo saber ccsa logo ccna-logo hbss veritas

Technologies
oracle_logo
solaris_logo linux-logo openstack_logo vbox_logo splunk storagetek_logo sun_logo oraclevm_logo brocade_logo bsd_logo

Languages
c-logo bash-logo php-logo

Employers
PlanetPayment Medecision AWi PennStateHershey DISA DLA cim Sun

Consulting
KMBS PNC FBI CCS PTD Sentinel