Sun Fire 480 - devfsadm -C not working after replacing one of the boot disks


 
Thread Tools Search this Thread
Operating Systems Solaris Sun Fire 480 - devfsadm -C not working after replacing one of the boot disks
# 1  
Old 08-06-2014
Sun Fire 480 - devfsadm -C not working after replacing one of the boot disks

Our SunFire 480 - one of the boot disks failed. It is mirrored with VxVm. I followed the exact steps that is detailed in the veritas and sun guides (I can not post the URL since I don't have 5 posts yet.)

After removing the failed disk, I ran devfsadm -C -c disk and it still shows the device links under /dev/dsk and /dev/rdsk. So, I can not put in the new drive and the server is running with only one boot disk (without any mirrors).

So, what is the best way to get rid of the device links for the failed disk under /dev/dsk and /dev/rdsk?
# 2  
Old 08-06-2014
Code:
devfsadm -C

Should have re-created the links...
Perhaps some outputs from your terminal session would help...
# 3  
Old 08-07-2014
What outputs are you looking for?
# 4  
Old 08-07-2014
What makes you think that you need to delete the device node??

If a disk fails and you replace it with another in the same slot then the replacement disk will need/use the same device node.

If you are sure that you must delete the device node (and then recreate it if you are using the same slot) then you can force deletion with:

Code:
# rm -f /dev/dsk/<device node>

but I don't think that you need to do that.

devfsadm can be used (in this context) to (re)create device nodes that you need to use.

Also, devfsadm will not create a device node for a disk that is not yet in the machine.
This User Gave Thanks to hicksd8 For This Post:
# 5  
Old 08-08-2014
480 crashed and we brought it up using the rootmirror. Now, we are trying to replace the first drive. We ran the following steps before pulling out the disk:
1. vxdiskadm - Step #4 - Remove a disk for replacement
2. luxadm remvove_disk c1t0d0s2 - this step gave an error saying that invalid path
3. So, I had to do a luxadm with a force flag like this: - > luxadm -v remove_device -F /dev/rdsk/c1t0d0s2

(This step also gave an error after pulling out the disk saying
Error: Unexpected Fibre Channel topology found. - /dev/rdsk/c1t0d0s2.)


4. devfsadm -C -c disk - this should have cleaned all the device tree links for c1t0d0 under /dev/dsk and /dev/rdsk - but it did not remove it.


What is the best option to get rid of the device links under /dev/dsk and /dev/rdsk for this removed drive?





# 6  
Old 08-08-2014
As I already said in post#4, if you really think it necessary, you can delete a device node by using:

Code:
# rm -f /dev/dsk/<device node>

You should also remove the same device node from /dev/rdsk and /dev/cfg
# 7  
Old 08-08-2014
Does it cause any other trouble if I do forced rm -f to delete the device nodes? Anything you can think of?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Sun fire x2270

Hello, I have purchaced an old SUn fire x2270 server . I wanted to make ILOM upgrade to the latest version of software : ILOM 3.0.9.18.a r126592 BIOS vers. 2.09 Server 2.2.3 (10-Aug-2018) Because my version is very outdated. But i can't download the updatebecause it's require... (4 Replies)
Discussion started by: LouisLakoute
4 Replies

2. Solaris

Sun Fire 4800 is not powering-on

I switched on the power to the server. But, the server did not power on i.e., none of the 3 LEDs on the front panel is lighted. (Power supplies are showing only amber LEDs with "Ready to remove" sign). I tried to turn on the power supplies via System Controller menu (platform shell), but it... (6 Replies)
Discussion started by: solind
6 Replies

3. Solaris

Sun-Fire V440 boot disk issue

Hi, I have Sun Fire V440. Boot disks are mirrored. system crashed and it's not coming up. Error message is Insufficient metadevice database replicas located. Use Metadb to delete databases which are broken. Boot disks are mirrored and other disks are ZFS configuration. Please... (2 Replies)
Discussion started by: samnyc
2 Replies

4. Solaris

Error while trying to boot from cdrom on Sun Fire T2000

Hi Guyz, I recently downloaded sol-10-u6-ga1-sparc-dvd.iso from Sun. I burned the disk as cd .iso. When trying to boot at the ok> boot cdrom i get the following error: ----------------------------------------------------------------------- Boot device:... (2 Replies)
Discussion started by: Mwamba
2 Replies

5. Solaris

Sun Fire 280R Sun Solaris CRT/Monitor requirements

I am new to Sun. I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor? Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies

6. Solaris

Sun Fire won't boot anymore

Hi all - I have an issue with our (way old) single processor SunFire 280R, running Solaris 9.0.4. It won't boot even after multiple power cycles. There was a power outage last week end in the computer room, so this might have to do. In normal boot mode, the screen shows a single line : ... (5 Replies)
Discussion started by: bostella
5 Replies

7. Solaris

Sun Fire v440 keeps shutting down

Hello, I hope you can help me. I am new to Sun servers and we have a Sun Fire v440 server in which one power supply failed, we are waiting for new one. But now our server is shutting down constantly. Is there any setting with which we can prevent this behaviour? (1 Reply)
Discussion started by: Tibor
1 Replies

8. UNIX for Dummies Questions & Answers

Sun Fire 280R

Hello all, I'm lost and can't figure this problem out. I have a Sun fire 280R running Solaris 8. Everything was working great. I have one drive in bay 1(not 0). But when I reboot the system it trys to open files in /dev/rdsk/c1t1d0s0. Should it have been opeing /dev/rdsk/c1t0d0s0, the... (4 Replies)
Discussion started by: larryase
4 Replies

9. UNIX for Advanced & Expert Users

Sun Fire v1280 is crashing

I still haven't got an answer to this question... Excerpt from My SysAd Blog A colleague of mine is having a problem with a Sun Fire v1280 server crashing. He tried Googling for the error message in red but hasn't found anything yet. Your insights would be greatly appreciated. "cannot... (2 Replies)
Discussion started by: esofthub
2 Replies
Login or Register to Ask a Question