1848669 Members
9912 Online
104035 Solutions
New Discussion

Re: mksf boot disk

 
Michael Steele_2
Honored Contributor

mksf boot disk

Hey

Trying to correct a problem w/ rmsf -a /dev/dsk/c0t2d0. Which is the alternate boot disk. (* new guy *).

Tried mksf -C disk -H path -I 1

...get "...mksf: Couldn't find driver matching arguments..."

Any ideas besides rebooting?
Support Fatherhood - Stop Family Law
11 REPLIES 11
Patrick Wallek
Honored Contributor

Re: mksf boot disk

Use insf.

# insf -H

Michael Steele_2
Honored Contributor

Re: mksf boot disk

WARNINGS
insf should only be run in single-user mode.
Support Fatherhood - Stop Family Law
Patrick Wallek
Honored Contributor

Re: mksf boot disk

I have run insf from multi-user mode plenty of times without any problems.

If the disk isn't functional then running insf for that particular HW path should not pose a problem.
Michael Steele_2
Honored Contributor

Re: mksf boot disk

didn't work.

also tried insf -e before posting.

is this the correct syntax for mksf?

mksf -C sdisk -H 1/0/11/1/0.2.0 -I 1, given this old ioscan?

disk 1 1/0/11/1/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373207L
C
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0


Support Fatherhood - Stop Family Law
Wouter Jagers
Honored Contributor

Re: mksf boot disk

Hiya,

That's in the manpage, and kind of worrying indeed.

However, we use insf all the time, when adding SAN LUNs and when re-creating 'accidentally removed' special files.

# insf -C disk -e # should do the job

I can only say I've never triggered disasters using that one. To the contrary, it has saved our hineys a few times when /dev was emptied by an overconfident script.

No guarantees, though, seeing the manpage ;-)

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
Patrick Wallek
Honored Contributor

Re: mksf boot disk

>>didn't work.

What did it do or not do? I assume you /dev/dsk and /dev/rdsk files are still not there?

>>also tried insf -e before posting.

That could've been helpful.

>>Any ideas besides rebooting?

A reboot would just run insf.

What are you seeing now if you do an 'ioscan -fnC disk'?
Michael Steele_2
Honored Contributor

Re: mksf boot disk

Patrick:

Current ioscan:

ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 1/0/11/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0

Current ll /dev/dsk

root@asap11[/usr/conf/master.d]:ll /dev/dsk
total 0
brw-r----- 1 bin sys 31 0x000000 Sep 20 2007 c0t0d0
brw-r----- 1 bin sys 31 0x0a0000 Sep 21 2007 c10t0d0
brw-r----- 1 bin sys 31 0x0ae600 Sep 21 2007 c10t14d6
brw-r----- 1 bin sys 31 0x0ae700 Sep 21 2007 c10t14d7
brw-r----- 1 bin sys 31 0x060000 Sep 21 2007 c6t0d0
brw-r----- 1 bin sys 31 0x062000 Sep 21 2007 c6t2d0
brw-r----- 1 bin sys 31 0x072000 Sep 21 2007 c7t2d0
brw-r----- 1 bin sys 31 0x080000 Sep 21 2007 c8t0d0
brw-r----- 1 bin sys 31 0x08e600 Sep 21 2007 c8t14d6
brw-r----- 1 bin sys 31 0x08e700 Sep 21 2007 c8t14d7

Wouter:

So, already ran # insf -e, but your are recommending

insf -c disk -e 1/0/11/1/0.2.0 ??
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: mksf boot disk

root@asap11[/usr/conf/master.d]:insf -C disk -e
insf: Installing special files for sdisk instance 0 address 1/0/11/1/0.0.0
Support Fatherhood - Stop Family Law
Patrick Wallek
Honored Contributor

Re: mksf boot disk

It looks to me like the system is not seeing the disk at all.

Since ioscan isn't seeing it, insf will not be able to do anything.

If this is a hot-pluggable / hot-swappable disk, I would remove it, wait a minute or 2 to let the disk spin down, then insert it into the slot again. Wait another minute or so to let the disk spin up and be recognized on the bus, then try another ioscan.

If it still doesn't show up, try another disk as this one may be hosed.
Wouter Jagers
Honored Contributor

Re: mksf boot disk

New guy didn't take the disk home, by any chance ? ;-)

Myes, at this point I'd run down to the computer room for a physical inspection, too..
an engineer's aim in a discussion is not to persuade, but to clarify.
Michael Steele_2
Honored Contributor

Re: mksf boot disk

Well, this is interesting.

Come in this morning and I can see the device in ioscan.

root@asap11[/root]:ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 1/0/11/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 1/0/11/1/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
root@asap11[/root]:

Run an 'insf -e' and the device file is created automagcally!

ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
disk 0 1/0/11/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 1/0/11/1/0.2.0 sdisk CLAIMED DEVICE HP 73.4GST373207LC
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0

These are external DS2150 jbods attaced to a superdome.

:-)

(* Trust the force, Luke *)
Support Fatherhood - Stop Family Law