Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Disk mirroring (ASR9000, CRS)

Hi,

Disk mirroring as described in IOS XR Fundamentals:

"At the time of writing this book, disk mirroring is supported only between disk0: and disk1: on both CRS-1 and c12000 platforms. Disk mirroring works by replicating critical data from the primary boot device onto another storage device on the same RP. This other storage device can be referred to as a
mirrored disk or simply as a secondary device. If the primary boot device fails, applications continue to be serviced transparently by the secondary device, thereby avoiding a switchover to the standby RP. The failed primary storage device can be replaced or repaired without disruption of service."

By now, disk mirroring is also supported on ASR9000 platform:

http://www.cisco.com/c/en/us/td/docs/routers/asr9000/software/asr9k_r4-2/system_management/configuration/guide/b_sysman_cg42asr9k/b_sysman_cg42asr9k_chapter_0100.html

 

Sam and Xander have commented that disk mirroring on ASR9000 doesn't make much sense as the disk themselves are not field replaceable.

For example: if RSP0/disk0 goes faulty, RSP0/disk1 takes over and a RSP switchover was prevented. Nonetheless, we will have to replace RSP0/disk0 eventually, so all we did with disk mirroring is postpone the maintenance action. Or am I missing something?

What about the CRS platform? Is the situation there the same or are disks field repleacable?

 

Thank you and kind regards,

Karlo.

Everyone's tags (3)
11 REPLIES
Cisco Employee

the usb disks are soldered on

the usb disks are soldered on the board, they are not components that we can take out from the RP.

if the disk fails, an RMA is necessary (board replacement), due to the high density of components on a board it is becoming harder and harder to manually/field replace parts unfortunately.

the disk mirroring was something historically inherited hence it being there, but realistically it doesnt make much sense anymore today.

to maintain similarity between devices, disk partitioning was done, but having a disk0 and disk1 on the same phy chip doing mirroring makes no sense :)

cheers

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

Hi Xander, Thank you for your

Hi Xander,

 

Thank you for your prompt answer.

Can the documentation be updated to reflect the information you provided?

 

Kind regards, Karlo.

Cisco Employee

yeah let me work on that

yeah let me work on that karlo.

this above won't suffice?

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

What kind of disk error

What kind of disk error actually triggers disk mirroring, ie. RSP selecting disk1 over disk0? A file read error, file system error, somekind of device issue?

Thanks, Karlo.

 

Cisco Employee

it is more like data back up

it is more like data back up karlo.

the problem is if you dont break the mirror you can't boot from disk1. there is little benefit to use that redundancy of disk0/disk1 if they are the same chip, like what i said earlier, its historic.

I recommend to cut loose that mirroring, so you can use disk0 and disk1 independently so you have more room for more images.

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

Hi Xander,I understand your

Hi Xander,

I understand your viewpoint if there's a physical error on the chip itself.

What about this scenario:

For eg. if there's a file system error (not a physical error, so no chip replacement needed) on disk0, RSP can use disk1 while we format disk0, so FS (FAT16) is OK again.

Steps would be something like:

  1. mirror pause [location node-id]
  2. show mirror [location node-id]
  3. format disk0 partition [location node-id]
  4. show media [location node-id]
  5. mirror resume [location node-id]
  6. show mirror [location node-id]

Or am I missing something here?

 

Cisco Employee

karlo, somewhat of an

karlo, somewhat of an academic discussion this... usb disks dont mark bad sectors like old harddisks used to. you either use that bit position and if it is broken it can't be skipped or anything.

but hey I am not here to tell you whether or not you should use mirroring, I am just saying that knowing how this works and is implemented I cant think of any realistic benefit.

thanks

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

Great explanation, Alexander.

Great explanation, Alexander.  Thanks!

New Member

Hi Alexander,thank you for

Hi Alexander,

thank you for opening this interesting discussion.

I see that in RSP440 disk mirroring  is almost  useless being the two devices not accessible without removing the entire RSP but  Cisco documentation reports

"After disk mirroring is configured, if there is a fault on the primary boot drive or it cannot be accessed for any reason, control is automatically transferred to the secondary storage device"

Hence I thought that in case of an unwanted or  uncontrolled reboot  mirroring still gave some little benefit if disk0 was gone and new RSP had not been still replaced.

 The fact that one has to break mirroring in order to be able to boot from disk1 makes mirroring entirely useless.  Would Cisco documentation be clearer in the next future about this point?

Regards

Marco

Cisco Employee

little bit of a historic

little bit of a historic statement marco from the time that the devices were truly separate. technically this statement is correct, but both disks being on the same phy chip negates the point somewhat in that statement.

cheers!

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

We've got a similar thread

We've got a similar thread for ASR9k with redundant RSPs

https://supportforums.cisco.com/discussion/12413981/asr9000xr-disk-mirroring-causing-rsp-crash-corruption

349
Views
10
Helpful
11
Replies
CreatePlease login to create content