No local disk in format in Solaris | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

No local disk in format in Solaris

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-06-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 19 November 2014, 6:27 PM EST
Posts: 363
Thanks: 34
Thanked 4 Times in 4 Posts
No local disk in format in Solaris

I have Solaris-10 server. During troubleshooting of some storage issue, I removed disk entries from /dev/dsk and /dev/rdsk
HTML Code:
rm /dev/vx/dmp/*
rm /dev/vx/rdmp/*
rm /dev/dsk/*
rm /dev/rdsk/
And rebooted the box. That recreated device tree for SAN disks, but I do not see c1t0d0s0 and c1t1d0s0 disk in format output.
HTML Code:
root@oradbprod_apps01:/# ls -l /dev/dsk | grep -i c1t1d0
lrwxrwxrwx   1 root     root          51 Mar  5 22:02 c1t1d0s0 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@1,0:a
lrwxrwxrwx   1 root     root          51 Mar  6 09:50 c1t1d0s7 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@1,0:h
root@oradbprod_apps01:/# ls -l /dev/dsk | grep -i c1t0d0
lrwxrwxrwx   1 root     root          51 Mar  5 22:02 c1t0d0s0 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@0,0:a
lrwxrwxrwx   1 root     root          51 Mar  6 09:50 c1t0d0s7 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@0,0:h
root@oradbprod_apps01:/# ls -l /dev/rdsk | grep -i c1t1d0
lrwxrwxrwx   1 root     root          55 Mar  6 09:50 c1t1d0s7 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@1,0:h,raw
root@oradbprod_apps01:/# ls -l /dev/rdsk | grep -i c1t0d0
lrwxrwxrwx   1 root     root          55 Mar  6 09:50 c1t0d0s7 -> ../../devices/ssm@0,0/pci@18,700000/scsi@2/sd@0,0:h,raw
root@oradbprod_apps01:/# echo | format | grep -i c1t1d0
root@oradbprod_apps01:/# echo | format | grep -i c1t0d0
root@oradbprod_apps01:/#
Due to this reason, I can not label and mirror disks. Can somebody help me in bringing them back in format output ?

Last edited by solaris_1977; 03-06-2013 at 02:28 PM..
Sponsored Links
    #2  
Old 03-06-2013
achenle achenle is offline
Registered User
 
Join Date: Jun 2009
Last Activity: 21 November 2014, 2:10 PM EST
Posts: 776
Thanks: 1
Thanked 112 Times in 107 Posts
Well, since rebooting seems OK, try a reconfigure reboot:


Code:
reboot -- -r

Sponsored Links
    #3  
Old 03-06-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 19 November 2014, 6:27 PM EST
Posts: 363
Thanks: 34
Thanked 4 Times in 4 Posts
I did that already and still it did not came up.
    #4  
Old 03-06-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 21 November 2014, 3:02 PM EST
Location: Cornwall, UK
Posts: 852
Thanks: 46
Thanked 159 Times in 144 Posts
Boot the system from cd.....


Code:
 
boot cdrom -s

If necessary use 'format' to find out the device path eg /dev/dsk/c0t0d0s0 of your hard disk root filesystem (unless you already know it).

mount your harddisk root filesystem under /a


Code:
 
devfsadm -r /a -p /a/etc/path_to_inst

Now check your vfstab (now located at /a/etc/vfstab) looks right and tells a reconfiguring Solaris where all the filesystem are (especially the root filesystem). Take your time and get this right.

When you're sure vfstab is good take the system down.

Ensure that the first time you boot you tell Solaris to reconfigure


Code:
 
boot -r

That should be job done. Post back results.
Sponsored Links
    #5  
Old 03-06-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 19 November 2014, 6:27 PM EST
Posts: 363
Thanks: 34
Thanked 4 Times in 4 Posts
hicksd8, strange situation is like this. Server is up and running right now with rootdg of VxVM. rootdg is consist of c1t1d0. So I can assume that c1t1d0s0 (for root), & c1t1d0s5 (for /var) are working fine. But I am not able to see them in format output.

Code:
root@oradbprod_apps01:/# format c1t1d0
No disks found!
root@oradbprod_apps01:/# format c1t0d0
No disks found!

I already did reconfiguration reboot, which didn't helped. Is there anyway if I can boot it without reboot and online ?
Sponsored Links
    #6  
Old 03-06-2013
hicksd8 hicksd8 is offline Forum Advisor  
Registered User
 
Join Date: Feb 2012
Last Activity: 21 November 2014, 3:02 PM EST
Location: Cornwall, UK
Posts: 852
Thanks: 46
Thanked 159 Times in 144 Posts
What says..........


Code:
 
format

with no command line arguments?

Disk is encapsulated by VxVM.
Sponsored Links
    #7  
Old 03-07-2013
solaris_1977 solaris_1977 is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 19 November 2014, 6:27 PM EST
Posts: 363
Thanks: 34
Thanked 4 Times in 4 Posts
format gives me long output of all Storage disks, but none of both local disks. Yes, disks are encapsulated with VxVM
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sysdump on local disk gowthamakanthan AIX 1 10-22-2012 09:11 AM
Sharing a local disk between to solaris machines zionassedo Solaris 2 02-19-2012 02:10 PM
Are disk format across AIX and Solaris platforms compatable? AusTan24 UNIX for Dummies Questions & Answers 2 04-27-2011 12:32 PM
installing from local disk Hitesh Shah Solaris 5 03-05-2009 04:37 AM



All times are GMT -4. The time now is 08:08 PM.