Most Popular in Unix
-
Random Hacking: Network Unlocking a Sony Ericsson w300i mobile phone
-
Face book, whoo hoo, a second post in a week
-
Most Highly Recommended Solaris Security Tools
-
Strip a Prepended String From a Filename - Unix
-
Hardware Mismatch for Fibre Channel Hard Drive
-
IrfanView - Comprehensive Graphic Viewer for Windows
-
How can i use fork,sleep,wait and write in a process with father and son..??
-
Forays into C++
-
AutoDAO: 0.1 released!
-
Citrix Users Report Login Issue on Unix Workstation
Hardware Mismatch for Fibre Channel Hard Drive
Article posted from
My SysAd Blog (http://www.mysysad.com/2008/08/hardware-mismatch-for-fibre-channel.html)
We had a hard drive (FC) mismatch and had to rebuild the path_to_inst file and /dev/rdsk/*, /dev/dsk/* and /dev/rmt/* directories. We had two drives (but the backup drive was inoperable), so instead of booting off the backup, we had to recover via cdrom. That part was a little trickier than expected. After a little web searching, a handy disaster discovery procedure (hardware mismatch) was found on the Sun BigAdmin site.
Method 1 (towards the bottom of the Sun page)
Here is what was done.
Boot from CDROM
ok boot cdrom -s
# mount /dev/dsk/c1t#d#s0 /mnt
Rename path_to_inst
# mv /mnt/etc/path_to_inst /mnt/etc/path_to_inst.org
Remove all old device links
# rm /mnt/dev/rdsk/c1*; rm /mnt/dev/dsk/c1*; rm /mnt/dev/rmt/*
Rebuild path_to_inst and devices (this (syntax) was the part we were missing)
# devfsadm -r /mnt -p /mnt/etc/path_to_inst
**Note: Suspect corrupted bootblock? - reinstall it.
# cd /mnt/usr/platform/`uname -i`/lib/fs/ufs
# /mnt/usr/sbin/installboot bootblk /dev/rdsk/c1t#d#s0
Unmount root slice and reboot
# cd /
# umount /mnt; init 6
By the way, we tried method two (boot -rav) prior to performing the web search but each attempt failed.
Method 1 (towards the bottom of the Sun page)
Here is what was done.
Boot from CDROM
ok boot cdrom -s
# mount /dev/dsk/c1t#d#s0 /mnt
Rename path_to_inst
# mv /mnt/etc/path_to_inst /mnt/etc/path_to_inst.org
Remove all old device links
# rm /mnt/dev/rdsk/c1*; rm /mnt/dev/dsk/c1*; rm /mnt/dev/rmt/*
Rebuild path_to_inst and devices (this (syntax) was the part we were missing)
# devfsadm -r /mnt -p /mnt/etc/path_to_inst
**Note: Suspect corrupted bootblock? - reinstall it.
# cd /mnt/usr/platform/`uname -i`/lib/fs/ufs
# /mnt/usr/sbin/installboot bootblk /dev/rdsk/c1t#d#s0
Unmount root slice and reboot
# cd /
# umount /mnt; init 6
By the way, we tried method two (boot -rav) prior to performing the web search but each attempt failed.
More Stories in My SysAd Blog
- Strip a Prepended String From a Filename - Unix
- IrfanView - Comprehensive Graphic Viewer for Windows
- Mounting ISO and DD Image Files
- Hardware Mismatch for Fibre Channel Hard Drive
- Unable to Switch User Error - su: no shell
- iPod Disconnected During Recharge
- Citrix Users Report Login Issue on Unix Workstation
- System Administrator Appreciation Day
- Inadvertent Use of Duplicate Group ID
- UNIX Admin Corner and the IT Island
Most Popular Stories
New Lawsuit Adds Hairline Cracks to List of iPhone Problems
Another variant of RSPlug trojan for Mac pops up
Darik's Boot and Nuke is the Nuclear Option of Secure Data Shredding
Apple flirting with another record quarter for Mac sales
Google optimizes search results for iPhone
Why now, Omnioutliner?
Apple waiting on quad-core desktop chips from Intel
iPhone sex: Google application baffled by British accents
Husband Blames iPhone For Smutty Pic Debacle, Fate of Marriage Hangs on Apple Support Discussion
Ask TUAW: Apple TV, Blu-ray on the Mac, solving SIMBL problems, and more