cancel
Showing results for 
Search instead for 
Did you mean: 

Reseting Device Files

SOLVED
Go to solution
Pedro Cirne
Esteemed Contributor

Reseting Device Files

Hi,

I've just installed a new server with 11iv3 but due to an incorrect flag on LUN presentation I ended up with several device files that are "duplicated".

Is there a simple way to cleanup all those special files and install them from scratch, like a new OS installation but without installing the OS?

The mess looks like this:

root@porsx044:/# ioscan -N -fnkCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 36 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk36 /dev/rdisk/disk36
disk 3 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/disk/disk3 /dev/disk/disk8 /dev/rdisk/disk3 /dev/rdisk/disk8
disk 4 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk4 /dev/disk/disk9 /dev/rdisk/disk4 /dev/rdisk/disk9
disk 25 64000/0xfa00/0x20 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk25 /dev/disk/disk50 /dev/rdisk/disk25 /dev/rdisk/disk50
disk 26 64000/0xfa00/0x21 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk26 /dev/disk/disk51 /dev/rdisk/disk26 /dev/rdisk/disk51
disk 27 64000/0xfa00/0x22 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk27 /dev/disk/disk52 /dev/rdisk/disk27 /dev/rdisk/disk52
disk 28 64000/0xfa00/0x23 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk28 /dev/disk/disk53 /dev/rdisk/disk28 /dev/rdisk/disk53
disk 29 64000/0xfa00/0x24 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk29 /dev/disk/disk54 /dev/rdisk/disk29 /dev/rdisk/disk54
disk 30 64000/0xfa00/0x25 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk30 /dev/disk/disk55 /dev/rdisk/disk30 /dev/rdisk/disk55
disk 31 64000/0xfa00/0x26 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk31 /dev/disk/disk56 /dev/rdisk/disk31 /dev/rdisk/disk56
disk 32 64000/0xfa00/0x27 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk32 /dev/disk/disk57 /dev/rdisk/disk32 /dev/rdisk/disk57
disk 33 64000/0xfa00/0x28 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk33 /dev/disk/disk58 /dev/rdisk/disk33 /dev/rdisk/disk58
disk 34 64000/0xfa00/0x29 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk34 /dev/disk/disk59 /dev/rdisk/disk34 /dev/rdisk/disk59
disk 35 64000/0xfa00/0x2a esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk35 /dev/disk/disk60 /dev/rdisk/disk35 /dev/rdisk/disk60
disk 65 64000/0xfa00/0x2c esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk65 /dev/rdisk/disk65
disk 66 64000/0xfa00/0x2d esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk66 /dev/rdisk/disk66
disk 85 64000/0xfa00/0x2e esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk85 /dev/rdisk/disk85
disk 86 64000/0xfa00/0x2f esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk86 /dev/rdisk/disk86
disk 87 64000/0xfa00/0x30 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk87 /dev/rdisk/disk87
disk 88 64000/0xfa00/0x31 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk88 /dev/rdisk/disk88
disk 89 64000/0xfa00/0x32 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk89 /dev/rdisk/disk89
disk 90 64000/0xfa00/0x33 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk90 /dev/rdisk/disk90
disk 91 64000/0xfa00/0x34 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk91 /dev/rdisk/disk91
disk 92 64000/0xfa00/0x35 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk92 /dev/rdisk/disk92
disk 93 64000/0xfa00/0x36 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk93 /dev/rdisk/disk93


Thank you very much!

Pedro

16 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: Reseting Device Files

Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi Michal,

I already did a ioinit -rCdisk, but it didn't correct this issue :(

Pedro
Michal Kapalka (mikap)
Honored Contributor

Re: Reseting Device Files

hi,

try ioinit -rcCdisk

mikap
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi,

ioinit -rcCdisk is not possible, tried ionit -c and reboot...let's see the results..

root@porsx044:/# ioinit -rcCdisk
usage: ioinit -c
ioinit -f infile [-A][-r]
ioinit -i [-r]
ioinit -v ioconfig_file
ioinit -rC class_name
root@porsx044:/# ioinit -c
root@porsx044:/# reboot
Shutdown at 09:37 (in 0 minutes)

Pedro
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi,

No success...nothing changed:

root@porsx044:/# ioscan -N -fnkCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 36 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk36 /dev/rdisk/disk36
disk 3 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/disk/disk3 /dev/disk/disk8 /dev/rdisk/disk3 /dev/rdisk/disk8
disk 4 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk4 /dev/disk/disk9 /dev/rdisk/disk4 /dev/rdisk/disk9
disk 25 64000/0xfa00/0x20 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk25 /dev/disk/disk50 /dev/rdisk/disk25 /dev/rdisk/disk50
disk 26 64000/0xfa00/0x21 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk26 /dev/disk/disk51 /dev/rdisk/disk26 /dev/rdisk/disk51
disk 27 64000/0xfa00/0x22 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk27 /dev/disk/disk52 /dev/rdisk/disk27 /dev/rdisk/disk52
disk 28 64000/0xfa00/0x23 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk28 /dev/disk/disk53 /dev/rdisk/disk28 /dev/rdisk/disk53
disk 29 64000/0xfa00/0x24 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk29 /dev/disk/disk54 /dev/rdisk/disk29 /dev/rdisk/disk54
disk 30 64000/0xfa00/0x25 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk30 /dev/disk/disk55 /dev/rdisk/disk30 /dev/rdisk/disk55
disk 31 64000/0xfa00/0x26 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk31 /dev/disk/disk56 /dev/rdisk/disk31 /dev/rdisk/disk56
disk 32 64000/0xfa00/0x27 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk32 /dev/disk/disk57 /dev/rdisk/disk32 /dev/rdisk/disk57
disk 33 64000/0xfa00/0x28 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk33 /dev/disk/disk58 /dev/rdisk/disk33 /dev/rdisk/disk58
disk 34 64000/0xfa00/0x29 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk34 /dev/disk/disk59 /dev/rdisk/disk34 /dev/rdisk/disk59
disk 35 64000/0xfa00/0x2a esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk35 /dev/disk/disk60 /dev/rdisk/disk35 /dev/rdisk/disk60
disk 65 64000/0xfa00/0x2c esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk65 /dev/rdisk/disk65
disk 66 64000/0xfa00/0x2d esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk66 /dev/rdisk/disk66
disk 85 64000/0xfa00/0x2e esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk85 /dev/rdisk/disk85
disk 86 64000/0xfa00/0x2f esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk86 /dev/rdisk/disk86
disk 87 64000/0xfa00/0x30 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk87 /dev/rdisk/disk87
disk 88 64000/0xfa00/0x31 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk88 /dev/rdisk/disk88
disk 89 64000/0xfa00/0x32 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk89 /dev/rdisk/disk89
disk 90 64000/0xfa00/0x33 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk90 /dev/rdisk/disk90
disk 91 64000/0xfa00/0x34 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk91 /dev/rdisk/disk91
disk 92 64000/0xfa00/0x35 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk92 /dev/rdisk/disk92
disk 93 64000/0xfa00/0x36 esdisk CLAIMED DEVICE EMC SYMMETRIX
/dev/disk/disk93 /dev/rdisk/disk93


Pedro

Michal Kapalka (mikap)
Honored Contributor

Re: Reseting Device Files

hi,

thats strange, i would try to reboot the server.

mikap
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Just rebooted, nothing changed :(
BUPA IS
Respected Contributor

Re: Reseting Device Files

Hello ,
Have read of the rmsf command man page it should enable you to remove the special files you no longer need .
the -x option removes all the stale names in the tree .

Mike

Help is out there always!!!!!
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi,

I just need to reinstall all the devices files like in a new OS installation....

Pedro
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: Reseting Device Files

Hi Pedro,

If you do not have data on any of the SymmetriX device/luns, just pull the fibre cables from the HBA's and, wait until they are all stale in ioscan and run "rmsf -x". Reattach the fibre cables and run insf.

Regards,
Robert-Jan
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi,

I've unplugged the HBA cables, did rmsf -x, but the device files are still present:

root@porsx044:/# ioscan -N -fnCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 36 64000/0xfa00/0x4 esdisk NO_HW DEVICE HP 73.4GST373453LC
/dev/disk/disk36 /dev/rdisk/disk36
disk 3 64000/0xfa00/0x5 esdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/disk/disk3 /dev/disk/disk8 /dev/rdisk/disk3 /dev/rdisk/disk8
disk 4 64000/0xfa00/0x7 esdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/disk/disk4 /dev/disk/disk9 /dev/rdisk/disk4 /dev/rdisk/disk9
disk 25 64000/0xfa00/0x20 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk25 /dev/disk/disk50 /dev/rdisk/disk25 /dev/rdisk/disk50
disk 26 64000/0xfa00/0x21 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk26 /dev/disk/disk51 /dev/rdisk/disk26 /dev/rdisk/disk51
disk 27 64000/0xfa00/0x22 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk27 /dev/disk/disk52 /dev/rdisk/disk27 /dev/rdisk/disk52
disk 28 64000/0xfa00/0x23 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk28 /dev/disk/disk53 /dev/rdisk/disk28 /dev/rdisk/disk53
disk 29 64000/0xfa00/0x24 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk29 /dev/disk/disk54 /dev/rdisk/disk29 /dev/rdisk/disk54
disk 30 64000/0xfa00/0x25 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk30 /dev/disk/disk55 /dev/rdisk/disk30 /dev/rdisk/disk55
disk 31 64000/0xfa00/0x26 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk31 /dev/disk/disk56 /dev/rdisk/disk31 /dev/rdisk/disk56
disk 32 64000/0xfa00/0x27 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk32 /dev/disk/disk57 /dev/rdisk/disk32 /dev/rdisk/disk57
disk 33 64000/0xfa00/0x28 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk33 /dev/disk/disk58 /dev/rdisk/disk33 /dev/rdisk/disk58
disk 34 64000/0xfa00/0x29 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk34 /dev/disk/disk59 /dev/rdisk/disk34 /dev/rdisk/disk59
disk 35 64000/0xfa00/0x2a esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk35 /dev/disk/disk60 /dev/rdisk/disk35 /dev/rdisk/disk60
disk 65 64000/0xfa00/0x2c esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk65 /dev/rdisk/disk65
disk 66 64000/0xfa00/0x2d esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk66 /dev/rdisk/disk66
disk 85 64000/0xfa00/0x2e esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk85 /dev/rdisk/disk85
disk 86 64000/0xfa00/0x2f esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk86 /dev/rdisk/disk86
disk 87 64000/0xfa00/0x30 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk87 /dev/rdisk/disk87
disk 88 64000/0xfa00/0x31 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk88 /dev/rdisk/disk88
disk 89 64000/0xfa00/0x32 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk89 /dev/rdisk/disk89
disk 90 64000/0xfa00/0x33 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk90 /dev/rdisk/disk90
disk 91 64000/0xfa00/0x34 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk91 /dev/rdisk/disk91
disk 92 64000/0xfa00/0x35 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk92 /dev/rdisk/disk92
disk 93 64000/0xfa00/0x36 esdisk NO_HW DEVICE EMC SYMMETRIX
/dev/disk/disk93 /dev/rdisk/disk93

Should I remove them with rmsf -H before plugging in the HBA cables?

Thks,

Pedro
R.O.
Esteemed Contributor

Re: Reseting Device Files

"Should I remove them with rmsf -H before plugging in the HBA cables? "

Yes
"When you look into an abyss, the abyss also looks into you"
Duncan Edmonstone
Honored Contributor

Re: Reseting Device Files

Pedro,

Duplicate EMC device files on 11iv3 usually mean you don't have the correct director bits set on the FA.

Ensure SPC2 and OS2007 bits are set on the Symm

HTH

Duncan

HTH

Duncan
Hakki Aydin Ucar
Honored Contributor

Re: Reseting Device Files

After detach the stated cables , did you try
insf -e ?
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Hi Duncan,

That's true, the flags were incorrect, my question was how to remove all the duplicate files:)

Pedro
Pedro Cirne
Esteemed Contributor

Re: Reseting Device Files

Thank you all!