No local disk in format in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris No local disk in format in Solaris
# 1  
Old 03-06-2013
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..
# 2  
Old 03-06-2013
Well, since rebooting seems OK, try a reconfigure reboot:

Code:
reboot -- -r

# 3  
Old 03-06-2013
I did that already and still it did not came up.
# 4  
Old 03-06-2013
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.
# 5  
Old 03-06-2013
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 ?
# 6  
Old 03-06-2013
What says..........

Code:
 
format

with no command line arguments?

Disk is encapsulated by VxVM.
# 7  
Old 03-07-2013
format gives me long output of all Storage disks, but none of both local disks. Yes, disks are encapsulated with VxVM
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

SAN vs. Local disk.

I am in the market looking to purchase a new E950 server and I am trying to decide between using local SSD drives or SSD based SAN. The application that will be running on this server is read-intensive so I am looking for the most optimal configuration to support this application. There are no... (2 Replies)
Discussion started by: ikx
2 Replies

2. Shell Programming and Scripting

Unable to convert passwd lastupdate value into scalar local format

Dear all, I am unable to get the desired result upon executing the below script. the problem is at `perl -le 'print scalar localtime $msecage'` ouput which gives the following result "Thu Jan 1 05:00:00 1970" instead of "Tue Nov 13 10:30:56 2012" but when I run the same command from shell... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

3. AIX

Sysdump on local disk

Hello Team, Our p740 systems are booting up from SAN. We would like to configure the local disk(which is not part of rootvg) as a primary dump device. I have assigned the same too. But in the errpt throwing the below error. Please help me on this. ... (1 Reply)
Discussion started by: gowthamakanthan
1 Replies

4. Solaris

Sharing a local disk between to solaris machines

Hi, I recently added a disk on a solaris 9 and I wanted to make it accessible for another machine, using the same name here is what i did : On the machine holding the internal disk in vfstab i added the line /dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /SHARED2 ufs 2 yes ... (2 Replies)
Discussion started by: zionassedo
2 Replies

5. UNIX for Dummies Questions & Answers

Are disk format across AIX and Solaris platforms compatable?

I totally new to UNIX and I have a newbie question. I have 2 servers, AIX and Solaris and I need to be on just one platform. both serves have 2 physical drives, with the OS on one and data on the other. can I take the data drive from the AIX server and mount it on the Solaris server? or would... (2 Replies)
Discussion started by: AusTan24
2 Replies

6. UNIX for Advanced & Expert Users

Problems with tar between local and nfs disk

Hi, I am trying to move a local directory from a local disk to a nfs disk that has been shared on another file server. I am using this tar command: tar cf - . | (cd /export/nfsdisk && tar xpf - ) It copies the data okay but the big problem is that is resets the owner:group to 'nobody'. The... (2 Replies)
Discussion started by: jlowry
2 Replies

7. Solaris

installing from local disk

We ordered a DVD for solaris 10 upgrade . However I realized that we have cd rom only and DVD is unreadable . Can i use this DVD , to upgrade the release from local disks. If yes , is there any specific procedure. (5 Replies)
Discussion started by: Hitesh Shah
5 Replies

8. Solaris

run xclock from local solaris to remote solaris

Hello - I am trying to connect to a remote solaris box from a solaris box i have locally present with me using 'ssh login@IP' ... Its connecting fine but... when I run xclock - it says 'Can't open display' Whereas, IF I connect to same remote solaris IP from my windows desktop locally via putty... (9 Replies)
Discussion started by: panchpan
9 Replies

9. Shell Programming and Scripting

Finding local disk space

Hi Guys!! Iam new to this thread. I have a very urgent requirement of finding the local disk space. Iam running a php script on linux machine and need to find the local disk space on the remote machines. I tried using df -h, which works if I specify the drive name on the remote machine.... (4 Replies)
Discussion started by: navjak
4 Replies
Login or Register to Ask a Question