Operating System - HP-UX
1752662 Members
5769 Online
108788 Solutions
New Discussion юеВ

Re: LUNS are not visible with the latest created date

 
SOLVED
Go to solution
Kapil Jha
Honored Contributor

Re: LUNS are not visible with the latest created date

Reboot would not change the date, it would just remove the orphan device files, and would create all the newly added hardware device file.

So if you already have, old files and its running the reboot wont help.

You can remove old device files[carefully], and run insf -eC disk
this would create new files.

BR,
kapil+
I am in this small bowl, I wane see the real world......
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Hi Kapil,

The following are the device files showing the older date:

brw-r----- 1 bin sys 31 0x0a0700 Oct 28 2007 c10t0d7
brw-r----- 1 bin sys 31 0x0c0700 Oct 28 2007 c12t0d7
brw-r----- 1 bin sys 31 0x0e0700 Oct 28 2007 c14t0d7
brw-r----- 1 bin sys 31 0x100700 Oct 28 2007 c16t0d7
brw-r----- 1 bin sys 31 0x120700 Oct 28 2007 c18t0d7
brw-r----- 1 bin sys 31 0x140700 Oct 28 2007 c20t0d7
brw-r----- 1 bin sys 31 0x160700 Oct 28 2007 c22t0d7
brw-r----- 1 bin sys 31 0x180700 Oct 28 2007 c24t0d7
brw-r----- 1 bin sys 31 0x1a0700 Oct 28 2007 c26t0d7
brw-r----- 1 bin sys 31 0x1c0700 Oct 28 2007 c28t0d7
brw-r----- 1 bin sys 31 0x1e0700 Oct 28 2007 c30t0d7
brw-r----- 1 bin sys 31 0x200700 Oct 28 2007 c32t0d7
brw-r----- 1 bin sys 31 0x220700 Oct 28 2007 c34t0d7
brw-r----- 1 bin sys 31 0x240700 Oct 28 2007 c36t0d7
brw-r----- 1 bin sys 31 0x260700 Oct 28 2007 c38t0d7
brw-r----- 1 bin sys 31 0x280700 Oct 28 2007 c40t0d7

and the device file /dev/dsk/c40t0d7 is used for the volume creation where as the other device files are the alternate links.

So, can i remove these device files?
R.K. #
Honored Contributor

Re: LUNS are not visible with the latest created date

You can very well remove all of these spl files and then run "insf -eC disk" to recreate all of them in one go.

Take ioscan output before starting.
Don't fix what ain't broke
Kapil Jha
Honored Contributor

Re: LUNS are not visible with the latest created date

Ok so you have so many alternate link...how many fc u have......??
so u can delete the below device files and run #insf -eC disk
it would create new device files and you would be able to use them again.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
R.K. #
Honored Contributor

Re: LUNS are not visible with the latest created date

Just rebooted a 11.11 server & checked for time stamps:

BEFORE REBOOT:
-------------
/dev/dsk >ls -ltr
total 0
brw-r----- 1 bin sys 31 0x01f000 Feb 3 12:10 c1t15d0
brw-r----- 1 bin sys 31 0x03f000 Feb 3 12:10 c3t15d0


AFTER REBOOT:
-------------
/dev/dsk >ls -ltr
total 0
brw-r----- 1 bin sys 31 0x01f000 Feb 3 12:10 c1t15d0
brw-r----- 1 bin sys 31 0x03f000 Feb 3 12:10 c3t15d0

SO....
NO CHANGE IN TIME STAMPS

Thanks to Kapil.
Don't fix what ain't broke
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

we have a 2node cluster.

On our production server all the filesystems are configured under the package config file. So for these vdisks we have presented 7 fcs (production+secondary server)

But i have created the filesystem which is not configured in the cluster so that i just presented the 4 fcds related to this server.

Totally for this one is 4 fcds.

For removing of these special device files which option should i prefer.

#rmsf -H
or
#rmsf

kindly suggest me.
R.K. #
Honored Contributor

Re: LUNS are not visible with the latest created date

Both will work:

#rmsf /dev/rdsk/cxtydz
or
#rmsf -H
Don't fix what ain't broke
S.S.
Super Advisor

Re: LUNS are not visible with the latest created date

Kapil,

For the clustered filesystems we have 8fcds.

The one which i created is with 4 fcds. So in that case i should get 8 device files right?
johnsonpk
Honored Contributor

Re: LUNS are not visible with the latest created date

The one which i created is with 4 fcds. So in that case i should get 8 device files right?

Yes if you have eva with two host port per controller and all of them are zoned to your 4 hbas at server side ..
Kapil Jha
Honored Contributor

Re: LUNS are not visible with the latest created date

Yes I think u can delete all of them....and run insf -e
there would not be any issue.
Just if you wane cross check do a pvdisplay on each path to make sure its not part of any VG so that u wont lose any data...
(hope u don have VxVM cause pvdisplay do not work on vxvm)

BR,
Kapil+

I am in this small bowl, I wane see the real world......